{ "coverage_information": [ { "branch_coverage": 100.0, "filepath": "/user_data/data/dirk/prj/unittest/caching/pylibs/caching", "files": [ { "branch_coverage": 100.0, "filepath": "/user_data/data/dirk/prj/unittest/caching/pylibs/caching/__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": 33, "start": 27 }, { "coverage_state": "clean", "end": 34, "start": 34 }, { "coverage_state": "covered", "end": 39, "start": 35 }, { "coverage_state": "clean", "end": 40, "start": 40 }, { "coverage_state": "covered", "end": 41, "start": 41 }, { "coverage_state": "clean", "end": 43, "start": 42 }, { "coverage_state": "covered", "end": 44, "start": 44 }, { "coverage_state": "clean", "end": 47, "start": 45 }, { "coverage_state": "covered", "end": 48, "start": 48 }, { "coverage_state": "clean", "end": 81, "start": 49 }, { "coverage_state": "covered", "end": 84, "start": 82 }, { "coverage_state": "clean", "end": 85, "start": 85 }, { "coverage_state": "covered", "end": 91, "start": 86 }, { "coverage_state": "clean", "end": 92, "start": 92 }, { "coverage_state": "covered", "end": 93, "start": 93 }, { "coverage_state": "clean", "end": 100, "start": 94 }, { "coverage_state": "covered", "end": 108, "start": 101 }, { "coverage_state": "clean", "end": 109, "start": 109 }, { "coverage_state": "covered", "end": 111, "start": 110 }, { "coverage_state": "clean", "end": 112, "start": 112 }, { "coverage_state": "covered", "end": 114, "start": 113 }, { "coverage_state": "clean", "end": 115, "start": 115 }, { "coverage_state": "covered", "end": 116, "start": 116 }, { "coverage_state": "clean", "end": 119, "start": 117 }, { "coverage_state": "covered", "end": 120, "start": 120 }, { "coverage_state": "clean", "end": 121, "start": 121 }, { "coverage_state": "covered", "end": 124, "start": 122 }, { "coverage_state": "clean", "end": 125, "start": 125 }, { "coverage_state": "covered", "end": 126, "start": 126 }, { "coverage_state": "clean", "end": 127, "start": 127 }, { "coverage_state": "covered", "end": 139, "start": 128 }, { "coverage_state": "clean", "end": 140, "start": 140 }, { "coverage_state": "covered", "end": 146, "start": 141 }, { "coverage_state": "clean", "end": 147, "start": 147 }, { "coverage_state": "covered", "end": 149, "start": 148 }, { "coverage_state": "clean", "end": 150, "start": 150 }, { "coverage_state": "covered", "end": 153, "start": 151 }, { "coverage_state": "clean", "end": 154, "start": 154 }, { "coverage_state": "covered", "end": 159, "start": 155 }, { "coverage_state": "clean", "end": 160, "start": 160 }, { "coverage_state": "covered", "end": 165, "start": 161 }, { "coverage_state": "clean", "end": 166, "start": 166 }, { "coverage_state": "covered", "end": 172, "start": 167 }, { "coverage_state": "clean", "end": 173, "start": 173 }, { "coverage_state": "covered", "end": 176, "start": 174 }, { "coverage_state": "clean", "end": 177, "start": 177 }, { "coverage_state": "covered", "end": 178, "start": 178 }, { "coverage_state": "clean", "end": 180, "start": 179 }, { "coverage_state": "covered", "end": 181, "start": 181 }, { "coverage_state": "clean", "end": 218, "start": 182 }, { "coverage_state": "covered", "end": 219, "start": 219 }, { "coverage_state": "clean", "end": 220, "start": 220 }, { "coverage_state": "covered", "end": 226, "start": 221 }, { "coverage_state": "clean", "end": 227, "start": 227 }, { "coverage_state": "covered", "end": 229, "start": 228 }, { "coverage_state": "clean", "end": 230, "start": 230 }, { "coverage_state": "covered", "end": 236, "start": 231 }, { "coverage_state": "clean", "end": null, "start": 237 } ], "line_coverage": 100.0, "name": "caching.__init__.py" } ], "line_coverage": 100.0, "name": "caching" } ], "lost_souls": { "item_list": [], "testcase_list": [ "caching.property_cache_json: Test cached data (full init)", "caching.property_cache_json: Test cached data (partially init)", "caching.property_cache_json: Test execution of save callback (full init)", "caching.property_cache_json: Test full initialised JSON-Cache-Object", "caching.property_cache_json: Test get from source caused by changed uid (full init)", "caching.property_cache_json: Test get from source caused by changed uid (partially init)", "caching.property_cache_json: Test get from source caused by increased data version (full init)", "caching.property_cache_json: Test get from source caused by increased data version (partially init)", "caching.property_cache_json: Test internal key usage", "caching.property_cache_json: Test partially initialisation of JSON-Cache-Object", "caching.property_cache_pickle: Test cached data (full init)", "caching.property_cache_pickle: Test cached data (partially init)", "caching.property_cache_pickle: Test execution of save callback (full init)", "caching.property_cache_pickle: Test full initialised PICKLE-Cache-Object", "caching.property_cache_pickle: Test get from source caused by changed uid (full init)", "caching.property_cache_pickle: Test get from source caused by changed uid (partially init)", "caching.property_cache_pickle: Test get from source caused by increased data version (full init)", "caching.property_cache_pickle: Test get from source caused by increased data version (partially init)", "caching.property_cache_pickle: Test internal key usage", "caching.property_cache_pickle: Test partially initialised PICKLE-Cache-Object" ] }, "specification": {}, "system_information": { "Architecture": "64bit", "Distribution": "Linux Mint 20.1 ulyssa", "Hostname": "ahorn", "Kernel": "5.4.0-60-generic (#67-Ubuntu SMP Tue Jan 5 18:31:36 UTC 2021)", "Machine": "x86_64", "Path": "/user_data/data/dirk/prj/unittest/caching/unittest", "System": "Linux", "Username": "dirk" }, "testobject_information": { "Dependencies": [], "Description": "The Module {\\tt caching} is designed to store information in {\\tt json} or {\\tt pickle} files to support them much faster then generating them from the original source file.\nFor more Information read the documentation.", "Name": "caching", "State": "Released", "Supported Interpreters": "python2, python3", "Version": "6c187a02e86ab5fee81eb4f34f61602b" }, "testrun_list": [ { "heading_dict": {}, "interpreter": "python 2.7.18 (final)", "name": "Default Testsession name", "number_of_failed_tests": 0, "number_of_possibly_failed_tests": 4, "number_of_successfull_tests": 16, "number_of_tests": 20, "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": { "caching.property_cache_json: Test cached data (full init)": { "args": null, "asctime": "2021-01-14 00:51:41,573", "created": 1610581901.573667, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "WARNING", "levelno": 30, "lineno": 31, "message": "caching.property_cache_json: Test cached data (full init)", "module": "__init__", "moduleLogger": [], "msecs": 573.667049407959, "msg": "caching.property_cache_json: Test cached data (full init)", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 52.6120662689209, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2021-01-14 00:51:41,574", "created": 1610581901.574247, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Initialising property_cache_json (load_all_on_init=True).", "module": "test_helpers", "moduleLogger": [ { "args": [], "asctime": "2021-01-14 00:51:41,573", "created": 1610581901.573772, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 17, "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "module": "test_helpers", "msecs": 573.7719535827637, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 52.716970443725586, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_load_on_init.json" ], "asctime": "2021-01-14 00:51:41,573", "created": 1610581901.573832, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_load_on_init.json as cache file.", "module": "test_helpers", "msecs": 573.8320350646973, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 52.77705192565918, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-01-14 00:51:41,573", "created": 1610581901.573893, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 228, "message": "JsonCache: Cache file does not exists (yet).", "module": "__init__", "msecs": 573.8930702209473, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 52.83808708190918, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2021-01-14 00:51:41,573", "created": 1610581901.573953, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 162, "message": "JsonCache: Loading all data from source - ['dict', 'unicode', 'str', 'integer', 'float', 'list']", "module": "__init__", "msecs": 573.9529132843018, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 52.89793014526367, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_load_on_init.json" ], "asctime": "2021-01-14 00:51:41,574", "created": 1610581901.574175, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_load_on_init.json)", "module": "__init__", "msecs": 574.1748809814453, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 53.11989784240723, "thread": 139670819383104, "threadName": "MainThread" } ], "msecs": 574.246883392334, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 53.1919002532959, "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 7.200241088867188e-05 }, { "args": [], "asctime": "2021-01-14 00:51:41,574", "created": 1610581901.574774, "exc_info": null, "exc_text": null, "filename": "test_cached_data.py", "funcName": "cached_data", "levelname": "DEBUG", "levelno": 10, "lineno": 19, "message": "Collecting data from cache instance.", "module": "test_cached_data", "moduleLogger": [ { "args": [ "JsonCache:", "uncached" ], "asctime": "2021-01-14 00:51:41,574", "created": 1610581901.574335, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "INFO", "levelno": 20, "lineno": 113, "message": "JsonCache: Key 'uncached' is not in cached_keys. Uncached data will be returned.", "module": "__init__", "msecs": 574.3350982666016, "msg": "%s Key '%s' is not in cached_keys. Uncached data will be returned.", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 53.28011512756348, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_load_on_init.json" ], "asctime": "2021-01-14 00:51:41,574", "created": 1610581901.574433, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 225, "message": "JsonCache: Loading properties from cache (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_load_on_init.json)", "module": "__init__", "msecs": 574.4330883026123, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 53.37810516357422, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "dict", "{u'1': 1, u'3': u'3', u'2': u'two', u'4': 4}" ], "asctime": "2021-01-14 00:51:41,574", "created": 1610581901.574495, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "JsonCache: Providing property for 'dict' from cache ({u'1': 1, u'3': u'3', u'2': u'two', u'4': 4})", "module": "__init__", "msecs": 574.4950771331787, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 53.440093994140625, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "unicode", "u'unicode'" ], "asctime": "2021-01-14 00:51:41,574", "created": 1610581901.574546, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "JsonCache: Providing property for 'unicode' from cache (u'unicode')", "module": "__init__", "msecs": 574.5460987091064, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 53.49111557006836, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "str", "u'string'" ], "asctime": "2021-01-14 00:51:41,574", "created": 1610581901.574594, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "JsonCache: Providing property for 'str' from cache (u'string')", "module": "__init__", "msecs": 574.5940208435059, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 53.53903770446777, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "integer", "17" ], "asctime": "2021-01-14 00:51:41,574", "created": 1610581901.574641, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "JsonCache: Providing property for 'integer' from cache (17)", "module": "__init__", "msecs": 574.6409893035889, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 53.58600616455078, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "float", "3.14159" ], "asctime": "2021-01-14 00:51:41,574", "created": 1610581901.574687, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "JsonCache: Providing property for 'float' from cache (3.14159)", "module": "__init__", "msecs": 574.6870040893555, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 53.63202095031738, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "list", "[1, u'two', u'3', 4]" ], "asctime": "2021-01-14 00:51:41,574", "created": 1610581901.574734, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "JsonCache: Providing property for 'list' from cache ([1, u'two', u'3', 4])", "module": "__init__", "msecs": 574.7339725494385, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 53.67898941040039, "thread": 139670819383104, "threadName": "MainThread" } ], "msecs": 574.7740268707275, "msg": "Collecting data from cache instance.", "name": "__tLogger__", "pathname": "src/tests/test_cached_data.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 53.71904373168945, "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 4.00543212890625e-05 }, { "args": [], "asctime": "2021-01-14 00:51:41,575", "created": 1610581901.575677, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "WARNING", "levelno": 30, "lineno": 146, "message": "Cached data is NOT correct. See detailed log for more information.", "module": "test", "moduleLogger": [ { "args": [ "Cached data", "{ 'uncached': 'uncached_data_of_class', 'unicode': u'unicode', 'float': 3.14159, 'list': [ 1, u'two', u'3', 4 ], 'dict': { u'1': 1, u'3': u'3', u'2': u'two', u'4': 4 }, 'str': u'string', 'integer': 17 }", "" ], "asctime": "2021-01-14 00:51:41,574", "created": 1610581901.574863, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Cached data): { 'uncached': 'uncached_data_of_class', 'unicode': u'unicode', 'float': 3.14159, 'list': [ 1, u'two', u'3', 4 ], 'dict': { u'1': 1, u'3': u'3', u'2': u'two', u'4': 4 }, 'str': u'string', 'integer': 17 } ()", "module": "test", "msecs": 574.8629570007324, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 53.807973861694336, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "Cached data", "{ 'uncached': 'uncached_data_of_class', 'dict': { '1': 1, '3': '3', '2': 'two', '4': 4 }, 'unicode': u'unicode', 'str': 'string', 'integer': 17, 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ] }", "" ], "asctime": "2021-01-14 00:51:41,574", "created": 1610581901.574923, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Cached data): result = { 'uncached': 'uncached_data_of_class', 'dict': { '1': 1, '3': '3', '2': 'two', '4': 4 }, 'unicode': u'unicode', 'str': 'string', 'integer': 17, 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ] } ()", "module": "test", "msecs": 574.923038482666, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 53.86805534362793, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'two'" ], "asctime": "2021-01-14 00:51:41,574", "created": 1610581901.574991, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 123, "message": "Type is NOT for test_variable (u'two'). ", "module": "test", "msecs": 574.99098777771, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 53.936004638671875, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "u'two'" ], "asctime": "2021-01-14 00:51:41,575", "created": 1610581901.575033, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "ERROR", "levelno": 40, "lineno": 119, "message": "Content u'two' is incorrect for test_variable.", "module": "test", "msecs": 575.0329494476318, "msg": "Content %s is incorrect for test_variable.", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 53.97796630859375, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'two'" ], "asctime": "2021-01-14 00:51:41,575", "created": 1610581901.575082, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 123, "message": "Type is NOT for test_variable (u'two'). ", "module": "test", "msecs": 575.0820636749268, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 54.02708053588867, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "u'two'" ], "asctime": "2021-01-14 00:51:41,575", "created": 1610581901.575127, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "ERROR", "levelno": 40, "lineno": 119, "message": "Content u'two' is incorrect for test_variable.", "module": "test", "msecs": 575.1268863677979, "msg": "Content %s is incorrect for test_variable.", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 54.071903228759766, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'two'" ], "asctime": "2021-01-14 00:51:41,575", "created": 1610581901.575171, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 123, "message": "Type is NOT for test_variable (u'two'). ", "module": "test", "msecs": 575.1709938049316, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 54.116010665893555, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "", "", " for result.list[1]", "u'two'" ], "asctime": "2021-01-14 00:51:41,575", "created": 1610581901.575212, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 123, "message": "Type is NOT for result.list[1] (u'two'). Check for known json storage type deviation -> .", "module": "test", "msecs": 575.2120018005371, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 54.15701866149902, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'3'" ], "asctime": "2021-01-14 00:51:41,575", "created": 1610581901.575362, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 123, "message": "Type is NOT for test_variable (u'3'). ", "module": "test", "msecs": 575.361967086792, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 54.306983947753906, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "u'3'" ], "asctime": "2021-01-14 00:51:41,575", "created": 1610581901.575405, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "ERROR", "levelno": 40, "lineno": 119, "message": "Content u'3' is incorrect for test_variable.", "module": "test", "msecs": 575.4048824310303, "msg": "Content %s is incorrect for test_variable.", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 54.34989929199219, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'3'" ], "asctime": "2021-01-14 00:51:41,575", "created": 1610581901.575451, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 123, "message": "Type is NOT for test_variable (u'3'). ", "module": "test", "msecs": 575.4508972167969, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 54.39591407775879, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "", "", " for result.list[2]", "u'3'" ], "asctime": "2021-01-14 00:51:41,575", "created": 1610581901.575493, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 123, "message": "Type is NOT for result.list[2] (u'3'). Check for known json storage type deviation -> .", "module": "test", "msecs": 575.4930973052979, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 54.438114166259766, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "", "", " for result.dict.3", "u'3'" ], "asctime": "2021-01-14 00:51:41,575", "created": 1610581901.575549, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 123, "message": "Type is NOT for result.dict.3 (u'3'). Check for known json storage type deviation -> .", "module": "test", "msecs": 575.5488872528076, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 54.49390411376953, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "", "", " for result.dict.2", "u'two'" ], "asctime": "2021-01-14 00:51:41,575", "created": 1610581901.575592, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 123, "message": "Type is NOT for result.dict.2 (u'two'). Check for known json storage type deviation -> .", "module": "test", "msecs": 575.592041015625, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 54.537057876586914, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "", "", " for result.str", "u'string'" ], "asctime": "2021-01-14 00:51:41,575", "created": 1610581901.575636, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 123, "message": "Type is NOT for result.str (u'string'). Check for known json storage type deviation -> .", "module": "test", "msecs": 575.6359100341797, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 54.5809268951416, "thread": 139670819383104, "threadName": "MainThread" } ], "msecs": 575.6769180297852, "msg": "Cached data is NOT correct. See detailed log for more information.", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 54.62193489074707, "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 4.100799560546875e-05 } ], "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 0.002009868621826172, "time_finished": "2021-01-14 00:51:41,575", "time_start": "2021-01-14 00:51:41,573" }, "caching.property_cache_json: Test cached data (partially init)": { "args": null, "asctime": "2021-01-14 00:51:41,575", "created": 1610581901.575802, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "WARNING", "levelno": 30, "lineno": 32, "message": "caching.property_cache_json: Test cached data (partially init)", "module": "__init__", "moduleLogger": [], "msecs": 575.8020877838135, "msg": "caching.property_cache_json: Test cached data (partially init)", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 54.74710464477539, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2021-01-14 00:51:41,576", "created": 1610581901.576324, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Initialising property_cache_json (load_all_on_init=True).", "module": "test_helpers", "moduleLogger": [ { "args": [], "asctime": "2021-01-14 00:51:41,575", "created": 1610581901.575888, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 17, "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "module": "test_helpers", "msecs": 575.88791847229, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 54.83293533325195, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_no_load_on_init.json" ], "asctime": "2021-01-14 00:51:41,575", "created": 1610581901.57595, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_no_load_on_init.json as cache file.", "module": "test_helpers", "msecs": 575.9499073028564, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 54.89492416381836, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-01-14 00:51:41,576", "created": 1610581901.576012, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 228, "message": "JsonCache: Cache file does not exists (yet).", "module": "__init__", "msecs": 576.0118961334229, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 54.956912994384766, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2021-01-14 00:51:41,576", "created": 1610581901.576063, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 162, "message": "JsonCache: Loading all data from source - ['dict', 'unicode', 'str', 'integer', 'float', 'list']", "module": "__init__", "msecs": 576.0629177093506, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 55.0079345703125, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_no_load_on_init.json" ], "asctime": "2021-01-14 00:51:41,576", "created": 1610581901.576258, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_no_load_on_init.json)", "module": "__init__", "msecs": 576.2579441070557, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 55.20296096801758, "thread": 139670819383104, "threadName": "MainThread" } ], "msecs": 576.3239860534668, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 55.26900291442871, "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 6.604194641113281e-05 }, { "args": [], "asctime": "2021-01-14 00:51:41,576", "created": 1610581901.57684, "exc_info": null, "exc_text": null, "filename": "test_cached_data.py", "funcName": "cached_data", "levelname": "DEBUG", "levelno": 10, "lineno": 19, "message": "Collecting data from cache instance.", "module": "test_cached_data", "moduleLogger": [ { "args": [ "JsonCache:", "uncached" ], "asctime": "2021-01-14 00:51:41,576", "created": 1610581901.576405, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "INFO", "levelno": 20, "lineno": 113, "message": "JsonCache: Key 'uncached' is not in cached_keys. Uncached data will be returned.", "module": "__init__", "msecs": 576.4050483703613, "msg": "%s Key '%s' is not in cached_keys. Uncached data will be returned.", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 55.35006523132324, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_no_load_on_init.json" ], "asctime": "2021-01-14 00:51:41,576", "created": 1610581901.576501, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 225, "message": "JsonCache: Loading properties from cache (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_no_load_on_init.json)", "module": "__init__", "msecs": 576.5008926391602, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 55.44590950012207, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "dict", "{u'1': 1, u'3': u'3', u'2': u'two', u'4': 4}" ], "asctime": "2021-01-14 00:51:41,576", "created": 1610581901.576559, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "JsonCache: Providing property for 'dict' from cache ({u'1': 1, u'3': u'3', u'2': u'two', u'4': 4})", "module": "__init__", "msecs": 576.5590667724609, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 55.50408363342285, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "unicode", "u'unicode'" ], "asctime": "2021-01-14 00:51:41,576", "created": 1610581901.576609, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "JsonCache: Providing property for 'unicode' from cache (u'unicode')", "module": "__init__", "msecs": 576.6088962554932, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 55.55391311645508, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "str", "u'string'" ], "asctime": "2021-01-14 00:51:41,576", "created": 1610581901.576656, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "JsonCache: Providing property for 'str' from cache (u'string')", "module": "__init__", "msecs": 576.6561031341553, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 55.60111999511719, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "integer", "17" ], "asctime": "2021-01-14 00:51:41,576", "created": 1610581901.576702, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "JsonCache: Providing property for 'integer' from cache (17)", "module": "__init__", "msecs": 576.7021179199219, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 55.64713478088379, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "float", "3.14159" ], "asctime": "2021-01-14 00:51:41,576", "created": 1610581901.576749, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "JsonCache: Providing property for 'float' from cache (3.14159)", "module": "__init__", "msecs": 576.7490863800049, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 55.6941032409668, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "list", "[1, u'two', u'3', 4]" ], "asctime": "2021-01-14 00:51:41,576", "created": 1610581901.576801, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "JsonCache: Providing property for 'list' from cache ([1, u'two', u'3', 4])", "module": "__init__", "msecs": 576.801061630249, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 55.74607849121094, "thread": 139670819383104, "threadName": "MainThread" } ], "msecs": 576.8399238586426, "msg": "Collecting data from cache instance.", "name": "__tLogger__", "pathname": "src/tests/test_cached_data.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 55.78494071960449, "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 3.886222839355469e-05 }, { "args": [], "asctime": "2021-01-14 00:51:41,577", "created": 1610581901.577667, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "WARNING", "levelno": 30, "lineno": 146, "message": "Cached data is NOT correct. See detailed log for more information.", "module": "test", "moduleLogger": [ { "args": [ "Cached data", "{ 'uncached': 'uncached_data_of_class', 'unicode': u'unicode', 'float': 3.14159, 'list': [ 1, u'two', u'3', 4 ], 'dict': { u'1': 1, u'3': u'3', u'2': u'two', u'4': 4 }, 'str': u'string', 'integer': 17 }", "" ], "asctime": "2021-01-14 00:51:41,576", "created": 1610581901.576929, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Cached data): { 'uncached': 'uncached_data_of_class', 'unicode': u'unicode', 'float': 3.14159, 'list': [ 1, u'two', u'3', 4 ], 'dict': { u'1': 1, u'3': u'3', u'2': u'two', u'4': 4 }, 'str': u'string', 'integer': 17 } ()", "module": "test", "msecs": 576.9290924072266, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 55.87410926818848, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "Cached data", "{ 'uncached': 'uncached_data_of_class', 'dict': { '1': 1, '3': '3', '2': 'two', '4': 4 }, 'unicode': u'unicode', 'str': 'string', 'integer': 17, 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ] }", "" ], "asctime": "2021-01-14 00:51:41,576", "created": 1610581901.576989, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Cached data): result = { 'uncached': 'uncached_data_of_class', 'dict': { '1': 1, '3': '3', '2': 'two', '4': 4 }, 'unicode': u'unicode', 'str': 'string', 'integer': 17, 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ] } ()", "module": "test", "msecs": 576.988935470581, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 55.93395233154297, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'two'" ], "asctime": "2021-01-14 00:51:41,577", "created": 1610581901.577055, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 123, "message": "Type is NOT for test_variable (u'two'). ", "module": "test", "msecs": 577.0549774169922, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 55.9999942779541, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "u'two'" ], "asctime": "2021-01-14 00:51:41,577", "created": 1610581901.577097, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "ERROR", "levelno": 40, "lineno": 119, "message": "Content u'two' is incorrect for test_variable.", "module": "test", "msecs": 577.0969390869141, "msg": "Content %s is incorrect for test_variable.", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 56.04195594787598, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'two'" ], "asctime": "2021-01-14 00:51:41,577", "created": 1610581901.577186, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 123, "message": "Type is NOT for test_variable (u'two'). ", "module": "test", "msecs": 577.186107635498, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 56.13112449645996, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "u'two'" ], "asctime": "2021-01-14 00:51:41,577", "created": 1610581901.577229, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "ERROR", "levelno": 40, "lineno": 119, "message": "Content u'two' is incorrect for test_variable.", "module": "test", "msecs": 577.2290229797363, "msg": "Content %s is incorrect for test_variable.", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 56.17403984069824, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'two'" ], "asctime": "2021-01-14 00:51:41,577", "created": 1610581901.577272, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 123, "message": "Type is NOT for test_variable (u'two'). ", "module": "test", "msecs": 577.2719383239746, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 56.21695518493652, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "", "", " for result.list[1]", "u'two'" ], "asctime": "2021-01-14 00:51:41,577", "created": 1610581901.577314, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 123, "message": "Type is NOT for result.list[1] (u'two'). Check for known json storage type deviation -> .", "module": "test", "msecs": 577.3138999938965, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 56.2589168548584, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'3'" ], "asctime": "2021-01-14 00:51:41,577", "created": 1610581901.577357, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 123, "message": "Type is NOT for test_variable (u'3'). ", "module": "test", "msecs": 577.3570537567139, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 56.30207061767578, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "u'3'" ], "asctime": "2021-01-14 00:51:41,577", "created": 1610581901.577399, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "ERROR", "levelno": 40, "lineno": 119, "message": "Content u'3' is incorrect for test_variable.", "module": "test", "msecs": 577.3990154266357, "msg": "Content %s is incorrect for test_variable.", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 56.344032287597656, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'3'" ], "asctime": "2021-01-14 00:51:41,577", "created": 1610581901.577442, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 123, "message": "Type is NOT for test_variable (u'3'). ", "module": "test", "msecs": 577.441930770874, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 56.38694763183594, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "", "", " for result.list[2]", "u'3'" ], "asctime": "2021-01-14 00:51:41,577", "created": 1610581901.577483, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 123, "message": "Type is NOT for result.list[2] (u'3'). Check for known json storage type deviation -> .", "module": "test", "msecs": 577.4829387664795, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 56.427955627441406, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "", "", " for result.dict.3", "u'3'" ], "asctime": "2021-01-14 00:51:41,577", "created": 1610581901.577538, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 123, "message": "Type is NOT for result.dict.3 (u'3'). Check for known json storage type deviation -> .", "module": "test", "msecs": 577.538013458252, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 56.48303031921387, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "", "", " for result.dict.2", "u'two'" ], "asctime": "2021-01-14 00:51:41,577", "created": 1610581901.577583, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 123, "message": "Type is NOT for result.dict.2 (u'two'). Check for known json storage type deviation -> .", "module": "test", "msecs": 577.5830745697021, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 56.52809143066406, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "", "", " for result.str", "u'string'" ], "asctime": "2021-01-14 00:51:41,577", "created": 1610581901.577627, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 123, "message": "Type is NOT for result.str (u'string'). Check for known json storage type deviation -> .", "module": "test", "msecs": 577.6269435882568, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 56.57196044921875, "thread": 139670819383104, "threadName": "MainThread" } ], "msecs": 577.6669979095459, "msg": "Cached data is NOT correct. See detailed log for more information.", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 56.61201477050781, "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 4.00543212890625e-05 } ], "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 0.0018649101257324219, "time_finished": "2021-01-14 00:51:41,577", "time_start": "2021-01-14 00:51:41,575" }, "caching.property_cache_json: Test execution of save callback (full init)": { "args": null, "asctime": "2021-01-14 00:51:41,597", "created": 1610581901.597315, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 37, "message": "caching.property_cache_json: Test execution of save callback (full init)", "module": "__init__", "moduleLogger": [], "msecs": 597.3150730133057, "msg": "caching.property_cache_json: Test execution of save callback (full init)", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 76.26008987426758, "testcaseLogger": [ { "args": [], "asctime": "2021-01-14 00:51:41,597", "created": 1610581901.597496, "exc_info": null, "exc_text": null, "filename": "test_save_callback.py", "funcName": "save_callback", "levelname": "DEBUG", "levelno": 10, "lineno": 21, "message": "Installing save_callback, which sets a variable to True on execution.", "module": "test_save_callback", "moduleLogger": [], "msecs": 597.4960327148438, "msg": "Installing save_callback, which sets a variable to True on execution.", "name": "__tLogger__", "pathname": "src/tests/test_save_callback.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 76.44104957580566, "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 0.0 }, { "args": [ "True", "" ], "asctime": "2021-01-14 00:51:41,598", "created": 1610581901.598142, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 144, "message": "Save callback execution variable is correct (Content True and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/save_callback_load_on_init.json" ], "asctime": "2021-01-14 00:51:41,597", "created": 1610581901.59777, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/save_callback_load_on_init.json)", "module": "__init__", "msecs": 597.7699756622314, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 76.71499252319336, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "Save callback execution variable", "True", "" ], "asctime": "2021-01-14 00:51:41,597", "created": 1610581901.597983, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Save callback execution variable): True ()", "module": "test", "msecs": 597.9828834533691, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 76.92790031433105, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "Save callback execution variable", "True", "" ], "asctime": "2021-01-14 00:51:41,598", "created": 1610581901.598067, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Save callback execution variable): result = True ()", "module": "test", "msecs": 598.067045211792, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 77.0120620727539, "thread": 139670819383104, "threadName": "MainThread" } ], "msecs": 598.1419086456299, "msg": "Save callback execution variable is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 77.0869255065918, "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 7.486343383789062e-05 } ], "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 0.0008268356323242188, "time_finished": "2021-01-14 00:51:41,598", "time_start": "2021-01-14 00:51:41,597" }, "caching.property_cache_json: Test full initialised JSON-Cache-Object": { "args": null, "asctime": "2021-01-14 00:51:41,569", "created": 1610581901.569332, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "WARNING", "levelno": 30, "lineno": 29, "message": "caching.property_cache_json: Test full initialised JSON-Cache-Object", "module": "__init__", "moduleLogger": [], "msecs": 569.3318843841553, "msg": "caching.property_cache_json: Test full initialised JSON-Cache-Object", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 48.27690124511719, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2021-01-14 00:51:41,570", "created": 1610581901.570136, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Initialising property_cache_json (load_all_on_init=True).", "module": "test_helpers", "moduleLogger": [ { "args": [], "asctime": "2021-01-14 00:51:41,569", "created": 1610581901.569538, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 17, "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "module": "test_helpers", "msecs": 569.5381164550781, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 48.48313331604004, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/load_on_init.json" ], "asctime": "2021-01-14 00:51:41,569", "created": 1610581901.569622, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/unittest/caching/unittest/output_data/load_on_init.json as cache file.", "module": "test_helpers", "msecs": 569.6220397949219, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 48.56705665588379, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-01-14 00:51:41,569", "created": 1610581901.569769, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 228, "message": "JsonCache: Cache file does not exists (yet).", "module": "__init__", "msecs": 569.7689056396484, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 48.71392250061035, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2021-01-14 00:51:41,569", "created": 1610581901.569834, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 162, "message": "JsonCache: Loading all data from source - ['dict', 'unicode', 'str', 'integer', 'float', 'list']", "module": "__init__", "msecs": 569.8339939117432, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 48.77901077270508, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/load_on_init.json" ], "asctime": "2021-01-14 00:51:41,570", "created": 1610581901.570059, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/load_on_init.json)", "module": "__init__", "msecs": 570.059061050415, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 49.00407791137695, "thread": 139670819383104, "threadName": "MainThread" } ], "msecs": 570.1360702514648, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 49.08108711242676, "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 7.700920104980469e-05 }, { "args": [ "property_cache_json" ], "asctime": "2021-01-14 00:51:41,570", "created": 1610581901.570431, "exc_info": null, "exc_text": null, "filename": "test_load_on_init.py", "funcName": "load_on_init", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Extracting storage object from property_cache_json for comparison.", "module": "test_load_on_init", "moduleLogger": [ { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/load_on_init.json" ], "asctime": "2021-01-14 00:51:41,570", "created": 1610581901.570271, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 225, "message": "JsonCache: Loading properties from cache (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/load_on_init.json)", "module": "__init__", "msecs": 570.2710151672363, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 49.21603202819824, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "{u'str': u'string', u'_property_cache_uid_': u'my_unique_id', u'float': 3.14159, u'list': [1, u'two', u'3', 4], u'dict': {u'1': 1, u'3': u'3', u'2': u'two', u'4': 4}, u'unicode': u'unicode', u'_property_cache_data_version_': 1, u'integer': 17}" ], "asctime": "2021-01-14 00:51:41,570", "created": 1610581901.570342, "exc_info": null, "exc_text": null, "filename": "test_load_on_init.py", "funcName": "load_on_init", "levelname": "INFO", "levelno": 20, "lineno": 20, "message": "Using storage object of cache class for comparison: {u'str': u'string', u'_property_cache_uid_': u'my_unique_id', u'float': 3.14159, u'list': [1, u'two', u'3', 4], u'dict': {u'1': 1, u'3': u'3', u'2': u'two', u'4': 4}, u'unicode': u'unicode', u'_property_cache_data_version_': 1, u'integer': 17}", "module": "test_load_on_init", "msecs": 570.3420639038086, "msg": "Using storage object of cache class for comparison: %s", "name": "__unittest__", "pathname": "src/tests/test_load_on_init.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 49.28708076477051, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "_property_cache_data_version_", "_property_cache_uid_" ], "asctime": "2021-01-14 00:51:41,570", "created": 1610581901.570391, "exc_info": null, "exc_text": null, "filename": "test_load_on_init.py", "funcName": "load_on_init", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Deleting overhead keys: _property_cache_data_version_, _property_cache_uid_", "module": "test_load_on_init", "msecs": 570.3909397125244, "msg": "Deleting overhead keys: %s, %s", "name": "__unittest__", "pathname": "src/tests/test_load_on_init.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 49.33595657348633, "thread": 139670819383104, "threadName": "MainThread" } ], "msecs": 570.4309940338135, "msg": "Extracting storage object from %s for comparison.", "name": "__tLogger__", "pathname": "src/tests/test_load_on_init.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 49.37601089477539, "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 4.00543212890625e-05 }, { "args": [], "asctime": "2021-01-14 00:51:41,571", "created": 1610581901.571226, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "WARNING", "levelno": 30, "lineno": 146, "message": "Cache object is NOT correct. See detailed log for more information.", "module": "test", "moduleLogger": [ { "args": [ "Cache object", "{ u'str': u'string', u'float': 3.14159, u'list': [ 1, u'two', u'3', 4 ], u'dict': { u'1': 1, u'3': u'3', u'2': u'two', u'4': 4 }, u'unicode': u'unicode', u'integer': 17 }", "" ], "asctime": "2021-01-14 00:51:41,570", "created": 1610581901.570522, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Cache object): { u'str': u'string', u'float': 3.14159, u'list': [ 1, u'two', u'3', 4 ], u'dict': { u'1': 1, u'3': u'3', u'2': u'two', u'4': 4 }, u'unicode': u'unicode', u'integer': 17 } ()", "module": "test", "msecs": 570.5220699310303, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 49.46708679199219, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "Cache object", "{ 'dict': { '1': 1, '3': '3', '2': 'two', '4': 4 }, 'unicode': u'unicode', 'str': 'string', 'integer': 17, 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ] }", "" ], "asctime": "2021-01-14 00:51:41,570", "created": 1610581901.570583, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Cache object): result = { 'dict': { '1': 1, '3': '3', '2': 'two', '4': 4 }, 'unicode': u'unicode', 'str': 'string', 'integer': 17, 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ] } ()", "module": "test", "msecs": 570.5831050872803, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 49.52812194824219, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "", "", " for result.str", "u'string'" ], "asctime": "2021-01-14 00:51:41,570", "created": 1610581901.570642, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 123, "message": "Type is NOT for result.str (u'string'). Check for known json storage type deviation -> .", "module": "test", "msecs": 570.6419944763184, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 49.58701133728027, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'two'" ], "asctime": "2021-01-14 00:51:41,570", "created": 1610581901.570698, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 123, "message": "Type is NOT for test_variable (u'two'). ", "module": "test", "msecs": 570.6980228424072, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 49.64303970336914, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "u'two'" ], "asctime": "2021-01-14 00:51:41,570", "created": 1610581901.570739, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "ERROR", "levelno": 40, "lineno": 119, "message": "Content u'two' is incorrect for test_variable.", "module": "test", "msecs": 570.7390308380127, "msg": "Content %s is incorrect for test_variable.", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 49.68404769897461, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'two'" ], "asctime": "2021-01-14 00:51:41,570", "created": 1610581901.570785, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 123, "message": "Type is NOT for test_variable (u'two'). ", "module": "test", "msecs": 570.7850456237793, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 49.73006248474121, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "u'two'" ], "asctime": "2021-01-14 00:51:41,570", "created": 1610581901.570825, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "ERROR", "levelno": 40, "lineno": 119, "message": "Content u'two' is incorrect for test_variable.", "module": "test", "msecs": 570.8250999450684, "msg": "Content %s is incorrect for test_variable.", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 49.77011680603027, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'two'" ], "asctime": "2021-01-14 00:51:41,570", "created": 1610581901.570868, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 123, "message": "Type is NOT for test_variable (u'two'). ", "module": "test", "msecs": 570.8680152893066, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 49.813032150268555, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "", "", " for result.list[1]", "u'two'" ], "asctime": "2021-01-14 00:51:41,570", "created": 1610581901.570909, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 123, "message": "Type is NOT for result.list[1] (u'two'). Check for known json storage type deviation -> .", "module": "test", "msecs": 570.9090232849121, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 49.85404014587402, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'3'" ], "asctime": "2021-01-14 00:51:41,570", "created": 1610581901.570955, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 123, "message": "Type is NOT for test_variable (u'3'). ", "module": "test", "msecs": 570.9550380706787, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 49.900054931640625, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "u'3'" ], "asctime": "2021-01-14 00:51:41,570", "created": 1610581901.570993, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "ERROR", "levelno": 40, "lineno": 119, "message": "Content u'3' is incorrect for test_variable.", "module": "test", "msecs": 570.9929466247559, "msg": "Content %s is incorrect for test_variable.", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 49.93796348571777, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'3'" ], "asctime": "2021-01-14 00:51:41,571", "created": 1610581901.571035, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 123, "message": "Type is NOT for test_variable (u'3'). ", "module": "test", "msecs": 571.0349082946777, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 49.97992515563965, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "", "", " for result.list[2]", "u'3'" ], "asctime": "2021-01-14 00:51:41,571", "created": 1610581901.571076, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 123, "message": "Type is NOT for result.list[2] (u'3'). Check for known json storage type deviation -> .", "module": "test", "msecs": 571.0759162902832, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 50.02093315124512, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "", "", " for result.dict.3", "u'3'" ], "asctime": "2021-01-14 00:51:41,571", "created": 1610581901.571138, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 123, "message": "Type is NOT for result.dict.3 (u'3'). Check for known json storage type deviation -> .", "module": "test", "msecs": 571.1379051208496, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 50.08292198181152, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "", "", " for result.dict.2", "u'two'" ], "asctime": "2021-01-14 00:51:41,571", "created": 1610581901.57118, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 123, "message": "Type is NOT for result.dict.2 (u'two'). Check for known json storage type deviation -> .", "module": "test", "msecs": 571.1801052093506, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 50.1251220703125, "thread": 139670819383104, "threadName": "MainThread" } ], "msecs": 571.2258815765381, "msg": "Cache object is NOT correct. See detailed log for more information.", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 50.1708984375, "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 4.57763671875e-05 } ], "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 0.0018939971923828125, "time_finished": "2021-01-14 00:51:41,571", "time_start": "2021-01-14 00:51:41,569" }, "caching.property_cache_json: Test get from source caused by changed uid (full init)": { "args": null, "asctime": "2021-01-14 00:51:41,584", "created": 1610581901.584997, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 35, "message": "caching.property_cache_json: Test get from source caused by changed uid (full init)", "module": "__init__", "moduleLogger": [], "msecs": 584.9969387054443, "msg": "caching.property_cache_json: Test get from source caused by changed uid (full init)", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 63.94195556640625, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2021-01-14 00:51:41,587", "created": 1610581901.587595, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Initialising property_cache_json (load_all_on_init=True).", "module": "test_helpers", "moduleLogger": [ { "args": [], "asctime": "2021-01-14 00:51:41,585", "created": 1610581901.585765, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 17, "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "module": "test_helpers", "msecs": 585.7648849487305, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 64.70990180969238, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.json" ], "asctime": "2021-01-14 00:51:41,586", "created": 1610581901.586052, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.json as cache file.", "module": "test_helpers", "msecs": 586.0519409179688, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 64.99695777893066, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-01-14 00:51:41,586", "created": 1610581901.586277, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 228, "message": "JsonCache: Cache file does not exists (yet).", "module": "__init__", "msecs": 586.2770080566406, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 65.22202491760254, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2021-01-14 00:51:41,586", "created": 1610581901.586519, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 162, "message": "JsonCache: Loading all data from source - ['dict', 'unicode', 'str', 'integer', 'float', 'list']", "module": "__init__", "msecs": 586.5190029144287, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 65.46401977539062, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.json" ], "asctime": "2021-01-14 00:51:41,587", "created": 1610581901.587308, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.json)", "module": "__init__", "msecs": 587.3079299926758, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 66.2529468536377, "thread": 139670819383104, "threadName": "MainThread" } ], "msecs": 587.5949859619141, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 66.54000282287598, "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 0.00028705596923828125 }, { "args": [ "{'unicode': u'__unicode__', 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '3': 'three', '2': 2, '4': '4'}, 'str': '__string__', 'integer': 34}", "" ], "asctime": "2021-01-14 00:51:41,590", "created": 1610581901.590537, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 144, "message": "Instance data after changing uid is correct (Content {'unicode': u'__unicode__', 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '3': 'three', '2': 2, '4': '4'}, 'str': '__string__', 'integer': 34} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.json" ], "asctime": "2021-01-14 00:51:41,588", "created": 1610581901.58812, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 225, "message": "JsonCache: Loading properties from cache (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.json)", "module": "__init__", "msecs": 588.1199836730957, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 67.06500053405762, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-01-14 00:51:41,588", "created": 1610581901.588313, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 131, "message": "JsonCache: Source uid changed, ignoring previous cache data", "module": "__init__", "msecs": 588.313102722168, "msg": "%s Source uid changed, ignoring previous cache data", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 67.25811958312988, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2021-01-14 00:51:41,588", "created": 1610581901.588519, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 162, "message": "JsonCache: Loading all data from source - ['dict', 'unicode', 'str', 'integer', 'float', 'list']", "module": "__init__", "msecs": 588.5190963745117, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 67.46411323547363, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.json" ], "asctime": "2021-01-14 00:51:41,588", "created": 1610581901.588971, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.json)", "module": "__init__", "msecs": 588.9708995819092, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 67.9159164428711, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "dict", "{'1': '1', '3': 'three', '2': 2, '4': '4'}" ], "asctime": "2021-01-14 00:51:41,589", "created": 1610581901.589397, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "JsonCache: Providing property for 'dict' from cache ({'1': '1', '3': 'three', '2': 2, '4': '4'})", "module": "__init__", "msecs": 589.3969535827637, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 68.34197044372559, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "unicode", "u'__unicode__'" ], "asctime": "2021-01-14 00:51:41,589", "created": 1610581901.589542, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "JsonCache: Providing property for 'unicode' from cache (u'__unicode__')", "module": "__init__", "msecs": 589.5419120788574, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 68.48692893981934, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "str", "'__string__'" ], "asctime": "2021-01-14 00:51:41,589", "created": 1610581901.589667, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "JsonCache: Providing property for 'str' from cache ('__string__')", "module": "__init__", "msecs": 589.6670818328857, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 68.61209869384766, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "integer", "34" ], "asctime": "2021-01-14 00:51:41,589", "created": 1610581901.589786, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "JsonCache: Providing property for 'integer' from cache (34)", "module": "__init__", "msecs": 589.7860527038574, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 68.73106956481934, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "float", "2.71828" ], "asctime": "2021-01-14 00:51:41,589", "created": 1610581901.589911, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "JsonCache: Providing property for 'float' from cache (2.71828)", "module": "__init__", "msecs": 589.9109840393066, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 68.85600090026855, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "list", "['one', 2, 3, '4']" ], "asctime": "2021-01-14 00:51:41,590", "created": 1610581901.590031, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "JsonCache: Providing property for 'list' from cache (['one', 2, 3, '4'])", "module": "__init__", "msecs": 590.0309085845947, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 68.97592544555664, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "Instance data after changing uid", "{ 'unicode': u'__unicode__', 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '3': 'three', '2': 2, '4': '4' }, 'str': '__string__', 'integer': 34 }", "" ], "asctime": "2021-01-14 00:51:41,590", "created": 1610581901.590183, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Instance data after changing uid): { 'unicode': u'__unicode__', 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '3': 'three', '2': 2, '4': '4' }, 'str': '__string__', 'integer': 34 } ()", "module": "test", "msecs": 590.1830196380615, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 69.12803649902344, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "Instance data after changing uid", "{ 'dict': { '1': '1', '3': 'three', '2': 2, '4': '4' }, 'unicode': u'__unicode__', 'str': '__string__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ] }", "" ], "asctime": "2021-01-14 00:51:41,590", "created": 1610581901.590324, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Instance data after changing uid): result = { 'dict': { '1': '1', '3': 'three', '2': 2, '4': '4' }, 'unicode': u'__unicode__', 'str': '__string__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ] } ()", "module": "test", "msecs": 590.3239250183105, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 69.26894187927246, "thread": 139670819383104, "threadName": "MainThread" } ], "msecs": 590.5370712280273, "msg": "Instance data after changing uid is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 69.48208808898926, "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 0.00021314620971679688 } ], "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 0.005540132522583008, "time_finished": "2021-01-14 00:51:41,590", "time_start": "2021-01-14 00:51:41,584" }, "caching.property_cache_json: Test get from source caused by changed uid (partially init)": { "args": null, "asctime": "2021-01-14 00:51:41,590", "created": 1610581901.590813, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 36, "message": "caching.property_cache_json: Test get from source caused by changed uid (partially init)", "module": "__init__", "moduleLogger": [], "msecs": 590.8129215240479, "msg": "caching.property_cache_json: Test get from source caused by changed uid (partially init)", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 69.75793838500977, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2021-01-14 00:51:41,592", "created": 1610581901.592116, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Initialising property_cache_json (load_all_on_init=True).", "module": "test_helpers", "moduleLogger": [ { "args": [], "asctime": "2021-01-14 00:51:41,591", "created": 1610581901.591065, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 17, "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "module": "test_helpers", "msecs": 591.0649299621582, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 70.00994682312012, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2021-01-14 00:51:41,591", "created": 1610581901.591238, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json as cache file.", "module": "test_helpers", "msecs": 591.2380218505859, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 70.18303871154785, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-01-14 00:51:41,591", "created": 1610581901.591416, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 228, "message": "JsonCache: Cache file does not exists (yet).", "module": "__init__", "msecs": 591.4158821105957, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 70.36089897155762, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2021-01-14 00:51:41,591", "created": 1610581901.591542, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 162, "message": "JsonCache: Loading all data from source - ['dict', 'unicode', 'str', 'integer', 'float', 'list']", "module": "__init__", "msecs": 591.5420055389404, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 70.48702239990234, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2021-01-14 00:51:41,591", "created": 1610581901.591953, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json)", "module": "__init__", "msecs": 591.9530391693115, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 70.89805603027344, "thread": 139670819383104, "threadName": "MainThread" } ], "msecs": 592.116117477417, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 71.0611343383789, "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 0.00016307830810546875 }, { "args": [ "{'unicode': u'__unicode__', 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '3': 'three', '2': 2, '4': '4'}, 'str': '__string__', 'integer': 34}", "" ], "asctime": "2021-01-14 00:51:41,596", "created": 1610581901.596952, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 144, "message": "Instance data after changing uid is correct (Content {'unicode': u'__unicode__', 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '3': 'three', '2': 2, '4': '4'}, 'str': '__string__', 'integer': 34} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2021-01-14 00:51:41,592", "created": 1610581901.592453, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 225, "message": "JsonCache: Loading properties from cache (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json)", "module": "__init__", "msecs": 592.4530029296875, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 71.39801979064941, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-01-14 00:51:41,592", "created": 1610581901.592595, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 131, "message": "JsonCache: Source uid changed, ignoring previous cache data", "module": "__init__", "msecs": 592.595100402832, "msg": "%s Source uid changed, ignoring previous cache data", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 71.54011726379395, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2021-01-14 00:51:41,593", "created": 1610581901.593559, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json)", "module": "__init__", "msecs": 593.5590267181396, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 72.50404357910156, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "dict", "{'1': '1', '3': 'three', '2': 2, '4': '4'}" ], "asctime": "2021-01-14 00:51:41,593", "created": 1610581901.593774, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 106, "message": "JsonCache: Loading property for 'dict' from source instance ({'1': '1', '3': 'three', '2': 2, '4': '4'})", "module": "__init__", "msecs": 593.7740802764893, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 72.71909713745117, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2021-01-14 00:51:41,593", "created": 1610581901.593956, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json)", "module": "__init__", "msecs": 593.9559936523438, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 72.90101051330566, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "unicode", "u'__unicode__'" ], "asctime": "2021-01-14 00:51:41,594", "created": 1610581901.594084, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 106, "message": "JsonCache: Loading property for 'unicode' from source instance (u'__unicode__')", "module": "__init__", "msecs": 594.0840244293213, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 73.0290412902832, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2021-01-14 00:51:41,594", "created": 1610581901.594381, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json)", "module": "__init__", "msecs": 594.3810939788818, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 73.32611083984375, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "str", "'__string__'" ], "asctime": "2021-01-14 00:51:41,594", "created": 1610581901.594579, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 106, "message": "JsonCache: Loading property for 'str' from source instance ('__string__')", "module": "__init__", "msecs": 594.5789813995361, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 73.52399826049805, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2021-01-14 00:51:41,594", "created": 1610581901.594872, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json)", "module": "__init__", "msecs": 594.871997833252, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 73.81701469421387, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "integer", "34" ], "asctime": "2021-01-14 00:51:41,595", "created": 1610581901.595047, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 106, "message": "JsonCache: Loading property for 'integer' from source instance (34)", "module": "__init__", "msecs": 595.0469970703125, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 73.99201393127441, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2021-01-14 00:51:41,595", "created": 1610581901.59536, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json)", "module": "__init__", "msecs": 595.3600406646729, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 74.30505752563477, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "float", "2.71828" ], "asctime": "2021-01-14 00:51:41,595", "created": 1610581901.595541, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 106, "message": "JsonCache: Loading property for 'float' from source instance (2.71828)", "module": "__init__", "msecs": 595.5410003662109, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 74.48601722717285, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2021-01-14 00:51:41,595", "created": 1610581901.59588, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json)", "module": "__init__", "msecs": 595.8800315856934, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 74.82504844665527, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "list", "['one', 2, 3, '4']" ], "asctime": "2021-01-14 00:51:41,596", "created": 1610581901.59606, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 106, "message": "JsonCache: Loading property for 'list' from source instance (['one', 2, 3, '4'])", "module": "__init__", "msecs": 596.060037612915, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 75.00505447387695, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2021-01-14 00:51:41,596", "created": 1610581901.596404, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json)", "module": "__init__", "msecs": 596.4040756225586, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 75.34909248352051, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "Instance data after changing uid", "{ 'unicode': u'__unicode__', 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '3': 'three', '2': 2, '4': '4' }, 'str': '__string__', 'integer': 34 }", "" ], "asctime": "2021-01-14 00:51:41,596", "created": 1610581901.596625, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Instance data after changing uid): { 'unicode': u'__unicode__', 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '3': 'three', '2': 2, '4': '4' }, 'str': '__string__', 'integer': 34 } ()", "module": "test", "msecs": 596.6250896453857, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 75.57010650634766, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "Instance data after changing uid", "{ 'dict': { '1': '1', '3': 'three', '2': 2, '4': '4' }, 'unicode': u'__unicode__', 'str': '__string__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ] }", "" ], "asctime": "2021-01-14 00:51:41,596", "created": 1610581901.596746, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Instance data after changing uid): result = { 'dict': { '1': '1', '3': 'three', '2': 2, '4': '4' }, 'unicode': u'__unicode__', 'str': '__string__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ] } ()", "module": "test", "msecs": 596.7459678649902, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 75.69098472595215, "thread": 139670819383104, "threadName": "MainThread" } ], "msecs": 596.951961517334, "msg": "Instance data after changing uid is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 75.8969783782959, "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 0.00020599365234375 } ], "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 0.006139039993286133, "time_finished": "2021-01-14 00:51:41,596", "time_start": "2021-01-14 00:51:41,590" }, "caching.property_cache_json: Test get from source caused by increased data version (full init)": { "args": null, "asctime": "2021-01-14 00:51:41,577", "created": 1610581901.577794, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 33, "message": "caching.property_cache_json: Test get from source caused by increased data version (full init)", "module": "__init__", "moduleLogger": [], "msecs": 577.794075012207, "msg": "caching.property_cache_json: Test get from source caused by increased data version (full init)", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 56.739091873168945, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2021-01-14 00:51:41,578", "created": 1610581901.578313, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Initialising property_cache_json (load_all_on_init=True).", "module": "test_helpers", "moduleLogger": [ { "args": [], "asctime": "2021-01-14 00:51:41,577", "created": 1610581901.577879, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 17, "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "module": "test_helpers", "msecs": 577.8789520263672, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 56.8239688873291, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.json" ], "asctime": "2021-01-14 00:51:41,577", "created": 1610581901.577938, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.json as cache file.", "module": "test_helpers", "msecs": 577.9380798339844, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 56.88309669494629, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-01-14 00:51:41,577", "created": 1610581901.577999, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 228, "message": "JsonCache: Cache file does not exists (yet).", "module": "__init__", "msecs": 577.9991149902344, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 56.94413185119629, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2021-01-14 00:51:41,578", "created": 1610581901.578051, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 162, "message": "JsonCache: Loading all data from source - ['dict', 'unicode', 'str', 'integer', 'float', 'list']", "module": "__init__", "msecs": 578.0510902404785, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 56.99610710144043, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.json" ], "asctime": "2021-01-14 00:51:41,578", "created": 1610581901.57825, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.json)", "module": "__init__", "msecs": 578.2499313354492, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 57.19494819641113, "thread": 139670819383104, "threadName": "MainThread" } ], "msecs": 578.3131122589111, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 57.25812911987305, "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 6.318092346191406e-05 }, { "args": [ "{'unicode': u'__unicode__', 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '3': 'three', '2': 2, '4': '4'}, 'str': '__string__', 'integer': 34}", "" ], "asctime": "2021-01-14 00:51:41,579", "created": 1610581901.579796, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 144, "message": "Instance data after increasing data_version is correct (Content {'unicode': u'__unicode__', 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '3': 'three', '2': 2, '4': '4'}, 'str': '__string__', 'integer': 34} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.json" ], "asctime": "2021-01-14 00:51:41,578", "created": 1610581901.578442, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 225, "message": "JsonCache: Loading properties from cache (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.json)", "module": "__init__", "msecs": 578.4420967102051, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 57.38711357116699, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-01-14 00:51:41,578", "created": 1610581901.578499, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 133, "message": "JsonCache: Data version increased, ignoring previous cache data", "module": "__init__", "msecs": 578.4990787506104, "msg": "%s Data version increased, ignoring previous cache data", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 57.444095611572266, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2021-01-14 00:51:41,578", "created": 1610581901.578551, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 162, "message": "JsonCache: Loading all data from source - ['dict', 'unicode', 'str', 'integer', 'float', 'list']", "module": "__init__", "msecs": 578.5510540008545, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 57.496070861816406, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.json" ], "asctime": "2021-01-14 00:51:41,578", "created": 1610581901.578748, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.json)", "module": "__init__", "msecs": 578.7479877471924, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 57.6930046081543, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "dict", "{'1': '1', '3': 'three', '2': 2, '4': '4'}" ], "asctime": "2021-01-14 00:51:41,578", "created": 1610581901.578891, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "JsonCache: Providing property for 'dict' from cache ({'1': '1', '3': 'three', '2': 2, '4': '4'})", "module": "__init__", "msecs": 578.8910388946533, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 57.836055755615234, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "unicode", "u'__unicode__'" ], "asctime": "2021-01-14 00:51:41,579", "created": 1610581901.579003, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "JsonCache: Providing property for 'unicode' from cache (u'__unicode__')", "module": "__init__", "msecs": 579.003095626831, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 57.94811248779297, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "str", "'__string__'" ], "asctime": "2021-01-14 00:51:41,579", "created": 1610581901.579087, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "JsonCache: Providing property for 'str' from cache ('__string__')", "module": "__init__", "msecs": 579.0870189666748, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 58.03203582763672, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "integer", "34" ], "asctime": "2021-01-14 00:51:41,579", "created": 1610581901.579169, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "JsonCache: Providing property for 'integer' from cache (34)", "module": "__init__", "msecs": 579.1690349578857, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 58.114051818847656, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "float", "2.71828" ], "asctime": "2021-01-14 00:51:41,579", "created": 1610581901.579256, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "JsonCache: Providing property for 'float' from cache (2.71828)", "module": "__init__", "msecs": 579.2560577392578, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 58.20107460021973, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "list", "['one', 2, 3, '4']" ], "asctime": "2021-01-14 00:51:41,579", "created": 1610581901.579336, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "JsonCache: Providing property for 'list' from cache (['one', 2, 3, '4'])", "module": "__init__", "msecs": 579.3359279632568, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 58.28094482421875, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "Instance data after increasing data_version", "{ 'unicode': u'__unicode__', 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '3': 'three', '2': 2, '4': '4' }, 'str': '__string__', 'integer': 34 }", "" ], "asctime": "2021-01-14 00:51:41,579", "created": 1610581901.579452, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Instance data after increasing data_version): { 'unicode': u'__unicode__', 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '3': 'three', '2': 2, '4': '4' }, 'str': '__string__', 'integer': 34 } ()", "module": "test", "msecs": 579.4520378112793, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 58.39705467224121, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "Instance data after increasing data_version", "{ 'dict': { '1': '1', '3': 'three', '2': 2, '4': '4' }, 'unicode': u'__unicode__', 'str': '__string__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ] }", "" ], "asctime": "2021-01-14 00:51:41,579", "created": 1610581901.579616, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Instance data after increasing data_version): result = { 'dict': { '1': '1', '3': 'three', '2': 2, '4': '4' }, 'unicode': u'__unicode__', 'str': '__string__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ] } ()", "module": "test", "msecs": 579.6160697937012, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 58.561086654663086, "thread": 139670819383104, "threadName": "MainThread" } ], "msecs": 579.7960758209229, "msg": "Instance data after increasing data_version is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 58.741092681884766, "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 0.0001800060272216797 } ], "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 0.0020020008087158203, "time_finished": "2021-01-14 00:51:41,579", "time_start": "2021-01-14 00:51:41,577" }, "caching.property_cache_json: Test get from source caused by increased data version (partially init)": { "args": null, "asctime": "2021-01-14 00:51:41,580", "created": 1610581901.580027, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 34, "message": "caching.property_cache_json: Test get from source caused by increased data version (partially init)", "module": "__init__", "moduleLogger": [], "msecs": 580.0271034240723, "msg": "caching.property_cache_json: Test get from source caused by increased data version (partially init)", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 58.97212028503418, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2021-01-14 00:51:41,580", "created": 1610581901.580978, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Initialising property_cache_json (load_all_on_init=True).", "module": "test_helpers", "moduleLogger": [ { "args": [], "asctime": "2021-01-14 00:51:41,580", "created": 1610581901.580174, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 17, "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "module": "test_helpers", "msecs": 580.1739692687988, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 59.11898612976074, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json" ], "asctime": "2021-01-14 00:51:41,580", "created": 1610581901.580276, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json as cache file.", "module": "test_helpers", "msecs": 580.2760124206543, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 59.22102928161621, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-01-14 00:51:41,580", "created": 1610581901.580385, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 228, "message": "JsonCache: Cache file does not exists (yet).", "module": "__init__", "msecs": 580.3849697113037, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 59.329986572265625, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2021-01-14 00:51:41,580", "created": 1610581901.580472, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 162, "message": "JsonCache: Loading all data from source - ['dict', 'unicode', 'str', 'integer', 'float', 'list']", "module": "__init__", "msecs": 580.4719924926758, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 59.417009353637695, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json" ], "asctime": "2021-01-14 00:51:41,580", "created": 1610581901.580849, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json)", "module": "__init__", "msecs": 580.8489322662354, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 59.793949127197266, "thread": 139670819383104, "threadName": "MainThread" } ], "msecs": 580.9779167175293, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 59.92293357849121, "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 0.0001289844512939453 }, { "args": [ "{'unicode': u'__unicode__', 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '3': 'three', '2': 2, '4': '4'}, 'str': '__string__', 'integer': 34}", "" ], "asctime": "2021-01-14 00:51:41,584", "created": 1610581901.584448, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 144, "message": "Instance data after increasing data_version is correct (Content {'unicode': u'__unicode__', 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '3': 'three', '2': 2, '4': '4'}, 'str': '__string__', 'integer': 34} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json" ], "asctime": "2021-01-14 00:51:41,581", "created": 1610581901.581354, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 225, "message": "JsonCache: Loading properties from cache (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json)", "module": "__init__", "msecs": 581.3539028167725, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 60.298919677734375, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-01-14 00:51:41,581", "created": 1610581901.581454, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 133, "message": "JsonCache: Data version increased, ignoring previous cache data", "module": "__init__", "msecs": 581.4540386199951, "msg": "%s Data version increased, ignoring previous cache data", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 60.39905548095703, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json" ], "asctime": "2021-01-14 00:51:41,581", "created": 1610581901.581643, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json)", "module": "__init__", "msecs": 581.6431045532227, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 60.58812141418457, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "dict", "{'1': '1', '3': 'three', '2': 2, '4': '4'}" ], "asctime": "2021-01-14 00:51:41,581", "created": 1610581901.581804, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 106, "message": "JsonCache: Loading property for 'dict' from source instance ({'1': '1', '3': 'three', '2': 2, '4': '4'})", "module": "__init__", "msecs": 581.8040370941162, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 60.749053955078125, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json" ], "asctime": "2021-01-14 00:51:41,582", "created": 1610581901.582063, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json)", "module": "__init__", "msecs": 582.0629596710205, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 61.00797653198242, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "unicode", "u'__unicode__'" ], "asctime": "2021-01-14 00:51:41,582", "created": 1610581901.582262, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 106, "message": "JsonCache: Loading property for 'unicode' from source instance (u'__unicode__')", "module": "__init__", "msecs": 582.2620391845703, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 61.20705604553223, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json" ], "asctime": "2021-01-14 00:51:41,582", "created": 1610581901.582492, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json)", "module": "__init__", "msecs": 582.4921131134033, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 61.437129974365234, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "str", "'__string__'" ], "asctime": "2021-01-14 00:51:41,582", "created": 1610581901.582608, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 106, "message": "JsonCache: Loading property for 'str' from source instance ('__string__')", "module": "__init__", "msecs": 582.6079845428467, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 61.553001403808594, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json" ], "asctime": "2021-01-14 00:51:41,582", "created": 1610581901.582915, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json)", "module": "__init__", "msecs": 582.9150676727295, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 61.860084533691406, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "integer", "34" ], "asctime": "2021-01-14 00:51:41,583", "created": 1610581901.583108, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 106, "message": "JsonCache: Loading property for 'integer' from source instance (34)", "module": "__init__", "msecs": 583.1079483032227, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 62.05296516418457, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json" ], "asctime": "2021-01-14 00:51:41,583", "created": 1610581901.583403, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json)", "module": "__init__", "msecs": 583.4031105041504, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 62.348127365112305, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "float", "2.71828" ], "asctime": "2021-01-14 00:51:41,583", "created": 1610581901.583553, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 106, "message": "JsonCache: Loading property for 'float' from source instance (2.71828)", "module": "__init__", "msecs": 583.5530757904053, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 62.49809265136719, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json" ], "asctime": "2021-01-14 00:51:41,583", "created": 1610581901.583759, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json)", "module": "__init__", "msecs": 583.759069442749, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 62.70408630371094, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "list", "['one', 2, 3, '4']" ], "asctime": "2021-01-14 00:51:41,583", "created": 1610581901.583859, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 106, "message": "JsonCache: Loading property for 'list' from source instance (['one', 2, 3, '4'])", "module": "__init__", "msecs": 583.8589668273926, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 62.80398368835449, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json" ], "asctime": "2021-01-14 00:51:41,584", "created": 1610581901.584099, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json)", "module": "__init__", "msecs": 584.0990543365479, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 63.044071197509766, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "Instance data after increasing data_version", "{ 'unicode': u'__unicode__', 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '3': 'three', '2': 2, '4': '4' }, 'str': '__string__', 'integer': 34 }", "" ], "asctime": "2021-01-14 00:51:41,584", "created": 1610581901.584227, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Instance data after increasing data_version): { 'unicode': u'__unicode__', 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '3': 'three', '2': 2, '4': '4' }, 'str': '__string__', 'integer': 34 } ()", "module": "test", "msecs": 584.2270851135254, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 63.172101974487305, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "Instance data after increasing data_version", "{ 'dict': { '1': '1', '3': 'three', '2': 2, '4': '4' }, 'unicode': u'__unicode__', 'str': '__string__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ] }", "" ], "asctime": "2021-01-14 00:51:41,584", "created": 1610581901.584304, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Instance data after increasing data_version): result = { 'dict': { '1': '1', '3': 'three', '2': 2, '4': '4' }, 'unicode': u'__unicode__', 'str': '__string__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ] } ()", "module": "test", "msecs": 584.3040943145752, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 63.24911117553711, "thread": 139670819383104, "threadName": "MainThread" } ], "msecs": 584.4480991363525, "msg": "Instance data after increasing data_version is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 63.39311599731445, "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 0.00014400482177734375 } ], "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 0.0044209957122802734, "time_finished": "2021-01-14 00:51:41,584", "time_start": "2021-01-14 00:51:41,580" }, "caching.property_cache_json: Test internal key usage": { "args": null, "asctime": "2021-01-14 00:51:41,598", "created": 1610581901.598369, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 38, "message": "caching.property_cache_json: Test internal key usage", "module": "__init__", "moduleLogger": [], "msecs": 598.3688831329346, "msg": "caching.property_cache_json: Test internal key usage", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 77.31389999389648, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2021-01-14 00:51:41,599", "created": 1610581901.599452, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Initialising property_cache_json (load_all_on_init=True).", "module": "test_helpers", "moduleLogger": [ { "args": [], "asctime": "2021-01-14 00:51:41,598", "created": 1610581901.59855, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 17, "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "module": "test_helpers", "msecs": 598.5500812530518, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 77.49509811401367, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/internal_keys_test.json" ], "asctime": "2021-01-14 00:51:41,598", "created": 1610581901.598682, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/unittest/caching/unittest/output_data/internal_keys_test.json as cache file.", "module": "test_helpers", "msecs": 598.6819267272949, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 77.62694358825684, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-01-14 00:51:41,598", "created": 1610581901.59883, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 228, "message": "JsonCache: Cache file does not exists (yet).", "module": "__init__", "msecs": 598.829984664917, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 77.7750015258789, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['__property_cache_data_version_', '_property_cache_data_version_', '__property_cache_uid_', '_property_cache_uid_']" ], "asctime": "2021-01-14 00:51:41,598", "created": 1610581901.598932, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 162, "message": "JsonCache: Loading all data from source - ['__property_cache_data_version_', '_property_cache_data_version_', '__property_cache_uid_', '_property_cache_uid_']", "module": "__init__", "msecs": 598.9320278167725, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 77.87704467773438, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/internal_keys_test.json" ], "asctime": "2021-01-14 00:51:41,599", "created": 1610581901.599281, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/internal_keys_test.json)", "module": "__init__", "msecs": 599.2810726165771, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 78.22608947753906, "thread": 139670819383104, "threadName": "MainThread" } ], "msecs": 599.452018737793, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 78.39703559875488, "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 0.0001709461212158203 }, { "args": [ "property_cache_json" ], "asctime": "2021-01-14 00:51:41,600", "created": 1610581901.600129, "exc_info": null, "exc_text": null, "filename": "test_internal_keys.py", "funcName": "test_internal_keys", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Extracting storage object from property_cache_json for comparison.", "module": "test_internal_keys", "moduleLogger": [ { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/internal_keys_test.json" ], "asctime": "2021-01-14 00:51:41,599", "created": 1610581901.59979, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 225, "message": "JsonCache: Loading properties from cache (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/internal_keys_test.json)", "module": "__init__", "msecs": 599.790096282959, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 78.7351131439209, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "{u'__property_cache_data_version_': u'no data version', u'___property_cache_data_version_': u'no second data version', u'__property_cache_uid_': u'no uid', u'_property_cache_uid_': u'my_unique_id', u'_property_cache_data_version_': 1, u'___property_cache_uid_': u'no second uid'}" ], "asctime": "2021-01-14 00:51:41,599", "created": 1610581901.59992, "exc_info": null, "exc_text": null, "filename": "test_internal_keys.py", "funcName": "test_internal_keys", "levelname": "INFO", "levelno": 20, "lineno": 20, "message": "Using storage object of cache class for comparison: {u'__property_cache_data_version_': u'no data version', u'___property_cache_data_version_': u'no second data version', u'__property_cache_uid_': u'no uid', u'_property_cache_uid_': u'my_unique_id', u'_property_cache_data_version_': 1, u'___property_cache_uid_': u'no second uid'}", "module": "test_internal_keys", "msecs": 599.9200344085693, "msg": "Using storage object of cache class for comparison: %s", "name": "__unittest__", "pathname": "src/tests/test_internal_keys.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 78.86505126953125, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "_property_cache_data_version_", "_property_cache_uid_" ], "asctime": "2021-01-14 00:51:41,600", "created": 1610581901.600037, "exc_info": null, "exc_text": null, "filename": "test_internal_keys.py", "funcName": "test_internal_keys", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Deleting overhead keys: _property_cache_data_version_, _property_cache_uid_", "module": "test_internal_keys", "msecs": 600.0370979309082, "msg": "Deleting overhead keys: %s, %s", "name": "__unittest__", "pathname": "src/tests/test_internal_keys.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 78.98211479187012, "thread": 139670819383104, "threadName": "MainThread" } ], "msecs": 600.1288890838623, "msg": "Extracting storage object from %s for comparison.", "name": "__tLogger__", "pathname": "src/tests/test_internal_keys.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 79.07390594482422, "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 9.179115295410156e-05 }, { "args": [ "{u'__property_cache_data_version_': u'no data version', u'___property_cache_data_version_': u'no second data version', u'__property_cache_uid_': u'no uid', u'___property_cache_uid_': u'no second uid'}", "" ], "asctime": "2021-01-14 00:51:41,600", "created": 1610581901.600587, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 144, "message": "Cache is correct (Content {u'__property_cache_data_version_': u'no data version', u'___property_cache_data_version_': u'no second data version', u'__property_cache_uid_': u'no uid', u'___property_cache_uid_': u'no second uid'} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Cache", "{ u'__property_cache_data_version_': u'no data version', u'___property_cache_data_version_': u'no second data version', u'__property_cache_uid_': u'no uid', u'___property_cache_uid_': u'no second uid' }", "" ], "asctime": "2021-01-14 00:51:41,600", "created": 1610581901.600334, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Cache): { u'__property_cache_data_version_': u'no data version', u'___property_cache_data_version_': u'no second data version', u'__property_cache_uid_': u'no uid', u'___property_cache_uid_': u'no second uid' } ()", "module": "test", "msecs": 600.3339290618896, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 79.27894592285156, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "Cache", "{ '__property_cache_data_version_': u'no data version', '___property_cache_data_version_': u'no second data version', '__property_cache_uid_': u'no uid', '___property_cache_uid_': u'no second uid' }", "" ], "asctime": "2021-01-14 00:51:41,600", "created": 1610581901.600444, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Cache): result = { '__property_cache_data_version_': u'no data version', '___property_cache_data_version_': u'no second data version', '__property_cache_uid_': u'no uid', '___property_cache_uid_': u'no second uid' } ()", "module": "test", "msecs": 600.4440784454346, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 79.38909530639648, "thread": 139670819383104, "threadName": "MainThread" } ], "msecs": 600.5868911743164, "msg": "Cache is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 79.53190803527832, "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 0.00014281272888183594 }, { "args": [ "5", "" ], "asctime": "2021-01-14 00:51:41,600", "created": 1610581901.600938, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 144, "message": "Keyfilter returnvalue for 5 () is correct (Content 5 and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Keyfilter returnvalue for 5 ()", "5", "" ], "asctime": "2021-01-14 00:51:41,600", "created": 1610581901.600762, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Keyfilter returnvalue for 5 ()): 5 ()", "module": "test", "msecs": 600.761890411377, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 79.70690727233887, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "Keyfilter returnvalue for 5 ()", "5", "" ], "asctime": "2021-01-14 00:51:41,600", "created": 1610581901.600845, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Keyfilter returnvalue for 5 ()): result = 5 ()", "module": "test", "msecs": 600.8450984954834, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 79.79011535644531, "thread": 139670819383104, "threadName": "MainThread" } ], "msecs": 600.938081741333, "msg": "Keyfilter returnvalue for 5 () is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 79.88309860229492, "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 9.298324584960938e-05 } ], "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 0.0025691986083984375, "time_finished": "2021-01-14 00:51:41,600", "time_start": "2021-01-14 00:51:41,598" }, "caching.property_cache_json: Test partially initialisation of JSON-Cache-Object": { "args": null, "asctime": "2021-01-14 00:51:41,571", "created": 1610581901.57135, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "WARNING", "levelno": 30, "lineno": 30, "message": "caching.property_cache_json: Test partially initialisation of JSON-Cache-Object", "module": "__init__", "moduleLogger": [], "msecs": 571.35009765625, "msg": "caching.property_cache_json: Test partially initialisation of JSON-Cache-Object", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 50.295114517211914, "testcaseLogger": [ { "args": [ "property_cache_json", "False" ], "asctime": "2021-01-14 00:51:41,571", "created": 1610581901.571733, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Initialising property_cache_json (load_all_on_init=False).", "module": "test_helpers", "moduleLogger": [ { "args": [], "asctime": "2021-01-14 00:51:41,571", "created": 1610581901.571435, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 17, "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "module": "test_helpers", "msecs": 571.4349746704102, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 50.37999153137207, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.json" ], "asctime": "2021-01-14 00:51:41,571", "created": 1610581901.571497, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.json as cache file.", "module": "test_helpers", "msecs": 571.4969635009766, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 50.44198036193848, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-01-14 00:51:41,571", "created": 1610581901.571559, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 228, "message": "JsonCache: Cache file does not exists (yet).", "module": "__init__", "msecs": 571.558952331543, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 50.50396919250488, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.json" ], "asctime": "2021-01-14 00:51:41,571", "created": 1610581901.571674, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.json)", "module": "__init__", "msecs": 571.674108505249, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 50.61912536621094, "thread": 139670819383104, "threadName": "MainThread" } ], "msecs": 571.7329978942871, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 50.67801475524902, "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 5.888938903808594e-05 }, { "args": [], "asctime": "2021-01-14 00:51:41,572", "created": 1610581901.572524, "exc_info": null, "exc_text": null, "filename": "test_no_load_on_init.py", "funcName": "no_load_on_init", "levelname": "DEBUG", "levelno": 10, "lineno": 18, "message": "Partially initialising cache object by requesting some information.", "module": "test_no_load_on_init", "moduleLogger": [ { "args": [ "JsonCache:", "float", "3.14159" ], "asctime": "2021-01-14 00:51:41,571", "created": 1610581901.571819, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 106, "message": "JsonCache: Loading property for 'float' from source instance (3.14159)", "module": "__init__", "msecs": 571.8190670013428, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 50.76408386230469, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.json" ], "asctime": "2021-01-14 00:51:41,571", "created": 1610581901.571942, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.json)", "module": "__init__", "msecs": 571.9420909881592, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 50.887107849121094, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "list", "[1, 'two', '3', 4]" ], "asctime": "2021-01-14 00:51:41,572", "created": 1610581901.57205, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 106, "message": "JsonCache: Loading property for 'list' from source instance ([1, 'two', '3', 4])", "module": "__init__", "msecs": 572.0500946044922, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 50.9951114654541, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.json" ], "asctime": "2021-01-14 00:51:41,572", "created": 1610581901.572202, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.json)", "module": "__init__", "msecs": 572.2019672393799, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 51.1469841003418, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "str", "'string'" ], "asctime": "2021-01-14 00:51:41,572", "created": 1610581901.572297, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 106, "message": "JsonCache: Loading property for 'str' from source instance ('string')", "module": "__init__", "msecs": 572.2970962524414, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 51.24211311340332, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.json" ], "asctime": "2021-01-14 00:51:41,572", "created": 1610581901.572447, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.json)", "module": "__init__", "msecs": 572.4470615386963, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 51.3920783996582, "thread": 139670819383104, "threadName": "MainThread" } ], "msecs": 572.5240707397461, "msg": "Partially initialising cache object by requesting some information.", "name": "__tLogger__", "pathname": "src/tests/test_no_load_on_init.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 51.46908760070801, "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 7.700920104980469e-05 }, { "args": [ "property_cache_json" ], "asctime": "2021-01-14 00:51:41,572", "created": 1610581901.572825, "exc_info": null, "exc_text": null, "filename": "test_no_load_on_init.py", "funcName": "no_load_on_init", "levelname": "DEBUG", "levelno": 10, "lineno": 27, "message": "Extracting storage object from property_cache_json for comparison.", "module": "test_no_load_on_init", "moduleLogger": [ { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.json" ], "asctime": "2021-01-14 00:51:41,572", "created": 1610581901.572674, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 225, "message": "JsonCache: Loading properties from cache (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.json)", "module": "__init__", "msecs": 572.674036026001, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 51.61905288696289, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "{u'_property_cache_data_version_': 1, u'float': 3.14159, u'list': [1, u'two', u'3', 4], u'str': u'string', u'_property_cache_uid_': u'my_unique_id'}" ], "asctime": "2021-01-14 00:51:41,572", "created": 1610581901.572738, "exc_info": null, "exc_text": null, "filename": "test_no_load_on_init.py", "funcName": "no_load_on_init", "levelname": "INFO", "levelno": 20, "lineno": 23, "message": "Using storage object of cache class for comparison: {u'_property_cache_data_version_': 1, u'float': 3.14159, u'list': [1, u'two', u'3', 4], u'str': u'string', u'_property_cache_uid_': u'my_unique_id'}", "module": "test_no_load_on_init", "msecs": 572.7379322052002, "msg": "Using storage object of cache class for comparison: %s", "name": "__unittest__", "pathname": "src/tests/test_no_load_on_init.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 51.68294906616211, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "_property_cache_data_version_", "_property_cache_uid_" ], "asctime": "2021-01-14 00:51:41,572", "created": 1610581901.572787, "exc_info": null, "exc_text": null, "filename": "test_no_load_on_init.py", "funcName": "no_load_on_init", "levelname": "INFO", "levelno": 20, "lineno": 24, "message": "Deleting overhead keys: _property_cache_data_version_, _property_cache_uid_", "module": "test_no_load_on_init", "msecs": 572.7870464324951, "msg": "Deleting overhead keys: %s, %s", "name": "__unittest__", "pathname": "src/tests/test_no_load_on_init.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 51.73206329345703, "thread": 139670819383104, "threadName": "MainThread" } ], "msecs": 572.8249549865723, "msg": "Extracting storage object from %s for comparison.", "name": "__tLogger__", "pathname": "src/tests/test_no_load_on_init.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 51.76997184753418, "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 3.790855407714844e-05 }, { "args": [], "asctime": "2021-01-14 00:51:41,573", "created": 1610581901.573535, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "WARNING", "levelno": 30, "lineno": 146, "message": "Cache object is NOT correct. See detailed log for more information.", "module": "test", "moduleLogger": [ { "args": [ "Cache object", "{ u'float': 3.14159, u'list': [ 1, u'two', u'3', 4 ], u'str': u'string' }", "" ], "asctime": "2021-01-14 00:51:41,572", "created": 1610581901.572913, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Cache object): { u'float': 3.14159, u'list': [ 1, u'two', u'3', 4 ], u'str': u'string' } ()", "module": "test", "msecs": 572.9129314422607, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 51.857948303222656, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "Cache object", "{ 'str': 'string', 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ] }", "" ], "asctime": "2021-01-14 00:51:41,572", "created": 1610581901.572963, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Cache object): result = { 'str': 'string', 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ] } ()", "module": "test", "msecs": 572.9629993438721, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 51.908016204833984, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'two'" ], "asctime": "2021-01-14 00:51:41,573", "created": 1610581901.573023, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 123, "message": "Type is NOT for test_variable (u'two'). ", "module": "test", "msecs": 573.0230808258057, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 51.96809768676758, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "u'two'" ], "asctime": "2021-01-14 00:51:41,573", "created": 1610581901.573065, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "ERROR", "levelno": 40, "lineno": 119, "message": "Content u'two' is incorrect for test_variable.", "module": "test", "msecs": 573.0650424957275, "msg": "Content %s is incorrect for test_variable.", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 52.01005935668945, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'two'" ], "asctime": "2021-01-14 00:51:41,573", "created": 1610581901.57311, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 123, "message": "Type is NOT for test_variable (u'two'). ", "module": "test", "msecs": 573.1101036071777, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 52.05512046813965, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "u'two'" ], "asctime": "2021-01-14 00:51:41,573", "created": 1610581901.57319, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "ERROR", "levelno": 40, "lineno": 119, "message": "Content u'two' is incorrect for test_variable.", "module": "test", "msecs": 573.1899738311768, "msg": "Content %s is incorrect for test_variable.", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 52.13499069213867, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'two'" ], "asctime": "2021-01-14 00:51:41,573", "created": 1610581901.573234, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 123, "message": "Type is NOT for test_variable (u'two'). ", "module": "test", "msecs": 573.2340812683105, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 52.17909812927246, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "", "", " for result.list[1]", "u'two'" ], "asctime": "2021-01-14 00:51:41,573", "created": 1610581901.573278, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 123, "message": "Type is NOT for result.list[1] (u'two'). Check for known json storage type deviation -> .", "module": "test", "msecs": 573.2779502868652, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 52.22296714782715, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'3'" ], "asctime": "2021-01-14 00:51:41,573", "created": 1610581901.573321, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 123, "message": "Type is NOT for test_variable (u'3'). ", "module": "test", "msecs": 573.3211040496826, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 52.26612091064453, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "u'3'" ], "asctime": "2021-01-14 00:51:41,573", "created": 1610581901.573362, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "ERROR", "levelno": 40, "lineno": 119, "message": "Content u'3' is incorrect for test_variable.", "module": "test", "msecs": 573.3621120452881, "msg": "Content %s is incorrect for test_variable.", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 52.30712890625, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'3'" ], "asctime": "2021-01-14 00:51:41,573", "created": 1610581901.573408, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 123, "message": "Type is NOT for test_variable (u'3'). ", "module": "test", "msecs": 573.4078884124756, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 52.3529052734375, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "", "", " for result.list[2]", "u'3'" ], "asctime": "2021-01-14 00:51:41,573", "created": 1610581901.57345, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 123, "message": "Type is NOT for result.list[2] (u'3'). Check for known json storage type deviation -> .", "module": "test", "msecs": 573.4500885009766, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 52.39510536193848, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "", "", " for result.str", "u'string'" ], "asctime": "2021-01-14 00:51:41,573", "created": 1610581901.573498, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 123, "message": "Type is NOT for result.str (u'string'). Check for known json storage type deviation -> .", "module": "test", "msecs": 573.498010635376, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 52.44302749633789, "thread": 139670819383104, "threadName": "MainThread" } ], "msecs": 573.5349655151367, "msg": "Cache object is NOT correct. See detailed log for more information.", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 52.47998237609863, "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 3.695487976074219e-05 } ], "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 0.0021848678588867188, "time_finished": "2021-01-14 00:51:41,573", "time_start": "2021-01-14 00:51:41,571" }, "caching.property_cache_pickle: Test cached data (full init)": { "args": null, "asctime": "2021-01-14 00:51:41,611", "created": 1610581901.611991, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 44, "message": "caching.property_cache_pickle: Test cached data (full init)", "module": "__init__", "moduleLogger": [], "msecs": 611.9909286499023, "msg": "caching.property_cache_pickle: Test cached data (full init)", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 90.93594551086426, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2021-01-14 00:51:41,613", "created": 1610581901.613912, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Initialising property_cache_pickle (load_all_on_init=True).", "module": "test_helpers", "moduleLogger": [ { "args": [], "asctime": "2021-01-14 00:51:41,612", "created": 1610581901.612263, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 17, "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "module": "test_helpers", "msecs": 612.2629642486572, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 91.20798110961914, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:41,612", "created": 1610581901.612473, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_load_on_init.pkl as cache file.", "module": "test_helpers", "msecs": 612.4730110168457, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 91.41802787780762, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-01-14 00:51:41,612", "created": 1610581901.612621, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 148, "message": "PickCache: Cache file does not exists (yet).", "module": "__init__", "msecs": 612.6210689544678, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 91.56608581542969, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2021-01-14 00:51:41,612", "created": 1610581901.612744, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 162, "message": "PickCache: Loading all data from source - ['dict', 'unicode', 'str', 'integer', 'float', 'list']", "module": "__init__", "msecs": 612.7440929412842, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 91.6891098022461, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:41,613", "created": 1610581901.613606, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_load_on_init.pkl)", "module": "__init__", "msecs": 613.6059761047363, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 92.55099296569824, "thread": 139670819383104, "threadName": "MainThread" } ], "msecs": 613.9121055603027, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 92.85712242126465, "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 0.00030612945556640625 }, { "args": [], "asctime": "2021-01-14 00:51:41,615", "created": 1610581901.616, "exc_info": null, "exc_text": null, "filename": "test_cached_data.py", "funcName": "cached_data", "levelname": "DEBUG", "levelno": 10, "lineno": 19, "message": "Collecting data from cache instance.", "module": "test_cached_data", "moduleLogger": [ { "args": [ "PickCache:", "uncached" ], "asctime": "2021-01-14 00:51:41,614", "created": 1610581901.614161, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "INFO", "levelno": 20, "lineno": 113, "message": "PickCache: Key 'uncached' is not in cached_keys. Uncached data will be returned.", "module": "__init__", "msecs": 614.1610145568848, "msg": "%s Key '%s' is not in cached_keys. Uncached data will be returned.", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 93.10603141784668, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:41,614", "created": 1610581901.614915, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 145, "message": "PickCache: Loading properties from cache (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_load_on_init.pkl)", "module": "__init__", "msecs": 614.9148941040039, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 93.85991096496582, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "dict", "{'1': 1, '3': '3', '2': 'two', '4': 4}" ], "asctime": "2021-01-14 00:51:41,615", "created": 1610581901.615108, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "PickCache: Providing property for 'dict' from cache ({'1': 1, '3': '3', '2': 'two', '4': 4})", "module": "__init__", "msecs": 615.1080131530762, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 94.05303001403809, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "unicode", "u'unicode'" ], "asctime": "2021-01-14 00:51:41,615", "created": 1610581901.615266, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "PickCache: Providing property for 'unicode' from cache (u'unicode')", "module": "__init__", "msecs": 615.2660846710205, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 94.21110153198242, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "str", "'string'" ], "asctime": "2021-01-14 00:51:41,615", "created": 1610581901.615413, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "PickCache: Providing property for 'str' from cache ('string')", "module": "__init__", "msecs": 615.4129505157471, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 94.35796737670898, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "integer", "17" ], "asctime": "2021-01-14 00:51:41,615", "created": 1610581901.615561, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "PickCache: Providing property for 'integer' from cache (17)", "module": "__init__", "msecs": 615.5610084533691, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 94.50602531433105, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "float", "3.14159" ], "asctime": "2021-01-14 00:51:41,615", "created": 1610581901.615708, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "PickCache: Providing property for 'float' from cache (3.14159)", "module": "__init__", "msecs": 615.7081127166748, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 94.65312957763672, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "list", "[1, 'two', '3', 4]" ], "asctime": "2021-01-14 00:51:41,615", "created": 1610581901.615873, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "PickCache: Providing property for 'list' from cache ([1, 'two', '3', 4])", "module": "__init__", "msecs": 615.8730983734131, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 94.818115234375, "thread": 139670819383104, "threadName": "MainThread" } ], "msecs": 615.9999370574951, "msg": "Collecting data from cache instance.", "name": "__tLogger__", "pathname": "src/tests/test_cached_data.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 94.94495391845703, "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 0.00012683868408203125 }, { "args": [ "{'uncached': 'uncached_data_of_class', 'unicode': u'unicode', 'float': 3.14159, 'list': [1, 'two', '3', 4], 'dict': {'1': 1, '3': '3', '2': 'two', '4': 4}, 'str': 'string', 'integer': 17}", "" ], "asctime": "2021-01-14 00:51:41,616", "created": 1610581901.6168, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 144, "message": "Cached data is correct (Content {'uncached': 'uncached_data_of_class', 'unicode': u'unicode', 'float': 3.14159, 'list': [1, 'two', '3', 4], 'dict': {'1': 1, '3': '3', '2': 'two', '4': 4}, 'str': 'string', 'integer': 17} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Cached data", "{ 'uncached': 'uncached_data_of_class', 'unicode': u'unicode', 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ], 'dict': { '1': 1, '3': '3', '2': 'two', '4': 4 }, 'str': 'string', 'integer': 17 }", "" ], "asctime": "2021-01-14 00:51:41,616", "created": 1610581901.616306, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Cached data): { 'uncached': 'uncached_data_of_class', 'unicode': u'unicode', 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ], 'dict': { '1': 1, '3': '3', '2': 'two', '4': 4 }, 'str': 'string', 'integer': 17 } ()", "module": "test", "msecs": 616.3060665130615, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 95.25108337402344, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "Cached data", "{ 'uncached': 'uncached_data_of_class', 'dict': { '1': 1, '3': '3', '2': 'two', '4': 4 }, 'unicode': u'unicode', 'str': 'string', 'integer': 17, 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ] }", "" ], "asctime": "2021-01-14 00:51:41,616", "created": 1610581901.6165, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Cached data): result = { 'uncached': 'uncached_data_of_class', 'dict': { '1': 1, '3': '3', '2': 'two', '4': 4 }, 'unicode': u'unicode', 'str': 'string', 'integer': 17, 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ] } ()", "module": "test", "msecs": 616.4999008178711, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 95.44491767883301, "thread": 139670819383104, "threadName": "MainThread" } ], "msecs": 616.80006980896, "msg": "Cached data is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 95.74508666992188, "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 0.0003001689910888672 } ], "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 0.004809141159057617, "time_finished": "2021-01-14 00:51:41,616", "time_start": "2021-01-14 00:51:41,611" }, "caching.property_cache_pickle: Test cached data (partially init)": { "args": null, "asctime": "2021-01-14 00:51:41,617", "created": 1610581901.617287, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 45, "message": "caching.property_cache_pickle: Test cached data (partially init)", "module": "__init__", "moduleLogger": [], "msecs": 617.2869205474854, "msg": "caching.property_cache_pickle: Test cached data (partially init)", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 96.23193740844727, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2021-01-14 00:51:41,619", "created": 1610581901.619301, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Initialising property_cache_pickle (load_all_on_init=True).", "module": "test_helpers", "moduleLogger": [ { "args": [], "asctime": "2021-01-14 00:51:41,617", "created": 1610581901.617618, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 17, "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "module": "test_helpers", "msecs": 617.6180839538574, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 96.56310081481934, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_no_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:41,617", "created": 1610581901.617836, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_no_load_on_init.pkl as cache file.", "module": "test_helpers", "msecs": 617.8359985351562, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 96.78101539611816, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-01-14 00:51:41,618", "created": 1610581901.61806, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 148, "message": "PickCache: Cache file does not exists (yet).", "module": "__init__", "msecs": 618.0601119995117, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 97.00512886047363, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2021-01-14 00:51:41,618", "created": 1610581901.618246, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 162, "message": "PickCache: Loading all data from source - ['dict', 'unicode', 'str', 'integer', 'float', 'list']", "module": "__init__", "msecs": 618.2460784912109, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 97.19109535217285, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_no_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:41,618", "created": 1610581901.618933, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 618.9329624176025, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 97.87797927856445, "thread": 139670819383104, "threadName": "MainThread" } ], "msecs": 619.3010807037354, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 98.24609756469727, "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 0.0003681182861328125 }, { "args": [], "asctime": "2021-01-14 00:51:41,621", "created": 1610581901.621731, "exc_info": null, "exc_text": null, "filename": "test_cached_data.py", "funcName": "cached_data", "levelname": "DEBUG", "levelno": 10, "lineno": 19, "message": "Collecting data from cache instance.", "module": "test_cached_data", "moduleLogger": [ { "args": [ "PickCache:", "uncached" ], "asctime": "2021-01-14 00:51:41,619", "created": 1610581901.619729, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "INFO", "levelno": 20, "lineno": 113, "message": "PickCache: Key 'uncached' is not in cached_keys. Uncached data will be returned.", "module": "__init__", "msecs": 619.7290420532227, "msg": "%s Key '%s' is not in cached_keys. Uncached data will be returned.", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 98.67405891418457, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_no_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:41,620", "created": 1610581901.620483, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 145, "message": "PickCache: Loading properties from cache (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 620.4829216003418, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 99.42793846130371, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "dict", "{'1': 1, '3': '3', '2': 'two', '4': 4}" ], "asctime": "2021-01-14 00:51:41,620", "created": 1610581901.620703, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "PickCache: Providing property for 'dict' from cache ({'1': 1, '3': '3', '2': 'two', '4': 4})", "module": "__init__", "msecs": 620.7029819488525, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 99.64799880981445, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "unicode", "u'unicode'" ], "asctime": "2021-01-14 00:51:41,620", "created": 1610581901.620887, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "PickCache: Providing property for 'unicode' from cache (u'unicode')", "module": "__init__", "msecs": 620.887041091919, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 99.83205795288086, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "str", "'string'" ], "asctime": "2021-01-14 00:51:41,621", "created": 1610581901.621055, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "PickCache: Providing property for 'str' from cache ('string')", "module": "__init__", "msecs": 621.0548877716064, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 99.99990463256836, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "integer", "17" ], "asctime": "2021-01-14 00:51:41,621", "created": 1610581901.621289, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "PickCache: Providing property for 'integer' from cache (17)", "module": "__init__", "msecs": 621.2890148162842, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 100.2340316772461, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "float", "3.14159" ], "asctime": "2021-01-14 00:51:41,621", "created": 1610581901.621465, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "PickCache: Providing property for 'float' from cache (3.14159)", "module": "__init__", "msecs": 621.4649677276611, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 100.40998458862305, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "list", "[1, 'two', '3', 4]" ], "asctime": "2021-01-14 00:51:41,621", "created": 1610581901.621634, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "PickCache: Providing property for 'list' from cache ([1, 'two', '3', 4])", "module": "__init__", "msecs": 621.6340065002441, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 100.57902336120605, "thread": 139670819383104, "threadName": "MainThread" } ], "msecs": 621.7310428619385, "msg": "Collecting data from cache instance.", "name": "__tLogger__", "pathname": "src/tests/test_cached_data.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 100.67605972290039, "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 9.703636169433594e-05 }, { "args": [ "{'uncached': 'uncached_data_of_class', 'unicode': u'unicode', 'float': 3.14159, 'list': [1, 'two', '3', 4], 'dict': {'1': 1, '3': '3', '2': 'two', '4': 4}, 'str': 'string', 'integer': 17}", "" ], "asctime": "2021-01-14 00:51:41,622", "created": 1610581901.622076, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 144, "message": "Cached data is correct (Content {'uncached': 'uncached_data_of_class', 'unicode': u'unicode', 'float': 3.14159, 'list': [1, 'two', '3', 4], 'dict': {'1': 1, '3': '3', '2': 'two', '4': 4}, 'str': 'string', 'integer': 17} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Cached data", "{ 'uncached': 'uncached_data_of_class', 'unicode': u'unicode', 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ], 'dict': { '1': 1, '3': '3', '2': 'two', '4': 4 }, 'str': 'string', 'integer': 17 }", "" ], "asctime": "2021-01-14 00:51:41,621", "created": 1610581901.621861, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Cached data): { 'uncached': 'uncached_data_of_class', 'unicode': u'unicode', 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ], 'dict': { '1': 1, '3': '3', '2': 'two', '4': 4 }, 'str': 'string', 'integer': 17 } ()", "module": "test", "msecs": 621.8609809875488, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 100.80599784851074, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "Cached data", "{ 'uncached': 'uncached_data_of_class', 'dict': { '1': 1, '3': '3', '2': 'two', '4': 4 }, 'unicode': u'unicode', 'str': 'string', 'integer': 17, 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ] }", "" ], "asctime": "2021-01-14 00:51:41,621", "created": 1610581901.621937, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Cached data): result = { 'uncached': 'uncached_data_of_class', 'dict': { '1': 1, '3': '3', '2': 'two', '4': 4 }, 'unicode': u'unicode', 'str': 'string', 'integer': 17, 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ] } ()", "module": "test", "msecs": 621.9370365142822, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 100.88205337524414, "thread": 139670819383104, "threadName": "MainThread" } ], "msecs": 622.0760345458984, "msg": "Cached data is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 101.02105140686035, "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 0.00013899803161621094 } ], "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 0.004789113998413086, "time_finished": "2021-01-14 00:51:41,622", "time_start": "2021-01-14 00:51:41,617" }, "caching.property_cache_pickle: Test execution of save callback (full init)": { "args": null, "asctime": "2021-01-14 00:51:41,635", "created": 1610581901.63576, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 50, "message": "caching.property_cache_pickle: Test execution of save callback (full init)", "module": "__init__", "moduleLogger": [], "msecs": 635.7600688934326, "msg": "caching.property_cache_pickle: Test execution of save callback (full init)", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 114.70508575439453, "testcaseLogger": [ { "args": [], "asctime": "2021-01-14 00:51:41,635", "created": 1610581901.635846, "exc_info": null, "exc_text": null, "filename": "test_save_callback.py", "funcName": "save_callback", "levelname": "DEBUG", "levelno": 10, "lineno": 21, "message": "Installing save_callback, which sets a variable to True on execution.", "module": "test_save_callback", "moduleLogger": [], "msecs": 635.8458995819092, "msg": "Installing save_callback, which sets a variable to True on execution.", "name": "__tLogger__", "pathname": "src/tests/test_save_callback.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 114.7909164428711, "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 0.0 }, { "args": [ "True", "" ], "asctime": "2021-01-14 00:51:41,636", "created": 1610581901.636133, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 144, "message": "Save callback execution variable is correct (Content True and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/save_callback_load_on_init.json" ], "asctime": "2021-01-14 00:51:41,635", "created": 1610581901.635951, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/save_callback_load_on_init.json)", "module": "__init__", "msecs": 635.951042175293, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 114.89605903625488, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "Save callback execution variable", "True", "" ], "asctime": "2021-01-14 00:51:41,636", "created": 1610581901.636029, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Save callback execution variable): True ()", "module": "test", "msecs": 636.0290050506592, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 114.9740219116211, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "Save callback execution variable", "True", "" ], "asctime": "2021-01-14 00:51:41,636", "created": 1610581901.636092, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Save callback execution variable): result = True ()", "module": "test", "msecs": 636.091947555542, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 115.0369644165039, "thread": 139670819383104, "threadName": "MainThread" } ], "msecs": 636.1329555511475, "msg": "Save callback execution variable is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 115.07797241210938, "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 4.100799560546875e-05 } ], "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 0.00037288665771484375, "time_finished": "2021-01-14 00:51:41,636", "time_start": "2021-01-14 00:51:41,635" }, "caching.property_cache_pickle: Test full initialised PICKLE-Cache-Object": { "args": null, "asctime": "2021-01-14 00:51:41,601", "created": 1610581901.601264, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 42, "message": "caching.property_cache_pickle: Test full initialised PICKLE-Cache-Object", "module": "__init__", "moduleLogger": [], "msecs": 601.2639999389648, "msg": "caching.property_cache_pickle: Test full initialised PICKLE-Cache-Object", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 80.20901679992676, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2021-01-14 00:51:41,605", "created": 1610581901.605279, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Initialising property_cache_pickle (load_all_on_init=True).", "module": "test_helpers", "moduleLogger": [ { "args": [], "asctime": "2021-01-14 00:51:41,601", "created": 1610581901.601482, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 17, "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "module": "test_helpers", "msecs": 601.4819145202637, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 80.42693138122559, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/load_on_init.pkl" ], "asctime": "2021-01-14 00:51:41,601", "created": 1610581901.601645, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/unittest/caching/unittest/output_data/load_on_init.pkl as cache file.", "module": "test_helpers", "msecs": 601.6449928283691, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 80.59000968933105, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-01-14 00:51:41,601", "created": 1610581901.60181, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 148, "message": "PickCache: Cache file does not exists (yet).", "module": "__init__", "msecs": 601.8099784851074, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 80.75499534606934, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2021-01-14 00:51:41,601", "created": 1610581901.601952, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 162, "message": "PickCache: Loading all data from source - ['dict', 'unicode', 'str', 'integer', 'float', 'list']", "module": "__init__", "msecs": 601.952075958252, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 80.89709281921387, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/load_on_init.pkl" ], "asctime": "2021-01-14 00:51:41,604", "created": 1610581901.604641, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/load_on_init.pkl)", "module": "__init__", "msecs": 604.6409606933594, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 83.58597755432129, "thread": 139670819383104, "threadName": "MainThread" } ], "msecs": 605.2789688110352, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 84.22398567199707, "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 0.0006380081176757812 }, { "args": [ "property_cache_pickle" ], "asctime": "2021-01-14 00:51:41,607", "created": 1610581901.607367, "exc_info": null, "exc_text": null, "filename": "test_load_on_init.py", "funcName": "load_on_init", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Extracting storage object from property_cache_pickle for comparison.", "module": "test_load_on_init", "moduleLogger": [ { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/load_on_init.pkl" ], "asctime": "2021-01-14 00:51:41,606", "created": 1610581901.606956, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 145, "message": "PickCache: Loading properties from cache (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/load_on_init.pkl)", "module": "__init__", "msecs": 606.9560050964355, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 85.90102195739746, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "{'str': 'string', '_property_cache_uid_': 'my_unique_id', 'float': 3.14159, 'list': [1, 'two', '3', 4], 'dict': {'1': 1, '3': '3', '2': 'two', '4': 4}, 'unicode': u'unicode', '_property_cache_data_version_': 1, 'integer': 17}" ], "asctime": "2021-01-14 00:51:41,607", "created": 1610581901.607206, "exc_info": null, "exc_text": null, "filename": "test_load_on_init.py", "funcName": "load_on_init", "levelname": "INFO", "levelno": 20, "lineno": 20, "message": "Using storage object of cache class for comparison: {'str': 'string', '_property_cache_uid_': 'my_unique_id', 'float': 3.14159, 'list': [1, 'two', '3', 4], 'dict': {'1': 1, '3': '3', '2': 'two', '4': 4}, 'unicode': u'unicode', '_property_cache_data_version_': 1, 'integer': 17}", "module": "test_load_on_init", "msecs": 607.2061061859131, "msg": "Using storage object of cache class for comparison: %s", "name": "__unittest__", "pathname": "src/tests/test_load_on_init.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 86.151123046875, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "_property_cache_data_version_", "_property_cache_uid_" ], "asctime": "2021-01-14 00:51:41,607", "created": 1610581901.607307, "exc_info": null, "exc_text": null, "filename": "test_load_on_init.py", "funcName": "load_on_init", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Deleting overhead keys: _property_cache_data_version_, _property_cache_uid_", "module": "test_load_on_init", "msecs": 607.306957244873, "msg": "Deleting overhead keys: %s, %s", "name": "__unittest__", "pathname": "src/tests/test_load_on_init.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 86.25197410583496, "thread": 139670819383104, "threadName": "MainThread" } ], "msecs": 607.3670387268066, "msg": "Extracting storage object from %s for comparison.", "name": "__tLogger__", "pathname": "src/tests/test_load_on_init.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 86.31205558776855, "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 6.008148193359375e-05 }, { "args": [ "{'str': 'string', 'float': 3.14159, 'list': [1, 'two', '3', 4], 'dict': {'1': 1, '3': '3', '2': 'two', '4': 4}, 'unicode': u'unicode', 'integer': 17}", "" ], "asctime": "2021-01-14 00:51:41,607", "created": 1610581901.607765, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 144, "message": "Cache object is correct (Content {'str': 'string', 'float': 3.14159, 'list': [1, 'two', '3', 4], 'dict': {'1': 1, '3': '3', '2': 'two', '4': 4}, 'unicode': u'unicode', 'integer': 17} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Cache object", "{ 'str': 'string', 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ], 'dict': { '1': 1, '3': '3', '2': 'two', '4': 4 }, 'unicode': u'unicode', 'integer': 17 }", "" ], "asctime": "2021-01-14 00:51:41,607", "created": 1610581901.607508, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Cache object): { 'str': 'string', 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ], 'dict': { '1': 1, '3': '3', '2': 'two', '4': 4 }, 'unicode': u'unicode', 'integer': 17 } ()", "module": "test", "msecs": 607.5079441070557, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 86.45296096801758, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "Cache object", "{ 'dict': { '1': 1, '3': '3', '2': 'two', '4': 4 }, 'unicode': u'unicode', 'str': 'string', 'integer': 17, 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ] }", "" ], "asctime": "2021-01-14 00:51:41,607", "created": 1610581901.607608, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Cache object): result = { 'dict': { '1': 1, '3': '3', '2': 'two', '4': 4 }, 'unicode': u'unicode', 'str': 'string', 'integer': 17, 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ] } ()", "module": "test", "msecs": 607.6080799102783, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 86.55309677124023, "thread": 139670819383104, "threadName": "MainThread" } ], "msecs": 607.7649593353271, "msg": "Cache object is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 86.70997619628906, "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 0.00015687942504882812 } ], "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 0.006500959396362305, "time_finished": "2021-01-14 00:51:41,607", "time_start": "2021-01-14 00:51:41,601" }, "caching.property_cache_pickle: Test get from source caused by changed uid (full init)": { "args": null, "asctime": "2021-01-14 00:51:41,631", "created": 1610581901.6311, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 48, "message": "caching.property_cache_pickle: Test get from source caused by changed uid (full init)", "module": "__init__", "moduleLogger": [], "msecs": 631.0999393463135, "msg": "caching.property_cache_pickle: Test get from source caused by changed uid (full init)", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 110.04495620727539, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2021-01-14 00:51:41,631", "created": 1610581901.631658, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Initialising property_cache_pickle (load_all_on_init=True).", "module": "test_helpers", "moduleLogger": [ { "args": [], "asctime": "2021-01-14 00:51:41,631", "created": 1610581901.631198, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 17, "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "module": "test_helpers", "msecs": 631.1979293823242, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 110.14294624328613, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:41,631", "created": 1610581901.631265, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.pkl as cache file.", "module": "test_helpers", "msecs": 631.2649250030518, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 110.20994186401367, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-01-14 00:51:41,631", "created": 1610581901.631334, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 148, "message": "PickCache: Cache file does not exists (yet).", "module": "__init__", "msecs": 631.3340663909912, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 110.27908325195312, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2021-01-14 00:51:41,631", "created": 1610581901.631388, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 162, "message": "PickCache: Loading all data from source - ['dict', 'unicode', 'str', 'integer', 'float', 'list']", "module": "__init__", "msecs": 631.3879489898682, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 110.33296585083008, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:41,631", "created": 1610581901.631585, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.pkl)", "module": "__init__", "msecs": 631.584882736206, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 110.52989959716797, "thread": 139670819383104, "threadName": "MainThread" } ], "msecs": 631.6580772399902, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 110.60309410095215, "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 7.319450378417969e-05 }, { "args": [ "{'unicode': u'__unicode__', 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '3': 'three', '2': 2, '4': '4'}, 'str': '__string__', 'integer': 34}", "" ], "asctime": "2021-01-14 00:51:41,632", "created": 1610581901.632744, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 144, "message": "Instance data after changing uid is correct (Content {'unicode': u'__unicode__', 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '3': 'three', '2': 2, '4': '4'}, 'str': '__string__', 'integer': 34} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:41,631", "created": 1610581901.631879, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 145, "message": "PickCache: Loading properties from cache (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.pkl)", "module": "__init__", "msecs": 631.8790912628174, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 110.8241081237793, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-01-14 00:51:41,631", "created": 1610581901.631934, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 131, "message": "PickCache: Source uid changed, ignoring previous cache data", "module": "__init__", "msecs": 631.9339275360107, "msg": "%s Source uid changed, ignoring previous cache data", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 110.87894439697266, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2021-01-14 00:51:41,631", "created": 1610581901.631989, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 162, "message": "PickCache: Loading all data from source - ['dict', 'unicode', 'str', 'integer', 'float', 'list']", "module": "__init__", "msecs": 631.9890022277832, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 110.93401908874512, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:41,632", "created": 1610581901.632177, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.pkl)", "module": "__init__", "msecs": 632.1771144866943, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 111.12213134765625, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "dict", "{'1': '1', '3': 'three', '2': 2, '4': '4'}" ], "asctime": "2021-01-14 00:51:41,632", "created": 1610581901.632276, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "PickCache: Providing property for 'dict' from cache ({'1': '1', '3': 'three', '2': 2, '4': '4'})", "module": "__init__", "msecs": 632.2760581970215, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 111.2210750579834, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "unicode", "u'__unicode__'" ], "asctime": "2021-01-14 00:51:41,632", "created": 1610581901.632342, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "PickCache: Providing property for 'unicode' from cache (u'__unicode__')", "module": "__init__", "msecs": 632.3421001434326, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 111.28711700439453, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "str", "'__string__'" ], "asctime": "2021-01-14 00:51:41,632", "created": 1610581901.63239, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "PickCache: Providing property for 'str' from cache ('__string__')", "module": "__init__", "msecs": 632.390022277832, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 111.33503913879395, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "integer", "34" ], "asctime": "2021-01-14 00:51:41,632", "created": 1610581901.632436, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "PickCache: Providing property for 'integer' from cache (34)", "module": "__init__", "msecs": 632.4360370635986, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 111.38105392456055, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "float", "2.71828" ], "asctime": "2021-01-14 00:51:41,632", "created": 1610581901.632483, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "PickCache: Providing property for 'float' from cache (2.71828)", "module": "__init__", "msecs": 632.4830055236816, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 111.42802238464355, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "list", "['one', 2, 3, '4']" ], "asctime": "2021-01-14 00:51:41,632", "created": 1610581901.63253, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "PickCache: Providing property for 'list' from cache (['one', 2, 3, '4'])", "module": "__init__", "msecs": 632.5299739837646, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 111.47499084472656, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "Instance data after changing uid", "{ 'unicode': u'__unicode__', 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '3': 'three', '2': 2, '4': '4' }, 'str': '__string__', 'integer': 34 }", "" ], "asctime": "2021-01-14 00:51:41,632", "created": 1610581901.632592, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Instance data after changing uid): { 'unicode': u'__unicode__', 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '3': 'three', '2': 2, '4': '4' }, 'str': '__string__', 'integer': 34 } ()", "module": "test", "msecs": 632.591962814331, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 111.53697967529297, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "Instance data after changing uid", "{ 'dict': { '1': '1', '3': 'three', '2': 2, '4': '4' }, 'unicode': u'__unicode__', 'str': '__string__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ] }", "" ], "asctime": "2021-01-14 00:51:41,632", "created": 1610581901.632652, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Instance data after changing uid): result = { 'dict': { '1': '1', '3': 'three', '2': 2, '4': '4' }, 'unicode': u'__unicode__', 'str': '__string__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ] } ()", "module": "test", "msecs": 632.6520442962646, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 111.59706115722656, "thread": 139670819383104, "threadName": "MainThread" } ], "msecs": 632.7440738677979, "msg": "Instance data after changing uid is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 111.68909072875977, "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 9.202957153320312e-05 } ], "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 0.001644134521484375, "time_finished": "2021-01-14 00:51:41,632", "time_start": "2021-01-14 00:51:41,631" }, "caching.property_cache_pickle: Test get from source caused by changed uid (partially init)": { "args": null, "asctime": "2021-01-14 00:51:41,632", "created": 1610581901.632883, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 49, "message": "caching.property_cache_pickle: Test get from source caused by changed uid (partially init)", "module": "__init__", "moduleLogger": [], "msecs": 632.8830718994141, "msg": "caching.property_cache_pickle: Test get from source caused by changed uid (partially init)", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 111.82808876037598, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2021-01-14 00:51:41,633", "created": 1610581901.633446, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Initialising property_cache_pickle (load_all_on_init=True).", "module": "test_helpers", "moduleLogger": [ { "args": [], "asctime": "2021-01-14 00:51:41,632", "created": 1610581901.632971, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 17, "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "module": "test_helpers", "msecs": 632.9710483551025, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 111.91606521606445, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:41,633", "created": 1610581901.633031, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl as cache file.", "module": "test_helpers", "msecs": 633.030891418457, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 111.97590827941895, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-01-14 00:51:41,633", "created": 1610581901.633098, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 148, "message": "PickCache: Cache file does not exists (yet).", "module": "__init__", "msecs": 633.0978870391846, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 112.04290390014648, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2021-01-14 00:51:41,633", "created": 1610581901.633189, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 162, "message": "PickCache: Loading all data from source - ['dict', 'unicode', 'str', 'integer', 'float', 'list']", "module": "__init__", "msecs": 633.1889629364014, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 112.13397979736328, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:41,633", "created": 1610581901.633381, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 633.3808898925781, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 112.32590675354004, "thread": 139670819383104, "threadName": "MainThread" } ], "msecs": 633.4459781646729, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 112.39099502563477, "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 6.508827209472656e-05 }, { "args": [ "{'unicode': u'__unicode__', 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '3': 'three', '2': 2, '4': '4'}, 'str': '__string__', 'integer': 34}", "" ], "asctime": "2021-01-14 00:51:41,635", "created": 1610581901.635624, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 144, "message": "Instance data after changing uid is correct (Content {'unicode': u'__unicode__', 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '3': 'three', '2': 2, '4': '4'}, 'str': '__string__', 'integer': 34} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:41,633", "created": 1610581901.633672, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 145, "message": "PickCache: Loading properties from cache (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 633.6719989776611, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 112.61701583862305, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-01-14 00:51:41,633", "created": 1610581901.633727, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 131, "message": "PickCache: Source uid changed, ignoring previous cache data", "module": "__init__", "msecs": 633.7270736694336, "msg": "%s Source uid changed, ignoring previous cache data", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 112.67209053039551, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:41,633", "created": 1610581901.633837, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 633.8369846343994, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 112.78200149536133, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "dict", "{'1': '1', '3': 'three', '2': 2, '4': '4'}" ], "asctime": "2021-01-14 00:51:41,633", "created": 1610581901.63393, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 106, "message": "PickCache: Loading property for 'dict' from source instance ({'1': '1', '3': 'three', '2': 2, '4': '4'})", "module": "__init__", "msecs": 633.929967880249, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 112.87498474121094, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:41,634", "created": 1610581901.634068, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 634.0680122375488, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 113.01302909851074, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "unicode", "u'__unicode__'" ], "asctime": "2021-01-14 00:51:41,634", "created": 1610581901.634161, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 106, "message": "PickCache: Loading property for 'unicode' from source instance (u'__unicode__')", "module": "__init__", "msecs": 634.1609954833984, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 113.10601234436035, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:41,634", "created": 1610581901.634303, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 634.303092956543, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 113.24810981750488, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "str", "'__string__'" ], "asctime": "2021-01-14 00:51:41,634", "created": 1610581901.634392, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 106, "message": "PickCache: Loading property for 'str' from source instance ('__string__')", "module": "__init__", "msecs": 634.3920230865479, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 113.33703994750977, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:41,634", "created": 1610581901.634545, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 634.545087814331, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 113.49010467529297, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "integer", "34" ], "asctime": "2021-01-14 00:51:41,634", "created": 1610581901.634635, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 106, "message": "PickCache: Loading property for 'integer' from source instance (34)", "module": "__init__", "msecs": 634.6349716186523, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 113.57998847961426, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:41,634", "created": 1610581901.63479, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 634.7899436950684, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 113.73496055603027, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "float", "2.71828" ], "asctime": "2021-01-14 00:51:41,634", "created": 1610581901.634884, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 106, "message": "PickCache: Loading property for 'float' from source instance (2.71828)", "module": "__init__", "msecs": 634.8841190338135, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 113.82913589477539, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:41,635", "created": 1610581901.635044, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 635.0440979003906, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 113.98911476135254, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "list", "['one', 2, 3, '4']" ], "asctime": "2021-01-14 00:51:41,635", "created": 1610581901.635136, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 106, "message": "PickCache: Loading property for 'list' from source instance (['one', 2, 3, '4'])", "module": "__init__", "msecs": 635.1358890533447, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 114.08090591430664, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:41,635", "created": 1610581901.63534, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 635.3399753570557, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 114.28499221801758, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "Instance data after changing uid", "{ 'unicode': u'__unicode__', 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '3': 'three', '2': 2, '4': '4' }, 'str': '__string__', 'integer': 34 }", "" ], "asctime": "2021-01-14 00:51:41,635", "created": 1610581901.635459, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Instance data after changing uid): { 'unicode': u'__unicode__', 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '3': 'three', '2': 2, '4': '4' }, 'str': '__string__', 'integer': 34 } ()", "module": "test", "msecs": 635.4589462280273, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 114.40396308898926, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "Instance data after changing uid", "{ 'dict': { '1': '1', '3': 'three', '2': 2, '4': '4' }, 'unicode': u'__unicode__', 'str': '__string__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ] }", "" ], "asctime": "2021-01-14 00:51:41,635", "created": 1610581901.635534, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Instance data after changing uid): result = { 'dict': { '1': '1', '3': 'three', '2': 2, '4': '4' }, 'unicode': u'__unicode__', 'str': '__string__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ] } ()", "module": "test", "msecs": 635.5340480804443, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 114.47906494140625, "thread": 139670819383104, "threadName": "MainThread" } ], "msecs": 635.6239318847656, "msg": "Instance data after changing uid is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 114.56894874572754, "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 8.988380432128906e-05 } ], "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 0.0027408599853515625, "time_finished": "2021-01-14 00:51:41,635", "time_start": "2021-01-14 00:51:41,632" }, "caching.property_cache_pickle: Test get from source caused by increased data version (full init)": { "args": null, "asctime": "2021-01-14 00:51:41,622", "created": 1610581901.62225, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 46, "message": "caching.property_cache_pickle: Test get from source caused by increased data version (full init)", "module": "__init__", "moduleLogger": [], "msecs": 622.2500801086426, "msg": "caching.property_cache_pickle: Test get from source caused by increased data version (full init)", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 101.19509696960449, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2021-01-14 00:51:41,623", "created": 1610581901.623147, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Initialising property_cache_pickle (load_all_on_init=True).", "module": "test_helpers", "moduleLogger": [ { "args": [], "asctime": "2021-01-14 00:51:41,622", "created": 1610581901.622382, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 17, "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "module": "test_helpers", "msecs": 622.3819255828857, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 101.32694244384766, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:41,622", "created": 1610581901.622478, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.pkl as cache file.", "module": "test_helpers", "msecs": 622.4780082702637, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 101.42302513122559, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-01-14 00:51:41,622", "created": 1610581901.622571, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 148, "message": "PickCache: Cache file does not exists (yet).", "module": "__init__", "msecs": 622.5709915161133, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 101.5160083770752, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2021-01-14 00:51:41,622", "created": 1610581901.622647, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 162, "message": "PickCache: Loading all data from source - ['dict', 'unicode', 'str', 'integer', 'float', 'list']", "module": "__init__", "msecs": 622.6470470428467, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 101.5920639038086, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:41,623", "created": 1610581901.623014, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.pkl)", "module": "__init__", "msecs": 623.013973236084, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 101.9589900970459, "thread": 139670819383104, "threadName": "MainThread" } ], "msecs": 623.1470108032227, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 102.09202766418457, "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 0.00013303756713867188 }, { "args": [ "{'unicode': u'__unicode__', 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '3': 'three', '2': 2, '4': '4'}, 'str': '__string__', 'integer': 34}", "" ], "asctime": "2021-01-14 00:51:41,626", "created": 1610581901.626203, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 144, "message": "Instance data after increasing data_version is correct (Content {'unicode': u'__unicode__', 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '3': 'three', '2': 2, '4': '4'}, 'str': '__string__', 'integer': 34} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:41,623", "created": 1610581901.623586, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 145, "message": "PickCache: Loading properties from cache (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.pkl)", "module": "__init__", "msecs": 623.5859394073486, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 102.53095626831055, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-01-14 00:51:41,623", "created": 1610581901.623766, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 133, "message": "PickCache: Data version increased, ignoring previous cache data", "module": "__init__", "msecs": 623.7659454345703, "msg": "%s Data version increased, ignoring previous cache data", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 102.71096229553223, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2021-01-14 00:51:41,623", "created": 1610581901.623923, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 162, "message": "PickCache: Loading all data from source - ['dict', 'unicode', 'str', 'integer', 'float', 'list']", "module": "__init__", "msecs": 623.9230632781982, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 102.86808013916016, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:41,624", "created": 1610581901.624426, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.pkl)", "module": "__init__", "msecs": 624.4258880615234, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 103.37090492248535, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "dict", "{'1': '1', '3': 'three', '2': 2, '4': '4'}" ], "asctime": "2021-01-14 00:51:41,624", "created": 1610581901.624799, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "PickCache: Providing property for 'dict' from cache ({'1': '1', '3': 'three', '2': 2, '4': '4'})", "module": "__init__", "msecs": 624.7990131378174, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 103.7440299987793, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "unicode", "u'__unicode__'" ], "asctime": "2021-01-14 00:51:41,624", "created": 1610581901.624975, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "PickCache: Providing property for 'unicode' from cache (u'__unicode__')", "module": "__init__", "msecs": 624.9749660491943, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 103.91998291015625, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "str", "'__string__'" ], "asctime": "2021-01-14 00:51:41,625", "created": 1610581901.625187, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "PickCache: Providing property for 'str' from cache ('__string__')", "module": "__init__", "msecs": 625.1869201660156, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 104.13193702697754, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "integer", "34" ], "asctime": "2021-01-14 00:51:41,625", "created": 1610581901.62534, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "PickCache: Providing property for 'integer' from cache (34)", "module": "__init__", "msecs": 625.3399848937988, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 104.28500175476074, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "float", "2.71828" ], "asctime": "2021-01-14 00:51:41,625", "created": 1610581901.625481, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "PickCache: Providing property for 'float' from cache (2.71828)", "module": "__init__", "msecs": 625.4808902740479, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 104.42590713500977, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "list", "['one', 2, 3, '4']" ], "asctime": "2021-01-14 00:51:41,625", "created": 1610581901.625631, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "PickCache: Providing property for 'list' from cache (['one', 2, 3, '4'])", "module": "__init__", "msecs": 625.6310939788818, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 104.57611083984375, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "Instance data after increasing data_version", "{ 'unicode': u'__unicode__', 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '3': 'three', '2': 2, '4': '4' }, 'str': '__string__', 'integer': 34 }", "" ], "asctime": "2021-01-14 00:51:41,625", "created": 1610581901.625824, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Instance data after increasing data_version): { 'unicode': u'__unicode__', 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '3': 'three', '2': 2, '4': '4' }, 'str': '__string__', 'integer': 34 } ()", "module": "test", "msecs": 625.823974609375, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 104.76899147033691, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "Instance data after increasing data_version", "{ 'dict': { '1': '1', '3': 'three', '2': 2, '4': '4' }, 'unicode': u'__unicode__', 'str': '__string__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ] }", "" ], "asctime": "2021-01-14 00:51:41,625", "created": 1610581901.625985, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Instance data after increasing data_version): result = { 'dict': { '1': '1', '3': 'three', '2': 2, '4': '4' }, 'unicode': u'__unicode__', 'str': '__string__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ] } ()", "module": "test", "msecs": 625.9849071502686, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 104.92992401123047, "thread": 139670819383104, "threadName": "MainThread" } ], "msecs": 626.2030601501465, "msg": "Instance data after increasing data_version is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 105.1480770111084, "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 0.0002181529998779297 } ], "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 0.003952980041503906, "time_finished": "2021-01-14 00:51:41,626", "time_start": "2021-01-14 00:51:41,622" }, "caching.property_cache_pickle: Test get from source caused by increased data version (partially init)": { "args": null, "asctime": "2021-01-14 00:51:41,626", "created": 1610581901.626569, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 47, "message": "caching.property_cache_pickle: Test get from source caused by increased data version (partially init)", "module": "__init__", "moduleLogger": [], "msecs": 626.5690326690674, "msg": "caching.property_cache_pickle: Test get from source caused by increased data version (partially init)", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 105.5140495300293, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2021-01-14 00:51:41,628", "created": 1610581901.628127, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Initialising property_cache_pickle (load_all_on_init=True).", "module": "test_helpers", "moduleLogger": [ { "args": [], "asctime": "2021-01-14 00:51:41,626", "created": 1610581901.626836, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 17, "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "module": "test_helpers", "msecs": 626.8360614776611, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 105.78107833862305, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:41,627", "created": 1610581901.627048, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl as cache file.", "module": "test_helpers", "msecs": 627.0480155944824, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 105.99303245544434, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-01-14 00:51:41,627", "created": 1610581901.627266, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 148, "message": "PickCache: Cache file does not exists (yet).", "module": "__init__", "msecs": 627.2659301757812, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 106.21094703674316, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2021-01-14 00:51:41,627", "created": 1610581901.627429, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 162, "message": "PickCache: Loading all data from source - ['dict', 'unicode', 'str', 'integer', 'float', 'list']", "module": "__init__", "msecs": 627.4290084838867, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 106.37402534484863, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:41,627", "created": 1610581901.627929, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 627.9289722442627, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 106.87398910522461, "thread": 139670819383104, "threadName": "MainThread" } ], "msecs": 628.1270980834961, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 107.07211494445801, "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 0.00019812583923339844 }, { "args": [ "{'unicode': u'__unicode__', 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '3': 'three', '2': 2, '4': '4'}, 'str': '__string__', 'integer': 34}", "" ], "asctime": "2021-01-14 00:51:41,630", "created": 1610581901.630947, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 144, "message": "Instance data after increasing data_version is correct (Content {'unicode': u'__unicode__', 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '3': 'three', '2': 2, '4': '4'}, 'str': '__string__', 'integer': 34} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:41,628", "created": 1610581901.628664, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 145, "message": "PickCache: Loading properties from cache (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 628.6640167236328, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 107.60903358459473, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-01-14 00:51:41,628", "created": 1610581901.628759, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 133, "message": "PickCache: Data version increased, ignoring previous cache data", "module": "__init__", "msecs": 628.7589073181152, "msg": "%s Data version increased, ignoring previous cache data", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 107.70392417907715, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:41,628", "created": 1610581901.628889, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 628.8890838623047, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 107.8341007232666, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "dict", "{'1': '1', '3': 'three', '2': 2, '4': '4'}" ], "asctime": "2021-01-14 00:51:41,629", "created": 1610581901.629005, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 106, "message": "PickCache: Loading property for 'dict' from source instance ({'1': '1', '3': 'three', '2': 2, '4': '4'})", "module": "__init__", "msecs": 629.004955291748, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 107.94997215270996, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:41,629", "created": 1610581901.629173, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 629.1730403900146, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 108.11805725097656, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "unicode", "u'__unicode__'" ], "asctime": "2021-01-14 00:51:41,629", "created": 1610581901.62927, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 106, "message": "PickCache: Loading property for 'unicode' from source instance (u'__unicode__')", "module": "__init__", "msecs": 629.270076751709, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 108.2150936126709, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:41,629", "created": 1610581901.629421, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 629.4209957122803, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 108.36601257324219, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "str", "'__string__'" ], "asctime": "2021-01-14 00:51:41,629", "created": 1610581901.629508, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 106, "message": "PickCache: Loading property for 'str' from source instance ('__string__')", "module": "__init__", "msecs": 629.5080184936523, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 108.45303535461426, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:41,629", "created": 1610581901.629657, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 629.6570301055908, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 108.60204696655273, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "integer", "34" ], "asctime": "2021-01-14 00:51:41,629", "created": 1610581901.629741, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 106, "message": "PickCache: Loading property for 'integer' from source instance (34)", "module": "__init__", "msecs": 629.7409534454346, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 108.68597030639648, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:41,629", "created": 1610581901.629894, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 629.8940181732178, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 108.83903503417969, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "float", "2.71828" ], "asctime": "2021-01-14 00:51:41,629", "created": 1610581901.629978, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 106, "message": "PickCache: Loading property for 'float' from source instance (2.71828)", "module": "__init__", "msecs": 629.9779415130615, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 108.92295837402344, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:41,630", "created": 1610581901.630151, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 630.1510334014893, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 109.09605026245117, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "list", "['one', 2, 3, '4']" ], "asctime": "2021-01-14 00:51:41,630", "created": 1610581901.630249, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 106, "message": "PickCache: Loading property for 'list' from source instance (['one', 2, 3, '4'])", "module": "__init__", "msecs": 630.2490234375, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 109.19404029846191, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:41,630", "created": 1610581901.630435, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 630.4349899291992, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 109.38000679016113, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "Instance data after increasing data_version", "{ 'unicode': u'__unicode__', 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '3': 'three', '2': 2, '4': '4' }, 'str': '__string__', 'integer': 34 }", "" ], "asctime": "2021-01-14 00:51:41,630", "created": 1610581901.630552, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Instance data after increasing data_version): { 'unicode': u'__unicode__', 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '3': 'three', '2': 2, '4': '4' }, 'str': '__string__', 'integer': 34 } ()", "module": "test", "msecs": 630.5520534515381, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 109.4970703125, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "Instance data after increasing data_version", "{ 'dict': { '1': '1', '3': 'three', '2': 2, '4': '4' }, 'unicode': u'__unicode__', 'str': '__string__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ] }", "" ], "asctime": "2021-01-14 00:51:41,630", "created": 1610581901.630629, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Instance data after increasing data_version): result = { 'dict': { '1': '1', '3': 'three', '2': 2, '4': '4' }, 'unicode': u'__unicode__', 'str': '__string__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ] } ()", "module": "test", "msecs": 630.6290626525879, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 109.5740795135498, "thread": 139670819383104, "threadName": "MainThread" } ], "msecs": 630.9471130371094, "msg": "Instance data after increasing data_version is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 109.89212989807129, "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 0.0003180503845214844 } ], "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 0.004378080368041992, "time_finished": "2021-01-14 00:51:41,630", "time_start": "2021-01-14 00:51:41,626" }, "caching.property_cache_pickle: Test internal key usage": { "args": null, "asctime": "2021-01-14 00:51:41,636", "created": 1610581901.63625, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 51, "message": "caching.property_cache_pickle: Test internal key usage", "module": "__init__", "moduleLogger": [], "msecs": 636.2500190734863, "msg": "caching.property_cache_pickle: Test internal key usage", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 115.19503593444824, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2021-01-14 00:51:41,636", "created": 1610581901.63672, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Initialising property_cache_pickle (load_all_on_init=True).", "module": "test_helpers", "moduleLogger": [ { "args": [], "asctime": "2021-01-14 00:51:41,636", "created": 1610581901.636335, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 17, "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "module": "test_helpers", "msecs": 636.3348960876465, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 115.2799129486084, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/internal_keys_test.pkl" ], "asctime": "2021-01-14 00:51:41,636", "created": 1610581901.636395, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/unittest/caching/unittest/output_data/internal_keys_test.pkl as cache file.", "module": "test_helpers", "msecs": 636.3949775695801, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 115.33999443054199, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-01-14 00:51:41,636", "created": 1610581901.636461, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 148, "message": "PickCache: Cache file does not exists (yet).", "module": "__init__", "msecs": 636.4610195159912, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 115.40603637695312, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "['__property_cache_data_version_', '_property_cache_data_version_', '__property_cache_uid_', '_property_cache_uid_']" ], "asctime": "2021-01-14 00:51:41,636", "created": 1610581901.636513, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 162, "message": "PickCache: Loading all data from source - ['__property_cache_data_version_', '_property_cache_data_version_', '__property_cache_uid_', '_property_cache_uid_']", "module": "__init__", "msecs": 636.5129947662354, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 115.45801162719727, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/internal_keys_test.pkl" ], "asctime": "2021-01-14 00:51:41,636", "created": 1610581901.636662, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/internal_keys_test.pkl)", "module": "__init__", "msecs": 636.6620063781738, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 115.60702323913574, "thread": 139670819383104, "threadName": "MainThread" } ], "msecs": 636.7199420928955, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 115.66495895385742, "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 5.793571472167969e-05 }, { "args": [ "property_cache_pickle" ], "asctime": "2021-01-14 00:51:41,637", "created": 1610581901.637024, "exc_info": null, "exc_text": null, "filename": "test_internal_keys.py", "funcName": "test_internal_keys", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Extracting storage object from property_cache_pickle for comparison.", "module": "test_internal_keys", "moduleLogger": [ { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/internal_keys_test.pkl" ], "asctime": "2021-01-14 00:51:41,636", "created": 1610581901.636885, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 145, "message": "PickCache: Loading properties from cache (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/internal_keys_test.pkl)", "module": "__init__", "msecs": 636.8849277496338, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 115.8299446105957, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "{'__property_cache_data_version_': u'no data version', '___property_cache_data_version_': u'no second data version', '__property_cache_uid_': u'no uid', '_property_cache_uid_': 'my_unique_id', '_property_cache_data_version_': 1, '___property_cache_uid_': u'no second uid'}" ], "asctime": "2021-01-14 00:51:41,636", "created": 1610581901.636941, "exc_info": null, "exc_text": null, "filename": "test_internal_keys.py", "funcName": "test_internal_keys", "levelname": "INFO", "levelno": 20, "lineno": 20, "message": "Using storage object of cache class for comparison: {'__property_cache_data_version_': u'no data version', '___property_cache_data_version_': u'no second data version', '__property_cache_uid_': u'no uid', '_property_cache_uid_': 'my_unique_id', '_property_cache_data_version_': 1, '___property_cache_uid_': u'no second uid'}", "module": "test_internal_keys", "msecs": 636.9409561157227, "msg": "Using storage object of cache class for comparison: %s", "name": "__unittest__", "pathname": "src/tests/test_internal_keys.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 115.88597297668457, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "_property_cache_data_version_", "_property_cache_uid_" ], "asctime": "2021-01-14 00:51:41,636", "created": 1610581901.636987, "exc_info": null, "exc_text": null, "filename": "test_internal_keys.py", "funcName": "test_internal_keys", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Deleting overhead keys: _property_cache_data_version_, _property_cache_uid_", "module": "test_internal_keys", "msecs": 636.9869709014893, "msg": "Deleting overhead keys: %s, %s", "name": "__unittest__", "pathname": "src/tests/test_internal_keys.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 115.93198776245117, "thread": 139670819383104, "threadName": "MainThread" } ], "msecs": 637.02392578125, "msg": "Extracting storage object from %s for comparison.", "name": "__tLogger__", "pathname": "src/tests/test_internal_keys.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 115.96894264221191, "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 3.695487976074219e-05 }, { "args": [ "{'__property_cache_data_version_': u'no data version', '___property_cache_data_version_': u'no second data version', '__property_cache_uid_': u'no uid', '___property_cache_uid_': u'no second uid'}", "" ], "asctime": "2021-01-14 00:51:41,637", "created": 1610581901.637245, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 144, "message": "Cache is correct (Content {'__property_cache_data_version_': u'no data version', '___property_cache_data_version_': u'no second data version', '__property_cache_uid_': u'no uid', '___property_cache_uid_': u'no second uid'} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Cache", "{ '__property_cache_data_version_': u'no data version', '___property_cache_data_version_': u'no second data version', '__property_cache_uid_': u'no uid', '___property_cache_uid_': u'no second uid' }", "" ], "asctime": "2021-01-14 00:51:41,637", "created": 1610581901.637105, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Cache): { '__property_cache_data_version_': u'no data version', '___property_cache_data_version_': u'no second data version', '__property_cache_uid_': u'no uid', '___property_cache_uid_': u'no second uid' } ()", "module": "test", "msecs": 637.1049880981445, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 116.05000495910645, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "Cache", "{ '__property_cache_data_version_': u'no data version', '___property_cache_data_version_': u'no second data version', '__property_cache_uid_': u'no uid', '___property_cache_uid_': u'no second uid' }", "" ], "asctime": "2021-01-14 00:51:41,637", "created": 1610581901.637185, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Cache): result = { '__property_cache_data_version_': u'no data version', '___property_cache_data_version_': u'no second data version', '__property_cache_uid_': u'no uid', '___property_cache_uid_': u'no second uid' } ()", "module": "test", "msecs": 637.1850967407227, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 116.13011360168457, "thread": 139670819383104, "threadName": "MainThread" } ], "msecs": 637.2449398040771, "msg": "Cache is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 116.18995666503906, "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 5.984306335449219e-05 }, { "args": [ "5", "" ], "asctime": "2021-01-14 00:51:41,637", "created": 1610581901.637395, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 144, "message": "Keyfilter returnvalue for 5 () is correct (Content 5 and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Keyfilter returnvalue for 5 ()", "5", "" ], "asctime": "2021-01-14 00:51:41,637", "created": 1610581901.637318, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Keyfilter returnvalue for 5 ()): 5 ()", "module": "test", "msecs": 637.3178958892822, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 116.26291275024414, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "Keyfilter returnvalue for 5 ()", "5", "" ], "asctime": "2021-01-14 00:51:41,637", "created": 1610581901.637357, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Keyfilter returnvalue for 5 ()): result = 5 ()", "module": "test", "msecs": 637.3569965362549, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 116.3020133972168, "thread": 139670819383104, "threadName": "MainThread" } ], "msecs": 637.394905090332, "msg": "Keyfilter returnvalue for 5 () is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 116.33992195129395, "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 3.790855407714844e-05 } ], "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 0.0011448860168457031, "time_finished": "2021-01-14 00:51:41,637", "time_start": "2021-01-14 00:51:41,636" }, "caching.property_cache_pickle: Test partially initialised PICKLE-Cache-Object": { "args": null, "asctime": "2021-01-14 00:51:41,607", "created": 1610581901.607995, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 43, "message": "caching.property_cache_pickle: Test partially initialised PICKLE-Cache-Object", "module": "__init__", "moduleLogger": [], "msecs": 607.9950332641602, "msg": "caching.property_cache_pickle: Test partially initialised PICKLE-Cache-Object", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 86.94005012512207, "testcaseLogger": [ { "args": [ "property_cache_pickle", "False" ], "asctime": "2021-01-14 00:51:41,608", "created": 1610581901.608726, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Initialising property_cache_pickle (load_all_on_init=False).", "module": "test_helpers", "moduleLogger": [ { "args": [], "asctime": "2021-01-14 00:51:41,608", "created": 1610581901.608162, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 17, "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "module": "test_helpers", "msecs": 608.1619262695312, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 87.10694313049316, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:41,608", "created": 1610581901.608325, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.pkl as cache file.", "module": "test_helpers", "msecs": 608.3250045776367, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 87.27002143859863, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-01-14 00:51:41,608", "created": 1610581901.608431, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 148, "message": "PickCache: Cache file does not exists (yet).", "module": "__init__", "msecs": 608.4311008453369, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 87.37611770629883, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:41,608", "created": 1610581901.608619, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.pkl)", "module": "__init__", "msecs": 608.618974685669, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 87.56399154663086, "thread": 139670819383104, "threadName": "MainThread" } ], "msecs": 608.7260246276855, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 87.67104148864746, "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 0.00010704994201660156 }, { "args": [], "asctime": "2021-01-14 00:51:41,610", "created": 1610581901.61005, "exc_info": null, "exc_text": null, "filename": "test_no_load_on_init.py", "funcName": "no_load_on_init", "levelname": "DEBUG", "levelno": 10, "lineno": 18, "message": "Partially initialising cache object by requesting some information.", "module": "test_no_load_on_init", "moduleLogger": [ { "args": [ "PickCache:", "float", "3.14159" ], "asctime": "2021-01-14 00:51:41,608", "created": 1610581901.608834, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 106, "message": "PickCache: Loading property for 'float' from source instance (3.14159)", "module": "__init__", "msecs": 608.8340282440186, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 87.77904510498047, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:41,608", "created": 1610581901.608977, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.pkl)", "module": "__init__", "msecs": 608.9770793914795, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 87.9220962524414, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "list", "[1, 'two', '3', 4]" ], "asctime": "2021-01-14 00:51:41,609", "created": 1610581901.609142, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 106, "message": "PickCache: Loading property for 'list' from source instance ([1, 'two', '3', 4])", "module": "__init__", "msecs": 609.1420650482178, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 88.08708190917969, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:41,609", "created": 1610581901.609317, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.pkl)", "module": "__init__", "msecs": 609.3170642852783, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 88.26208114624023, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "str", "'string'" ], "asctime": "2021-01-14 00:51:41,609", "created": 1610581901.609482, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 106, "message": "PickCache: Loading property for 'str' from source instance ('string')", "module": "__init__", "msecs": 609.4820499420166, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 88.42706680297852, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:41,609", "created": 1610581901.609809, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.pkl)", "module": "__init__", "msecs": 609.8089218139648, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 88.75393867492676, "thread": 139670819383104, "threadName": "MainThread" } ], "msecs": 610.0499629974365, "msg": "Partially initialising cache object by requesting some information.", "name": "__tLogger__", "pathname": "src/tests/test_no_load_on_init.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 88.99497985839844, "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 0.0002410411834716797 }, { "args": [ "property_cache_pickle" ], "asctime": "2021-01-14 00:51:41,611", "created": 1610581901.61101, "exc_info": null, "exc_text": null, "filename": "test_no_load_on_init.py", "funcName": "no_load_on_init", "levelname": "DEBUG", "levelno": 10, "lineno": 27, "message": "Extracting storage object from property_cache_pickle for comparison.", "module": "test_no_load_on_init", "moduleLogger": [ { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:41,610", "created": 1610581901.610597, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 145, "message": "PickCache: Loading properties from cache (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.pkl)", "module": "__init__", "msecs": 610.5968952178955, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 89.54191207885742, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "{'_property_cache_data_version_': 1, 'float': 3.14159, 'list': [1, 'two', '3', 4], 'str': 'string', '_property_cache_uid_': 'my_unique_id'}" ], "asctime": "2021-01-14 00:51:41,610", "created": 1610581901.610764, "exc_info": null, "exc_text": null, "filename": "test_no_load_on_init.py", "funcName": "no_load_on_init", "levelname": "INFO", "levelno": 20, "lineno": 23, "message": "Using storage object of cache class for comparison: {'_property_cache_data_version_': 1, 'float': 3.14159, 'list': [1, 'two', '3', 4], 'str': 'string', '_property_cache_uid_': 'my_unique_id'}", "module": "test_no_load_on_init", "msecs": 610.7640266418457, "msg": "Using storage object of cache class for comparison: %s", "name": "__unittest__", "pathname": "src/tests/test_no_load_on_init.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 89.70904350280762, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "_property_cache_data_version_", "_property_cache_uid_" ], "asctime": "2021-01-14 00:51:41,610", "created": 1610581901.610911, "exc_info": null, "exc_text": null, "filename": "test_no_load_on_init.py", "funcName": "no_load_on_init", "levelname": "INFO", "levelno": 20, "lineno": 24, "message": "Deleting overhead keys: _property_cache_data_version_, _property_cache_uid_", "module": "test_no_load_on_init", "msecs": 610.9108924865723, "msg": "Deleting overhead keys: %s, %s", "name": "__unittest__", "pathname": "src/tests/test_no_load_on_init.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 89.85590934753418, "thread": 139670819383104, "threadName": "MainThread" } ], "msecs": 611.0100746154785, "msg": "Extracting storage object from %s for comparison.", "name": "__tLogger__", "pathname": "src/tests/test_no_load_on_init.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 89.95509147644043, "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 9.918212890625e-05 }, { "args": [ "{'float': 3.14159, 'list': [1, 'two', '3', 4], 'str': 'string'}", "" ], "asctime": "2021-01-14 00:51:41,611", "created": 1610581901.611605, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 144, "message": "Cache object is correct (Content {'float': 3.14159, 'list': [1, 'two', '3', 4], 'str': 'string'} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Cache object", "{ 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ], 'str': 'string' }", "" ], "asctime": "2021-01-14 00:51:41,611", "created": 1610581901.611286, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Cache object): { 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ], 'str': 'string' } ()", "module": "test", "msecs": 611.285924911499, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 90.23094177246094, "thread": 139670819383104, "threadName": "MainThread" }, { "args": [ "Cache object", "{ 'str': 'string', 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ] }", "" ], "asctime": "2021-01-14 00:51:41,611", "created": 1610581901.611412, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Cache object): result = { 'str': 'string', 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ] } ()", "module": "test", "msecs": 611.4120483398438, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 90.35706520080566, "thread": 139670819383104, "threadName": "MainThread" } ], "msecs": 611.6049289703369, "msg": "Cache object is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 18672, "processName": "MainProcess", "relativeCreated": 90.54994583129883, "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 0.00019288063049316406 } ], "thread": 139670819383104, "threadName": "MainThread", "time_consumption": 0.003609895706176758, "time_finished": "2021-01-14 00:51:41,611", "time_start": "2021-01-14 00:51:41,607" } }, "testrun_id": "p2", "time_consumption": 0.06339478492736816, "uid_list_sorted": [ "caching.property_cache_json: Test full initialised JSON-Cache-Object", "caching.property_cache_json: Test partially initialisation of JSON-Cache-Object", "caching.property_cache_json: Test cached data (full init)", "caching.property_cache_json: Test cached data (partially init)", "caching.property_cache_json: Test get from source caused by increased data version (full init)", "caching.property_cache_json: Test get from source caused by increased data version (partially init)", "caching.property_cache_json: Test get from source caused by changed uid (full init)", "caching.property_cache_json: Test get from source caused by changed uid (partially init)", "caching.property_cache_json: Test execution of save callback (full init)", "caching.property_cache_json: Test internal key usage", "caching.property_cache_pickle: Test full initialised PICKLE-Cache-Object", "caching.property_cache_pickle: Test partially initialised PICKLE-Cache-Object", "caching.property_cache_pickle: Test cached data (full init)", "caching.property_cache_pickle: Test cached data (partially init)", "caching.property_cache_pickle: Test get from source caused by increased data version (full init)", "caching.property_cache_pickle: Test get from source caused by increased data version (partially init)", "caching.property_cache_pickle: Test get from source caused by changed uid (full init)", "caching.property_cache_pickle: Test get from source caused by changed uid (partially init)", "caching.property_cache_pickle: Test execution of save callback (full init)", "caching.property_cache_pickle: Test internal key usage" ] }, { "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": 20, "number_of_tests": 20, "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": { "caching.property_cache_json: Test cached data (full init)": { "args": null, "asctime": "2021-01-14 00:51:42,065", "created": 1610581902.0650735, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 31, "message": "caching.property_cache_json: Test cached data (full init)", "module": "__init__", "moduleLogger": [], "msecs": 65.07349014282227, "msg": "caching.property_cache_json: Test cached data (full init)", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 71.0456371307373, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2021-01-14 00:51:42,065", "created": 1610581902.0656707, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Initialising property_cache_json (load_all_on_init=True).", "module": "test_helpers", "moduleLogger": [ { "args": [], "asctime": "2021-01-14 00:51:42,065", "created": 1610581902.065186, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 17, "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "module": "test_helpers", "msecs": 65.1860237121582, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 71.15817070007324, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_load_on_init.json" ], "asctime": "2021-01-14 00:51:42,065", "created": 1610581902.0652628, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_load_on_init.json as cache file.", "module": "test_helpers", "msecs": 65.2627944946289, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 71.23494148254395, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-01-14 00:51:42,065", "created": 1610581902.0653238, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 228, "message": "JsonCache: Cache file does not exists (yet).", "module": "__init__", "msecs": 65.3238296508789, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 71.29597663879395, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2021-01-14 00:51:42,065", "created": 1610581902.0653741, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 162, "message": "JsonCache: Loading all data from source - ['str', 'unicode', 'integer', 'float', 'list', 'dict']", "module": "__init__", "msecs": 65.37413597106934, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 71.34628295898438, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_load_on_init.json" ], "asctime": "2021-01-14 00:51:42,065", "created": 1610581902.065591, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_load_on_init.json)", "module": "__init__", "msecs": 65.59109687805176, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 71.5632438659668, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" } ], "msecs": 65.67072868347168, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 71.64287567138672, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 7.963180541992188e-05 }, { "args": [], "asctime": "2021-01-14 00:51:42,066", "created": 1610581902.0663223, "exc_info": null, "exc_text": null, "filename": "test_cached_data.py", "funcName": "cached_data", "levelname": "DEBUG", "levelno": 10, "lineno": 19, "message": "Collecting data from cache instance.", "module": "test_cached_data", "moduleLogger": [ { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_load_on_init.json" ], "asctime": "2021-01-14 00:51:42,065", "created": 1610581902.0658736, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 225, "message": "JsonCache: Loading properties from cache (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_load_on_init.json)", "module": "__init__", "msecs": 65.87362289428711, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 71.84576988220215, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "str", "'string'" ], "asctime": "2021-01-14 00:51:42,065", "created": 1610581902.0659688, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "JsonCache: Providing property for 'str' from cache ('string')", "module": "__init__", "msecs": 65.96875190734863, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 71.94089889526367, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "unicode", "'unicode'" ], "asctime": "2021-01-14 00:51:42,066", "created": 1610581902.066051, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "JsonCache: Providing property for 'unicode' from cache ('unicode')", "module": "__init__", "msecs": 66.05100631713867, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 72.02315330505371, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "integer", "17" ], "asctime": "2021-01-14 00:51:42,066", "created": 1610581902.066111, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "JsonCache: Providing property for 'integer' from cache (17)", "module": "__init__", "msecs": 66.11108779907227, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 72.0832347869873, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "float", "3.14159" ], "asctime": "2021-01-14 00:51:42,066", "created": 1610581902.0661576, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "JsonCache: Providing property for 'float' from cache (3.14159)", "module": "__init__", "msecs": 66.15757942199707, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 72.12972640991211, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "list", "[1, 'two', '3', 4]" ], "asctime": "2021-01-14 00:51:42,066", "created": 1610581902.0662034, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "JsonCache: Providing property for 'list' from cache ([1, 'two', '3', 4])", "module": "__init__", "msecs": 66.20335578918457, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 72.17550277709961, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "dict", "{'1': 1, '2': 'two', '3': '3', '4': 4}" ], "asctime": "2021-01-14 00:51:42,066", "created": 1610581902.0662487, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "JsonCache: Providing property for 'dict' from cache ({'1': 1, '2': 'two', '3': '3', '4': 4})", "module": "__init__", "msecs": 66.24865531921387, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 72.2208023071289, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "uncached" ], "asctime": "2021-01-14 00:51:42,066", "created": 1610581902.0662875, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "INFO", "levelno": 20, "lineno": 113, "message": "JsonCache: Key 'uncached' is not in cached_keys. Uncached data will be returned.", "module": "__init__", "msecs": 66.28751754760742, "msg": "%s Key '%s' is not in cached_keys. Uncached data will be returned.", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 72.25966453552246, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" } ], "msecs": 66.32232666015625, "msg": "Collecting data from cache instance.", "name": "__tLogger__", "pathname": "src/tests/test_cached_data.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 72.29447364807129, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 3.4809112548828125e-05 }, { "args": [ "{'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [1, 'two', '3', 4], 'dict': {'1': 1, '2': 'two', '3': '3', '4': 4}, 'uncached': 'uncached_data_of_class'}", "" ], "asctime": "2021-01-14 00:51:42,066", "created": 1610581902.0666337, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 144, "message": "Cached data is correct (Content {'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [1, 'two', '3', 4], 'dict': {'1': 1, '2': 'two', '3': '3', '4': 4}, 'uncached': 'uncached_data_of_class'} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Cached data", "{ 'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ], 'dict': { '1': 1, '2': 'two', '3': '3', '4': 4 }, 'uncached': 'uncached_data_of_class' }", "" ], "asctime": "2021-01-14 00:51:42,066", "created": 1610581902.0664284, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Cached data): { 'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ], 'dict': { '1': 1, '2': 'two', '3': '3', '4': 4 }, 'uncached': 'uncached_data_of_class' } ()", "module": "test", "msecs": 66.42842292785645, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 72.40056991577148, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "Cached data", "{ 'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ], 'dict': { '1': 1, '2': 'two', '3': '3', '4': 4 }, 'uncached': 'uncached_data_of_class' }", "" ], "asctime": "2021-01-14 00:51:42,066", "created": 1610581902.0664968, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Cached data): result = { 'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ], 'dict': { '1': 1, '2': 'two', '3': '3', '4': 4 }, 'uncached': 'uncached_data_of_class' } ()", "module": "test", "msecs": 66.4968490600586, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 72.46899604797363, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" } ], "msecs": 66.63370132446289, "msg": "Cached data is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 72.60584831237793, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 0.00013685226440429688 } ], "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 0.001560211181640625, "time_finished": "2021-01-14 00:51:42,066", "time_start": "2021-01-14 00:51:42,065" }, "caching.property_cache_json: Test cached data (partially init)": { "args": null, "asctime": "2021-01-14 00:51:42,066", "created": 1610581902.066775, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 32, "message": "caching.property_cache_json: Test cached data (partially init)", "module": "__init__", "moduleLogger": [], "msecs": 66.77508354187012, "msg": "caching.property_cache_json: Test cached data (partially init)", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 72.74723052978516, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2021-01-14 00:51:42,067", "created": 1610581902.0674987, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Initialising property_cache_json (load_all_on_init=True).", "module": "test_helpers", "moduleLogger": [ { "args": [], "asctime": "2021-01-14 00:51:42,066", "created": 1610581902.066869, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 17, "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "module": "test_helpers", "msecs": 66.86902046203613, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 72.84116744995117, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_no_load_on_init.json" ], "asctime": "2021-01-14 00:51:42,066", "created": 1610581902.0669436, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_no_load_on_init.json as cache file.", "module": "test_helpers", "msecs": 66.94364547729492, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 72.91579246520996, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-01-14 00:51:42,067", "created": 1610581902.0670137, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 228, "message": "JsonCache: Cache file does not exists (yet).", "module": "__init__", "msecs": 67.01374053955078, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 72.98588752746582, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2021-01-14 00:51:42,067", "created": 1610581902.0670617, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 162, "message": "JsonCache: Loading all data from source - ['str', 'unicode', 'integer', 'float', 'list', 'dict']", "module": "__init__", "msecs": 67.0616626739502, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 73.03380966186523, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_no_load_on_init.json" ], "asctime": "2021-01-14 00:51:42,067", "created": 1610581902.0674026, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_no_load_on_init.json)", "module": "__init__", "msecs": 67.40260124206543, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 73.37474822998047, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" } ], "msecs": 67.49868392944336, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 73.4708309173584, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 9.608268737792969e-05 }, { "args": [], "asctime": "2021-01-14 00:51:42,068", "created": 1610581902.0683353, "exc_info": null, "exc_text": null, "filename": "test_cached_data.py", "funcName": "cached_data", "levelname": "DEBUG", "levelno": 10, "lineno": 19, "message": "Collecting data from cache instance.", "module": "test_cached_data", "moduleLogger": [ { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_no_load_on_init.json" ], "asctime": "2021-01-14 00:51:42,067", "created": 1610581902.0677025, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 225, "message": "JsonCache: Loading properties from cache (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_no_load_on_init.json)", "module": "__init__", "msecs": 67.7025318145752, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 73.67467880249023, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "str", "'string'" ], "asctime": "2021-01-14 00:51:42,067", "created": 1610581902.0677717, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "JsonCache: Providing property for 'str' from cache ('string')", "module": "__init__", "msecs": 67.77167320251465, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 73.74382019042969, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "unicode", "'unicode'" ], "asctime": "2021-01-14 00:51:42,067", "created": 1610581902.0678248, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "JsonCache: Providing property for 'unicode' from cache ('unicode')", "module": "__init__", "msecs": 67.8248405456543, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 73.79698753356934, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "integer", "17" ], "asctime": "2021-01-14 00:51:42,067", "created": 1610581902.0678852, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "JsonCache: Providing property for 'integer' from cache (17)", "module": "__init__", "msecs": 67.88516044616699, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 73.85730743408203, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "float", "3.14159" ], "asctime": "2021-01-14 00:51:42,067", "created": 1610581902.0679815, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "JsonCache: Providing property for 'float' from cache (3.14159)", "module": "__init__", "msecs": 67.98148155212402, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 73.95362854003906, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "list", "[1, 'two', '3', 4]" ], "asctime": "2021-01-14 00:51:42,068", "created": 1610581902.0680778, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "JsonCache: Providing property for 'list' from cache ([1, 'two', '3', 4])", "module": "__init__", "msecs": 68.07780265808105, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 74.0499496459961, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "dict", "{'1': 1, '2': 'two', '3': '3', '4': 4}" ], "asctime": "2021-01-14 00:51:42,068", "created": 1610581902.0681984, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "JsonCache: Providing property for 'dict' from cache ({'1': 1, '2': 'two', '3': '3', '4': 4})", "module": "__init__", "msecs": 68.19844245910645, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 74.17058944702148, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "uncached" ], "asctime": "2021-01-14 00:51:42,068", "created": 1610581902.068273, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "INFO", "levelno": 20, "lineno": 113, "message": "JsonCache: Key 'uncached' is not in cached_keys. Uncached data will be returned.", "module": "__init__", "msecs": 68.27306747436523, "msg": "%s Key '%s' is not in cached_keys. Uncached data will be returned.", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 74.24521446228027, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" } ], "msecs": 68.33529472351074, "msg": "Collecting data from cache instance.", "name": "__tLogger__", "pathname": "src/tests/test_cached_data.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 74.30744171142578, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 6.222724914550781e-05 }, { "args": [ "{'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [1, 'two', '3', 4], 'dict': {'1': 1, '2': 'two', '3': '3', '4': 4}, 'uncached': 'uncached_data_of_class'}", "" ], "asctime": "2021-01-14 00:51:42,068", "created": 1610581902.0686514, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 144, "message": "Cached data is correct (Content {'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [1, 'two', '3', 4], 'dict': {'1': 1, '2': 'two', '3': '3', '4': 4}, 'uncached': 'uncached_data_of_class'} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Cached data", "{ 'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ], 'dict': { '1': 1, '2': 'two', '3': '3', '4': 4 }, 'uncached': 'uncached_data_of_class' }", "" ], "asctime": "2021-01-14 00:51:42,068", "created": 1610581902.0684717, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Cached data): { 'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ], 'dict': { '1': 1, '2': 'two', '3': '3', '4': 4 }, 'uncached': 'uncached_data_of_class' } ()", "module": "test", "msecs": 68.47167015075684, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 74.44381713867188, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "Cached data", "{ 'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ], 'dict': { '1': 1, '2': 'two', '3': '3', '4': 4 }, 'uncached': 'uncached_data_of_class' }", "" ], "asctime": "2021-01-14 00:51:42,068", "created": 1610581902.0685463, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Cached data): result = { 'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ], 'dict': { '1': 1, '2': 'two', '3': '3', '4': 4 }, 'uncached': 'uncached_data_of_class' } ()", "module": "test", "msecs": 68.54629516601562, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 74.51844215393066, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" } ], "msecs": 68.65143775939941, "msg": "Cached data is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 74.62358474731445, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 0.00010514259338378906 } ], "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 0.0018763542175292969, "time_finished": "2021-01-14 00:51:42,068", "time_start": "2021-01-14 00:51:42,066" }, "caching.property_cache_json: Test execution of save callback (full init)": { "args": null, "asctime": "2021-01-14 00:51:42,094", "created": 1610581902.0946667, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 37, "message": "caching.property_cache_json: Test execution of save callback (full init)", "module": "__init__", "moduleLogger": [], "msecs": 94.66671943664551, "msg": "caching.property_cache_json: Test execution of save callback (full init)", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 100.63886642456055, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2021-01-14 00:51:42,094", "created": 1610581902.0948157, "exc_info": null, "exc_text": null, "filename": "test_save_callback.py", "funcName": "save_callback", "levelname": "DEBUG", "levelno": 10, "lineno": 21, "message": "Installing save_callback, which sets a variable to True on execution.", "module": "test_save_callback", "moduleLogger": [], "msecs": 94.81573104858398, "msg": "Installing save_callback, which sets a variable to True on execution.", "name": "__tLogger__", "pathname": "src/tests/test_save_callback.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 100.78787803649902, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 0.0 }, { "args": [ "True", "" ], "asctime": "2021-01-14 00:51:42,095", "created": 1610581902.0956588, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 144, "message": "Save callback execution variable is correct (Content True and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/save_callback_load_on_init.json" ], "asctime": "2021-01-14 00:51:42,095", "created": 1610581902.0950084, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/save_callback_load_on_init.json)", "module": "__init__", "msecs": 95.00837326049805, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 100.98052024841309, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "Save callback execution variable", "True", "" ], "asctime": "2021-01-14 00:51:42,095", "created": 1610581902.095422, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Save callback execution variable): True ()", "module": "test", "msecs": 95.42202949523926, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 101.3941764831543, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "Save callback execution variable", "True", "" ], "asctime": "2021-01-14 00:51:42,095", "created": 1610581902.0955443, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Save callback execution variable): result = True ()", "module": "test", "msecs": 95.54433822631836, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 101.5164852142334, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" } ], "msecs": 95.65877914428711, "msg": "Save callback execution variable is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 101.63092613220215, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 0.00011444091796875 } ], "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 0.0009920597076416016, "time_finished": "2021-01-14 00:51:42,095", "time_start": "2021-01-14 00:51:42,094" }, "caching.property_cache_json: Test full initialised JSON-Cache-Object": { "args": null, "asctime": "2021-01-14 00:51:42,060", "created": 1610581902.060744, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 29, "message": "caching.property_cache_json: Test full initialised JSON-Cache-Object", "module": "__init__", "moduleLogger": [], "msecs": 60.74404716491699, "msg": "caching.property_cache_json: Test full initialised JSON-Cache-Object", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 66.71619415283203, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2021-01-14 00:51:42,061", "created": 1610581902.061706, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Initialising property_cache_json (load_all_on_init=True).", "module": "test_helpers", "moduleLogger": [ { "args": [], "asctime": "2021-01-14 00:51:42,060", "created": 1610581902.0609848, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 17, "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "module": "test_helpers", "msecs": 60.98484992980957, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 66.95699691772461, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/load_on_init.json" ], "asctime": "2021-01-14 00:51:42,061", "created": 1610581902.061093, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/unittest/caching/unittest/output_data/load_on_init.json as cache file.", "module": "test_helpers", "msecs": 61.09309196472168, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 67.06523895263672, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-01-14 00:51:42,061", "created": 1610581902.0612946, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 228, "message": "JsonCache: Cache file does not exists (yet).", "module": "__init__", "msecs": 61.2945556640625, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 67.26670265197754, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2021-01-14 00:51:42,061", "created": 1610581902.0613537, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 162, "message": "JsonCache: Loading all data from source - ['str', 'unicode', 'integer', 'float', 'list', 'dict']", "module": "__init__", "msecs": 61.35368347167969, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 67.32583045959473, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/load_on_init.json" ], "asctime": "2021-01-14 00:51:42,061", "created": 1610581902.0616086, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/load_on_init.json)", "module": "__init__", "msecs": 61.60855293273926, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 67.5806999206543, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" } ], "msecs": 61.7060661315918, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 67.67821311950684, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 9.751319885253906e-05 }, { "args": [ "property_cache_json" ], "asctime": "2021-01-14 00:51:42,062", "created": 1610581902.062026, "exc_info": null, "exc_text": null, "filename": "test_load_on_init.py", "funcName": "load_on_init", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Extracting storage object from property_cache_json for comparison.", "module": "test_load_on_init", "moduleLogger": [ { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/load_on_init.json" ], "asctime": "2021-01-14 00:51:42,061", "created": 1610581902.061878, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 225, "message": "JsonCache: Loading properties from cache (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/load_on_init.json)", "module": "__init__", "msecs": 61.87796592712402, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 67.85011291503906, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "{'_property_cache_data_version_': 1, '_property_cache_uid_': 'my_unique_id', 'dict': {'1': 1, '2': 'two', '3': '3', '4': 4}, 'float': 3.14159, 'integer': 17, 'list': [1, 'two', '3', 4], 'str': 'string', 'unicode': 'unicode'}" ], "asctime": "2021-01-14 00:51:42,061", "created": 1610581902.061942, "exc_info": null, "exc_text": null, "filename": "test_load_on_init.py", "funcName": "load_on_init", "levelname": "INFO", "levelno": 20, "lineno": 20, "message": "Using storage object of cache class for comparison: {'_property_cache_data_version_': 1, '_property_cache_uid_': 'my_unique_id', 'dict': {'1': 1, '2': 'two', '3': '3', '4': 4}, 'float': 3.14159, 'integer': 17, 'list': [1, 'two', '3', 4], 'str': 'string', 'unicode': 'unicode'}", "module": "test_load_on_init", "msecs": 61.942100524902344, "msg": "Using storage object of cache class for comparison: %s", "name": "__unittest__", "pathname": "src/tests/test_load_on_init.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 67.91424751281738, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "_property_cache_data_version_", "_property_cache_uid_" ], "asctime": "2021-01-14 00:51:42,061", "created": 1610581902.061988, "exc_info": null, "exc_text": null, "filename": "test_load_on_init.py", "funcName": "load_on_init", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Deleting overhead keys: _property_cache_data_version_, _property_cache_uid_", "module": "test_load_on_init", "msecs": 61.988115310668945, "msg": "Deleting overhead keys: %s, %s", "name": "__unittest__", "pathname": "src/tests/test_load_on_init.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 67.96026229858398, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" } ], "msecs": 62.026023864746094, "msg": "Extracting storage object from %s for comparison.", "name": "__tLogger__", "pathname": "src/tests/test_load_on_init.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 67.99817085266113, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 3.790855407714844e-05 }, { "args": [ "{'dict': {'1': 1, '2': 'two', '3': '3', '4': 4}, 'float': 3.14159, 'integer': 17, 'list': [1, 'two', '3', 4], 'str': 'string', 'unicode': 'unicode'}", "" ], "asctime": "2021-01-14 00:51:42,062", "created": 1610581902.0622792, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 144, "message": "Cache object is correct (Content {'dict': {'1': 1, '2': 'two', '3': '3', '4': 4}, 'float': 3.14159, 'integer': 17, 'list': [1, 'two', '3', 4], 'str': 'string', 'unicode': 'unicode'} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Cache object", "{ 'dict': { '1': 1, '2': 'two', '3': '3', '4': 4 }, 'float': 3.14159, 'integer': 17, 'list': [ 1, 'two', '3', 4 ], 'str': 'string', 'unicode': 'unicode' }", "" ], "asctime": "2021-01-14 00:51:42,062", "created": 1610581902.0621245, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Cache object): { 'dict': { '1': 1, '2': 'two', '3': '3', '4': 4 }, 'float': 3.14159, 'integer': 17, 'list': [ 1, 'two', '3', 4 ], 'str': 'string', 'unicode': 'unicode' } ()", "module": "test", "msecs": 62.12449073791504, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 68.09663772583008, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "Cache object", "{ 'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ], 'dict': { '1': 1, '2': 'two', '3': '3', '4': 4 } }", "" ], "asctime": "2021-01-14 00:51:42,062", "created": 1610581902.0621855, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Cache object): result = { 'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ], 'dict': { '1': 1, '2': 'two', '3': '3', '4': 4 } } ()", "module": "test", "msecs": 62.18552589416504, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 68.15767288208008, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" } ], "msecs": 62.27922439575195, "msg": "Cache object is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 68.25137138366699, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 9.369850158691406e-05 } ], "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 0.001535177230834961, "time_finished": "2021-01-14 00:51:42,062", "time_start": "2021-01-14 00:51:42,060" }, "caching.property_cache_json: Test get from source caused by changed uid (full init)": { "args": null, "asctime": "2021-01-14 00:51:42,081", "created": 1610581902.0811594, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 35, "message": "caching.property_cache_json: Test get from source caused by changed uid (full init)", "module": "__init__", "moduleLogger": [], "msecs": 81.15935325622559, "msg": "caching.property_cache_json: Test get from source caused by changed uid (full init)", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 87.13150024414062, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2021-01-14 00:51:42,082", "created": 1610581902.0825968, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Initialising property_cache_json (load_all_on_init=True).", "module": "test_helpers", "moduleLogger": [ { "args": [], "asctime": "2021-01-14 00:51:42,081", "created": 1610581902.081322, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 17, "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "module": "test_helpers", "msecs": 81.32195472717285, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 87.29410171508789, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.json" ], "asctime": "2021-01-14 00:51:42,081", "created": 1610581902.0814838, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.json as cache file.", "module": "test_helpers", "msecs": 81.48384094238281, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 87.45598793029785, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-01-14 00:51:42,081", "created": 1610581902.0816317, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 228, "message": "JsonCache: Cache file does not exists (yet).", "module": "__init__", "msecs": 81.63166046142578, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 87.60380744934082, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2021-01-14 00:51:42,081", "created": 1610581902.0817266, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 162, "message": "JsonCache: Loading all data from source - ['str', 'unicode', 'integer', 'float', 'list', 'dict']", "module": "__init__", "msecs": 81.7265510559082, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 87.69869804382324, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.json" ], "asctime": "2021-01-14 00:51:42,082", "created": 1610581902.0823011, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.json)", "module": "__init__", "msecs": 82.30113983154297, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 88.27328681945801, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" } ], "msecs": 82.5967788696289, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 88.56892585754395, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 0.0002956390380859375 }, { "args": [ "{'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '2': 2, '3': 'three', '4': '4'}}", "" ], "asctime": "2021-01-14 00:51:42,085", "created": 1610581902.085767, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 144, "message": "Instance data after changing uid is correct (Content {'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '2': 2, '3': 'three', '4': '4'}} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.json" ], "asctime": "2021-01-14 00:51:42,083", "created": 1610581902.0831904, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 225, "message": "JsonCache: Loading properties from cache (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.json)", "module": "__init__", "msecs": 83.1904411315918, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 89.16258811950684, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-01-14 00:51:42,083", "created": 1610581902.0833514, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 131, "message": "JsonCache: Source uid changed, ignoring previous cache data", "module": "__init__", "msecs": 83.35137367248535, "msg": "%s Source uid changed, ignoring previous cache data", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 89.32352066040039, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2021-01-14 00:51:42,083", "created": 1610581902.0835152, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 162, "message": "JsonCache: Loading all data from source - ['str', 'unicode', 'integer', 'float', 'list', 'dict']", "module": "__init__", "msecs": 83.51516723632812, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 89.48731422424316, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.json" ], "asctime": "2021-01-14 00:51:42,084", "created": 1610581902.0840914, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.json)", "module": "__init__", "msecs": 84.0914249420166, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 90.06357192993164, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "str", "'__string__'" ], "asctime": "2021-01-14 00:51:42,084", "created": 1610581902.0845351, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "JsonCache: Providing property for 'str' from cache ('__string__')", "module": "__init__", "msecs": 84.53512191772461, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 90.50726890563965, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "unicode", "'__unicode__'" ], "asctime": "2021-01-14 00:51:42,084", "created": 1610581902.0847144, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "JsonCache: Providing property for 'unicode' from cache ('__unicode__')", "module": "__init__", "msecs": 84.71441268920898, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 90.68655967712402, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "integer", "34" ], "asctime": "2021-01-14 00:51:42,084", "created": 1610581902.084838, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "JsonCache: Providing property for 'integer' from cache (34)", "module": "__init__", "msecs": 84.8379135131836, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 90.81006050109863, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "float", "2.71828" ], "asctime": "2021-01-14 00:51:42,084", "created": 1610581902.084968, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "JsonCache: Providing property for 'float' from cache (2.71828)", "module": "__init__", "msecs": 84.96809005737305, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 90.94023704528809, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "list", "['one', 2, 3, '4']" ], "asctime": "2021-01-14 00:51:42,085", "created": 1610581902.085079, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "JsonCache: Providing property for 'list' from cache (['one', 2, 3, '4'])", "module": "__init__", "msecs": 85.07895469665527, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 91.05110168457031, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "dict", "{'1': '1', '2': 2, '3': 'three', '4': '4'}" ], "asctime": "2021-01-14 00:51:42,085", "created": 1610581902.0852513, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "JsonCache: Providing property for 'dict' from cache ({'1': '1', '2': 2, '3': 'three', '4': '4'})", "module": "__init__", "msecs": 85.2513313293457, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 91.22347831726074, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "Instance data after changing uid", "{ 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } }", "" ], "asctime": "2021-01-14 00:51:42,085", "created": 1610581902.085403, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Instance data after changing uid): { 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } } ()", "module": "test", "msecs": 85.4029655456543, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 91.37511253356934, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "Instance data after changing uid", "{ 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } }", "" ], "asctime": "2021-01-14 00:51:42,085", "created": 1610581902.0855384, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Instance data after changing uid): result = { 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } } ()", "module": "test", "msecs": 85.53838729858398, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 91.51053428649902, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" } ], "msecs": 85.76703071594238, "msg": "Instance data after changing uid is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 91.73917770385742, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 0.00022864341735839844 } ], "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 0.004607677459716797, "time_finished": "2021-01-14 00:51:42,085", "time_start": "2021-01-14 00:51:42,081" }, "caching.property_cache_json: Test get from source caused by changed uid (partially init)": { "args": null, "asctime": "2021-01-14 00:51:42,086", "created": 1610581902.0861824, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 36, "message": "caching.property_cache_json: Test get from source caused by changed uid (partially init)", "module": "__init__", "moduleLogger": [], "msecs": 86.1823558807373, "msg": "caching.property_cache_json: Test get from source caused by changed uid (partially init)", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 92.15450286865234, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2021-01-14 00:51:42,087", "created": 1610581902.087546, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Initialising property_cache_json (load_all_on_init=True).", "module": "test_helpers", "moduleLogger": [ { "args": [], "asctime": "2021-01-14 00:51:42,086", "created": 1610581902.0864294, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 17, "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "module": "test_helpers", "msecs": 86.42935752868652, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 92.40150451660156, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2021-01-14 00:51:42,086", "created": 1610581902.0866463, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json as cache file.", "module": "test_helpers", "msecs": 86.64631843566895, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 92.61846542358398, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-01-14 00:51:42,086", "created": 1610581902.086828, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 228, "message": "JsonCache: Cache file does not exists (yet).", "module": "__init__", "msecs": 86.82799339294434, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 92.80014038085938, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2021-01-14 00:51:42,086", "created": 1610581902.0869446, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 162, "message": "JsonCache: Loading all data from source - ['str', 'unicode', 'integer', 'float', 'list', 'dict']", "module": "__init__", "msecs": 86.944580078125, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 92.91672706604004, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2021-01-14 00:51:42,087", "created": 1610581902.0874326, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json)", "module": "__init__", "msecs": 87.4326229095459, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 93.40476989746094, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" } ], "msecs": 87.54611015319824, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 93.51825714111328, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 0.00011348724365234375 }, { "args": [ "{'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '2': 2, '3': 'three', '4': '4'}}", "" ], "asctime": "2021-01-14 00:51:42,094", "created": 1610581902.094357, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 144, "message": "Instance data after changing uid is correct (Content {'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '2': 2, '3': 'three', '4': '4'}} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2021-01-14 00:51:42,087", "created": 1610581902.0877628, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 225, "message": "JsonCache: Loading properties from cache (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json)", "module": "__init__", "msecs": 87.76283264160156, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 93.7349796295166, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-01-14 00:51:42,087", "created": 1610581902.087823, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 131, "message": "JsonCache: Source uid changed, ignoring previous cache data", "module": "__init__", "msecs": 87.82291412353516, "msg": "%s Source uid changed, ignoring previous cache data", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 93.7950611114502, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2021-01-14 00:51:42,087", "created": 1610581902.087988, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json)", "module": "__init__", "msecs": 87.98789978027344, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 93.96004676818848, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "str", "'__string__'" ], "asctime": "2021-01-14 00:51:42,088", "created": 1610581902.0881267, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 106, "message": "JsonCache: Loading property for 'str' from source instance ('__string__')", "module": "__init__", "msecs": 88.12665939331055, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 94.09880638122559, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2021-01-14 00:51:42,088", "created": 1610581902.088432, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json)", "module": "__init__", "msecs": 88.43207359313965, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 94.40422058105469, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "unicode", "'__unicode__'" ], "asctime": "2021-01-14 00:51:42,088", "created": 1610581902.08885, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 106, "message": "JsonCache: Loading property for 'unicode' from source instance ('__unicode__')", "module": "__init__", "msecs": 88.85002136230469, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 94.82216835021973, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2021-01-14 00:51:42,089", "created": 1610581902.0894594, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json)", "module": "__init__", "msecs": 89.45941925048828, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 95.43156623840332, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "integer", "34" ], "asctime": "2021-01-14 00:51:42,090", "created": 1610581902.090563, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 106, "message": "JsonCache: Loading property for 'integer' from source instance (34)", "module": "__init__", "msecs": 90.56305885314941, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 96.53520584106445, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2021-01-14 00:51:42,091", "created": 1610581902.0911663, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json)", "module": "__init__", "msecs": 91.16625785827637, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 97.1384048461914, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "float", "2.71828" ], "asctime": "2021-01-14 00:51:42,091", "created": 1610581902.0915241, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 106, "message": "JsonCache: Loading property for 'float' from source instance (2.71828)", "module": "__init__", "msecs": 91.52412414550781, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 97.49627113342285, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2021-01-14 00:51:42,091", "created": 1610581902.091878, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json)", "module": "__init__", "msecs": 91.87793731689453, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 97.85008430480957, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "list", "['one', 2, 3, '4']" ], "asctime": "2021-01-14 00:51:42,092", "created": 1610581902.0921254, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 106, "message": "JsonCache: Loading property for 'list' from source instance (['one', 2, 3, '4'])", "module": "__init__", "msecs": 92.12541580200195, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 98.09756278991699, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2021-01-14 00:51:42,092", "created": 1610581902.092441, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json)", "module": "__init__", "msecs": 92.44108200073242, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 98.41322898864746, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "dict", "{'1': '1', '2': 2, '3': 'three', '4': '4'}" ], "asctime": "2021-01-14 00:51:42,092", "created": 1610581902.0928712, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 106, "message": "JsonCache: Loading property for 'dict' from source instance ({'1': '1', '2': 2, '3': 'three', '4': '4'})", "module": "__init__", "msecs": 92.87118911743164, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 98.84333610534668, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2021-01-14 00:51:42,093", "created": 1610581902.093623, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json)", "module": "__init__", "msecs": 93.62292289733887, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 99.5950698852539, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "Instance data after changing uid", "{ 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } }", "" ], "asctime": "2021-01-14 00:51:42,093", "created": 1610581902.0939956, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Instance data after changing uid): { 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } } ()", "module": "test", "msecs": 93.99557113647461, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 99.96771812438965, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "Instance data after changing uid", "{ 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } }", "" ], "asctime": "2021-01-14 00:51:42,094", "created": 1610581902.0941443, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Instance data after changing uid): result = { 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } } ()", "module": "test", "msecs": 94.14434432983398, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 100.11649131774902, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" } ], "msecs": 94.35701370239258, "msg": "Instance data after changing uid is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 100.32916069030762, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 0.00021266937255859375 } ], "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 0.008174657821655273, "time_finished": "2021-01-14 00:51:42,094", "time_start": "2021-01-14 00:51:42,086" }, "caching.property_cache_json: Test get from source caused by increased data version (full init)": { "args": null, "asctime": "2021-01-14 00:51:42,068", "created": 1610581902.068794, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 33, "message": "caching.property_cache_json: Test get from source caused by increased data version (full init)", "module": "__init__", "moduleLogger": [], "msecs": 68.79401206970215, "msg": "caching.property_cache_json: Test get from source caused by increased data version (full init)", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 74.76615905761719, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2021-01-14 00:51:42,069", "created": 1610581902.0696247, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Initialising property_cache_json (load_all_on_init=True).", "module": "test_helpers", "moduleLogger": [ { "args": [], "asctime": "2021-01-14 00:51:42,068", "created": 1610581902.0688987, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 17, "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "module": "test_helpers", "msecs": 68.89867782592773, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 74.87082481384277, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.json" ], "asctime": "2021-01-14 00:51:42,069", "created": 1610581902.069, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.json as cache file.", "module": "test_helpers", "msecs": 69.0000057220459, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 74.97215270996094, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-01-14 00:51:42,069", "created": 1610581902.0690808, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 228, "message": "JsonCache: Cache file does not exists (yet).", "module": "__init__", "msecs": 69.08082962036133, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 75.05297660827637, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2021-01-14 00:51:42,069", "created": 1610581902.069179, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 162, "message": "JsonCache: Loading all data from source - ['str', 'unicode', 'integer', 'float', 'list', 'dict']", "module": "__init__", "msecs": 69.17905807495117, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 75.15120506286621, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.json" ], "asctime": "2021-01-14 00:51:42,069", "created": 1610581902.0694568, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.json)", "module": "__init__", "msecs": 69.45681571960449, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 75.42896270751953, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" } ], "msecs": 69.62466239929199, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 75.59680938720703, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 0.0001678466796875 }, { "args": [ "{'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '2': 2, '3': 'three', '4': '4'}}", "" ], "asctime": "2021-01-14 00:51:42,074", "created": 1610581902.074488, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 144, "message": "Instance data after increasing data_version is correct (Content {'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '2': 2, '3': 'three', '4': '4'}} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.json" ], "asctime": "2021-01-14 00:51:42,070", "created": 1610581902.0708349, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 225, "message": "JsonCache: Loading properties from cache (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.json)", "module": "__init__", "msecs": 70.83487510681152, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 76.80702209472656, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-01-14 00:51:42,071", "created": 1610581902.0710912, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 133, "message": "JsonCache: Data version increased, ignoring previous cache data", "module": "__init__", "msecs": 71.0911750793457, "msg": "%s Data version increased, ignoring previous cache data", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 77.06332206726074, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2021-01-14 00:51:42,071", "created": 1610581902.0713038, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 162, "message": "JsonCache: Loading all data from source - ['str', 'unicode', 'integer', 'float', 'list', 'dict']", "module": "__init__", "msecs": 71.3038444519043, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 77.27599143981934, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.json" ], "asctime": "2021-01-14 00:51:42,072", "created": 1610581902.0721967, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.json)", "module": "__init__", "msecs": 72.19672203063965, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 78.16886901855469, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "str", "'__string__'" ], "asctime": "2021-01-14 00:51:42,072", "created": 1610581902.0727298, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "JsonCache: Providing property for 'str' from cache ('__string__')", "module": "__init__", "msecs": 72.72982597351074, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 78.70197296142578, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "unicode", "'__unicode__'" ], "asctime": "2021-01-14 00:51:42,072", "created": 1610581902.0729003, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "JsonCache: Providing property for 'unicode' from cache ('__unicode__')", "module": "__init__", "msecs": 72.90029525756836, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 78.8724422454834, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "integer", "34" ], "asctime": "2021-01-14 00:51:42,073", "created": 1610581902.0730758, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "JsonCache: Providing property for 'integer' from cache (34)", "module": "__init__", "msecs": 73.07577133178711, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 79.04791831970215, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "float", "2.71828" ], "asctime": "2021-01-14 00:51:42,073", "created": 1610581902.073343, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "JsonCache: Providing property for 'float' from cache (2.71828)", "module": "__init__", "msecs": 73.34303855895996, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 79.315185546875, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "list", "['one', 2, 3, '4']" ], "asctime": "2021-01-14 00:51:42,073", "created": 1610581902.0735483, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "JsonCache: Providing property for 'list' from cache (['one', 2, 3, '4'])", "module": "__init__", "msecs": 73.5483169555664, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 79.52046394348145, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "dict", "{'1': '1', '2': 2, '3': 'three', '4': '4'}" ], "asctime": "2021-01-14 00:51:42,073", "created": 1610581902.073687, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "JsonCache: Providing property for 'dict' from cache ({'1': '1', '2': 2, '3': 'three', '4': '4'})", "module": "__init__", "msecs": 73.68707656860352, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 79.65922355651855, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "Instance data after increasing data_version", "{ 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } }", "" ], "asctime": "2021-01-14 00:51:42,073", "created": 1610581902.0739484, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Instance data after increasing data_version): { 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } } ()", "module": "test", "msecs": 73.94838333129883, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 79.92053031921387, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "Instance data after increasing data_version", "{ 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } }", "" ], "asctime": "2021-01-14 00:51:42,074", "created": 1610581902.0741918, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Instance data after increasing data_version): result = { 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } } ()", "module": "test", "msecs": 74.19180870056152, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 80.16395568847656, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" } ], "msecs": 74.48792457580566, "msg": "Instance data after increasing data_version is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 80.4600715637207, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 0.0002961158752441406 } ], "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 0.005693912506103516, "time_finished": "2021-01-14 00:51:42,074", "time_start": "2021-01-14 00:51:42,068" }, "caching.property_cache_json: Test get from source caused by increased data version (partially init)": { "args": null, "asctime": "2021-01-14 00:51:42,074", "created": 1610581902.0749729, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 34, "message": "caching.property_cache_json: Test get from source caused by increased data version (partially init)", "module": "__init__", "moduleLogger": [], "msecs": 74.97286796569824, "msg": "caching.property_cache_json: Test get from source caused by increased data version (partially init)", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 80.94501495361328, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2021-01-14 00:51:42,076", "created": 1610581902.0766284, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Initialising property_cache_json (load_all_on_init=True).", "module": "test_helpers", "moduleLogger": [ { "args": [], "asctime": "2021-01-14 00:51:42,075", "created": 1610581902.075235, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 17, "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "module": "test_helpers", "msecs": 75.23488998413086, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 81.2070369720459, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json" ], "asctime": "2021-01-14 00:51:42,075", "created": 1610581902.0754921, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json as cache file.", "module": "test_helpers", "msecs": 75.49214363098145, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 81.46429061889648, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-01-14 00:51:42,075", "created": 1610581902.0757067, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 228, "message": "JsonCache: Cache file does not exists (yet).", "module": "__init__", "msecs": 75.70672035217285, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 81.67886734008789, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2021-01-14 00:51:42,075", "created": 1610581902.0758476, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 162, "message": "JsonCache: Loading all data from source - ['str', 'unicode', 'integer', 'float', 'list', 'dict']", "module": "__init__", "msecs": 75.84762573242188, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 81.81977272033691, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json" ], "asctime": "2021-01-14 00:51:42,076", "created": 1610581902.0763857, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json)", "module": "__init__", "msecs": 76.3857364654541, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 82.35788345336914, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" } ], "msecs": 76.62844657897949, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 82.60059356689453, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 0.00024271011352539062 }, { "args": [ "{'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '2': 2, '3': 'three', '4': '4'}}", "" ], "asctime": "2021-01-14 00:51:42,080", "created": 1610581902.0809236, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 144, "message": "Instance data after increasing data_version is correct (Content {'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '2': 2, '3': 'three', '4': '4'}} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json" ], "asctime": "2021-01-14 00:51:42,077", "created": 1610581902.0771692, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 225, "message": "JsonCache: Loading properties from cache (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json)", "module": "__init__", "msecs": 77.16917991638184, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 83.14132690429688, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-01-14 00:51:42,077", "created": 1610581902.0773113, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 133, "message": "JsonCache: Data version increased, ignoring previous cache data", "module": "__init__", "msecs": 77.31127738952637, "msg": "%s Data version increased, ignoring previous cache data", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 83.2834243774414, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json" ], "asctime": "2021-01-14 00:51:42,077", "created": 1610581902.0776854, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json)", "module": "__init__", "msecs": 77.68535614013672, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 83.65750312805176, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "str", "'__string__'" ], "asctime": "2021-01-14 00:51:42,078", "created": 1610581902.0780172, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 106, "message": "JsonCache: Loading property for 'str' from source instance ('__string__')", "module": "__init__", "msecs": 78.0172348022461, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 83.98938179016113, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json" ], "asctime": "2021-01-14 00:51:42,078", "created": 1610581902.0783787, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json)", "module": "__init__", "msecs": 78.37867736816406, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 84.3508243560791, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "unicode", "'__unicode__'" ], "asctime": "2021-01-14 00:51:42,078", "created": 1610581902.0787067, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 106, "message": "JsonCache: Loading property for 'unicode' from source instance ('__unicode__')", "module": "__init__", "msecs": 78.70674133300781, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 84.67888832092285, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json" ], "asctime": "2021-01-14 00:51:42,079", "created": 1610581902.0791175, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json)", "module": "__init__", "msecs": 79.1175365447998, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 85.08968353271484, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "integer", "34" ], "asctime": "2021-01-14 00:51:42,079", "created": 1610581902.0793335, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 106, "message": "JsonCache: Loading property for 'integer' from source instance (34)", "module": "__init__", "msecs": 79.33354377746582, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 85.30569076538086, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json" ], "asctime": "2021-01-14 00:51:42,079", "created": 1610581902.079513, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json)", "module": "__init__", "msecs": 79.5130729675293, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 85.48521995544434, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "float", "2.71828" ], "asctime": "2021-01-14 00:51:42,079", "created": 1610581902.0796592, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 106, "message": "JsonCache: Loading property for 'float' from source instance (2.71828)", "module": "__init__", "msecs": 79.65922355651855, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 85.6313705444336, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json" ], "asctime": "2021-01-14 00:51:42,079", "created": 1610581902.0798569, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json)", "module": "__init__", "msecs": 79.85687255859375, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 85.82901954650879, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "list", "['one', 2, 3, '4']" ], "asctime": "2021-01-14 00:51:42,080", "created": 1610581902.080003, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 106, "message": "JsonCache: Loading property for 'list' from source instance (['one', 2, 3, '4'])", "module": "__init__", "msecs": 80.00302314758301, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 85.97517013549805, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json" ], "asctime": "2021-01-14 00:51:42,080", "created": 1610581902.080219, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json)", "module": "__init__", "msecs": 80.21903038024902, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 86.19117736816406, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "dict", "{'1': '1', '2': 2, '3': 'three', '4': '4'}" ], "asctime": "2021-01-14 00:51:42,080", "created": 1610581902.080346, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 106, "message": "JsonCache: Loading property for 'dict' from source instance ({'1': '1', '2': 2, '3': 'three', '4': '4'})", "module": "__init__", "msecs": 80.34610748291016, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 86.3182544708252, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json" ], "asctime": "2021-01-14 00:51:42,080", "created": 1610581902.0805736, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json)", "module": "__init__", "msecs": 80.57355880737305, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 86.54570579528809, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "Instance data after increasing data_version", "{ 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } }", "" ], "asctime": "2021-01-14 00:51:42,080", "created": 1610581902.0807326, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Instance data after increasing data_version): { 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } } ()", "module": "test", "msecs": 80.73258399963379, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 86.70473098754883, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "Instance data after increasing data_version", "{ 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } }", "" ], "asctime": "2021-01-14 00:51:42,080", "created": 1610581902.0808136, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Instance data after increasing data_version): result = { 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } } ()", "module": "test", "msecs": 80.81364631652832, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 86.78579330444336, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" } ], "msecs": 80.92355728149414, "msg": "Instance data after increasing data_version is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 86.89570426940918, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 0.00010991096496582031 } ], "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 0.0059506893157958984, "time_finished": "2021-01-14 00:51:42,080", "time_start": "2021-01-14 00:51:42,074" }, "caching.property_cache_json: Test internal key usage": { "args": null, "asctime": "2021-01-14 00:51:42,096", "created": 1610581902.0960212, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 38, "message": "caching.property_cache_json: Test internal key usage", "module": "__init__", "moduleLogger": [], "msecs": 96.02117538452148, "msg": "caching.property_cache_json: Test internal key usage", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 101.99332237243652, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2021-01-14 00:51:42,097", "created": 1610581902.097641, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Initialising property_cache_json (load_all_on_init=True).", "module": "test_helpers", "moduleLogger": [ { "args": [], "asctime": "2021-01-14 00:51:42,096", "created": 1610581902.0962694, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 17, "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "module": "test_helpers", "msecs": 96.26936912536621, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 102.24151611328125, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/internal_keys_test.json" ], "asctime": "2021-01-14 00:51:42,096", "created": 1610581902.096474, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/unittest/caching/unittest/output_data/internal_keys_test.json as cache file.", "module": "test_helpers", "msecs": 96.47393226623535, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 102.44607925415039, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-01-14 00:51:42,096", "created": 1610581902.096703, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 228, "message": "JsonCache: Cache file does not exists (yet).", "module": "__init__", "msecs": 96.70305252075195, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 102.67519950866699, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['_property_cache_uid_', '__property_cache_uid_', '_property_cache_data_version_', '__property_cache_data_version_']" ], "asctime": "2021-01-14 00:51:42,096", "created": 1610581902.09684, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 162, "message": "JsonCache: Loading all data from source - ['_property_cache_uid_', '__property_cache_uid_', '_property_cache_data_version_', '__property_cache_data_version_']", "module": "__init__", "msecs": 96.83990478515625, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 102.81205177307129, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/internal_keys_test.json" ], "asctime": "2021-01-14 00:51:42,097", "created": 1610581902.097427, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/internal_keys_test.json)", "module": "__init__", "msecs": 97.4268913269043, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 103.39903831481934, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" } ], "msecs": 97.6409912109375, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 103.61313819885254, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 0.00021409988403320312 }, { "args": [ "property_cache_json" ], "asctime": "2021-01-14 00:51:42,098", "created": 1610581902.0984082, "exc_info": null, "exc_text": null, "filename": "test_internal_keys.py", "funcName": "test_internal_keys", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Extracting storage object from property_cache_json for comparison.", "module": "test_internal_keys", "moduleLogger": [ { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/internal_keys_test.json" ], "asctime": "2021-01-14 00:51:42,098", "created": 1610581902.0981822, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 225, "message": "JsonCache: Loading properties from cache (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/internal_keys_test.json)", "module": "__init__", "msecs": 98.18220138549805, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 104.15434837341309, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "{'___property_cache_data_version_': 'no second data version', '___property_cache_uid_': 'no second uid', '__property_cache_data_version_': 'no data version', '__property_cache_uid_': 'no uid', '_property_cache_data_version_': 1, '_property_cache_uid_': 'my_unique_id'}" ], "asctime": "2021-01-14 00:51:42,098", "created": 1610581902.0982616, "exc_info": null, "exc_text": null, "filename": "test_internal_keys.py", "funcName": "test_internal_keys", "levelname": "INFO", "levelno": 20, "lineno": 20, "message": "Using storage object of cache class for comparison: {'___property_cache_data_version_': 'no second data version', '___property_cache_uid_': 'no second uid', '__property_cache_data_version_': 'no data version', '__property_cache_uid_': 'no uid', '_property_cache_data_version_': 1, '_property_cache_uid_': 'my_unique_id'}", "module": "test_internal_keys", "msecs": 98.26159477233887, "msg": "Using storage object of cache class for comparison: %s", "name": "__unittest__", "pathname": "src/tests/test_internal_keys.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 104.2337417602539, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "_property_cache_data_version_", "_property_cache_uid_" ], "asctime": "2021-01-14 00:51:42,098", "created": 1610581902.0983362, "exc_info": null, "exc_text": null, "filename": "test_internal_keys.py", "funcName": "test_internal_keys", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Deleting overhead keys: _property_cache_data_version_, _property_cache_uid_", "module": "test_internal_keys", "msecs": 98.33621978759766, "msg": "Deleting overhead keys: %s, %s", "name": "__unittest__", "pathname": "src/tests/test_internal_keys.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 104.3083667755127, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" } ], "msecs": 98.40822219848633, "msg": "Extracting storage object from %s for comparison.", "name": "__tLogger__", "pathname": "src/tests/test_internal_keys.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 104.38036918640137, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 7.200241088867188e-05 }, { "args": [ "{'___property_cache_data_version_': 'no second data version', '___property_cache_uid_': 'no second uid', '__property_cache_data_version_': 'no data version', '__property_cache_uid_': 'no uid'}", "" ], "asctime": "2021-01-14 00:51:42,099", "created": 1610581902.0991066, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 144, "message": "Cache is correct (Content {'___property_cache_data_version_': 'no second data version', '___property_cache_uid_': 'no second uid', '__property_cache_data_version_': 'no data version', '__property_cache_uid_': 'no uid'} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Cache", "{ '___property_cache_data_version_': 'no second data version', '___property_cache_uid_': 'no second uid', '__property_cache_data_version_': 'no data version', '__property_cache_uid_': 'no uid' }", "" ], "asctime": "2021-01-14 00:51:42,098", "created": 1610581902.0986392, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Cache): { '___property_cache_data_version_': 'no second data version', '___property_cache_uid_': 'no second uid', '__property_cache_data_version_': 'no data version', '__property_cache_uid_': 'no uid' } ()", "module": "test", "msecs": 98.63924980163574, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 104.61139678955078, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "Cache", "{ '__property_cache_uid_': 'no uid', '___property_cache_uid_': 'no second uid', '__property_cache_data_version_': 'no data version', '___property_cache_data_version_': 'no second data version' }", "" ], "asctime": "2021-01-14 00:51:42,098", "created": 1610581902.0988646, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Cache): result = { '__property_cache_uid_': 'no uid', '___property_cache_uid_': 'no second uid', '__property_cache_data_version_': 'no data version', '___property_cache_data_version_': 'no second data version' } ()", "module": "test", "msecs": 98.86455535888672, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 104.83670234680176, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" } ], "msecs": 99.1065502166748, "msg": "Cache is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 105.07869720458984, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 0.00024199485778808594 }, { "args": [ "5", "" ], "asctime": "2021-01-14 00:51:42,099", "created": 1610581902.099568, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 144, "message": "Keyfilter returnvalue for 5 () is correct (Content 5 and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Keyfilter returnvalue for 5 ()", "5", "" ], "asctime": "2021-01-14 00:51:42,099", "created": 1610581902.0993814, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Keyfilter returnvalue for 5 ()): 5 ()", "module": "test", "msecs": 99.3814468383789, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 105.35359382629395, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "Keyfilter returnvalue for 5 ()", "5", "" ], "asctime": "2021-01-14 00:51:42,099", "created": 1610581902.0994802, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Keyfilter returnvalue for 5 ()): result = 5 ()", "module": "test", "msecs": 99.48015213012695, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 105.45229911804199, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" } ], "msecs": 99.56789016723633, "msg": "Keyfilter returnvalue for 5 () is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 105.54003715515137, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 8.7738037109375e-05 } ], "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 0.0035467147827148438, "time_finished": "2021-01-14 00:51:42,099", "time_start": "2021-01-14 00:51:42,096" }, "caching.property_cache_json: Test partially initialisation of JSON-Cache-Object": { "args": null, "asctime": "2021-01-14 00:51:42,062", "created": 1610581902.0624185, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 30, "message": "caching.property_cache_json: Test partially initialisation of JSON-Cache-Object", "module": "__init__", "moduleLogger": [], "msecs": 62.418460845947266, "msg": "caching.property_cache_json: Test partially initialisation of JSON-Cache-Object", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 68.3906078338623, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_json", "False" ], "asctime": "2021-01-14 00:51:42,062", "created": 1610581902.0628445, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Initialising property_cache_json (load_all_on_init=False).", "module": "test_helpers", "moduleLogger": [ { "args": [], "asctime": "2021-01-14 00:51:42,062", "created": 1610581902.0625052, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 17, "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "module": "test_helpers", "msecs": 62.505245208740234, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 68.47739219665527, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.json" ], "asctime": "2021-01-14 00:51:42,062", "created": 1610581902.0625813, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.json as cache file.", "module": "test_helpers", "msecs": 62.58130073547363, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 68.55344772338867, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-01-14 00:51:42,062", "created": 1610581902.0626488, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 228, "message": "JsonCache: Cache file does not exists (yet).", "module": "__init__", "msecs": 62.648773193359375, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 68.62092018127441, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.json" ], "asctime": "2021-01-14 00:51:42,062", "created": 1610581902.062776, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.json)", "module": "__init__", "msecs": 62.77608871459961, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 68.74823570251465, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" } ], "msecs": 62.84451484680176, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 68.8166618347168, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 6.842613220214844e-05 }, { "args": [], "asctime": "2021-01-14 00:51:42,064", "created": 1610581902.0644233, "exc_info": null, "exc_text": null, "filename": "test_no_load_on_init.py", "funcName": "no_load_on_init", "levelname": "DEBUG", "levelno": 10, "lineno": 18, "message": "Partially initialising cache object by requesting some information.", "module": "test_no_load_on_init", "moduleLogger": [ { "args": [ "JsonCache:", "str", "'string'" ], "asctime": "2021-01-14 00:51:42,062", "created": 1610581902.062925, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 106, "message": "JsonCache: Loading property for 'str' from source instance ('string')", "module": "__init__", "msecs": 62.925100326538086, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 68.89724731445312, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.json" ], "asctime": "2021-01-14 00:51:42,063", "created": 1610581902.0630536, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.json)", "module": "__init__", "msecs": 63.05360794067383, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 69.02575492858887, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "integer", "17" ], "asctime": "2021-01-14 00:51:42,063", "created": 1610581902.0631638, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 106, "message": "JsonCache: Loading property for 'integer' from source instance (17)", "module": "__init__", "msecs": 63.16375732421875, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 69.13590431213379, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.json" ], "asctime": "2021-01-14 00:51:42,064", "created": 1610581902.0640602, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.json)", "module": "__init__", "msecs": 64.06021118164062, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 70.03235816955566, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "unicode", "'unicode'" ], "asctime": "2021-01-14 00:51:42,064", "created": 1610581902.0641615, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 106, "message": "JsonCache: Loading property for 'unicode' from source instance ('unicode')", "module": "__init__", "msecs": 64.16153907775879, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 70.13368606567383, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.json" ], "asctime": "2021-01-14 00:51:42,064", "created": 1610581902.0643282, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.json)", "module": "__init__", "msecs": 64.32819366455078, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 70.30034065246582, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" } ], "msecs": 64.4233226776123, "msg": "Partially initialising cache object by requesting some information.", "name": "__tLogger__", "pathname": "src/tests/test_no_load_on_init.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 70.39546966552734, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 9.512901306152344e-05 }, { "args": [ "property_cache_json" ], "asctime": "2021-01-14 00:51:42,064", "created": 1610581902.064745, "exc_info": null, "exc_text": null, "filename": "test_no_load_on_init.py", "funcName": "no_load_on_init", "levelname": "DEBUG", "levelno": 10, "lineno": 27, "message": "Extracting storage object from property_cache_json for comparison.", "module": "test_no_load_on_init", "moduleLogger": [ { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.json" ], "asctime": "2021-01-14 00:51:42,064", "created": 1610581902.064592, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 225, "message": "JsonCache: Loading properties from cache (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.json)", "module": "__init__", "msecs": 64.59188461303711, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 70.56403160095215, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "{'_property_cache_data_version_': 1, '_property_cache_uid_': 'my_unique_id', 'integer': 17, 'str': 'string', 'unicode': 'unicode'}" ], "asctime": "2021-01-14 00:51:42,064", "created": 1610581902.0646539, "exc_info": null, "exc_text": null, "filename": "test_no_load_on_init.py", "funcName": "no_load_on_init", "levelname": "INFO", "levelno": 20, "lineno": 23, "message": "Using storage object of cache class for comparison: {'_property_cache_data_version_': 1, '_property_cache_uid_': 'my_unique_id', 'integer': 17, 'str': 'string', 'unicode': 'unicode'}", "module": "test_no_load_on_init", "msecs": 64.65387344360352, "msg": "Using storage object of cache class for comparison: %s", "name": "__unittest__", "pathname": "src/tests/test_no_load_on_init.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 70.62602043151855, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "_property_cache_data_version_", "_property_cache_uid_" ], "asctime": "2021-01-14 00:51:42,064", "created": 1610581902.0647047, "exc_info": null, "exc_text": null, "filename": "test_no_load_on_init.py", "funcName": "no_load_on_init", "levelname": "INFO", "levelno": 20, "lineno": 24, "message": "Deleting overhead keys: _property_cache_data_version_, _property_cache_uid_", "module": "test_no_load_on_init", "msecs": 64.70465660095215, "msg": "Deleting overhead keys: %s, %s", "name": "__unittest__", "pathname": "src/tests/test_no_load_on_init.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 70.67680358886719, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" } ], "msecs": 64.74494934082031, "msg": "Extracting storage object from %s for comparison.", "name": "__tLogger__", "pathname": "src/tests/test_no_load_on_init.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 70.71709632873535, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 4.029273986816406e-05 }, { "args": [ "{'integer': 17, 'str': 'string', 'unicode': 'unicode'}", "" ], "asctime": "2021-01-14 00:51:42,064", "created": 1610581902.0649436, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 144, "message": "Cache object is correct (Content {'integer': 17, 'str': 'string', 'unicode': 'unicode'} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Cache object", "{ 'integer': 17, 'str': 'string', 'unicode': 'unicode' }", "" ], "asctime": "2021-01-14 00:51:42,064", "created": 1610581902.064833, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Cache object): { 'integer': 17, 'str': 'string', 'unicode': 'unicode' } ()", "module": "test", "msecs": 64.83292579650879, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 70.80507278442383, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "Cache object", "{ 'str': 'string', 'unicode': 'unicode', 'integer': 17 }", "" ], "asctime": "2021-01-14 00:51:42,064", "created": 1610581902.0648847, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Cache object): result = { 'str': 'string', 'unicode': 'unicode', 'integer': 17 } ()", "module": "test", "msecs": 64.88466262817383, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 70.85680961608887, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" } ], "msecs": 64.94355201721191, "msg": "Cache object is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 70.91569900512695, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 5.888938903808594e-05 } ], "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 0.0025250911712646484, "time_finished": "2021-01-14 00:51:42,064", "time_start": "2021-01-14 00:51:42,062" }, "caching.property_cache_pickle: Test cached data (full init)": { "args": null, "asctime": "2021-01-14 00:51:42,108", "created": 1610581902.1081111, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 44, "message": "caching.property_cache_pickle: Test cached data (full init)", "module": "__init__", "moduleLogger": [], "msecs": 108.11114311218262, "msg": "caching.property_cache_pickle: Test cached data (full init)", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 114.08329010009766, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2021-01-14 00:51:42,108", "created": 1610581902.1086946, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Initialising property_cache_pickle (load_all_on_init=True).", "module": "test_helpers", "moduleLogger": [ { "args": [], "asctime": "2021-01-14 00:51:42,108", "created": 1610581902.1082199, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 17, "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "module": "test_helpers", "msecs": 108.21986198425293, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 114.19200897216797, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:42,108", "created": 1610581902.108302, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_load_on_init.pkl as cache file.", "module": "test_helpers", "msecs": 108.30211639404297, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 114.27426338195801, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-01-14 00:51:42,108", "created": 1610581902.1083822, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 148, "message": "PickCache: Cache file does not exists (yet).", "module": "__init__", "msecs": 108.3822250366211, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 114.35437202453613, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2021-01-14 00:51:42,108", "created": 1610581902.108446, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 162, "message": "PickCache: Loading all data from source - ['str', 'unicode', 'integer', 'float', 'list', 'dict']", "module": "__init__", "msecs": 108.44588279724121, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 114.41802978515625, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:42,108", "created": 1610581902.108602, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_load_on_init.pkl)", "module": "__init__", "msecs": 108.60204696655273, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 114.57419395446777, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" } ], "msecs": 108.69455337524414, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 114.66670036315918, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 9.250640869140625e-05 }, { "args": [], "asctime": "2021-01-14 00:51:42,109", "created": 1610581902.1098762, "exc_info": null, "exc_text": null, "filename": "test_cached_data.py", "funcName": "cached_data", "levelname": "DEBUG", "levelno": 10, "lineno": 19, "message": "Collecting data from cache instance.", "module": "test_cached_data", "moduleLogger": [ { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:42,108", "created": 1610581902.108965, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 145, "message": "PickCache: Loading properties from cache (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_load_on_init.pkl)", "module": "__init__", "msecs": 108.96492004394531, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 114.93706703186035, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "str", "'string'" ], "asctime": "2021-01-14 00:51:42,109", "created": 1610581902.1090631, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "PickCache: Providing property for 'str' from cache ('string')", "module": "__init__", "msecs": 109.06314849853516, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 115.0352954864502, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "unicode", "'unicode'" ], "asctime": "2021-01-14 00:51:42,109", "created": 1610581902.1091645, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "PickCache: Providing property for 'unicode' from cache ('unicode')", "module": "__init__", "msecs": 109.16447639465332, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 115.13662338256836, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "integer", "17" ], "asctime": "2021-01-14 00:51:42,109", "created": 1610581902.1092877, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "PickCache: Providing property for 'integer' from cache (17)", "module": "__init__", "msecs": 109.28773880004883, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 115.25988578796387, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "float", "3.14159" ], "asctime": "2021-01-14 00:51:42,109", "created": 1610581902.1094325, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "PickCache: Providing property for 'float' from cache (3.14159)", "module": "__init__", "msecs": 109.43245887756348, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 115.40460586547852, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "list", "[1, 'two', '3', 4]" ], "asctime": "2021-01-14 00:51:42,109", "created": 1610581902.1095517, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "PickCache: Providing property for 'list' from cache ([1, 'two', '3', 4])", "module": "__init__", "msecs": 109.55166816711426, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 115.5238151550293, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "dict", "{'1': 1, '2': 'two', '3': '3', '4': 4}" ], "asctime": "2021-01-14 00:51:42,109", "created": 1610581902.1096706, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "PickCache: Providing property for 'dict' from cache ({'1': 1, '2': 'two', '3': '3', '4': 4})", "module": "__init__", "msecs": 109.67063903808594, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 115.64278602600098, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "uncached" ], "asctime": "2021-01-14 00:51:42,109", "created": 1610581902.109778, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "INFO", "levelno": 20, "lineno": 113, "message": "PickCache: Key 'uncached' is not in cached_keys. Uncached data will be returned.", "module": "__init__", "msecs": 109.77792739868164, "msg": "%s Key '%s' is not in cached_keys. Uncached data will be returned.", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 115.75007438659668, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" } ], "msecs": 109.87615585327148, "msg": "Collecting data from cache instance.", "name": "__tLogger__", "pathname": "src/tests/test_cached_data.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 115.84830284118652, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 9.822845458984375e-05 }, { "args": [ "{'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [1, 'two', '3', 4], 'dict': {'1': 1, '2': 'two', '3': '3', '4': 4}, 'uncached': 'uncached_data_of_class'}", "" ], "asctime": "2021-01-14 00:51:42,110", "created": 1610581902.1105292, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 144, "message": "Cached data is correct (Content {'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [1, 'two', '3', 4], 'dict': {'1': 1, '2': 'two', '3': '3', '4': 4}, 'uncached': 'uncached_data_of_class'} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Cached data", "{ 'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ], 'dict': { '1': 1, '2': 'two', '3': '3', '4': 4 }, 'uncached': 'uncached_data_of_class' }", "" ], "asctime": "2021-01-14 00:51:42,110", "created": 1610581902.1101346, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Cached data): { 'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ], 'dict': { '1': 1, '2': 'two', '3': '3', '4': 4 }, 'uncached': 'uncached_data_of_class' } ()", "module": "test", "msecs": 110.13460159301758, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 116.10674858093262, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "Cached data", "{ 'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ], 'dict': { '1': 1, '2': 'two', '3': '3', '4': 4 }, 'uncached': 'uncached_data_of_class' }", "" ], "asctime": "2021-01-14 00:51:42,110", "created": 1610581902.1102931, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Cached data): result = { 'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ], 'dict': { '1': 1, '2': 'two', '3': '3', '4': 4 }, 'uncached': 'uncached_data_of_class' } ()", "module": "test", "msecs": 110.29314994812012, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 116.26529693603516, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" } ], "msecs": 110.52918434143066, "msg": "Cached data is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 116.5013313293457, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 0.00023603439331054688 } ], "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 0.002418041229248047, "time_finished": "2021-01-14 00:51:42,110", "time_start": "2021-01-14 00:51:42,108" }, "caching.property_cache_pickle: Test cached data (partially init)": { "args": null, "asctime": "2021-01-14 00:51:42,110", "created": 1610581902.1108763, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 45, "message": "caching.property_cache_pickle: Test cached data (partially init)", "module": "__init__", "moduleLogger": [], "msecs": 110.87632179260254, "msg": "caching.property_cache_pickle: Test cached data (partially init)", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 116.84846878051758, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2021-01-14 00:51:42,112", "created": 1610581902.112256, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Initialising property_cache_pickle (load_all_on_init=True).", "module": "test_helpers", "moduleLogger": [ { "args": [], "asctime": "2021-01-14 00:51:42,111", "created": 1610581902.1111288, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 17, "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "module": "test_helpers", "msecs": 111.1288070678711, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 117.10095405578613, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_no_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:42,111", "created": 1610581902.1113274, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_no_load_on_init.pkl as cache file.", "module": "test_helpers", "msecs": 111.3274097442627, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 117.29955673217773, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-01-14 00:51:42,111", "created": 1610581902.1115477, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 148, "message": "PickCache: Cache file does not exists (yet).", "module": "__init__", "msecs": 111.54770851135254, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 117.51985549926758, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2021-01-14 00:51:42,111", "created": 1610581902.1117513, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 162, "message": "PickCache: Loading all data from source - ['str', 'unicode', 'integer', 'float', 'list', 'dict']", "module": "__init__", "msecs": 111.75131797790527, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 117.72346496582031, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_no_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:42,112", "created": 1610581902.1120546, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 112.05458641052246, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 118.0267333984375, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" } ], "msecs": 112.25605010986328, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 118.22819709777832, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 0.0002014636993408203 }, { "args": [], "asctime": "2021-01-14 00:51:42,113", "created": 1610581902.1137066, "exc_info": null, "exc_text": null, "filename": "test_cached_data.py", "funcName": "cached_data", "levelname": "DEBUG", "levelno": 10, "lineno": 19, "message": "Collecting data from cache instance.", "module": "test_cached_data", "moduleLogger": [ { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_no_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:42,112", "created": 1610581902.112639, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 145, "message": "PickCache: Loading properties from cache (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 112.63895034790039, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 118.61109733581543, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "str", "'string'" ], "asctime": "2021-01-14 00:51:42,112", "created": 1610581902.1127915, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "PickCache: Providing property for 'str' from cache ('string')", "module": "__init__", "msecs": 112.79153823852539, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 118.76368522644043, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "unicode", "'unicode'" ], "asctime": "2021-01-14 00:51:42,112", "created": 1610581902.1129148, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "PickCache: Providing property for 'unicode' from cache ('unicode')", "module": "__init__", "msecs": 112.9148006439209, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 118.88694763183594, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "integer", "17" ], "asctime": "2021-01-14 00:51:42,113", "created": 1610581902.1130276, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "PickCache: Providing property for 'integer' from cache (17)", "module": "__init__", "msecs": 113.02757263183594, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 118.99971961975098, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "float", "3.14159" ], "asctime": "2021-01-14 00:51:42,113", "created": 1610581902.1132243, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "PickCache: Providing property for 'float' from cache (3.14159)", "module": "__init__", "msecs": 113.22426795959473, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 119.19641494750977, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "list", "[1, 'two', '3', 4]" ], "asctime": "2021-01-14 00:51:42,113", "created": 1610581902.1133714, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "PickCache: Providing property for 'list' from cache ([1, 'two', '3', 4])", "module": "__init__", "msecs": 113.37137222290039, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 119.34351921081543, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "dict", "{'1': 1, '2': 'two', '3': '3', '4': 4}" ], "asctime": "2021-01-14 00:51:42,113", "created": 1610581902.1135025, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "PickCache: Providing property for 'dict' from cache ({'1': 1, '2': 'two', '3': '3', '4': 4})", "module": "__init__", "msecs": 113.50250244140625, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 119.47464942932129, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "uncached" ], "asctime": "2021-01-14 00:51:42,113", "created": 1610581902.1136105, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "INFO", "levelno": 20, "lineno": 113, "message": "PickCache: Key 'uncached' is not in cached_keys. Uncached data will be returned.", "module": "__init__", "msecs": 113.61050605773926, "msg": "%s Key '%s' is not in cached_keys. Uncached data will be returned.", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 119.5826530456543, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" } ], "msecs": 113.70658874511719, "msg": "Collecting data from cache instance.", "name": "__tLogger__", "pathname": "src/tests/test_cached_data.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 119.67873573303223, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 9.608268737792969e-05 }, { "args": [ "{'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [1, 'two', '3', 4], 'dict': {'1': 1, '2': 'two', '3': '3', '4': 4}, 'uncached': 'uncached_data_of_class'}", "" ], "asctime": "2021-01-14 00:51:42,114", "created": 1610581902.1143053, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 144, "message": "Cached data is correct (Content {'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [1, 'two', '3', 4], 'dict': {'1': 1, '2': 'two', '3': '3', '4': 4}, 'uncached': 'uncached_data_of_class'} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Cached data", "{ 'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ], 'dict': { '1': 1, '2': 'two', '3': '3', '4': 4 }, 'uncached': 'uncached_data_of_class' }", "" ], "asctime": "2021-01-14 00:51:42,113", "created": 1610581902.1139886, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Cached data): { 'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ], 'dict': { '1': 1, '2': 'two', '3': '3', '4': 4 }, 'uncached': 'uncached_data_of_class' } ()", "module": "test", "msecs": 113.98863792419434, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 119.96078491210938, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "Cached data", "{ 'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ], 'dict': { '1': 1, '2': 'two', '3': '3', '4': 4 }, 'uncached': 'uncached_data_of_class' }", "" ], "asctime": "2021-01-14 00:51:42,114", "created": 1610581902.1141534, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Cached data): result = { 'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ], 'dict': { '1': 1, '2': 'two', '3': '3', '4': 4 }, 'uncached': 'uncached_data_of_class' } ()", "module": "test", "msecs": 114.15338516235352, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 120.12553215026855, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" } ], "msecs": 114.30525779724121, "msg": "Cached data is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 120.27740478515625, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 0.0001518726348876953 } ], "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 0.003428936004638672, "time_finished": "2021-01-14 00:51:42,114", "time_start": "2021-01-14 00:51:42,110" }, "caching.property_cache_pickle: Test execution of save callback (full init)": { "args": null, "asctime": "2021-01-14 00:51:42,121", "created": 1610581902.121362, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 50, "message": "caching.property_cache_pickle: Test execution of save callback (full init)", "module": "__init__", "moduleLogger": [], "msecs": 121.36197090148926, "msg": "caching.property_cache_pickle: Test execution of save callback (full init)", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 127.3341178894043, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2021-01-14 00:51:42,121", "created": 1610581902.121437, "exc_info": null, "exc_text": null, "filename": "test_save_callback.py", "funcName": "save_callback", "levelname": "DEBUG", "levelno": 10, "lineno": 21, "message": "Installing save_callback, which sets a variable to True on execution.", "module": "test_save_callback", "moduleLogger": [], "msecs": 121.43707275390625, "msg": "Installing save_callback, which sets a variable to True on execution.", "name": "__tLogger__", "pathname": "src/tests/test_save_callback.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 127.40921974182129, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 0.0 }, { "args": [ "True", "" ], "asctime": "2021-01-14 00:51:42,121", "created": 1610581902.12171, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 144, "message": "Save callback execution variable is correct (Content True and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/save_callback_load_on_init.json" ], "asctime": "2021-01-14 00:51:42,121", "created": 1610581902.1215317, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/save_callback_load_on_init.json)", "module": "__init__", "msecs": 121.53172492980957, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 127.50387191772461, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "Save callback execution variable", "True", "" ], "asctime": "2021-01-14 00:51:42,121", "created": 1610581902.1216114, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Save callback execution variable): True ()", "module": "test", "msecs": 121.61135673522949, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 127.58350372314453, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "Save callback execution variable", "True", "" ], "asctime": "2021-01-14 00:51:42,121", "created": 1610581902.1216717, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Save callback execution variable): result = True ()", "module": "test", "msecs": 121.67167663574219, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 127.64382362365723, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" } ], "msecs": 121.71006202697754, "msg": "Save callback execution variable is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 127.68220901489258, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 3.838539123535156e-05 } ], "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 0.00034809112548828125, "time_finished": "2021-01-14 00:51:42,121", "time_start": "2021-01-14 00:51:42,121" }, "caching.property_cache_pickle: Test full initialised PICKLE-Cache-Object": { "args": null, "asctime": "2021-01-14 00:51:42,099", "created": 1610581902.0998726, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 42, "message": "caching.property_cache_pickle: Test full initialised PICKLE-Cache-Object", "module": "__init__", "moduleLogger": [], "msecs": 99.87258911132812, "msg": "caching.property_cache_pickle: Test full initialised PICKLE-Cache-Object", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 105.84473609924316, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2021-01-14 00:51:42,101", "created": 1610581902.101622, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Initialising property_cache_pickle (load_all_on_init=True).", "module": "test_helpers", "moduleLogger": [ { "args": [], "asctime": "2021-01-14 00:51:42,100", "created": 1610581902.1003299, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 17, "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "module": "test_helpers", "msecs": 100.32987594604492, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 106.30202293395996, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/load_on_init.pkl" ], "asctime": "2021-01-14 00:51:42,100", "created": 1610581902.1006389, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/unittest/caching/unittest/output_data/load_on_init.pkl as cache file.", "module": "test_helpers", "msecs": 100.63886642456055, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 106.61101341247559, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-01-14 00:51:42,100", "created": 1610581902.1008482, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 148, "message": "PickCache: Cache file does not exists (yet).", "module": "__init__", "msecs": 100.84819793701172, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 106.82034492492676, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2021-01-14 00:51:42,100", "created": 1610581902.1009958, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 162, "message": "PickCache: Loading all data from source - ['str', 'unicode', 'integer', 'float', 'list', 'dict']", "module": "__init__", "msecs": 100.99577903747559, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 106.96792602539062, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/load_on_init.pkl" ], "asctime": "2021-01-14 00:51:42,101", "created": 1610581902.1014256, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/load_on_init.pkl)", "module": "__init__", "msecs": 101.4256477355957, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 107.39779472351074, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" } ], "msecs": 101.62210464477539, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 107.59425163269043, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 0.0001964569091796875 }, { "args": [ "property_cache_pickle" ], "asctime": "2021-01-14 00:51:42,102", "created": 1610581902.1026545, "exc_info": null, "exc_text": null, "filename": "test_load_on_init.py", "funcName": "load_on_init", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Extracting storage object from property_cache_pickle for comparison.", "module": "test_load_on_init", "moduleLogger": [ { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/load_on_init.pkl" ], "asctime": "2021-01-14 00:51:42,102", "created": 1610581902.1021, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 145, "message": "PickCache: Loading properties from cache (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/load_on_init.pkl)", "module": "__init__", "msecs": 102.09989547729492, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 108.07204246520996, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "{'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [1, 'two', '3', 4], 'dict': {'1': 1, '2': 'two', '3': '3', '4': 4}, '_property_cache_uid_': 'my_unique_id', '_property_cache_data_version_': 1}" ], "asctime": "2021-01-14 00:51:42,102", "created": 1610581902.1023166, "exc_info": null, "exc_text": null, "filename": "test_load_on_init.py", "funcName": "load_on_init", "levelname": "INFO", "levelno": 20, "lineno": 20, "message": "Using storage object of cache class for comparison: {'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [1, 'two', '3', 4], 'dict': {'1': 1, '2': 'two', '3': '3', '4': 4}, '_property_cache_uid_': 'my_unique_id', '_property_cache_data_version_': 1}", "module": "test_load_on_init", "msecs": 102.31661796569824, "msg": "Using storage object of cache class for comparison: %s", "name": "__unittest__", "pathname": "src/tests/test_load_on_init.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 108.28876495361328, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "_property_cache_data_version_", "_property_cache_uid_" ], "asctime": "2021-01-14 00:51:42,102", "created": 1610581902.1024916, "exc_info": null, "exc_text": null, "filename": "test_load_on_init.py", "funcName": "load_on_init", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Deleting overhead keys: _property_cache_data_version_, _property_cache_uid_", "module": "test_load_on_init", "msecs": 102.49161720275879, "msg": "Deleting overhead keys: %s, %s", "name": "__unittest__", "pathname": "src/tests/test_load_on_init.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 108.46376419067383, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" } ], "msecs": 102.65445709228516, "msg": "Extracting storage object from %s for comparison.", "name": "__tLogger__", "pathname": "src/tests/test_load_on_init.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 108.6266040802002, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 0.0001628398895263672 }, { "args": [ "{'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [1, 'two', '3', 4], 'dict': {'1': 1, '2': 'two', '3': '3', '4': 4}}", "" ], "asctime": "2021-01-14 00:51:42,103", "created": 1610581902.103514, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 144, "message": "Cache object is correct (Content {'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [1, 'two', '3', 4], 'dict': {'1': 1, '2': 'two', '3': '3', '4': 4}} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Cache object", "{ 'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ], 'dict': { '1': 1, '2': 'two', '3': '3', '4': 4 } }", "" ], "asctime": "2021-01-14 00:51:42,102", "created": 1610581902.1029446, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Cache object): { 'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ], 'dict': { '1': 1, '2': 'two', '3': '3', '4': 4 } } ()", "module": "test", "msecs": 102.94461250305176, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 108.9167594909668, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "Cache object", "{ 'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ], 'dict': { '1': 1, '2': 'two', '3': '3', '4': 4 } }", "" ], "asctime": "2021-01-14 00:51:42,103", "created": 1610581902.1031642, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Cache object): result = { 'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ], 'dict': { '1': 1, '2': 'two', '3': '3', '4': 4 } } ()", "module": "test", "msecs": 103.1641960144043, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 109.13634300231934, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" } ], "msecs": 103.51395606994629, "msg": "Cache object is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 109.48610305786133, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 0.0003497600555419922 } ], "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 0.003641366958618164, "time_finished": "2021-01-14 00:51:42,103", "time_start": "2021-01-14 00:51:42,099" }, "caching.property_cache_pickle: Test get from source caused by changed uid (full init)": { "args": null, "asctime": "2021-01-14 00:51:42,117", "created": 1610581902.1179633, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 48, "message": "caching.property_cache_pickle: Test get from source caused by changed uid (full init)", "module": "__init__", "moduleLogger": [], "msecs": 117.96331405639648, "msg": "caching.property_cache_pickle: Test get from source caused by changed uid (full init)", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 123.93546104431152, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2021-01-14 00:51:42,118", "created": 1610581902.1183484, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Initialising property_cache_pickle (load_all_on_init=True).", "module": "test_helpers", "moduleLogger": [ { "args": [], "asctime": "2021-01-14 00:51:42,118", "created": 1610581902.1180418, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 17, "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "module": "test_helpers", "msecs": 118.0417537689209, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 124.01390075683594, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:42,118", "created": 1610581902.118106, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.pkl as cache file.", "module": "test_helpers", "msecs": 118.10588836669922, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 124.07803535461426, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-01-14 00:51:42,118", "created": 1610581902.118162, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 148, "message": "PickCache: Cache file does not exists (yet).", "module": "__init__", "msecs": 118.16191673278809, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 124.13406372070312, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2021-01-14 00:51:42,118", "created": 1610581902.118206, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 162, "message": "PickCache: Loading all data from source - ['str', 'unicode', 'integer', 'float', 'list', 'dict']", "module": "__init__", "msecs": 118.20602416992188, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 124.17817115783691, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:42,118", "created": 1610581902.1182935, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.pkl)", "module": "__init__", "msecs": 118.29352378845215, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 124.26567077636719, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" } ], "msecs": 118.34836006164551, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 124.32050704956055, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 5.4836273193359375e-05 }, { "args": [ "{'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '2': 2, '3': 'three', '4': '4'}}", "" ], "asctime": "2021-01-14 00:51:42,119", "created": 1610581902.1191874, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 144, "message": "Instance data after changing uid is correct (Content {'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '2': 2, '3': 'three', '4': '4'}} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:42,118", "created": 1610581902.118491, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 145, "message": "PickCache: Loading properties from cache (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.pkl)", "module": "__init__", "msecs": 118.49093437194824, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 124.46308135986328, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-01-14 00:51:42,118", "created": 1610581902.1185362, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 131, "message": "PickCache: Source uid changed, ignoring previous cache data", "module": "__init__", "msecs": 118.53623390197754, "msg": "%s Source uid changed, ignoring previous cache data", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 124.50838088989258, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2021-01-14 00:51:42,118", "created": 1610581902.1185806, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 162, "message": "PickCache: Loading all data from source - ['str', 'unicode', 'integer', 'float', 'list', 'dict']", "module": "__init__", "msecs": 118.58057975769043, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 124.55272674560547, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:42,118", "created": 1610581902.1186693, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.pkl)", "module": "__init__", "msecs": 118.66927146911621, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 124.64141845703125, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "str", "'__string__'" ], "asctime": "2021-01-14 00:51:42,118", "created": 1610581902.1187449, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "PickCache: Providing property for 'str' from cache ('__string__')", "module": "__init__", "msecs": 118.7448501586914, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 124.71699714660645, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "unicode", "'__unicode__'" ], "asctime": "2021-01-14 00:51:42,118", "created": 1610581902.1188114, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "PickCache: Providing property for 'unicode' from cache ('__unicode__')", "module": "__init__", "msecs": 118.81136894226074, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 124.78351593017578, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "integer", "34" ], "asctime": "2021-01-14 00:51:42,118", "created": 1610581902.1188536, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "PickCache: Providing property for 'integer' from cache (34)", "module": "__init__", "msecs": 118.85356903076172, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 124.82571601867676, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "float", "2.71828" ], "asctime": "2021-01-14 00:51:42,118", "created": 1610581902.1189, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "PickCache: Providing property for 'float' from cache (2.71828)", "module": "__init__", "msecs": 118.90006065368652, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 124.87220764160156, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "list", "['one', 2, 3, '4']" ], "asctime": "2021-01-14 00:51:42,118", "created": 1610581902.1189477, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "PickCache: Providing property for 'list' from cache (['one', 2, 3, '4'])", "module": "__init__", "msecs": 118.94774436950684, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 124.91989135742188, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "dict", "{'1': '1', '2': 2, '3': 'three', '4': '4'}" ], "asctime": "2021-01-14 00:51:42,118", "created": 1610581902.1189914, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "PickCache: Providing property for 'dict' from cache ({'1': '1', '2': 2, '3': 'three', '4': '4'})", "module": "__init__", "msecs": 118.99137496948242, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 124.96352195739746, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "Instance data after changing uid", "{ 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } }", "" ], "asctime": "2021-01-14 00:51:42,119", "created": 1610581902.1190522, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Instance data after changing uid): { 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } } ()", "module": "test", "msecs": 119.05217170715332, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 125.02431869506836, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "Instance data after changing uid", "{ 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } }", "" ], "asctime": "2021-01-14 00:51:42,119", "created": 1610581902.1191063, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Instance data after changing uid): result = { 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } } ()", "module": "test", "msecs": 119.10629272460938, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 125.07843971252441, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" } ], "msecs": 119.1873550415039, "msg": "Instance data after changing uid is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 125.15950202941895, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 8.106231689453125e-05 } ], "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 0.0012240409851074219, "time_finished": "2021-01-14 00:51:42,119", "time_start": "2021-01-14 00:51:42,117" }, "caching.property_cache_pickle: Test get from source caused by changed uid (partially init)": { "args": null, "asctime": "2021-01-14 00:51:42,119", "created": 1610581902.1193068, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 49, "message": "caching.property_cache_pickle: Test get from source caused by changed uid (partially init)", "module": "__init__", "moduleLogger": [], "msecs": 119.30680274963379, "msg": "caching.property_cache_pickle: Test get from source caused by changed uid (partially init)", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 125.27894973754883, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2021-01-14 00:51:42,119", "created": 1610581902.1197102, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Initialising property_cache_pickle (load_all_on_init=True).", "module": "test_helpers", "moduleLogger": [ { "args": [], "asctime": "2021-01-14 00:51:42,119", "created": 1610581902.1193836, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 17, "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "module": "test_helpers", "msecs": 119.38357353210449, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 125.35572052001953, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:42,119", "created": 1610581902.1194494, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl as cache file.", "module": "test_helpers", "msecs": 119.44937705993652, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 125.42152404785156, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-01-14 00:51:42,119", "created": 1610581902.1195092, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 148, "message": "PickCache: Cache file does not exists (yet).", "module": "__init__", "msecs": 119.50922012329102, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 125.48136711120605, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2021-01-14 00:51:42,119", "created": 1610581902.1195574, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 162, "message": "PickCache: Loading all data from source - ['str', 'unicode', 'integer', 'float', 'list', 'dict']", "module": "__init__", "msecs": 119.55738067626953, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 125.52952766418457, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:42,119", "created": 1610581902.1196527, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 119.65274810791016, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 125.6248950958252, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" } ], "msecs": 119.71020698547363, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 125.68235397338867, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 5.745887756347656e-05 }, { "args": [ "{'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '2': 2, '3': 'three', '4': '4'}}", "" ], "asctime": "2021-01-14 00:51:42,121", "created": 1610581902.1212387, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 144, "message": "Instance data after changing uid is correct (Content {'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '2': 2, '3': 'three', '4': '4'}} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:42,119", "created": 1610581902.119825, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 145, "message": "PickCache: Loading properties from cache (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 119.82488632202148, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 125.79703330993652, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-01-14 00:51:42,119", "created": 1610581902.1198695, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 131, "message": "PickCache: Source uid changed, ignoring previous cache data", "module": "__init__", "msecs": 119.86947059631348, "msg": "%s Source uid changed, ignoring previous cache data", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 125.84161758422852, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:42,119", "created": 1610581902.1199455, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 119.94552612304688, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 125.91767311096191, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "str", "'__string__'" ], "asctime": "2021-01-14 00:51:42,120", "created": 1610581902.120021, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 106, "message": "PickCache: Loading property for 'str' from source instance ('__string__')", "module": "__init__", "msecs": 120.02110481262207, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 125.99325180053711, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:42,120", "created": 1610581902.120111, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 120.11098861694336, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 126.0831356048584, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "unicode", "'__unicode__'" ], "asctime": "2021-01-14 00:51:42,120", "created": 1610581902.1201954, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 106, "message": "PickCache: Loading property for 'unicode' from source instance ('__unicode__')", "module": "__init__", "msecs": 120.19538879394531, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 126.16753578186035, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:42,120", "created": 1610581902.1202736, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 120.27359008789062, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 126.24573707580566, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "integer", "34" ], "asctime": "2021-01-14 00:51:42,120", "created": 1610581902.120357, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 106, "message": "PickCache: Loading property for 'integer' from source instance (34)", "module": "__init__", "msecs": 120.35703659057617, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 126.32918357849121, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:42,120", "created": 1610581902.1204386, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 120.4385757446289, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 126.41072273254395, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "float", "2.71828" ], "asctime": "2021-01-14 00:51:42,120", "created": 1610581902.120524, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 106, "message": "PickCache: Loading property for 'float' from source instance (2.71828)", "module": "__init__", "msecs": 120.52392959594727, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 126.4960765838623, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:42,120", "created": 1610581902.1205986, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 120.59855461120605, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 126.5707015991211, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "list", "['one', 2, 3, '4']" ], "asctime": "2021-01-14 00:51:42,120", "created": 1610581902.1206956, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 106, "message": "PickCache: Loading property for 'list' from source instance (['one', 2, 3, '4'])", "module": "__init__", "msecs": 120.69559097290039, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 126.66773796081543, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:42,120", "created": 1610581902.1207752, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 120.77522277832031, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 126.74736976623535, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "dict", "{'1': '1', '2': 2, '3': 'three', '4': '4'}" ], "asctime": "2021-01-14 00:51:42,120", "created": 1610581902.1208582, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 106, "message": "PickCache: Loading property for 'dict' from source instance ({'1': '1', '2': 2, '3': 'three', '4': '4'})", "module": "__init__", "msecs": 120.85819244384766, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 126.8303394317627, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:42,120", "created": 1610581902.1209369, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 120.93687057495117, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 126.90901756286621, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "Instance data after changing uid", "{ 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } }", "" ], "asctime": "2021-01-14 00:51:42,121", "created": 1610581902.1210594, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Instance data after changing uid): { 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } } ()", "module": "test", "msecs": 121.05941772460938, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 127.03156471252441, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "Instance data after changing uid", "{ 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } }", "" ], "asctime": "2021-01-14 00:51:42,121", "created": 1610581902.1211393, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Instance data after changing uid): result = { 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } } ()", "module": "test", "msecs": 121.1392879486084, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 127.11143493652344, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" } ], "msecs": 121.23870849609375, "msg": "Instance data after changing uid is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 127.21085548400879, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 9.942054748535156e-05 } ], "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 0.001931905746459961, "time_finished": "2021-01-14 00:51:42,121", "time_start": "2021-01-14 00:51:42,119" }, "caching.property_cache_pickle: Test get from source caused by increased data version (full init)": { "args": null, "asctime": "2021-01-14 00:51:42,114", "created": 1610581902.1144555, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 46, "message": "caching.property_cache_pickle: Test get from source caused by increased data version (full init)", "module": "__init__", "moduleLogger": [], "msecs": 114.4554615020752, "msg": "caching.property_cache_pickle: Test get from source caused by increased data version (full init)", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 120.42760848999023, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2021-01-14 00:51:42,114", "created": 1610581902.1148875, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Initialising property_cache_pickle (load_all_on_init=True).", "module": "test_helpers", "moduleLogger": [ { "args": [], "asctime": "2021-01-14 00:51:42,114", "created": 1610581902.1145365, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 17, "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "module": "test_helpers", "msecs": 114.53652381896973, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 120.50867080688477, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:42,114", "created": 1610581902.1146114, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.pkl as cache file.", "module": "test_helpers", "msecs": 114.61138725280762, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 120.58353424072266, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-01-14 00:51:42,114", "created": 1610581902.1146765, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 148, "message": "PickCache: Cache file does not exists (yet).", "module": "__init__", "msecs": 114.67647552490234, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 120.64862251281738, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2021-01-14 00:51:42,114", "created": 1610581902.114724, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 162, "message": "PickCache: Loading all data from source - ['str', 'unicode', 'integer', 'float', 'list', 'dict']", "module": "__init__", "msecs": 114.72392082214355, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 120.6960678100586, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:42,114", "created": 1610581902.1148248, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.pkl)", "module": "__init__", "msecs": 114.82477188110352, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 120.79691886901855, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" } ], "msecs": 114.88747596740723, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 120.85962295532227, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 6.270408630371094e-05 }, { "args": [ "{'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '2': 2, '3': 'three', '4': '4'}}", "" ], "asctime": "2021-01-14 00:51:42,115", "created": 1610581902.115768, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 144, "message": "Instance data after increasing data_version is correct (Content {'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '2': 2, '3': 'three', '4': '4'}} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:42,115", "created": 1610581902.1150105, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 145, "message": "PickCache: Loading properties from cache (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.pkl)", "module": "__init__", "msecs": 115.01049995422363, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 120.98264694213867, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-01-14 00:51:42,115", "created": 1610581902.1150637, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 133, "message": "PickCache: Data version increased, ignoring previous cache data", "module": "__init__", "msecs": 115.06366729736328, "msg": "%s Data version increased, ignoring previous cache data", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 121.03581428527832, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2021-01-14 00:51:42,115", "created": 1610581902.115118, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 162, "message": "PickCache: Loading all data from source - ['str', 'unicode', 'integer', 'float', 'list', 'dict']", "module": "__init__", "msecs": 115.11802673339844, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 121.09017372131348, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:42,115", "created": 1610581902.1152148, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.pkl)", "module": "__init__", "msecs": 115.21482467651367, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 121.18697166442871, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "str", "'__string__'" ], "asctime": "2021-01-14 00:51:42,115", "created": 1610581902.1153042, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "PickCache: Providing property for 'str' from cache ('__string__')", "module": "__init__", "msecs": 115.30423164367676, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 121.2763786315918, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "unicode", "'__unicode__'" ], "asctime": "2021-01-14 00:51:42,115", "created": 1610581902.1153789, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "PickCache: Providing property for 'unicode' from cache ('__unicode__')", "module": "__init__", "msecs": 115.37885665893555, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 121.35100364685059, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "integer", "34" ], "asctime": "2021-01-14 00:51:42,115", "created": 1610581902.1154225, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "PickCache: Providing property for 'integer' from cache (34)", "module": "__init__", "msecs": 115.42248725891113, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 121.39463424682617, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "float", "2.71828" ], "asctime": "2021-01-14 00:51:42,115", "created": 1610581902.1154666, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "PickCache: Providing property for 'float' from cache (2.71828)", "module": "__init__", "msecs": 115.46659469604492, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 121.43874168395996, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "list", "['one', 2, 3, '4']" ], "asctime": "2021-01-14 00:51:42,115", "created": 1610581902.1155107, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "PickCache: Providing property for 'list' from cache (['one', 2, 3, '4'])", "module": "__init__", "msecs": 115.51070213317871, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 121.48284912109375, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "dict", "{'1': '1', '2': 2, '3': 'three', '4': '4'}" ], "asctime": "2021-01-14 00:51:42,115", "created": 1610581902.115561, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "PickCache: Providing property for 'dict' from cache ({'1': '1', '2': 2, '3': 'three', '4': '4'})", "module": "__init__", "msecs": 115.56100845336914, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 121.53315544128418, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "Instance data after increasing data_version", "{ 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } }", "" ], "asctime": "2021-01-14 00:51:42,115", "created": 1610581902.1156235, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Instance data after increasing data_version): { 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } } ()", "module": "test", "msecs": 115.62347412109375, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 121.59562110900879, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "Instance data after increasing data_version", "{ 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } }", "" ], "asctime": "2021-01-14 00:51:42,115", "created": 1610581902.1156807, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Instance data after increasing data_version): result = { 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } } ()", "module": "test", "msecs": 115.68069458007812, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 121.65284156799316, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" } ], "msecs": 115.7679557800293, "msg": "Instance data after increasing data_version is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 121.74010276794434, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 8.726119995117188e-05 } ], "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 0.0013124942779541016, "time_finished": "2021-01-14 00:51:42,115", "time_start": "2021-01-14 00:51:42,114" }, "caching.property_cache_pickle: Test get from source caused by increased data version (partially init)": { "args": null, "asctime": "2021-01-14 00:51:42,115", "created": 1610581902.1158838, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 47, "message": "caching.property_cache_pickle: Test get from source caused by increased data version (partially init)", "module": "__init__", "moduleLogger": [], "msecs": 115.88382720947266, "msg": "caching.property_cache_pickle: Test get from source caused by increased data version (partially init)", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 121.8559741973877, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2021-01-14 00:51:42,116", "created": 1610581902.1162822, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Initialising property_cache_pickle (load_all_on_init=True).", "module": "test_helpers", "moduleLogger": [ { "args": [], "asctime": "2021-01-14 00:51:42,115", "created": 1610581902.1159585, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 17, "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "module": "test_helpers", "msecs": 115.95845222473145, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 121.93059921264648, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:42,116", "created": 1610581902.116026, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl as cache file.", "module": "test_helpers", "msecs": 116.02592468261719, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 121.99807167053223, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-01-14 00:51:42,116", "created": 1610581902.1160834, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 148, "message": "PickCache: Cache file does not exists (yet).", "module": "__init__", "msecs": 116.08338356018066, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 122.0555305480957, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2021-01-14 00:51:42,116", "created": 1610581902.11613, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 162, "message": "PickCache: Loading all data from source - ['str', 'unicode', 'integer', 'float', 'list', 'dict']", "module": "__init__", "msecs": 116.13011360168457, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 122.10226058959961, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:42,116", "created": 1610581902.1162229, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 116.22285842895508, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 122.19500541687012, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" } ], "msecs": 116.28222465515137, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 122.2543716430664, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 5.936622619628906e-05 }, { "args": [ "{'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '2': 2, '3': 'three', '4': '4'}}", "" ], "asctime": "2021-01-14 00:51:42,117", "created": 1610581902.1178346, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 144, "message": "Instance data after increasing data_version is correct (Content {'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '2': 2, '3': 'three', '4': '4'}} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:42,116", "created": 1610581902.1164188, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 145, "message": "PickCache: Loading properties from cache (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 116.41883850097656, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 122.3909854888916, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-01-14 00:51:42,116", "created": 1610581902.116469, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 133, "message": "PickCache: Data version increased, ignoring previous cache data", "module": "__init__", "msecs": 116.46890640258789, "msg": "%s Data version increased, ignoring previous cache data", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 122.44105339050293, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:42,116", "created": 1610581902.1165512, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 116.55116081237793, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 122.52330780029297, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "str", "'__string__'" ], "asctime": "2021-01-14 00:51:42,116", "created": 1610581902.1166282, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 106, "message": "PickCache: Loading property for 'str' from source instance ('__string__')", "module": "__init__", "msecs": 116.62817001342773, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 122.60031700134277, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:42,116", "created": 1610581902.1167245, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 116.72449111938477, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 122.6966381072998, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "unicode", "'__unicode__'" ], "asctime": "2021-01-14 00:51:42,116", "created": 1610581902.11681, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 106, "message": "PickCache: Loading property for 'unicode' from source instance ('__unicode__')", "module": "__init__", "msecs": 116.81008338928223, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 122.78223037719727, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:42,116", "created": 1610581902.1168897, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 116.88971519470215, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 122.86186218261719, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "integer", "34" ], "asctime": "2021-01-14 00:51:42,116", "created": 1610581902.1169748, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 106, "message": "PickCache: Loading property for 'integer' from source instance (34)", "module": "__init__", "msecs": 116.9748306274414, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 122.94697761535645, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:42,117", "created": 1610581902.1170514, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 117.05136299133301, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 123.02350997924805, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "float", "2.71828" ], "asctime": "2021-01-14 00:51:42,117", "created": 1610581902.1171541, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 106, "message": "PickCache: Loading property for 'float' from source instance (2.71828)", "module": "__init__", "msecs": 117.15412139892578, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 123.12626838684082, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:42,117", "created": 1610581902.1172373, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 117.23732948303223, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 123.20947647094727, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "list", "['one', 2, 3, '4']" ], "asctime": "2021-01-14 00:51:42,117", "created": 1610581902.1173224, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 106, "message": "PickCache: Loading property for 'list' from source instance (['one', 2, 3, '4'])", "module": "__init__", "msecs": 117.32244491577148, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 123.29459190368652, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:42,117", "created": 1610581902.1174011, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 117.401123046875, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 123.37327003479004, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "dict", "{'1': '1', '2': 2, '3': 'three', '4': '4'}" ], "asctime": "2021-01-14 00:51:42,117", "created": 1610581902.1174924, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 106, "message": "PickCache: Loading property for 'dict' from source instance ({'1': '1', '2': 2, '3': 'three', '4': '4'})", "module": "__init__", "msecs": 117.4924373626709, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 123.46458435058594, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:42,117", "created": 1610581902.1175723, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 117.57230758666992, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 123.54445457458496, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "Instance data after increasing data_version", "{ 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } }", "" ], "asctime": "2021-01-14 00:51:42,117", "created": 1610581902.11768, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Instance data after increasing data_version): { 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } } ()", "module": "test", "msecs": 117.68007278442383, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 123.65221977233887, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "Instance data after increasing data_version", "{ 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } }", "" ], "asctime": "2021-01-14 00:51:42,117", "created": 1610581902.1177514, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Instance data after increasing data_version): result = { 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } } ()", "module": "test", "msecs": 117.7513599395752, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 123.72350692749023, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" } ], "msecs": 117.83456802368164, "msg": "Instance data after increasing data_version is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 123.80671501159668, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 8.320808410644531e-05 } ], "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 0.0019507408142089844, "time_finished": "2021-01-14 00:51:42,117", "time_start": "2021-01-14 00:51:42,115" }, "caching.property_cache_pickle: Test internal key usage": { "args": null, "asctime": "2021-01-14 00:51:42,121", "created": 1610581902.1218126, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 51, "message": "caching.property_cache_pickle: Test internal key usage", "module": "__init__", "moduleLogger": [], "msecs": 121.81258201599121, "msg": "caching.property_cache_pickle: Test internal key usage", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 127.78472900390625, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2021-01-14 00:51:42,122", "created": 1610581902.1221843, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Initialising property_cache_pickle (load_all_on_init=True).", "module": "test_helpers", "moduleLogger": [ { "args": [], "asctime": "2021-01-14 00:51:42,121", "created": 1610581902.1218863, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 17, "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "module": "test_helpers", "msecs": 121.8862533569336, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 127.85840034484863, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/internal_keys_test.pkl" ], "asctime": "2021-01-14 00:51:42,121", "created": 1610581902.1219413, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/unittest/caching/unittest/output_data/internal_keys_test.pkl as cache file.", "module": "test_helpers", "msecs": 121.94132804870605, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 127.9134750366211, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-01-14 00:51:42,121", "created": 1610581902.1219964, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 148, "message": "PickCache: Cache file does not exists (yet).", "module": "__init__", "msecs": 121.99640274047852, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 127.96854972839355, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "['_property_cache_uid_', '__property_cache_uid_', '_property_cache_data_version_', '__property_cache_data_version_']" ], "asctime": "2021-01-14 00:51:42,122", "created": 1610581902.1220405, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 162, "message": "PickCache: Loading all data from source - ['_property_cache_uid_', '__property_cache_uid_', '_property_cache_data_version_', '__property_cache_data_version_']", "module": "__init__", "msecs": 122.0405101776123, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 128.01265716552734, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/internal_keys_test.pkl" ], "asctime": "2021-01-14 00:51:42,122", "created": 1610581902.122126, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/internal_keys_test.pkl)", "module": "__init__", "msecs": 122.12610244750977, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 128.0982494354248, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" } ], "msecs": 122.18427658081055, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 128.1564235687256, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 5.817413330078125e-05 }, { "args": [ "property_cache_pickle" ], "asctime": "2021-01-14 00:51:42,122", "created": 1610581902.122411, "exc_info": null, "exc_text": null, "filename": "test_internal_keys.py", "funcName": "test_internal_keys", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Extracting storage object from property_cache_pickle for comparison.", "module": "test_internal_keys", "moduleLogger": [ { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/internal_keys_test.pkl" ], "asctime": "2021-01-14 00:51:42,122", "created": 1610581902.122291, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 145, "message": "PickCache: Loading properties from cache (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/internal_keys_test.pkl)", "module": "__init__", "msecs": 122.29108810424805, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 128.2632350921631, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "{'__property_cache_uid_': 'no uid', '___property_cache_uid_': 'no second uid', '__property_cache_data_version_': 'no data version', '___property_cache_data_version_': 'no second data version', '_property_cache_uid_': 'my_unique_id', '_property_cache_data_version_': 1}" ], "asctime": "2021-01-14 00:51:42,122", "created": 1610581902.1223402, "exc_info": null, "exc_text": null, "filename": "test_internal_keys.py", "funcName": "test_internal_keys", "levelname": "INFO", "levelno": 20, "lineno": 20, "message": "Using storage object of cache class for comparison: {'__property_cache_uid_': 'no uid', '___property_cache_uid_': 'no second uid', '__property_cache_data_version_': 'no data version', '___property_cache_data_version_': 'no second data version', '_property_cache_uid_': 'my_unique_id', '_property_cache_data_version_': 1}", "module": "test_internal_keys", "msecs": 122.34020233154297, "msg": "Using storage object of cache class for comparison: %s", "name": "__unittest__", "pathname": "src/tests/test_internal_keys.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 128.312349319458, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "_property_cache_data_version_", "_property_cache_uid_" ], "asctime": "2021-01-14 00:51:42,122", "created": 1610581902.122379, "exc_info": null, "exc_text": null, "filename": "test_internal_keys.py", "funcName": "test_internal_keys", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Deleting overhead keys: _property_cache_data_version_, _property_cache_uid_", "module": "test_internal_keys", "msecs": 122.37906455993652, "msg": "Deleting overhead keys: %s, %s", "name": "__unittest__", "pathname": "src/tests/test_internal_keys.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 128.35121154785156, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" } ], "msecs": 122.41101264953613, "msg": "Extracting storage object from %s for comparison.", "name": "__tLogger__", "pathname": "src/tests/test_internal_keys.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 128.38315963745117, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 3.1948089599609375e-05 }, { "args": [ "{'__property_cache_uid_': 'no uid', '___property_cache_uid_': 'no second uid', '__property_cache_data_version_': 'no data version', '___property_cache_data_version_': 'no second data version'}", "" ], "asctime": "2021-01-14 00:51:42,122", "created": 1610581902.1225748, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 144, "message": "Cache is correct (Content {'__property_cache_uid_': 'no uid', '___property_cache_uid_': 'no second uid', '__property_cache_data_version_': 'no data version', '___property_cache_data_version_': 'no second data version'} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Cache", "{ '__property_cache_uid_': 'no uid', '___property_cache_uid_': 'no second uid', '__property_cache_data_version_': 'no data version', '___property_cache_data_version_': 'no second data version' }", "" ], "asctime": "2021-01-14 00:51:42,122", "created": 1610581902.1224804, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Cache): { '__property_cache_uid_': 'no uid', '___property_cache_uid_': 'no second uid', '__property_cache_data_version_': 'no data version', '___property_cache_data_version_': 'no second data version' } ()", "module": "test", "msecs": 122.48039245605469, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 128.45253944396973, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "Cache", "{ '__property_cache_uid_': 'no uid', '___property_cache_uid_': 'no second uid', '__property_cache_data_version_': 'no data version', '___property_cache_data_version_': 'no second data version' }", "" ], "asctime": "2021-01-14 00:51:42,122", "created": 1610581902.122524, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Cache): result = { '__property_cache_uid_': 'no uid', '___property_cache_uid_': 'no second uid', '__property_cache_data_version_': 'no data version', '___property_cache_data_version_': 'no second data version' } ()", "module": "test", "msecs": 122.52402305603027, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 128.4961700439453, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" } ], "msecs": 122.5748062133789, "msg": "Cache is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 128.54695320129395, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 5.078315734863281e-05 }, { "args": [ "5", "" ], "asctime": "2021-01-14 00:51:42,122", "created": 1610581902.1227071, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 144, "message": "Keyfilter returnvalue for 5 () is correct (Content 5 and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Keyfilter returnvalue for 5 ()", "5", "" ], "asctime": "2021-01-14 00:51:42,122", "created": 1610581902.1226368, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Keyfilter returnvalue for 5 ()): 5 ()", "module": "test", "msecs": 122.63679504394531, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 128.60894203186035, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "Keyfilter returnvalue for 5 ()", "5", "" ], "asctime": "2021-01-14 00:51:42,122", "created": 1610581902.1226726, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Keyfilter returnvalue for 5 ()): result = 5 ()", "module": "test", "msecs": 122.67255783081055, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 128.6447048187256, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" } ], "msecs": 122.70712852478027, "msg": "Keyfilter returnvalue for 5 () is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 128.6792755126953, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 3.457069396972656e-05 } ], "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 0.0008945465087890625, "time_finished": "2021-01-14 00:51:42,122", "time_start": "2021-01-14 00:51:42,121" }, "caching.property_cache_pickle: Test partially initialised PICKLE-Cache-Object": { "args": null, "asctime": "2021-01-14 00:51:42,103", "created": 1610581902.1038768, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 43, "message": "caching.property_cache_pickle: Test partially initialised PICKLE-Cache-Object", "module": "__init__", "moduleLogger": [], "msecs": 103.87682914733887, "msg": "caching.property_cache_pickle: Test partially initialised PICKLE-Cache-Object", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 109.8489761352539, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_pickle", "False" ], "asctime": "2021-01-14 00:51:42,105", "created": 1610581902.1052754, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Initialising property_cache_pickle (load_all_on_init=False).", "module": "test_helpers", "moduleLogger": [ { "args": [], "asctime": "2021-01-14 00:51:42,104", "created": 1610581902.104152, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 17, "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "module": "test_helpers", "msecs": 104.15196418762207, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 110.12411117553711, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:42,104", "created": 1610581902.1044211, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.pkl as cache file.", "module": "test_helpers", "msecs": 104.42113876342773, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 110.39328575134277, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-01-14 00:51:42,104", "created": 1610581902.1046493, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 148, "message": "PickCache: Cache file does not exists (yet).", "module": "__init__", "msecs": 104.64930534362793, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 110.62145233154297, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:42,104", "created": 1610581902.1049805, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.pkl)", "module": "__init__", "msecs": 104.98046875, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 110.95261573791504, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" } ], "msecs": 105.27539253234863, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 111.24753952026367, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 0.0002949237823486328 }, { "args": [], "asctime": "2021-01-14 00:51:42,107", "created": 1610581902.1073852, "exc_info": null, "exc_text": null, "filename": "test_no_load_on_init.py", "funcName": "no_load_on_init", "levelname": "DEBUG", "levelno": 10, "lineno": 18, "message": "Partially initialising cache object by requesting some information.", "module": "test_no_load_on_init", "moduleLogger": [ { "args": [ "PickCache:", "str", "'string'" ], "asctime": "2021-01-14 00:51:42,105", "created": 1610581902.1055546, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 106, "message": "PickCache: Loading property for 'str' from source instance ('string')", "module": "__init__", "msecs": 105.55458068847656, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 111.5267276763916, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:42,105", "created": 1610581902.1058476, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.pkl)", "module": "__init__", "msecs": 105.84759712219238, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 111.81974411010742, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "integer", "17" ], "asctime": "2021-01-14 00:51:42,106", "created": 1610581902.1062553, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 106, "message": "PickCache: Loading property for 'integer' from source instance (17)", "module": "__init__", "msecs": 106.25529289245605, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 112.2274398803711, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:42,106", "created": 1610581902.106544, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.pkl)", "module": "__init__", "msecs": 106.54401779174805, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 112.51616477966309, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "unicode", "'unicode'" ], "asctime": "2021-01-14 00:51:42,106", "created": 1610581902.1068692, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 106, "message": "PickCache: Loading property for 'unicode' from source instance ('unicode')", "module": "__init__", "msecs": 106.86922073364258, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 112.84136772155762, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:42,107", "created": 1610581902.1071723, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.pkl)", "module": "__init__", "msecs": 107.17225074768066, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 113.1443977355957, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" } ], "msecs": 107.38515853881836, "msg": "Partially initialising cache object by requesting some information.", "name": "__tLogger__", "pathname": "src/tests/test_no_load_on_init.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 113.3573055267334, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 0.0002129077911376953 }, { "args": [ "property_cache_pickle" ], "asctime": "2021-01-14 00:51:42,107", "created": 1610581902.107691, "exc_info": null, "exc_text": null, "filename": "test_no_load_on_init.py", "funcName": "no_load_on_init", "levelname": "DEBUG", "levelno": 10, "lineno": 27, "message": "Extracting storage object from property_cache_pickle for comparison.", "module": "test_no_load_on_init", "moduleLogger": [ { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.pkl" ], "asctime": "2021-01-14 00:51:42,107", "created": 1610581902.107544, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 145, "message": "PickCache: Loading properties from cache (/user_data/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.pkl)", "module": "__init__", "msecs": 107.5439453125, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 113.51609230041504, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "{'_property_cache_uid_': 'my_unique_id', '_property_cache_data_version_': 1, 'str': 'string', 'integer': 17, 'unicode': 'unicode'}" ], "asctime": "2021-01-14 00:51:42,107", "created": 1610581902.1076055, "exc_info": null, "exc_text": null, "filename": "test_no_load_on_init.py", "funcName": "no_load_on_init", "levelname": "INFO", "levelno": 20, "lineno": 23, "message": "Using storage object of cache class for comparison: {'_property_cache_uid_': 'my_unique_id', '_property_cache_data_version_': 1, 'str': 'string', 'integer': 17, 'unicode': 'unicode'}", "module": "test_no_load_on_init", "msecs": 107.6054573059082, "msg": "Using storage object of cache class for comparison: %s", "name": "__unittest__", "pathname": "src/tests/test_no_load_on_init.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 113.57760429382324, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "_property_cache_data_version_", "_property_cache_uid_" ], "asctime": "2021-01-14 00:51:42,107", "created": 1610581902.107654, "exc_info": null, "exc_text": null, "filename": "test_no_load_on_init.py", "funcName": "no_load_on_init", "levelname": "INFO", "levelno": 20, "lineno": 24, "message": "Deleting overhead keys: _property_cache_data_version_, _property_cache_uid_", "module": "test_no_load_on_init", "msecs": 107.65409469604492, "msg": "Deleting overhead keys: %s, %s", "name": "__unittest__", "pathname": "src/tests/test_no_load_on_init.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 113.62624168395996, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" } ], "msecs": 107.69104957580566, "msg": "Extracting storage object from %s for comparison.", "name": "__tLogger__", "pathname": "src/tests/test_no_load_on_init.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 113.6631965637207, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 3.695487976074219e-05 }, { "args": [ "{'str': 'string', 'integer': 17, 'unicode': 'unicode'}", "" ], "asctime": "2021-01-14 00:51:42,107", "created": 1610581902.1079264, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 144, "message": "Cache object is correct (Content {'str': 'string', 'integer': 17, 'unicode': 'unicode'} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Cache object", "{ 'str': 'string', 'integer': 17, 'unicode': 'unicode' }", "" ], "asctime": "2021-01-14 00:51:42,107", "created": 1610581902.1078072, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Cache object): { 'str': 'string', 'integer': 17, 'unicode': 'unicode' } ()", "module": "test", "msecs": 107.80715942382812, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 113.77930641174316, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" }, { "args": [ "Cache object", "{ 'str': 'string', 'unicode': 'unicode', 'integer': 17 }", "" ], "asctime": "2021-01-14 00:51:42,107", "created": 1610581902.1078627, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Cache object): result = { 'str': 'string', 'unicode': 'unicode', 'integer': 17 } ()", "module": "test", "msecs": 107.86271095275879, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 113.83485794067383, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread" } ], "msecs": 107.9263687133789, "msg": "Cache object is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 18674, "processName": "MainProcess", "relativeCreated": 113.89851570129395, "stack_info": null, "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 6.365776062011719e-05 } ], "thread": 140347413657408, "threadName": "MainThread", "time_consumption": 0.004049539566040039, "time_finished": "2021-01-14 00:51:42,107", "time_start": "2021-01-14 00:51:42,103" } }, "testrun_id": "p3", "time_consumption": 0.057662248611450195, "uid_list_sorted": [ "caching.property_cache_json: Test full initialised JSON-Cache-Object", "caching.property_cache_json: Test partially initialisation of JSON-Cache-Object", "caching.property_cache_json: Test cached data (full init)", "caching.property_cache_json: Test cached data (partially init)", "caching.property_cache_json: Test get from source caused by increased data version (full init)", "caching.property_cache_json: Test get from source caused by increased data version (partially init)", "caching.property_cache_json: Test get from source caused by changed uid (full init)", "caching.property_cache_json: Test get from source caused by changed uid (partially init)", "caching.property_cache_json: Test execution of save callback (full init)", "caching.property_cache_json: Test internal key usage", "caching.property_cache_pickle: Test full initialised PICKLE-Cache-Object", "caching.property_cache_pickle: Test partially initialised PICKLE-Cache-Object", "caching.property_cache_pickle: Test cached data (full init)", "caching.property_cache_pickle: Test cached data (partially init)", "caching.property_cache_pickle: Test get from source caused by increased data version (full init)", "caching.property_cache_pickle: Test get from source caused by increased data version (partially init)", "caching.property_cache_pickle: Test get from source caused by changed uid (full init)", "caching.property_cache_pickle: Test get from source caused by changed uid (partially init)", "caching.property_cache_pickle: Test execution of save callback (full init)", "caching.property_cache_pickle: Test internal key usage" ] } ], "unittest_information": { "Version": "e113c3759194c81e7df9e29b1debe00d" } }