{ "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 ulyana", "Hostname": "ahorn", "Kernel": "5.4.0-59-generic (#65-Ubuntu SMP Thu Dec 10 12:01:51 UTC 2020)", "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-07 21:59:04,735", "created": 1610053144.735529, "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": 735.5289459228516, "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": 68455, "processName": "MainProcess", "relativeCreated": 38.754940032958984, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2021-01-07 21:59:04,736", "created": 1610053144.736032, "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-07 21:59:04,735", "created": 1610053144.735606, "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": 735.6059551239014, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 38.83194923400879, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_load_on_init.json" ], "asctime": "2021-01-07 21:59:04,735", "created": 1610053144.735664, "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": 735.663890838623, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 38.88988494873047, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-01-07 21:59:04,735", "created": 1610053144.735725, "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": 735.724925994873, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 38.95092010498047, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2021-01-07 21:59:04,735", "created": 1610053144.735775, "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": 735.7749938964844, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 39.0009880065918, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_load_on_init.json" ], "asctime": "2021-01-07 21:59:04,735", "created": 1610053144.735969, "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": 735.969066619873, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 39.19506072998047, "thread": 140440784332608, "threadName": "MainThread" } ], "msecs": 736.0320091247559, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 39.25800323486328, "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 6.29425048828125e-05 }, { "args": [], "asctime": "2021-01-07 21:59:04,736", "created": 1610053144.736547, "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-07 21:59:04,736", "created": 1610053144.736113, "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": 736.1130714416504, "msg": "%s Key '%s' is not in cached_keys. Uncached data will be returned.", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 39.33906555175781, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_load_on_init.json" ], "asctime": "2021-01-07 21:59:04,736", "created": 1610053144.736211, "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": 736.2110614776611, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 39.437055587768555, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:", "dict", "{u'1': 1, u'3': u'3', u'2': u'two', u'4': 4}" ], "asctime": "2021-01-07 21:59:04,736", "created": 1610053144.736271, "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": 736.2709045410156, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 39.49689865112305, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:", "unicode", "u'unicode'" ], "asctime": "2021-01-07 21:59:04,736", "created": 1610053144.73632, "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": 736.3200187683105, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 39.54601287841797, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:", "str", "u'string'" ], "asctime": "2021-01-07 21:59:04,736", "created": 1610053144.736367, "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": 736.3669872283936, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 39.59298133850098, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:", "integer", "17" ], "asctime": "2021-01-07 21:59:04,736", "created": 1610053144.736414, "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": 736.4139556884766, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 39.639949798583984, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:", "float", "3.14159" ], "asctime": "2021-01-07 21:59:04,736", "created": 1610053144.73646, "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": 736.4599704742432, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 39.685964584350586, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:", "list", "[1, u'two', u'3', 4]" ], "asctime": "2021-01-07 21:59:04,736", "created": 1610053144.736507, "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": 736.5069389343262, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 39.732933044433594, "thread": 140440784332608, "threadName": "MainThread" } ], "msecs": 736.5469932556152, "msg": "Collecting data from cache instance.", "name": "__tLogger__", "pathname": "src/tests/test_cached_data.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 39.772987365722656, "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 4.00543212890625e-05 }, { "args": [], "asctime": "2021-01-07 21:59:04,737", "created": 1610053144.737608, "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-07 21:59:04,736", "created": 1610053144.736636, "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": 736.6359233856201, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 39.86191749572754, "thread": 140440784332608, "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-07 21:59:04,736", "created": 1610053144.736695, "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": 736.6950511932373, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 39.92104530334473, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'two'" ], "asctime": "2021-01-07 21:59:04,736", "created": 1610053144.736895, "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": 736.8950843811035, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 40.12107849121094, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "u'two'" ], "asctime": "2021-01-07 21:59:04,736", "created": 1610053144.736939, "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": 736.9389533996582, "msg": "Content %s is incorrect for test_variable.", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 40.164947509765625, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'two'" ], "asctime": "2021-01-07 21:59:04,736", "created": 1610053144.736992, "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": 736.9918823242188, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 40.21787643432617, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "u'two'" ], "asctime": "2021-01-07 21:59:04,737", "created": 1610053144.737033, "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": 737.0328903198242, "msg": "Content %s is incorrect for test_variable.", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 40.25888442993164, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'two'" ], "asctime": "2021-01-07 21:59:04,737", "created": 1610053144.737077, "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": 737.076997756958, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 40.30299186706543, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "", "", " for result.list[1]", "u'two'" ], "asctime": "2021-01-07 21:59:04,737", "created": 1610053144.737118, "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": 737.1180057525635, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 40.3439998626709, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'3'" ], "asctime": "2021-01-07 21:59:04,737", "created": 1610053144.737287, "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": 737.2870445251465, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 40.513038635253906, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "u'3'" ], "asctime": "2021-01-07 21:59:04,737", "created": 1610053144.737331, "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": 737.3309135437012, "msg": "Content %s is incorrect for test_variable.", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 40.556907653808594, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'3'" ], "asctime": "2021-01-07 21:59:04,737", "created": 1610053144.737377, "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": 737.3769283294678, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 40.602922439575195, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "", "", " for result.list[2]", "u'3'" ], "asctime": "2021-01-07 21:59:04,737", "created": 1610053144.73742, "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": 737.4200820922852, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 40.64607620239258, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "", "", " for result.dict.3", "u'3'" ], "asctime": "2021-01-07 21:59:04,737", "created": 1610053144.737476, "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": 737.476110458374, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 40.702104568481445, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "", "", " for result.dict.2", "u'two'" ], "asctime": "2021-01-07 21:59:04,737", "created": 1610053144.737519, "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": 737.5190258026123, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 40.74501991271973, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "", "", " for result.str", "u'string'" ], "asctime": "2021-01-07 21:59:04,737", "created": 1610053144.737564, "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": 737.5640869140625, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 40.79008102416992, "thread": 140440784332608, "threadName": "MainThread" } ], "msecs": 737.6079559326172, "msg": "Cached data is NOT correct. See detailed log for more information.", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 40.83395004272461, "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 4.38690185546875e-05 } ], "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 0.002079010009765625, "time_finished": "2021-01-07 21:59:04,737", "time_start": "2021-01-07 21:59:04,735" }, "caching.property_cache_json: Test cached data (partially init)": { "args": null, "asctime": "2021-01-07 21:59:04,737", "created": 1610053144.737735, "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": 737.7350330352783, "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": 68455, "processName": "MainProcess", "relativeCreated": 40.96102714538574, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2021-01-07 21:59:04,738", "created": 1610053144.738251, "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-07 21:59:04,737", "created": 1610053144.737811, "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": 737.8110885620117, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 41.03708267211914, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_no_load_on_init.json" ], "asctime": "2021-01-07 21:59:04,737", "created": 1610053144.737871, "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": 737.8709316253662, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 41.09692573547363, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-01-07 21:59:04,737", "created": 1610053144.737939, "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": 737.9388809204102, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 41.16487503051758, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2021-01-07 21:59:04,737", "created": 1610053144.73799, "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": 737.9899024963379, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 41.21589660644531, "thread": 140440784332608, "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-07 21:59:04,738", "created": 1610053144.738183, "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": 738.1830215454102, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 41.40901565551758, "thread": 140440784332608, "threadName": "MainThread" } ], "msecs": 738.2509708404541, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 41.47696495056152, "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 6.794929504394531e-05 }, { "args": [], "asctime": "2021-01-07 21:59:04,738", "created": 1610053144.738761, "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-07 21:59:04,738", "created": 1610053144.738333, "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": 738.332986831665, "msg": "%s Key '%s' is not in cached_keys. Uncached data will be returned.", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 41.55898094177246, "thread": 140440784332608, "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-07 21:59:04,738", "created": 1610053144.738425, "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": 738.4250164031982, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 41.651010513305664, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:", "dict", "{u'1': 1, u'3': u'3', u'2': u'two', u'4': 4}" ], "asctime": "2021-01-07 21:59:04,738", "created": 1610053144.738484, "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": 738.4839057922363, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 41.70989990234375, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:", "unicode", "u'unicode'" ], "asctime": "2021-01-07 21:59:04,738", "created": 1610053144.738534, "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": 738.5339736938477, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 41.75996780395508, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:", "str", "u'string'" ], "asctime": "2021-01-07 21:59:04,738", "created": 1610053144.73858, "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": 738.5799884796143, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 41.80598258972168, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:", "integer", "17" ], "asctime": "2021-01-07 21:59:04,738", "created": 1610053144.738627, "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": 738.6269569396973, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 41.85295104980469, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:", "float", "3.14159" ], "asctime": "2021-01-07 21:59:04,738", "created": 1610053144.738674, "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": 738.6739253997803, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 41.899919509887695, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:", "list", "[1, u'two', u'3', 4]" ], "asctime": "2021-01-07 21:59:04,738", "created": 1610053144.738722, "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": 738.7220859527588, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 41.94808006286621, "thread": 140440784332608, "threadName": "MainThread" } ], "msecs": 738.7609481811523, "msg": "Collecting data from cache instance.", "name": "__tLogger__", "pathname": "src/tests/test_cached_data.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 41.986942291259766, "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 3.886222839355469e-05 }, { "args": [], "asctime": "2021-01-07 21:59:04,739", "created": 1610053144.739543, "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-07 21:59:04,738", "created": 1610053144.738849, "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": 738.8489246368408, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 42.07491874694824, "thread": 140440784332608, "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-07 21:59:04,738", "created": 1610053144.738906, "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": 738.9059066772461, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 42.131900787353516, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'two'" ], "asctime": "2021-01-07 21:59:04,738", "created": 1610053144.738972, "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": 738.9719486236572, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 42.19794273376465, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "u'two'" ], "asctime": "2021-01-07 21:59:04,739", "created": 1610053144.739014, "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": 739.0139102935791, "msg": "Content %s is incorrect for test_variable.", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 42.23990440368652, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'two'" ], "asctime": "2021-01-07 21:59:04,739", "created": 1610053144.739059, "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": 739.0589714050293, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 42.28496551513672, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "u'two'" ], "asctime": "2021-01-07 21:59:04,739", "created": 1610053144.739099, "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": 739.0990257263184, "msg": "Content %s is incorrect for test_variable.", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 42.32501983642578, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'two'" ], "asctime": "2021-01-07 21:59:04,739", "created": 1610053144.739147, "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": 739.1469478607178, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 42.372941970825195, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "", "", " for result.list[1]", "u'two'" ], "asctime": "2021-01-07 21:59:04,739", "created": 1610053144.739189, "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": 739.1889095306396, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 42.41490364074707, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'3'" ], "asctime": "2021-01-07 21:59:04,739", "created": 1610053144.739232, "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": 739.232063293457, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 42.45805740356445, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "u'3'" ], "asctime": "2021-01-07 21:59:04,739", "created": 1610053144.739271, "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": 739.2709255218506, "msg": "Content %s is incorrect for test_variable.", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 42.49691963195801, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'3'" ], "asctime": "2021-01-07 21:59:04,739", "created": 1610053144.739314, "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": 739.314079284668, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 42.54007339477539, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "", "", " for result.list[2]", "u'3'" ], "asctime": "2021-01-07 21:59:04,739", "created": 1610053144.739359, "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": 739.3589019775391, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 42.584896087646484, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "", "", " for result.dict.3", "u'3'" ], "asctime": "2021-01-07 21:59:04,739", "created": 1610053144.739414, "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": 739.4139766693115, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 42.639970779418945, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "", "", " for result.dict.2", "u'two'" ], "asctime": "2021-01-07 21:59:04,739", "created": 1610053144.739456, "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": 739.4559383392334, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 42.68193244934082, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "", "", " for result.str", "u'string'" ], "asctime": "2021-01-07 21:59:04,739", "created": 1610053144.7395, "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": 739.5000457763672, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 42.72603988647461, "thread": 140440784332608, "threadName": "MainThread" } ], "msecs": 739.5429611206055, "msg": "Cached data is NOT correct. See detailed log for more information.", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 42.76895523071289, "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 4.291534423828125e-05 } ], "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 0.0018079280853271484, "time_finished": "2021-01-07 21:59:04,739", "time_start": "2021-01-07 21:59:04,737" }, "caching.property_cache_json: Test execution of save callback (full init)": { "args": null, "asctime": "2021-01-07 21:59:04,751", "created": 1610053144.75193, "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": 751.9299983978271, "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": 68455, "processName": "MainProcess", "relativeCreated": 55.15599250793457, "testcaseLogger": [ { "args": [], "asctime": "2021-01-07 21:59:04,752", "created": 1610053144.752014, "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": 752.0139217376709, "msg": "Installing save_callback, which sets a variable to True on execution.", "name": "__tLogger__", "pathname": "src/tests/test_save_callback.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 55.23991584777832, "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 0.0 }, { "args": [ "True", "" ], "asctime": "2021-01-07 21:59:04,752", "created": 1610053144.752322, "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-07 21:59:04,752", "created": 1610053144.752127, "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": 752.126932144165, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 55.35292625427246, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "Save callback execution variable", "True", "" ], "asctime": "2021-01-07 21:59:04,752", "created": 1610053144.752207, "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": 752.2070407867432, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 55.433034896850586, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "Save callback execution variable", "True", "" ], "asctime": "2021-01-07 21:59:04,752", "created": 1610053144.75228, "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": 752.2799968719482, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 55.505990982055664, "thread": 140440784332608, "threadName": "MainThread" } ], "msecs": 752.3219585418701, "msg": "Save callback execution variable is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 55.54795265197754, "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 4.1961669921875e-05 } ], "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 0.00039196014404296875, "time_finished": "2021-01-07 21:59:04,752", "time_start": "2021-01-07 21:59:04,751" }, "caching.property_cache_json: Test full initialised JSON-Cache-Object": { "args": null, "asctime": "2021-01-07 21:59:04,731", "created": 1610053144.731258, "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": 731.2579154968262, "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": 68455, "processName": "MainProcess", "relativeCreated": 34.483909606933594, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2021-01-07 21:59:04,732", "created": 1610053144.732049, "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-07 21:59:04,731", "created": 1610053144.731456, "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": 731.4560413360596, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 34.68203544616699, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/load_on_init.json" ], "asctime": "2021-01-07 21:59:04,731", "created": 1610053144.731543, "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": 731.5430641174316, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 34.76905822753906, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-01-07 21:59:04,731", "created": 1610053144.731689, "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": 731.6889762878418, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 34.91497039794922, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2021-01-07 21:59:04,731", "created": 1610053144.731753, "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": 731.7531108856201, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 34.97910499572754, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/load_on_init.json" ], "asctime": "2021-01-07 21:59:04,731", "created": 1610053144.731975, "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": 731.9750785827637, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 35.201072692871094, "thread": 140440784332608, "threadName": "MainThread" } ], "msecs": 732.0489883422852, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 35.27498245239258, "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 7.390975952148438e-05 }, { "args": [ "property_cache_json" ], "asctime": "2021-01-07 21:59:04,732", "created": 1610053144.732336, "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-07 21:59:04,732", "created": 1610053144.732184, "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": 732.1839332580566, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 35.40992736816406, "thread": 140440784332608, "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-07 21:59:04,732", "created": 1610053144.732248, "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": 732.248067855835, "msg": "Using storage object of cache class for comparison: %s", "name": "__unittest__", "pathname": "src/tests/test_load_on_init.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 35.47406196594238, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "_property_cache_data_version_", "_property_cache_uid_" ], "asctime": "2021-01-07 21:59:04,732", "created": 1610053144.732297, "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": 732.2969436645508, "msg": "Deleting overhead keys: %s, %s", "name": "__unittest__", "pathname": "src/tests/test_load_on_init.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 35.5229377746582, "thread": 140440784332608, "threadName": "MainThread" } ], "msecs": 732.3360443115234, "msg": "Extracting storage object from %s for comparison.", "name": "__tLogger__", "pathname": "src/tests/test_load_on_init.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 35.56203842163086, "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 3.910064697265625e-05 }, { "args": [], "asctime": "2021-01-07 21:59:04,733", "created": 1610053144.733165, "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-07 21:59:04,732", "created": 1610053144.732431, "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": 732.4309349060059, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 35.65692901611328, "thread": 140440784332608, "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-07 21:59:04,732", "created": 1610053144.73249, "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": 732.490062713623, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 35.71605682373047, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "", "", " for result.str", "u'string'" ], "asctime": "2021-01-07 21:59:04,732", "created": 1610053144.732548, "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": 732.5479984283447, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 35.77399253845215, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'two'" ], "asctime": "2021-01-07 21:59:04,732", "created": 1610053144.732607, "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": 732.6068878173828, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 35.832881927490234, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "u'two'" ], "asctime": "2021-01-07 21:59:04,732", "created": 1610053144.73265, "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": 732.6500415802002, "msg": "Content %s is incorrect for test_variable.", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 35.87603569030762, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'two'" ], "asctime": "2021-01-07 21:59:04,732", "created": 1610053144.73271, "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": 732.7098846435547, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 35.93587875366211, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "u'two'" ], "asctime": "2021-01-07 21:59:04,732", "created": 1610053144.732756, "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": 732.7558994293213, "msg": "Content %s is incorrect for test_variable.", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 35.98189353942871, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'two'" ], "asctime": "2021-01-07 21:59:04,732", "created": 1610053144.732801, "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": 732.8009605407715, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 36.026954650878906, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "", "", " for result.list[1]", "u'two'" ], "asctime": "2021-01-07 21:59:04,732", "created": 1610053144.732844, "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": 732.8441143035889, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 36.07010841369629, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'3'" ], "asctime": "2021-01-07 21:59:04,732", "created": 1610053144.732889, "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": 732.88893699646, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 36.11493110656738, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "u'3'" ], "asctime": "2021-01-07 21:59:04,732", "created": 1610053144.732929, "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": 732.928991317749, "msg": "Content %s is incorrect for test_variable.", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 36.154985427856445, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'3'" ], "asctime": "2021-01-07 21:59:04,732", "created": 1610053144.732974, "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": 732.9740524291992, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 36.20004653930664, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "", "", " for result.list[2]", "u'3'" ], "asctime": "2021-01-07 21:59:04,733", "created": 1610053144.733016, "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": 733.0160140991211, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 36.242008209228516, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "", "", " for result.dict.3", "u'3'" ], "asctime": "2021-01-07 21:59:04,733", "created": 1610053144.733074, "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": 733.0739498138428, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 36.299943923950195, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "", "", " for result.dict.2", "u'two'" ], "asctime": "2021-01-07 21:59:04,733", "created": 1610053144.733118, "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": 733.1180572509766, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 36.344051361083984, "thread": 140440784332608, "threadName": "MainThread" } ], "msecs": 733.1650257110596, "msg": "Cache object is NOT correct. See detailed log for more information.", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 36.39101982116699, "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 4.696846008300781e-05 } ], "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 0.0019071102142333984, "time_finished": "2021-01-07 21:59:04,733", "time_start": "2021-01-07 21:59:04,731" }, "caching.property_cache_json: Test get from source caused by changed uid (full init)": { "args": null, "asctime": "2021-01-07 21:59:04,746", "created": 1610053144.746397, "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": 746.3970184326172, "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": 68455, "processName": "MainProcess", "relativeCreated": 49.62301254272461, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2021-01-07 21:59:04,747", "created": 1610053144.747311, "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-07 21:59:04,746", "created": 1610053144.746515, "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": 746.5150356292725, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 49.74102973937988, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.json" ], "asctime": "2021-01-07 21:59:04,746", "created": 1610053144.746701, "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": 746.7010021209717, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 49.9269962310791, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-01-07 21:59:04,746", "created": 1610053144.746823, "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": 746.8230724334717, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 50.0490665435791, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2021-01-07 21:59:04,746", "created": 1610053144.746908, "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": 746.9079494476318, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 50.13394355773926, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.json" ], "asctime": "2021-01-07 21:59:04,747", "created": 1610053144.747206, "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": 747.2059726715088, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 50.43196678161621, "thread": 140440784332608, "threadName": "MainThread" } ], "msecs": 747.3111152648926, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 50.537109375, "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 0.00010514259338378906 }, { "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-07 21:59:04,748", "created": 1610053144.748771, "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-07 21:59:04,747", "created": 1610053144.747516, "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": 747.5159168243408, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 50.74191093444824, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-01-07 21:59:04,747", "created": 1610053144.74759, "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": 747.5900650024414, "msg": "%s Source uid changed, ignoring previous cache data", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 50.81605911254883, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2021-01-07 21:59:04,747", "created": 1610053144.747674, "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": 747.6739883422852, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 50.89998245239258, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.json" ], "asctime": "2021-01-07 21:59:04,747", "created": 1610053144.747946, "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": 747.94602394104, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 51.17201805114746, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:", "dict", "{'1': '1', '3': 'three', '2': 2, '4': '4'}" ], "asctime": "2021-01-07 21:59:04,748", "created": 1610053144.74811, "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": 748.1100559234619, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 51.336050033569336, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:", "unicode", "u'__unicode__'" ], "asctime": "2021-01-07 21:59:04,748", "created": 1610053144.748204, "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": 748.2039928436279, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 51.42998695373535, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:", "str", "'__string__'" ], "asctime": "2021-01-07 21:59:04,748", "created": 1610053144.748296, "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": 748.2960224151611, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 51.522016525268555, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:", "integer", "34" ], "asctime": "2021-01-07 21:59:04,748", "created": 1610053144.748371, "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": 748.370885848999, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 51.596879959106445, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:", "float", "2.71828" ], "asctime": "2021-01-07 21:59:04,748", "created": 1610053144.748456, "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": 748.4560012817383, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 51.6819953918457, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:", "list", "['one', 2, 3, '4']" ], "asctime": "2021-01-07 21:59:04,748", "created": 1610053144.748505, "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": 748.5051155090332, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 51.731109619140625, "thread": 140440784332608, "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-07 21:59:04,748", "created": 1610053144.74858, "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": 748.5799789428711, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 51.805973052978516, "thread": 140440784332608, "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-07 21:59:04,748", "created": 1610053144.748639, "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": 748.6391067504883, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 51.8651008605957, "thread": 140440784332608, "threadName": "MainThread" } ], "msecs": 748.7709522247314, "msg": "Instance data after changing uid is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 51.99694633483887, "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 0.00013184547424316406 } ], "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 0.002373933792114258, "time_finished": "2021-01-07 21:59:04,748", "time_start": "2021-01-07 21:59:04,746" }, "caching.property_cache_json: Test get from source caused by changed uid (partially init)": { "args": null, "asctime": "2021-01-07 21:59:04,748", "created": 1610053144.748913, "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": 748.913049697876, "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": 68455, "processName": "MainProcess", "relativeCreated": 52.1390438079834, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2021-01-07 21:59:04,749", "created": 1610053144.749476, "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-07 21:59:04,749", "created": 1610053144.749002, "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": 749.0019798278809, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 52.22797393798828, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2021-01-07 21:59:04,749", "created": 1610053144.749074, "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": 749.0739822387695, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 52.29997634887695, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-01-07 21:59:04,749", "created": 1610053144.749146, "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": 749.1459846496582, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 52.371978759765625, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2021-01-07 21:59:04,749", "created": 1610053144.749199, "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": 749.1989135742188, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 52.42490768432617, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2021-01-07 21:59:04,749", "created": 1610053144.749409, "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": 749.4089603424072, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 52.63495445251465, "thread": 140440784332608, "threadName": "MainThread" } ], "msecs": 749.4759559631348, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 52.70195007324219, "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 6.699562072753906e-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-07 21:59:04,751", "created": 1610053144.751793, "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-07 21:59:04,749", "created": 1610053144.749615, "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": 749.614953994751, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 52.8409481048584, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-01-07 21:59:04,749", "created": 1610053144.749668, "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": 749.6678829193115, "msg": "%s Source uid changed, ignoring previous cache data", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 52.893877029418945, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2021-01-07 21:59:04,749", "created": 1610053144.749902, "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": 749.9020099639893, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 53.12800407409668, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:", "dict", "{'1': '1', '3': 'three', '2': 2, '4': '4'}" ], "asctime": "2021-01-07 21:59:04,750", "created": 1610053144.750011, "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": 750.0109672546387, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 53.236961364746094, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2021-01-07 21:59:04,750", "created": 1610053144.750169, "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": 750.169038772583, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 53.39503288269043, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:", "unicode", "u'__unicode__'" ], "asctime": "2021-01-07 21:59:04,750", "created": 1610053144.750269, "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": 750.2689361572266, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 53.494930267333984, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2021-01-07 21:59:04,750", "created": 1610053144.750428, "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": 750.4279613494873, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 53.65395545959473, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:", "str", "'__string__'" ], "asctime": "2021-01-07 21:59:04,750", "created": 1610053144.750526, "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": 750.525951385498, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 53.75194549560547, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2021-01-07 21:59:04,750", "created": 1610053144.750685, "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": 750.6849765777588, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 53.91097068786621, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:", "integer", "34" ], "asctime": "2021-01-07 21:59:04,750", "created": 1610053144.750782, "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": 750.7820129394531, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 54.00800704956055, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2021-01-07 21:59:04,750", "created": 1610053144.750944, "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": 750.9438991546631, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 54.16989326477051, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:", "float", "2.71828" ], "asctime": "2021-01-07 21:59:04,751", "created": 1610053144.751042, "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": 751.0418891906738, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 54.26788330078125, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2021-01-07 21:59:04,751", "created": 1610053144.751212, "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": 751.2118816375732, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 54.437875747680664, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:", "list", "['one', 2, 3, '4']" ], "asctime": "2021-01-07 21:59:04,751", "created": 1610053144.751312, "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": 751.3120174407959, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 54.53801155090332, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2021-01-07 21:59:04,751", "created": 1610053144.751504, "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": 751.5039443969727, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 54.72993850708008, "thread": 140440784332608, "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-07 21:59:04,751", "created": 1610053144.751621, "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": 751.6210079193115, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 54.847002029418945, "thread": 140440784332608, "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-07 21:59:04,751", "created": 1610053144.751702, "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": 751.702070236206, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 54.92806434631348, "thread": 140440784332608, "threadName": "MainThread" } ], "msecs": 751.7929077148438, "msg": "Instance data after changing uid is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 55.01890182495117, "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 9.083747863769531e-05 } ], "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 0.0028798580169677734, "time_finished": "2021-01-07 21:59:04,751", "time_start": "2021-01-07 21:59:04,748" }, "caching.property_cache_json: Test get from source caused by increased data version (full init)": { "args": null, "asctime": "2021-01-07 21:59:04,739", "created": 1610053144.739667, "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": 739.6669387817383, "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": 68455, "processName": "MainProcess", "relativeCreated": 42.8929328918457, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2021-01-07 21:59:04,740", "created": 1610053144.740173, "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-07 21:59:04,739", "created": 1610053144.739744, "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": 739.7439479827881, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 42.96994209289551, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.json" ], "asctime": "2021-01-07 21:59:04,739", "created": 1610053144.739805, "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": 739.8049831390381, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 43.03097724914551, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-01-07 21:59:04,739", "created": 1610053144.739866, "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": 739.8660182952881, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 43.09201240539551, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2021-01-07 21:59:04,739", "created": 1610053144.739917, "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": 739.9170398712158, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 43.14303398132324, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.json" ], "asctime": "2021-01-07 21:59:04,740", "created": 1610053144.740112, "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": 740.1120662689209, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 43.33806037902832, "thread": 140440784332608, "threadName": "MainThread" } ], "msecs": 740.1731014251709, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 43.39909553527832, "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 6.103515625e-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-07 21:59:04,741", "created": 1610053144.741198, "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-07 21:59:04,740", "created": 1610053144.740301, "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": 740.3008937835693, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 43.52688789367676, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-01-07 21:59:04,740", "created": 1610053144.740357, "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": 740.3569221496582, "msg": "%s Data version increased, ignoring previous cache data", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 43.582916259765625, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2021-01-07 21:59:04,740", "created": 1610053144.740407, "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": 740.4069900512695, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 43.63298416137695, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.json" ], "asctime": "2021-01-07 21:59:04,740", "created": 1610053144.740599, "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": 740.5989170074463, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 43.82491111755371, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:", "dict", "{'1': '1', '3': 'three', '2': 2, '4': '4'}" ], "asctime": "2021-01-07 21:59:04,740", "created": 1610053144.740709, "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": 740.7090663909912, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 43.93506050109863, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:", "unicode", "u'__unicode__'" ], "asctime": "2021-01-07 21:59:04,740", "created": 1610053144.740774, "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": 740.7739162445068, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 43.99991035461426, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:", "str", "'__string__'" ], "asctime": "2021-01-07 21:59:04,740", "created": 1610053144.740824, "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": 740.8239841461182, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 44.049978256225586, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:", "integer", "34" ], "asctime": "2021-01-07 21:59:04,740", "created": 1610053144.740875, "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": 740.8750057220459, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 44.10099983215332, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:", "float", "2.71828" ], "asctime": "2021-01-07 21:59:04,740", "created": 1610053144.740923, "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": 740.9229278564453, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 44.148921966552734, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:", "list", "['one', 2, 3, '4']" ], "asctime": "2021-01-07 21:59:04,740", "created": 1610053144.740974, "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": 740.973949432373, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 44.19994354248047, "thread": 140440784332608, "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-07 21:59:04,741", "created": 1610053144.741043, "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": 741.0430908203125, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 44.26908493041992, "thread": 140440784332608, "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-07 21:59:04,741", "created": 1610053144.741102, "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": 741.1019802093506, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 44.32797431945801, "thread": 140440784332608, "threadName": "MainThread" } ], "msecs": 741.1980628967285, "msg": "Instance data after increasing data_version is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 44.42405700683594, "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 9.608268737792969e-05 } ], "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 0.0015311241149902344, "time_finished": "2021-01-07 21:59:04,741", "time_start": "2021-01-07 21:59:04,739" }, "caching.property_cache_json: Test get from source caused by increased data version (partially init)": { "args": null, "asctime": "2021-01-07 21:59:04,741", "created": 1610053144.741337, "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": 741.3370609283447, "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": 68455, "processName": "MainProcess", "relativeCreated": 44.56305503845215, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2021-01-07 21:59:04,742", "created": 1610053144.742016, "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-07 21:59:04,741", "created": 1610053144.741436, "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": 741.4360046386719, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 44.6619987487793, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json" ], "asctime": "2021-01-07 21:59:04,741", "created": 1610053144.741508, "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": 741.5080070495605, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 44.73400115966797, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-01-07 21:59:04,741", "created": 1610053144.741583, "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": 741.5831089019775, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 44.80910301208496, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2021-01-07 21:59:04,741", "created": 1610053144.74164, "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": 741.6400909423828, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 44.866085052490234, "thread": 140440784332608, "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-07 21:59:04,741", "created": 1610053144.741894, "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": 741.894006729126, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 45.1200008392334, "thread": 140440784332608, "threadName": "MainThread" } ], "msecs": 742.016077041626, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 45.2420711517334, "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 0.0001220703125 }, { "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-07 21:59:04,746", "created": 1610053144.746215, "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-07 21:59:04,742", "created": 1610053144.742296, "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": 742.2959804534912, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 45.52197456359863, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-01-07 21:59:04,742", "created": 1610053144.742433, "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": 742.4330711364746, "msg": "%s Data version increased, ignoring previous cache data", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 45.65906524658203, "thread": 140440784332608, "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-07 21:59:04,742", "created": 1610053144.742642, "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": 742.6419258117676, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 45.867919921875, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:", "dict", "{'1': '1', '3': 'three', '2': 2, '4': '4'}" ], "asctime": "2021-01-07 21:59:04,742", "created": 1610053144.742829, "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": 742.8290843963623, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 46.05507850646973, "thread": 140440784332608, "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-07 21:59:04,743", "created": 1610053144.74301, "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": 743.0100440979004, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 46.23603820800781, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:", "unicode", "u'__unicode__'" ], "asctime": "2021-01-07 21:59:04,743", "created": 1610053144.743334, "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": 743.3340549468994, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 46.560049057006836, "thread": 140440784332608, "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-07 21:59:04,743", "created": 1610053144.743646, "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": 743.6459064483643, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 46.87190055847168, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:", "str", "'__string__'" ], "asctime": "2021-01-07 21:59:04,743", "created": 1610053144.743873, "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": 743.872880935669, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 47.09887504577637, "thread": 140440784332608, "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-07 21:59:04,744", "created": 1610053144.744183, "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": 744.1830635070801, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 47.4090576171875, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:", "integer", "34" ], "asctime": "2021-01-07 21:59:04,744", "created": 1610053144.744412, "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": 744.4119453430176, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 47.637939453125, "thread": 140440784332608, "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-07 21:59:04,744", "created": 1610053144.744813, "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": 744.8129653930664, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 48.03895950317383, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:", "float", "2.71828" ], "asctime": "2021-01-07 21:59:04,745", "created": 1610053144.745037, "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": 745.0370788574219, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 48.2630729675293, "thread": 140440784332608, "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-07 21:59:04,745", "created": 1610053144.745364, "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": 745.3639507293701, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 48.58994483947754, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:", "list", "['one', 2, 3, '4']" ], "asctime": "2021-01-07 21:59:04,745", "created": 1610053144.74558, "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": 745.5799579620361, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 48.805952072143555, "thread": 140440784332608, "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-07 21:59:04,745", "created": 1610053144.74586, "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": 745.8600997924805, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 49.08609390258789, "thread": 140440784332608, "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-07 21:59:04,746", "created": 1610053144.74601, "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": 746.0100650787354, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 49.23605918884277, "thread": 140440784332608, "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-07 21:59:04,746", "created": 1610053144.746096, "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": 746.0958957672119, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 49.321889877319336, "thread": 140440784332608, "threadName": "MainThread" } ], "msecs": 746.2151050567627, "msg": "Instance data after increasing data_version is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 49.44109916687012, "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 0.00011920928955078125 } ], "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 0.004878044128417969, "time_finished": "2021-01-07 21:59:04,746", "time_start": "2021-01-07 21:59:04,741" }, "caching.property_cache_json: Test internal key usage": { "args": null, "asctime": "2021-01-07 21:59:04,752", "created": 1610053144.752439, "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": 752.439022064209, "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": 68455, "processName": "MainProcess", "relativeCreated": 55.665016174316406, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2021-01-07 21:59:04,752", "created": 1610053144.752995, "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-07 21:59:04,752", "created": 1610053144.75252, "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": 752.5200843811035, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 55.74607849121094, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/internal_keys_test.json" ], "asctime": "2021-01-07 21:59:04,752", "created": 1610053144.752588, "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": 752.5880336761475, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 55.81402778625488, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-01-07 21:59:04,752", "created": 1610053144.752653, "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": 752.6528835296631, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 55.87887763977051, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['__property_cache_data_version_', '_property_cache_data_version_', '__property_cache_uid_', '_property_cache_uid_']" ], "asctime": "2021-01-07 21:59:04,752", "created": 1610053144.75273, "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": 752.7298927307129, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 55.95588684082031, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/internal_keys_test.json" ], "asctime": "2021-01-07 21:59:04,752", "created": 1610053144.752933, "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": 752.9330253601074, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 56.159019470214844, "thread": 140440784332608, "threadName": "MainThread" } ], "msecs": 752.9950141906738, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 56.22100830078125, "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 6.198883056640625e-05 }, { "args": [ "property_cache_json" ], "asctime": "2021-01-07 21:59:04,753", "created": 1610053144.753257, "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-07 21:59:04,753", "created": 1610053144.753118, "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": 753.1180381774902, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 56.344032287597656, "thread": 140440784332608, "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-07 21:59:04,753", "created": 1610053144.753173, "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": 753.1731128692627, "msg": "Using storage object of cache class for comparison: %s", "name": "__unittest__", "pathname": "src/tests/test_internal_keys.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 56.39910697937012, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "_property_cache_data_version_", "_property_cache_uid_" ], "asctime": "2021-01-07 21:59:04,753", "created": 1610053144.753219, "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": 753.2188892364502, "msg": "Deleting overhead keys: %s, %s", "name": "__unittest__", "pathname": "src/tests/test_internal_keys.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 56.44488334655762, "thread": 140440784332608, "threadName": "MainThread" } ], "msecs": 753.2570362091064, "msg": "Extracting storage object from %s for comparison.", "name": "__tLogger__", "pathname": "src/tests/test_internal_keys.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 56.48303031921387, "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 3.814697265625e-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-07 21:59:04,753", "created": 1610053144.753439, "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-07 21:59:04,753", "created": 1610053144.753333, "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": 753.3330917358398, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 56.559085845947266, "thread": 140440784332608, "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-07 21:59:04,753", "created": 1610053144.75338, "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": 753.3800601959229, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 56.60605430603027, "thread": 140440784332608, "threadName": "MainThread" } ], "msecs": 753.4389495849609, "msg": "Cache is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 56.66494369506836, "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 5.888938903808594e-05 }, { "args": [ "5", "" ], "asctime": "2021-01-07 21:59:04,753", "created": 1610053144.753592, "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-07 21:59:04,753", "created": 1610053144.753511, "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": 753.5109519958496, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 56.73694610595703, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "Keyfilter returnvalue for 5 ()", "5", "" ], "asctime": "2021-01-07 21:59:04,753", "created": 1610053144.753553, "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": 753.5529136657715, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 56.778907775878906, "thread": 140440784332608, "threadName": "MainThread" } ], "msecs": 753.5920143127441, "msg": "Keyfilter returnvalue for 5 () is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 56.81800842285156, "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 3.910064697265625e-05 } ], "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 0.0011529922485351562, "time_finished": "2021-01-07 21:59:04,753", "time_start": "2021-01-07 21:59:04,752" }, "caching.property_cache_json: Test partially initialisation of JSON-Cache-Object": { "args": null, "asctime": "2021-01-07 21:59:04,733", "created": 1610053144.733298, "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": 733.2980632781982, "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": 68455, "processName": "MainProcess", "relativeCreated": 36.524057388305664, "testcaseLogger": [ { "args": [ "property_cache_json", "False" ], "asctime": "2021-01-07 21:59:04,733", "created": 1610053144.733684, "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-07 21:59:04,733", "created": 1610053144.733377, "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": 733.3769798278809, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 36.60297393798828, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.json" ], "asctime": "2021-01-07 21:59:04,733", "created": 1610053144.733438, "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": 733.4380149841309, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 36.66400909423828, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-01-07 21:59:04,733", "created": 1610053144.733503, "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": 733.5031032562256, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 36.72909736633301, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.json" ], "asctime": "2021-01-07 21:59:04,733", "created": 1610053144.733625, "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": 733.6249351501465, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 36.850929260253906, "thread": 140440784332608, "threadName": "MainThread" } ], "msecs": 733.6840629577637, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 36.910057067871094, "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 5.91278076171875e-05 }, { "args": [], "asctime": "2021-01-07 21:59:04,734", "created": 1610053144.73446, "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-07 21:59:04,733", "created": 1610053144.733771, "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": 733.7710857391357, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 36.997079849243164, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.json" ], "asctime": "2021-01-07 21:59:04,733", "created": 1610053144.733897, "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": 733.8969707489014, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 37.12296485900879, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:", "list", "[1, 'two', '3', 4]" ], "asctime": "2021-01-07 21:59:04,733", "created": 1610053144.733998, "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": 733.9980602264404, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 37.22405433654785, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.json" ], "asctime": "2021-01-07 21:59:04,734", "created": 1610053144.734144, "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": 734.1439723968506, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 37.36996650695801, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:", "str", "'string'" ], "asctime": "2021-01-07 21:59:04,734", "created": 1610053144.734238, "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": 734.2379093170166, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 37.46390342712402, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.json" ], "asctime": "2021-01-07 21:59:04,734", "created": 1610053144.734384, "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": 734.3840599060059, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 37.61005401611328, "thread": 140440784332608, "threadName": "MainThread" } ], "msecs": 734.4601154327393, "msg": "Partially initialising cache object by requesting some information.", "name": "__tLogger__", "pathname": "src/tests/test_no_load_on_init.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 37.68610954284668, "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 7.605552673339844e-05 }, { "args": [ "property_cache_json" ], "asctime": "2021-01-07 21:59:04,734", "created": 1610053144.734751, "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-07 21:59:04,734", "created": 1610053144.734606, "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": 734.6060276031494, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 37.832021713256836, "thread": 140440784332608, "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-07 21:59:04,734", "created": 1610053144.734666, "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": 734.666109085083, "msg": "Using storage object of cache class for comparison: %s", "name": "__unittest__", "pathname": "src/tests/test_no_load_on_init.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 37.89210319519043, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "_property_cache_data_version_", "_property_cache_uid_" ], "asctime": "2021-01-07 21:59:04,734", "created": 1610053144.734713, "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": 734.713077545166, "msg": "Deleting overhead keys: %s, %s", "name": "__unittest__", "pathname": "src/tests/test_no_load_on_init.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 37.93907165527344, "thread": 140440784332608, "threadName": "MainThread" } ], "msecs": 734.7509860992432, "msg": "Extracting storage object from %s for comparison.", "name": "__tLogger__", "pathname": "src/tests/test_no_load_on_init.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 37.976980209350586, "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 3.790855407714844e-05 }, { "args": [], "asctime": "2021-01-07 21:59:04,735", "created": 1610053144.735408, "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-07 21:59:04,734", "created": 1610053144.734834, "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": 734.8339557647705, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 38.05994987487793, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "Cache object", "{ 'str': 'string', 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ] }", "" ], "asctime": "2021-01-07 21:59:04,734", "created": 1610053144.734884, "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": 734.8840236663818, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 38.11001777648926, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'two'" ], "asctime": "2021-01-07 21:59:04,734", "created": 1610053144.734945, "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": 734.9450588226318, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 38.17105293273926, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "u'two'" ], "asctime": "2021-01-07 21:59:04,734", "created": 1610053144.734986, "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": 734.9860668182373, "msg": "Content %s is incorrect for test_variable.", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 38.21206092834473, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'two'" ], "asctime": "2021-01-07 21:59:04,735", "created": 1610053144.735031, "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": 735.0308895111084, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 38.25688362121582, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "u'two'" ], "asctime": "2021-01-07 21:59:04,735", "created": 1610053144.735072, "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": 735.0718975067139, "msg": "Content %s is incorrect for test_variable.", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 38.29789161682129, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'two'" ], "asctime": "2021-01-07 21:59:04,735", "created": 1610053144.735115, "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": 735.1150512695312, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 38.34104537963867, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "", "", " for result.list[1]", "u'two'" ], "asctime": "2021-01-07 21:59:04,735", "created": 1610053144.735157, "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": 735.1570129394531, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 38.38300704956055, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'3'" ], "asctime": "2021-01-07 21:59:04,735", "created": 1610053144.7352, "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": 735.1999282836914, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 38.42592239379883, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "u'3'" ], "asctime": "2021-01-07 21:59:04,735", "created": 1610053144.735239, "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": 735.2390289306641, "msg": "Content %s is incorrect for test_variable.", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 38.465023040771484, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'3'" ], "asctime": "2021-01-07 21:59:04,735", "created": 1610053144.735282, "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": 735.2819442749023, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 38.507938385009766, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "", "", " for result.list[2]", "u'3'" ], "asctime": "2021-01-07 21:59:04,735", "created": 1610053144.735323, "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": 735.3229522705078, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 38.548946380615234, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "", "", " for result.str", "u'string'" ], "asctime": "2021-01-07 21:59:04,735", "created": 1610053144.735371, "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": 735.3711128234863, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 38.59710693359375, "thread": 140440784332608, "threadName": "MainThread" } ], "msecs": 735.4080677032471, "msg": "Cache object is NOT correct. See detailed log for more information.", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 38.63406181335449, "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 3.695487976074219e-05 } ], "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 0.002110004425048828, "time_finished": "2021-01-07 21:59:04,735", "time_start": "2021-01-07 21:59:04,733" }, "caching.property_cache_pickle: Test cached data (full init)": { "args": null, "asctime": "2021-01-07 21:59:04,759", "created": 1610053144.7591, "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": 759.0999603271484, "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": 68455, "processName": "MainProcess", "relativeCreated": 62.32595443725586, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2021-01-07 21:59:04,760", "created": 1610053144.760254, "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-07 21:59:04,759", "created": 1610053144.759264, "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": 759.2639923095703, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 62.489986419677734, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_load_on_init.pkl" ], "asctime": "2021-01-07 21:59:04,759", "created": 1610053144.759494, "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": 759.4940662384033, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 62.72006034851074, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-01-07 21:59:04,759", "created": 1610053144.759656, "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": 759.6559524536133, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 62.8819465637207, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2021-01-07 21:59:04,759", "created": 1610053144.759731, "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": 759.7310543060303, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 62.957048416137695, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_load_on_init.pkl" ], "asctime": "2021-01-07 21:59:04,760", "created": 1610053144.760136, "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": 760.1358890533447, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 63.36188316345215, "thread": 140440784332608, "threadName": "MainThread" } ], "msecs": 760.25390625, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 63.47990036010742, "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 0.00011801719665527344 }, { "args": [], "asctime": "2021-01-07 21:59:04,761", "created": 1610053144.761661, "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-07 21:59:04,760", "created": 1610053144.76036, "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": 760.3600025177002, "msg": "%s Key '%s' is not in cached_keys. Uncached data will be returned.", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 63.58599662780762, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_load_on_init.pkl" ], "asctime": "2021-01-07 21:59:04,761", "created": 1610053144.761044, "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": 761.0440254211426, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 64.27001953125, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:", "dict", "{'1': 1, '3': '3', '2': 'two', '4': 4}" ], "asctime": "2021-01-07 21:59:04,761", "created": 1610053144.761224, "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": 761.2240314483643, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 64.45002555847168, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:", "unicode", "u'unicode'" ], "asctime": "2021-01-07 21:59:04,761", "created": 1610053144.761311, "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": 761.3110542297363, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 64.53704833984375, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:", "str", "'string'" ], "asctime": "2021-01-07 21:59:04,761", "created": 1610053144.761396, "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": 761.3959312438965, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 64.6219253540039, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:", "integer", "17" ], "asctime": "2021-01-07 21:59:04,761", "created": 1610053144.761463, "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": 761.462926864624, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 64.68892097473145, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:", "float", "3.14159" ], "asctime": "2021-01-07 21:59:04,761", "created": 1610053144.761533, "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": 761.5330219268799, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 64.7590160369873, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:", "list", "[1, 'two', '3', 4]" ], "asctime": "2021-01-07 21:59:04,761", "created": 1610053144.761611, "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": 761.6109848022461, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 64.83697891235352, "thread": 140440784332608, "threadName": "MainThread" } ], "msecs": 761.6610527038574, "msg": "Collecting data from cache instance.", "name": "__tLogger__", "pathname": "src/tests/test_cached_data.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 64.88704681396484, "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 5.0067901611328125e-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-07 21:59:04,762", "created": 1610053144.76205, "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-07 21:59:04,761", "created": 1610053144.761796, "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": 761.7959976196289, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 65.02199172973633, "thread": 140440784332608, "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-07 21:59:04,761", "created": 1610053144.761871, "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": 761.8710994720459, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 65.09709358215332, "thread": 140440784332608, "threadName": "MainThread" } ], "msecs": 762.0499134063721, "msg": "Cached data is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 65.27590751647949, "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 0.00017881393432617188 } ], "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 0.002949953079223633, "time_finished": "2021-01-07 21:59:04,762", "time_start": "2021-01-07 21:59:04,759" }, "caching.property_cache_pickle: Test cached data (partially init)": { "args": null, "asctime": "2021-01-07 21:59:04,762", "created": 1610053144.762325, "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": 762.3250484466553, "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": 68455, "processName": "MainProcess", "relativeCreated": 65.5510425567627, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2021-01-07 21:59:04,763", "created": 1610053144.763611, "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-07 21:59:04,762", "created": 1610053144.762511, "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": 762.5110149383545, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 65.73700904846191, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_no_load_on_init.pkl" ], "asctime": "2021-01-07 21:59:04,762", "created": 1610053144.762712, "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": 762.7120018005371, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 65.93799591064453, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-01-07 21:59:04,762", "created": 1610053144.762869, "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": 762.8688812255859, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 66.09487533569336, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2021-01-07 21:59:04,763", "created": 1610053144.763007, "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": 763.0069255828857, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 66.23291969299316, "thread": 140440784332608, "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-07 21:59:04,763", "created": 1610053144.763446, "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": 763.4460926055908, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 66.67208671569824, "thread": 140440784332608, "threadName": "MainThread" } ], "msecs": 763.6110782623291, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 66.83707237243652, "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 0.00016498565673828125 }, { "args": [], "asctime": "2021-01-07 21:59:04,764", "created": 1610053144.764509, "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-07 21:59:04,763", "created": 1610053144.763787, "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": 763.787031173706, "msg": "%s Key '%s' is not in cached_keys. Uncached data will be returned.", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 67.01302528381348, "thread": 140440784332608, "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-07 21:59:04,764", "created": 1610053144.764085, "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": 764.085054397583, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 67.31104850769043, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:", "dict", "{'1': 1, '3': '3', '2': 'two', '4': 4}" ], "asctime": "2021-01-07 21:59:04,764", "created": 1610053144.764166, "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": 764.1661167144775, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 67.39211082458496, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:", "unicode", "u'unicode'" ], "asctime": "2021-01-07 21:59:04,764", "created": 1610053144.764231, "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": 764.2309665679932, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 67.45696067810059, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:", "str", "'string'" ], "asctime": "2021-01-07 21:59:04,764", "created": 1610053144.76429, "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": 764.2900943756104, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 67.51608848571777, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:", "integer", "17" ], "asctime": "2021-01-07 21:59:04,764", "created": 1610053144.764346, "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": 764.3458843231201, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 67.57187843322754, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:", "float", "3.14159" ], "asctime": "2021-01-07 21:59:04,764", "created": 1610053144.764403, "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": 764.4031047821045, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 67.62909889221191, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:", "list", "[1, 'two', '3', 4]" ], "asctime": "2021-01-07 21:59:04,764", "created": 1610053144.764455, "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": 764.4550800323486, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 67.68107414245605, "thread": 140440784332608, "threadName": "MainThread" } ], "msecs": 764.5089626312256, "msg": "Collecting data from cache instance.", "name": "__tLogger__", "pathname": "src/tests/test_cached_data.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 67.73495674133301, "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 5.3882598876953125e-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-07 21:59:04,764", "created": 1610053144.764878, "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-07 21:59:04,764", "created": 1610053144.764622, "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": 764.6219730377197, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 67.84796714782715, "thread": 140440784332608, "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-07 21:59:04,764", "created": 1610053144.764693, "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": 764.693021774292, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 67.91901588439941, "thread": 140440784332608, "threadName": "MainThread" } ], "msecs": 764.8780345916748, "msg": "Cached data is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 68.10402870178223, "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 0.0001850128173828125 } ], "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 0.0025529861450195312, "time_finished": "2021-01-07 21:59:04,764", "time_start": "2021-01-07 21:59:04,762" }, "caching.property_cache_pickle: Test execution of save callback (full init)": { "args": null, "asctime": "2021-01-07 21:59:04,775", "created": 1610053144.775049, "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": 775.0489711761475, "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": 68455, "processName": "MainProcess", "relativeCreated": 78.27496528625488, "testcaseLogger": [ { "args": [], "asctime": "2021-01-07 21:59:04,775", "created": 1610053144.775127, "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": 775.1269340515137, "msg": "Installing save_callback, which sets a variable to True on execution.", "name": "__tLogger__", "pathname": "src/tests/test_save_callback.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 78.3529281616211, "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 0.0 }, { "args": [ "True", "" ], "asctime": "2021-01-07 21:59:04,775", "created": 1610053144.775414, "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-07 21:59:04,775", "created": 1610053144.775232, "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": 775.2320766448975, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 78.45807075500488, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "Save callback execution variable", "True", "" ], "asctime": "2021-01-07 21:59:04,775", "created": 1610053144.775308, "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": 775.3078937530518, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 78.53388786315918, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "Save callback execution variable", "True", "" ], "asctime": "2021-01-07 21:59:04,775", "created": 1610053144.775373, "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": 775.3729820251465, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 78.5989761352539, "thread": 140440784332608, "threadName": "MainThread" } ], "msecs": 775.413990020752, "msg": "Save callback execution variable is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 78.63998413085938, "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 4.100799560546875e-05 } ], "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 0.0003650188446044922, "time_finished": "2021-01-07 21:59:04,775", "time_start": "2021-01-07 21:59:04,775" }, "caching.property_cache_pickle: Test full initialised PICKLE-Cache-Object": { "args": null, "asctime": "2021-01-07 21:59:04,753", "created": 1610053144.75371, "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": 753.7100315093994, "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": 68455, "processName": "MainProcess", "relativeCreated": 56.936025619506836, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2021-01-07 21:59:04,754", "created": 1610053144.754728, "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-07 21:59:04,753", "created": 1610053144.753797, "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": 753.7970542907715, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 57.023048400878906, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/load_on_init.pkl" ], "asctime": "2021-01-07 21:59:04,753", "created": 1610053144.753855, "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": 753.8549900054932, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 57.080984115600586, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-01-07 21:59:04,753", "created": 1610053144.753921, "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": 753.9210319519043, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 57.14702606201172, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2021-01-07 21:59:04,753", "created": 1610053144.753981, "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": 753.9811134338379, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 57.20710754394531, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/load_on_init.pkl" ], "asctime": "2021-01-07 21:59:04,754", "created": 1610053144.754651, "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": 754.6510696411133, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 57.8770637512207, "thread": 140440784332608, "threadName": "MainThread" } ], "msecs": 754.7280788421631, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 57.95407295227051, "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 7.700920104980469e-05 }, { "args": [ "property_cache_pickle" ], "asctime": "2021-01-07 21:59:04,755", "created": 1610053144.755557, "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-07 21:59:04,755", "created": 1610053144.755359, "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": 755.3589344024658, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 58.58492851257324, "thread": 140440784332608, "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-07 21:59:04,755", "created": 1610053144.755441, "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": 755.4409503936768, "msg": "Using storage object of cache class for comparison: %s", "name": "__unittest__", "pathname": "src/tests/test_load_on_init.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 58.66694450378418, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "_property_cache_data_version_", "_property_cache_uid_" ], "asctime": "2021-01-07 21:59:04,755", "created": 1610053144.755509, "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": 755.5088996887207, "msg": "Deleting overhead keys: %s, %s", "name": "__unittest__", "pathname": "src/tests/test_load_on_init.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 58.734893798828125, "thread": 140440784332608, "threadName": "MainThread" } ], "msecs": 755.5570602416992, "msg": "Extracting storage object from %s for comparison.", "name": "__tLogger__", "pathname": "src/tests/test_load_on_init.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 58.78305435180664, "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 4.8160552978515625e-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-07 21:59:04,755", "created": 1610053144.755827, "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-07 21:59:04,755", "created": 1610053144.755662, "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": 755.6619644165039, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 58.88795852661133, "thread": 140440784332608, "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-07 21:59:04,755", "created": 1610053144.755726, "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": 755.7260990142822, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 58.95209312438965, "thread": 140440784332608, "threadName": "MainThread" } ], "msecs": 755.8269500732422, "msg": "Cache object is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 59.05294418334961, "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 0.00010085105895996094 } ], "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 0.0021169185638427734, "time_finished": "2021-01-07 21:59:04,755", "time_start": "2021-01-07 21:59:04,753" }, "caching.property_cache_pickle: Test get from source caused by changed uid (full init)": { "args": null, "asctime": "2021-01-07 21:59:04,770", "created": 1610053144.770509, "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": 770.5090045928955, "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": 68455, "processName": "MainProcess", "relativeCreated": 73.73499870300293, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2021-01-07 21:59:04,771", "created": 1610053144.771034, "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-07 21:59:04,770", "created": 1610053144.770592, "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": 770.5919742584229, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 73.81796836853027, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.pkl" ], "asctime": "2021-01-07 21:59:04,770", "created": 1610053144.77066, "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": 770.6599235534668, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 73.88591766357422, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-01-07 21:59:04,770", "created": 1610053144.770726, "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": 770.7259654998779, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 73.95195960998535, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2021-01-07 21:59:04,770", "created": 1610053144.770778, "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": 770.7779407501221, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 74.00393486022949, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.pkl" ], "asctime": "2021-01-07 21:59:04,770", "created": 1610053144.77097, "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": 770.9701061248779, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 74.19610023498535, "thread": 140440784332608, "threadName": "MainThread" } ], "msecs": 771.0340023040771, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 74.25999641418457, "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 6.389617919921875e-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-07 21:59:04,772", "created": 1610053144.772111, "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-07 21:59:04,771", "created": 1610053144.771248, "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": 771.2481021881104, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 74.47409629821777, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-01-07 21:59:04,771", "created": 1610053144.771301, "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": 771.3010311126709, "msg": "%s Source uid changed, ignoring previous cache data", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 74.52702522277832, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2021-01-07 21:59:04,771", "created": 1610053144.771356, "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": 771.3561058044434, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 74.58209991455078, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.pkl" ], "asctime": "2021-01-07 21:59:04,771", "created": 1610053144.771547, "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": 771.5470790863037, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 74.77307319641113, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:", "dict", "{'1': '1', '3': 'three', '2': 2, '4': '4'}" ], "asctime": "2021-01-07 21:59:04,771", "created": 1610053144.771643, "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": 771.6429233551025, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 74.86891746520996, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:", "unicode", "u'__unicode__'" ], "asctime": "2021-01-07 21:59:04,771", "created": 1610053144.771712, "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": 771.712064743042, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 74.93805885314941, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:", "str", "'__string__'" ], "asctime": "2021-01-07 21:59:04,771", "created": 1610053144.77176, "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": 771.7599868774414, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 74.98598098754883, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:", "integer", "34" ], "asctime": "2021-01-07 21:59:04,771", "created": 1610053144.771807, "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": 771.8069553375244, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 75.03294944763184, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:", "float", "2.71828" ], "asctime": "2021-01-07 21:59:04,771", "created": 1610053144.771853, "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": 771.852970123291, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 75.07896423339844, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:", "list", "['one', 2, 3, '4']" ], "asctime": "2021-01-07 21:59:04,771", "created": 1610053144.7719, "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": 771.899938583374, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 75.12593269348145, "thread": 140440784332608, "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-07 21:59:04,771", "created": 1610053144.771965, "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": 771.9650268554688, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 75.19102096557617, "thread": 140440784332608, "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-07 21:59:04,772", "created": 1610053144.772024, "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": 772.0239162445068, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 75.24991035461426, "thread": 140440784332608, "threadName": "MainThread" } ], "msecs": 772.1109390258789, "msg": "Instance data after changing uid is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 75.33693313598633, "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 8.702278137207031e-05 } ], "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 0.0016019344329833984, "time_finished": "2021-01-07 21:59:04,772", "time_start": "2021-01-07 21:59:04,770" }, "caching.property_cache_pickle: Test get from source caused by changed uid (partially init)": { "args": null, "asctime": "2021-01-07 21:59:04,772", "created": 1610053144.77224, "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": 772.2399234771729, "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": 68455, "processName": "MainProcess", "relativeCreated": 75.46591758728027, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2021-01-07 21:59:04,772", "created": 1610053144.772781, "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-07 21:59:04,772", "created": 1610053144.772323, "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": 772.3228931427002, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 75.54888725280762, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2021-01-07 21:59:04,772", "created": 1610053144.772383, "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": 772.3829746246338, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 75.60896873474121, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-01-07 21:59:04,772", "created": 1610053144.772447, "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": 772.4471092224121, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 75.67310333251953, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2021-01-07 21:59:04,772", "created": 1610053144.772498, "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": 772.4978923797607, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 75.72388648986816, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2021-01-07 21:59:04,772", "created": 1610053144.772685, "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": 772.6850509643555, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 75.91104507446289, "thread": 140440784332608, "threadName": "MainThread" } ], "msecs": 772.7808952331543, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 76.00688934326172, "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 9.584426879882812e-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-07 21:59:04,774", "created": 1610053144.774919, "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-07 21:59:04,772", "created": 1610053144.772999, "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": 772.9990482330322, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 76.22504234313965, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-01-07 21:59:04,773", "created": 1610053144.773053, "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": 773.0529308319092, "msg": "%s Source uid changed, ignoring previous cache data", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 76.2789249420166, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2021-01-07 21:59:04,773", "created": 1610053144.773157, "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": 773.1568813323975, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 76.38287544250488, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:", "dict", "{'1': '1', '3': 'three', '2': 2, '4': '4'}" ], "asctime": "2021-01-07 21:59:04,773", "created": 1610053144.773248, "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": 773.2479572296143, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 76.47395133972168, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2021-01-07 21:59:04,773", "created": 1610053144.773388, "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": 773.3879089355469, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 76.6139030456543, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:", "unicode", "u'__unicode__'" ], "asctime": "2021-01-07 21:59:04,773", "created": 1610053144.773483, "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": 773.4830379486084, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 76.70903205871582, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2021-01-07 21:59:04,773", "created": 1610053144.773631, "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": 773.6310958862305, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 76.85708999633789, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:", "str", "'__string__'" ], "asctime": "2021-01-07 21:59:04,773", "created": 1610053144.773722, "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": 773.7219333648682, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 76.94792747497559, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2021-01-07 21:59:04,773", "created": 1610053144.773871, "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": 773.8709449768066, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 77.09693908691406, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:", "integer", "34" ], "asctime": "2021-01-07 21:59:04,773", "created": 1610053144.773964, "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": 773.9639282226562, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 77.18992233276367, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2021-01-07 21:59:04,774", "created": 1610053144.774121, "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": 774.1210460662842, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 77.3470401763916, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:", "float", "2.71828" ], "asctime": "2021-01-07 21:59:04,774", "created": 1610053144.774213, "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": 774.2130756378174, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 77.4390697479248, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2021-01-07 21:59:04,774", "created": 1610053144.774375, "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": 774.3749618530273, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 77.60095596313477, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:", "list", "['one', 2, 3, '4']" ], "asctime": "2021-01-07 21:59:04,774", "created": 1610053144.774469, "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": 774.4688987731934, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 77.69489288330078, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2021-01-07 21:59:04,774", "created": 1610053144.774648, "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": 774.6479511260986, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 77.87394523620605, "thread": 140440784332608, "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-07 21:59:04,774", "created": 1610053144.774755, "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": 774.7550010681152, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 77.98099517822266, "thread": 140440784332608, "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-07 21:59:04,774", "created": 1610053144.774831, "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": 774.8310565948486, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 78.05705070495605, "thread": 140440784332608, "threadName": "MainThread" } ], "msecs": 774.9190330505371, "msg": "Instance data after changing uid is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 78.14502716064453, "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 8.797645568847656e-05 } ], "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 0.002679109573364258, "time_finished": "2021-01-07 21:59:04,774", "time_start": "2021-01-07 21:59:04,772" }, "caching.property_cache_pickle: Test get from source caused by increased data version (full init)": { "args": null, "asctime": "2021-01-07 21:59:04,765", "created": 1610053144.765086, "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": 765.0859355926514, "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": 68455, "processName": "MainProcess", "relativeCreated": 68.31192970275879, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2021-01-07 21:59:04,765", "created": 1610053144.765892, "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-07 21:59:04,765", "created": 1610053144.765212, "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": 765.2120590209961, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 68.43805313110352, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.pkl" ], "asctime": "2021-01-07 21:59:04,765", "created": 1610053144.765328, "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": 765.3279304504395, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 68.55392456054688, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-01-07 21:59:04,765", "created": 1610053144.765428, "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": 765.4280662536621, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 68.65406036376953, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2021-01-07 21:59:04,765", "created": 1610053144.765504, "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": 765.5038833618164, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 68.72987747192383, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.pkl" ], "asctime": "2021-01-07 21:59:04,765", "created": 1610053144.765784, "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": 765.7840251922607, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 69.01001930236816, "thread": 140440784332608, "threadName": "MainThread" } ], "msecs": 765.8920288085938, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 69.11802291870117, "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 0.00010800361633300781 }, { "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-07 21:59:04,767", "created": 1610053144.767291, "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-07 21:59:04,766", "created": 1610053144.766243, "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": 766.2429809570312, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 69.46897506713867, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-01-07 21:59:04,766", "created": 1610053144.766332, "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": 766.3319110870361, "msg": "%s Data version increased, ignoring previous cache data", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 69.55790519714355, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2021-01-07 21:59:04,766", "created": 1610053144.766419, "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": 766.4189338684082, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 69.64492797851562, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.pkl" ], "asctime": "2021-01-07 21:59:04,766", "created": 1610053144.766673, "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": 766.6730880737305, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 69.89908218383789, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:", "dict", "{'1': '1', '3': 'three', '2': 2, '4': '4'}" ], "asctime": "2021-01-07 21:59:04,766", "created": 1610053144.76679, "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": 766.7899131774902, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 70.01590728759766, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:", "unicode", "u'__unicode__'" ], "asctime": "2021-01-07 21:59:04,766", "created": 1610053144.766853, "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": 766.8530941009521, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 70.07908821105957, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:", "str", "'__string__'" ], "asctime": "2021-01-07 21:59:04,766", "created": 1610053144.766903, "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": 766.9029235839844, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 70.1289176940918, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:", "integer", "34" ], "asctime": "2021-01-07 21:59:04,766", "created": 1610053144.766958, "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": 766.9579982757568, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 70.18399238586426, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:", "float", "2.71828" ], "asctime": "2021-01-07 21:59:04,767", "created": 1610053144.767009, "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": 767.0090198516846, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 70.23501396179199, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:", "list", "['one', 2, 3, '4']" ], "asctime": "2021-01-07 21:59:04,767", "created": 1610053144.767068, "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": 767.0679092407227, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 70.29390335083008, "thread": 140440784332608, "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-07 21:59:04,767", "created": 1610053144.767132, "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": 767.132043838501, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 70.3580379486084, "thread": 140440784332608, "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-07 21:59:04,767", "created": 1610053144.767192, "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": 767.1918869018555, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 70.41788101196289, "thread": 140440784332608, "threadName": "MainThread" } ], "msecs": 767.2910690307617, "msg": "Instance data after increasing data_version is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 70.51706314086914, "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 9.918212890625e-05 } ], "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 0.0022051334381103516, "time_finished": "2021-01-07 21:59:04,767", "time_start": "2021-01-07 21:59:04,765" }, "caching.property_cache_pickle: Test get from source caused by increased data version (partially init)": { "args": null, "asctime": "2021-01-07 21:59:04,767", "created": 1610053144.767437, "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": 767.4369812011719, "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": 68455, "processName": "MainProcess", "relativeCreated": 70.6629753112793, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2021-01-07 21:59:04,767", "created": 1610053144.767963, "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-07 21:59:04,767", "created": 1610053144.76752, "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": 767.5199508666992, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 70.74594497680664, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl" ], "asctime": "2021-01-07 21:59:04,767", "created": 1610053144.767587, "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": 767.5869464874268, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 70.81294059753418, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-01-07 21:59:04,767", "created": 1610053144.767656, "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": 767.6560878753662, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 70.88208198547363, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2021-01-07 21:59:04,767", "created": 1610053144.767708, "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": 767.7080631256104, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 70.93405723571777, "thread": 140440784332608, "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-07 21:59:04,767", "created": 1610053144.767901, "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": 767.9009437561035, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 71.12693786621094, "thread": 140440784332608, "threadName": "MainThread" } ], "msecs": 767.9629325866699, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 71.18892669677734, "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 6.198883056640625e-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-07 21:59:04,770", "created": 1610053144.770368, "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-07 21:59:04,768", "created": 1610053144.768191, "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": 768.1910991668701, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 71.41709327697754, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-01-07 21:59:04,768", "created": 1610053144.76825, "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": 768.2499885559082, "msg": "%s Data version increased, ignoring previous cache data", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 71.47598266601562, "thread": 140440784332608, "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-07 21:59:04,768", "created": 1610053144.768355, "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": 768.3548927307129, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 71.58088684082031, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:", "dict", "{'1': '1', '3': 'three', '2': 2, '4': '4'}" ], "asctime": "2021-01-07 21:59:04,768", "created": 1610053144.768438, "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": 768.4381008148193, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 71.66409492492676, "thread": 140440784332608, "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-07 21:59:04,768", "created": 1610053144.768607, "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": 768.6069011688232, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 71.83289527893066, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:", "unicode", "u'__unicode__'" ], "asctime": "2021-01-07 21:59:04,768", "created": 1610053144.76871, "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": 768.7098979949951, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 71.93589210510254, "thread": 140440784332608, "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-07 21:59:04,768", "created": 1610053144.76886, "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": 768.8601016998291, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 72.08609580993652, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:", "str", "'__string__'" ], "asctime": "2021-01-07 21:59:04,768", "created": 1610053144.768952, "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": 768.9518928527832, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 72.17788696289062, "thread": 140440784332608, "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-07 21:59:04,769", "created": 1610053144.769103, "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": 769.1030502319336, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 72.32904434204102, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:", "integer", "34" ], "asctime": "2021-01-07 21:59:04,769", "created": 1610053144.769196, "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": 769.1960334777832, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 72.42202758789062, "thread": 140440784332608, "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-07 21:59:04,769", "created": 1610053144.769351, "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": 769.3510055541992, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 72.57699966430664, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:", "float", "2.71828" ], "asctime": "2021-01-07 21:59:04,769", "created": 1610053144.769444, "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": 769.4439888000488, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 72.66998291015625, "thread": 140440784332608, "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-07 21:59:04,769", "created": 1610053144.76965, "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": 769.6499824523926, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 72.8759765625, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:", "list", "['one', 2, 3, '4']" ], "asctime": "2021-01-07 21:59:04,769", "created": 1610053144.76975, "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": 769.7501182556152, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 72.97611236572266, "thread": 140440784332608, "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-07 21:59:04,769", "created": 1610053144.769929, "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": 769.9289321899414, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 73.15492630004883, "thread": 140440784332608, "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-07 21:59:04,770", "created": 1610053144.770041, "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": 770.0409889221191, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 73.26698303222656, "thread": 140440784332608, "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-07 21:59:04,770", "created": 1610053144.770271, "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": 770.2710628509521, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 73.49705696105957, "thread": 140440784332608, "threadName": "MainThread" } ], "msecs": 770.3680992126465, "msg": "Instance data after increasing data_version is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 73.5940933227539, "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 9.703636169433594e-05 } ], "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 0.0029311180114746094, "time_finished": "2021-01-07 21:59:04,770", "time_start": "2021-01-07 21:59:04,767" }, "caching.property_cache_pickle: Test internal key usage": { "args": null, "asctime": "2021-01-07 21:59:04,775", "created": 1610053144.77553, "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": 775.5300998687744, "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": 68455, "processName": "MainProcess", "relativeCreated": 78.75609397888184, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2021-01-07 21:59:04,775", "created": 1610053144.775987, "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-07 21:59:04,775", "created": 1610053144.77561, "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": 775.6099700927734, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 78.83596420288086, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/internal_keys_test.pkl" ], "asctime": "2021-01-07 21:59:04,775", "created": 1610053144.775668, "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": 775.6679058074951, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 78.89389991760254, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-01-07 21:59:04,775", "created": 1610053144.775729, "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": 775.7289409637451, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 78.95493507385254, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:", "['__property_cache_data_version_', '_property_cache_data_version_', '__property_cache_uid_', '_property_cache_uid_']" ], "asctime": "2021-01-07 21:59:04,775", "created": 1610053144.775784, "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": 775.7840156555176, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 79.010009765625, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/internal_keys_test.pkl" ], "asctime": "2021-01-07 21:59:04,775", "created": 1610053144.775929, "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": 775.9289741516113, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 79.15496826171875, "thread": 140440784332608, "threadName": "MainThread" } ], "msecs": 775.986909866333, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 79.21290397644043, "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 5.793571472167969e-05 }, { "args": [ "property_cache_pickle" ], "asctime": "2021-01-07 21:59:04,776", "created": 1610053144.776286, "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-07 21:59:04,776", "created": 1610053144.776148, "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": 776.1480808258057, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 79.37407493591309, "thread": 140440784332608, "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-07 21:59:04,776", "created": 1610053144.776204, "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": 776.2041091918945, "msg": "Using storage object of cache class for comparison: %s", "name": "__unittest__", "pathname": "src/tests/test_internal_keys.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 79.43010330200195, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "_property_cache_data_version_", "_property_cache_uid_" ], "asctime": "2021-01-07 21:59:04,776", "created": 1610053144.776249, "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": 776.2489318847656, "msg": "Deleting overhead keys: %s, %s", "name": "__unittest__", "pathname": "src/tests/test_internal_keys.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 79.47492599487305, "thread": 140440784332608, "threadName": "MainThread" } ], "msecs": 776.2858867645264, "msg": "Extracting storage object from %s for comparison.", "name": "__tLogger__", "pathname": "src/tests/test_internal_keys.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 79.51188087463379, "thread": 140440784332608, "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-07 21:59:04,776", "created": 1610053144.776468, "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-07 21:59:04,776", "created": 1610053144.776367, "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": 776.3669490814209, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 79.59294319152832, "thread": 140440784332608, "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-07 21:59:04,776", "created": 1610053144.776413, "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": 776.4129638671875, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 79.63895797729492, "thread": 140440784332608, "threadName": "MainThread" } ], "msecs": 776.46803855896, "msg": "Cache is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 79.69403266906738, "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 5.507469177246094e-05 }, { "args": [ "5", "" ], "asctime": "2021-01-07 21:59:04,776", "created": 1610053144.776669, "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-07 21:59:04,776", "created": 1610053144.776538, "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": 776.5378952026367, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 79.76388931274414, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "Keyfilter returnvalue for 5 ()", "5", "" ], "asctime": "2021-01-07 21:59:04,776", "created": 1610053144.776606, "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": 776.6060829162598, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 79.83207702636719, "thread": 140440784332608, "threadName": "MainThread" } ], "msecs": 776.6690254211426, "msg": "Keyfilter returnvalue for 5 () is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 79.89501953125, "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 6.29425048828125e-05 } ], "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 0.001138925552368164, "time_finished": "2021-01-07 21:59:04,776", "time_start": "2021-01-07 21:59:04,775" }, "caching.property_cache_pickle: Test partially initialised PICKLE-Cache-Object": { "args": null, "asctime": "2021-01-07 21:59:04,755", "created": 1610053144.755963, "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": 755.9630870819092, "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": 68455, "processName": "MainProcess", "relativeCreated": 59.1890811920166, "testcaseLogger": [ { "args": [ "property_cache_pickle", "False" ], "asctime": "2021-01-07 21:59:04,756", "created": 1610053144.756412, "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-07 21:59:04,756", "created": 1610053144.75606, "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": 756.0598850250244, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 59.285879135131836, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.pkl" ], "asctime": "2021-01-07 21:59:04,756", "created": 1610053144.75614, "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": 756.1399936676025, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 59.36598777770996, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-01-07 21:59:04,756", "created": 1610053144.756214, "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": 756.213903427124, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 59.439897537231445, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.pkl" ], "asctime": "2021-01-07 21:59:04,756", "created": 1610053144.756349, "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": 756.3490867614746, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 59.57508087158203, "thread": 140440784332608, "threadName": "MainThread" } ], "msecs": 756.4120292663574, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 59.638023376464844, "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 6.29425048828125e-05 }, { "args": [], "asctime": "2021-01-07 21:59:04,757", "created": 1610053144.757566, "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-07 21:59:04,756", "created": 1610053144.756505, "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": 756.505012512207, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 59.73100662231445, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.pkl" ], "asctime": "2021-01-07 21:59:04,756", "created": 1610053144.756617, "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": 756.6170692443848, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 59.84306335449219, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:", "list", "[1, 'two', '3', 4]" ], "asctime": "2021-01-07 21:59:04,756", "created": 1610053144.756775, "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": 756.77490234375, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 60.00089645385742, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.pkl" ], "asctime": "2021-01-07 21:59:04,757", "created": 1610053144.757024, "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": 757.0240497589111, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 60.250043869018555, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:", "str", "'string'" ], "asctime": "2021-01-07 21:59:04,757", "created": 1610053144.757178, "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": 757.1780681610107, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 60.404062271118164, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.pkl" ], "asctime": "2021-01-07 21:59:04,757", "created": 1610053144.757429, "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": 757.4288845062256, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 60.65487861633301, "thread": 140440784332608, "threadName": "MainThread" } ], "msecs": 757.565975189209, "msg": "Partially initialising cache object by requesting some information.", "name": "__tLogger__", "pathname": "src/tests/test_no_load_on_init.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 60.791969299316406, "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 0.00013709068298339844 }, { "args": [ "property_cache_pickle" ], "asctime": "2021-01-07 21:59:04,758", "created": 1610053144.758252, "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-07 21:59:04,757", "created": 1610053144.757917, "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": 757.9169273376465, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 61.142921447753906, "thread": 140440784332608, "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-07 21:59:04,758", "created": 1610053144.75805, "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": 758.0499649047852, "msg": "Using storage object of cache class for comparison: %s", "name": "__unittest__", "pathname": "src/tests/test_no_load_on_init.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 61.27595901489258, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "_property_cache_data_version_", "_property_cache_uid_" ], "asctime": "2021-01-07 21:59:04,758", "created": 1610053144.75818, "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": 758.1799030303955, "msg": "Deleting overhead keys: %s, %s", "name": "__unittest__", "pathname": "src/tests/test_no_load_on_init.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 61.40589714050293, "thread": 140440784332608, "threadName": "MainThread" } ], "msecs": 758.2519054412842, "msg": "Extracting storage object from %s for comparison.", "name": "__tLogger__", "pathname": "src/tests/test_no_load_on_init.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 61.4778995513916, "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 7.200241088867188e-05 }, { "args": [ "{'float': 3.14159, 'list': [1, 'two', '3', 4], 'str': 'string'}", "" ], "asctime": "2021-01-07 21:59:04,758", "created": 1610053144.758733, "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-07 21:59:04,758", "created": 1610053144.758456, "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": 758.4559917449951, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 61.68198585510254, "thread": 140440784332608, "threadName": "MainThread" }, { "args": [ "Cache object", "{ 'str': 'string', 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ] }", "" ], "asctime": "2021-01-07 21:59:04,758", "created": 1610053144.758547, "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": 758.5470676422119, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 61.773061752319336, "thread": 140440784332608, "threadName": "MainThread" } ], "msecs": 758.7330341339111, "msg": "Cache object is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 68455, "processName": "MainProcess", "relativeCreated": 61.959028244018555, "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 0.00018596649169921875 } ], "thread": 140440784332608, "threadName": "MainThread", "time_consumption": 0.002769947052001953, "time_finished": "2021-01-07 21:59:04,758", "time_start": "2021-01-07 21:59:04,755" } }, "testrun_id": "p2", "time_consumption": 0.04242300987243652, "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-07 21:59:05,187", "created": 1610053145.1872308, "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": 187.23082542419434, "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": 68457, "processName": "MainProcess", "relativeCreated": 69.17643547058105, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2021-01-07 21:59:05,187", "created": 1610053145.1877031, "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-07 21:59:05,187", "created": 1610053145.1873045, "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": 187.30449676513672, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 69.25010681152344, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_load_on_init.json" ], "asctime": "2021-01-07 21:59:05,187", "created": 1610053145.1873598, "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": 187.35980987548828, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 69.305419921875, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-01-07 21:59:05,187", "created": 1610053145.187413, "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": 187.41297721862793, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 69.35858726501465, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2021-01-07 21:59:05,187", "created": 1610053145.1874552, "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": 187.4551773071289, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 69.40078735351562, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_load_on_init.json" ], "asctime": "2021-01-07 21:59:05,187", "created": 1610053145.1876347, "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": 187.63470649719238, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 69.5803165435791, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" } ], "msecs": 187.70313262939453, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 69.64874267578125, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 6.842613220214844e-05 }, { "args": [], "asctime": "2021-01-07 21:59:05,188", "created": 1610053145.1881833, "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-07 21:59:05,187", "created": 1610053145.1878421, "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": 187.84213066101074, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 69.78774070739746, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:", "str", "'string'" ], "asctime": "2021-01-07 21:59:05,187", "created": 1610053145.1878955, "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": 187.8955364227295, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 69.84114646911621, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:", "unicode", "'unicode'" ], "asctime": "2021-01-07 21:59:05,187", "created": 1610053145.1879413, "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": 187.941312789917, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 69.88692283630371, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:", "integer", "17" ], "asctime": "2021-01-07 21:59:05,187", "created": 1610053145.187984, "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": 187.98398971557617, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 69.92959976196289, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:", "float", "3.14159" ], "asctime": "2021-01-07 21:59:05,188", "created": 1610053145.18803, "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": 188.03000450134277, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 69.97561454772949, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:", "list", "[1, 'two', '3', 4]" ], "asctime": "2021-01-07 21:59:05,188", "created": 1610053145.1880727, "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": 188.07268142700195, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 70.01829147338867, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:", "dict", "{'1': 1, '2': 'two', '3': '3', '4': 4}" ], "asctime": "2021-01-07 21:59:05,188", "created": 1610053145.188115, "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": 188.11488151550293, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 70.06049156188965, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:", "uncached" ], "asctime": "2021-01-07 21:59:05,188", "created": 1610053145.188151, "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": 188.15088272094727, "msg": "%s Key '%s' is not in cached_keys. Uncached data will be returned.", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 70.09649276733398, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" } ], "msecs": 188.18330764770508, "msg": "Collecting data from cache instance.", "name": "__tLogger__", "pathname": "src/tests/test_cached_data.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 70.1289176940918, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 3.24249267578125e-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-07 21:59:05,188", "created": 1610053145.1884089, "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-07 21:59:05,188", "created": 1610053145.1882703, "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": 188.27033042907715, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 70.21594047546387, "stack_info": null, "thread": 140143167764288, "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-07 21:59:05,188", "created": 1610053145.1883278, "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": 188.32778930664062, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 70.27339935302734, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" } ], "msecs": 188.40885162353516, "msg": "Cached data is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 70.35446166992188, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 8.106231689453125e-05 } ], "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 0.0011780261993408203, "time_finished": "2021-01-07 21:59:05,188", "time_start": "2021-01-07 21:59:05,187" }, "caching.property_cache_json: Test cached data (partially init)": { "args": null, "asctime": "2021-01-07 21:59:05,188", "created": 1610053145.1885138, "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": 188.51375579833984, "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": 68457, "processName": "MainProcess", "relativeCreated": 70.45936584472656, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2021-01-07 21:59:05,189", "created": 1610053145.1891139, "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-07 21:59:05,188", "created": 1610053145.188587, "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": 188.58695030212402, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 70.53256034851074, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_no_load_on_init.json" ], "asctime": "2021-01-07 21:59:05,188", "created": 1610053145.1886425, "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": 188.6425018310547, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 70.5881118774414, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-01-07 21:59:05,188", "created": 1610053145.1886966, "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": 188.69662284851074, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 70.64223289489746, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2021-01-07 21:59:05,188", "created": 1610053145.1887748, "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": 188.77482414245605, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 70.72043418884277, "stack_info": null, "thread": 140143167764288, "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-07 21:59:05,189", "created": 1610053145.189036, "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": 189.03589248657227, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 70.98150253295898, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" } ], "msecs": 189.11385536193848, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 71.0594654083252, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 7.796287536621094e-05 }, { "args": [], "asctime": "2021-01-07 21:59:05,189", "created": 1610053145.1895943, "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-07 21:59:05,189", "created": 1610053145.1892548, "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": 189.2547607421875, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 71.20037078857422, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:", "str", "'string'" ], "asctime": "2021-01-07 21:59:05,189", "created": 1610053145.1893091, "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": 189.30912017822266, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 71.25473022460938, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:", "unicode", "'unicode'" ], "asctime": "2021-01-07 21:59:05,189", "created": 1610053145.1893547, "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": 189.35465812683105, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 71.30026817321777, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:", "integer", "17" ], "asctime": "2021-01-07 21:59:05,189", "created": 1610053145.189397, "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": 189.39709663391113, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 71.34270668029785, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:", "float", "3.14159" ], "asctime": "2021-01-07 21:59:05,189", "created": 1610053145.1894398, "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": 189.4397735595703, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 71.38538360595703, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:", "list", "[1, 'two', '3', 4]" ], "asctime": "2021-01-07 21:59:05,189", "created": 1610053145.1894822, "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": 189.4822120666504, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 71.42782211303711, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:", "dict", "{'1': 1, '2': 'two', '3': '3', '4': 4}" ], "asctime": "2021-01-07 21:59:05,189", "created": 1610053145.1895244, "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": 189.52441215515137, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 71.47002220153809, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:", "uncached" ], "asctime": "2021-01-07 21:59:05,189", "created": 1610053145.1895611, "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": 189.561128616333, "msg": "%s Key '%s' is not in cached_keys. Uncached data will be returned.", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 71.50673866271973, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" } ], "msecs": 189.59426879882812, "msg": "Collecting data from cache instance.", "name": "__tLogger__", "pathname": "src/tests/test_cached_data.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 71.53987884521484, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 3.314018249511719e-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-07 21:59:05,189", "created": 1610053145.1898434, "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-07 21:59:05,189", "created": 1610053145.189687, "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": 189.68701362609863, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 71.63262367248535, "stack_info": null, "thread": 140143167764288, "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-07 21:59:05,189", "created": 1610053145.189753, "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": 189.75305557250977, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 71.69866561889648, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" } ], "msecs": 189.84341621398926, "msg": "Cached data is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 71.78902626037598, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 9.036064147949219e-05 } ], "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 0.001329660415649414, "time_finished": "2021-01-07 21:59:05,189", "time_start": "2021-01-07 21:59:05,188" }, "caching.property_cache_json: Test execution of save callback (full init)": { "args": null, "asctime": "2021-01-07 21:59:05,201", "created": 1610053145.2016912, "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": 201.6911506652832, "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": 68457, "processName": "MainProcess", "relativeCreated": 83.63676071166992, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2021-01-07 21:59:05,201", "created": 1610053145.2017608, "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": 201.76076889038086, "msg": "Installing save_callback, which sets a variable to True on execution.", "name": "__tLogger__", "pathname": "src/tests/test_save_callback.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 83.70637893676758, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 0.0 }, { "args": [ "True", "" ], "asctime": "2021-01-07 21:59:05,202", "created": 1610053145.2020388, "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-07 21:59:05,201", "created": 1610053145.2018723, "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": 201.8723487854004, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 83.81795883178711, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "Save callback execution variable", "True", "" ], "asctime": "2021-01-07 21:59:05,201", "created": 1610053145.2019582, "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": 201.95817947387695, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 83.90378952026367, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "Save callback execution variable", "True", "" ], "asctime": "2021-01-07 21:59:05,202", "created": 1610053145.2020035, "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": 202.00347900390625, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 83.94908905029297, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" } ], "msecs": 202.03876495361328, "msg": "Save callback execution variable is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 83.984375, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 3.528594970703125e-05 } ], "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 0.0003476142883300781, "time_finished": "2021-01-07 21:59:05,202", "time_start": "2021-01-07 21:59:05,201" }, "caching.property_cache_json: Test full initialised JSON-Cache-Object": { "args": null, "asctime": "2021-01-07 21:59:05,184", "created": 1610053145.1841066, "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": 184.10658836364746, "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": 68457, "processName": "MainProcess", "relativeCreated": 66.05219841003418, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2021-01-07 21:59:05,184", "created": 1610053145.1849713, "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-07 21:59:05,184", "created": 1610053145.1843436, "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": 184.3435764312744, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 66.28918647766113, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/load_on_init.json" ], "asctime": "2021-01-07 21:59:05,184", "created": 1610053145.1844382, "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": 184.43822860717773, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 66.38383865356445, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-01-07 21:59:05,184", "created": 1610053145.1845667, "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": 184.56673622131348, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 66.5123462677002, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2021-01-07 21:59:05,184", "created": 1610053145.1846194, "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": 184.61942672729492, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 66.56503677368164, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/load_on_init.json" ], "asctime": "2021-01-07 21:59:05,184", "created": 1610053145.184881, "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": 184.88097190856934, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 66.82658195495605, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" } ], "msecs": 184.97133255004883, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 66.91694259643555, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 9.036064147949219e-05 }, { "args": [ "property_cache_json" ], "asctime": "2021-01-07 21:59:05,185", "created": 1610053145.185257, "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-07 21:59:05,185", "created": 1610053145.1851208, "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": 185.1208209991455, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 67.06643104553223, "stack_info": null, "thread": 140143167764288, "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-07 21:59:05,185", "created": 1610053145.1851816, "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": 185.1816177368164, "msg": "Using storage object of cache class for comparison: %s", "name": "__unittest__", "pathname": "src/tests/test_load_on_init.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 67.12722778320312, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "_property_cache_data_version_", "_property_cache_uid_" ], "asctime": "2021-01-07 21:59:05,185", "created": 1610053145.185222, "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": 185.22191047668457, "msg": "Deleting overhead keys: %s, %s", "name": "__unittest__", "pathname": "src/tests/test_load_on_init.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 67.16752052307129, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" } ], "msecs": 185.2569580078125, "msg": "Extracting storage object from %s for comparison.", "name": "__tLogger__", "pathname": "src/tests/test_load_on_init.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 67.20256805419922, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 3.504753112792969e-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-07 21:59:05,185", "created": 1610053145.1854887, "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-07 21:59:05,185", "created": 1610053145.185343, "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": 185.34302711486816, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 67.28863716125488, "stack_info": null, "thread": 140143167764288, "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-07 21:59:05,185", "created": 1610053145.1853988, "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": 185.39881706237793, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 67.34442710876465, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" } ], "msecs": 185.48870086669922, "msg": "Cache object is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 67.43431091308594, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 8.988380432128906e-05 } ], "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 0.0013821125030517578, "time_finished": "2021-01-07 21:59:05,185", "time_start": "2021-01-07 21:59:05,184" }, "caching.property_cache_json: Test get from source caused by changed uid (full init)": { "args": null, "asctime": "2021-01-07 21:59:05,197", "created": 1610053145.197336, "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": 197.33595848083496, "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": 68457, "processName": "MainProcess", "relativeCreated": 79.28156852722168, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2021-01-07 21:59:05,197", "created": 1610053145.197954, "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-07 21:59:05,197", "created": 1610053145.1974838, "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": 197.48377799987793, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 79.42938804626465, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.json" ], "asctime": "2021-01-07 21:59:05,197", "created": 1610053145.1975703, "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": 197.5703239440918, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 79.51593399047852, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-01-07 21:59:05,197", "created": 1610053145.1976352, "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": 197.63517379760742, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 79.58078384399414, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2021-01-07 21:59:05,197", "created": 1610053145.1976802, "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": 197.68023490905762, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 79.62584495544434, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.json" ], "asctime": "2021-01-07 21:59:05,197", "created": 1610053145.19788, "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": 197.88002967834473, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 79.82563972473145, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" } ], "msecs": 197.9539394378662, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 79.89954948425293, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 7.390975952148438e-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-07 21:59:05,198", "created": 1610053145.198909, "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-07 21:59:05,198", "created": 1610053145.1981099, "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": 198.10986518859863, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 80.05547523498535, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-01-07 21:59:05,198", "created": 1610053145.1981595, "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": 198.15945625305176, "msg": "%s Source uid changed, ignoring previous cache data", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 80.10506629943848, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2021-01-07 21:59:05,198", "created": 1610053145.1982055, "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": 198.20547103881836, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 80.15108108520508, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.json" ], "asctime": "2021-01-07 21:59:05,198", "created": 1610053145.1983826, "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": 198.38261604309082, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 80.32822608947754, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:", "str", "'__string__'" ], "asctime": "2021-01-07 21:59:05,198", "created": 1610053145.1984754, "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": 198.47536087036133, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 80.42097091674805, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:", "unicode", "'__unicode__'" ], "asctime": "2021-01-07 21:59:05,198", "created": 1610053145.1985333, "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": 198.533296585083, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 80.47890663146973, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:", "integer", "34" ], "asctime": "2021-01-07 21:59:05,198", "created": 1610053145.1985772, "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": 198.5771656036377, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 80.52277565002441, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:", "float", "2.71828" ], "asctime": "2021-01-07 21:59:05,198", "created": 1610053145.1986203, "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": 198.62031936645508, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 80.5659294128418, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:", "list", "['one', 2, 3, '4']" ], "asctime": "2021-01-07 21:59:05,198", "created": 1610053145.1986635, "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": 198.66347312927246, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 80.60908317565918, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:", "dict", "{'1': '1', '2': 2, '3': 'three', '4': '4'}" ], "asctime": "2021-01-07 21:59:05,198", "created": 1610053145.1987062, "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": 198.70615005493164, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 80.65176010131836, "stack_info": null, "thread": 140143167764288, "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-07 21:59:05,198", "created": 1610053145.1987724, "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": 198.77243041992188, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 80.7180404663086, "stack_info": null, "thread": 140143167764288, "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-07 21:59:05,198", "created": 1610053145.1988263, "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": 198.82631301879883, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 80.77192306518555, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" } ], "msecs": 198.90904426574707, "msg": "Instance data after changing uid is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 80.85465431213379, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 8.273124694824219e-05 } ], "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 0.0015730857849121094, "time_finished": "2021-01-07 21:59:05,198", "time_start": "2021-01-07 21:59:05,197" }, "caching.property_cache_json: Test get from source caused by changed uid (partially init)": { "args": null, "asctime": "2021-01-07 21:59:05,199", "created": 1610053145.1990254, "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": 199.02539253234863, "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": 68457, "processName": "MainProcess", "relativeCreated": 80.97100257873535, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2021-01-07 21:59:05,199", "created": 1610053145.1995313, "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-07 21:59:05,199", "created": 1610053145.1991017, "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": 199.10168647766113, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 81.04729652404785, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2021-01-07 21:59:05,199", "created": 1610053145.1991665, "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": 199.16653633117676, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 81.11214637756348, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-01-07 21:59:05,199", "created": 1610053145.1992235, "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": 199.22351837158203, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 81.16912841796875, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2021-01-07 21:59:05,199", "created": 1610053145.1992667, "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": 199.2666721343994, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 81.21228218078613, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2021-01-07 21:59:05,199", "created": 1610053145.1994476, "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": 199.4476318359375, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 81.39324188232422, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" } ], "msecs": 199.53131675720215, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 81.47692680358887, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 8.368492126464844e-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-07 21:59:05,201", "created": 1610053145.2015736, "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-07 21:59:05,199", "created": 1610053145.1996977, "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": 199.69773292541504, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 81.64334297180176, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-01-07 21:59:05,199", "created": 1610053145.1997485, "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": 199.74851608276367, "msg": "%s Source uid changed, ignoring previous cache data", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 81.69412612915039, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2021-01-07 21:59:05,199", "created": 1610053145.1998653, "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": 199.86534118652344, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 81.81095123291016, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:", "str", "'__string__'" ], "asctime": "2021-01-07 21:59:05,199", "created": 1610053145.1999488, "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": 199.94878768920898, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 81.8943977355957, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2021-01-07 21:59:05,200", "created": 1610053145.2000678, "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": 200.06775856018066, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 82.01336860656738, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:", "unicode", "'__unicode__'" ], "asctime": "2021-01-07 21:59:05,200", "created": 1610053145.200157, "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": 200.15692710876465, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 82.10253715515137, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2021-01-07 21:59:05,200", "created": 1610053145.2003596, "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": 200.35958290100098, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 82.3051929473877, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:", "integer", "34" ], "asctime": "2021-01-07 21:59:05,200", "created": 1610053145.2004495, "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": 200.44946670532227, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 82.39507675170898, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2021-01-07 21:59:05,200", "created": 1610053145.2005699, "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": 200.56986808776855, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 82.51547813415527, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:", "float", "2.71828" ], "asctime": "2021-01-07 21:59:05,200", "created": 1610053145.2006614, "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": 200.66142082214355, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 82.60703086853027, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2021-01-07 21:59:05,200", "created": 1610053145.2008317, "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": 200.83165168762207, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 82.77726173400879, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:", "list", "['one', 2, 3, '4']" ], "asctime": "2021-01-07 21:59:05,200", "created": 1610053145.2009232, "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": 200.92320442199707, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 82.86881446838379, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2021-01-07 21:59:05,201", "created": 1610053145.2010636, "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": 201.0636329650879, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 83.00924301147461, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:", "dict", "{'1': '1', '2': 2, '3': 'three', '4': '4'}" ], "asctime": "2021-01-07 21:59:05,201", "created": 1610053145.2011573, "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": 201.1573314666748, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 83.10294151306152, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2021-01-07 21:59:05,201", "created": 1610053145.201316, "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": 201.31611824035645, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 83.26172828674316, "stack_info": null, "thread": 140143167764288, "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-07 21:59:05,201", "created": 1610053145.2014277, "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": 201.42769813537598, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 83.3733081817627, "stack_info": null, "thread": 140143167764288, "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-07 21:59:05,201", "created": 1610053145.2014885, "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": 201.48849487304688, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 83.4341049194336, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" } ], "msecs": 201.57361030578613, "msg": "Instance data after changing uid is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 83.51922035217285, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 8.511543273925781e-05 } ], "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 0.0025482177734375, "time_finished": "2021-01-07 21:59:05,201", "time_start": "2021-01-07 21:59:05,199" }, "caching.property_cache_json: Test get from source caused by increased data version (full init)": { "args": null, "asctime": "2021-01-07 21:59:05,189", "created": 1610053145.189957, "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": 189.9569034576416, "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": 68457, "processName": "MainProcess", "relativeCreated": 71.90251350402832, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2021-01-07 21:59:05,190", "created": 1610053145.190488, "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-07 21:59:05,190", "created": 1610053145.1900332, "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": 190.0331974029541, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 71.97880744934082, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.json" ], "asctime": "2021-01-07 21:59:05,190", "created": 1610053145.1901093, "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": 190.1092529296875, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 72.05486297607422, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-01-07 21:59:05,190", "created": 1610053145.1901672, "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": 190.16718864440918, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 72.1127986907959, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2021-01-07 21:59:05,190", "created": 1610053145.190211, "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": 190.21105766296387, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 72.15666770935059, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.json" ], "asctime": "2021-01-07 21:59:05,190", "created": 1610053145.1904032, "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": 190.40322303771973, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 72.34883308410645, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" } ], "msecs": 190.48810005187988, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 72.4337100982666, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 8.487701416015625e-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-07 21:59:05,191", "created": 1610053145.1919324, "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-07 21:59:05,190", "created": 1610053145.1906426, "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": 190.6425952911377, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 72.58820533752441, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-01-07 21:59:05,190", "created": 1610053145.1906967, "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": 190.69671630859375, "msg": "%s Data version increased, ignoring previous cache data", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 72.64232635498047, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2021-01-07 21:59:05,190", "created": 1610053145.19074, "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": 190.74010848999023, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 72.68571853637695, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.json" ], "asctime": "2021-01-07 21:59:05,191", "created": 1610053145.1910262, "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": 191.0262107849121, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 72.97182083129883, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:", "str", "'__string__'" ], "asctime": "2021-01-07 21:59:05,191", "created": 1610053145.1912243, "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": 191.2243366241455, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 73.16994667053223, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:", "unicode", "'__unicode__'" ], "asctime": "2021-01-07 21:59:05,191", "created": 1610053145.1913276, "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": 191.32757186889648, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 73.2731819152832, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:", "integer", "34" ], "asctime": "2021-01-07 21:59:05,191", "created": 1610053145.1914632, "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": 191.46323204040527, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 73.40884208679199, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:", "float", "2.71828" ], "asctime": "2021-01-07 21:59:05,191", "created": 1610053145.191545, "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": 191.5450096130371, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 73.49061965942383, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:", "list", "['one', 2, 3, '4']" ], "asctime": "2021-01-07 21:59:05,191", "created": 1610053145.1915917, "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": 191.59173965454102, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 73.53734970092773, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:", "dict", "{'1': '1', '2': 2, '3': 'three', '4': '4'}" ], "asctime": "2021-01-07 21:59:05,191", "created": 1610053145.1916382, "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": 191.63823127746582, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 73.58384132385254, "stack_info": null, "thread": 140143167764288, "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-07 21:59:05,191", "created": 1610053145.1917114, "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": 191.71142578125, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 73.65703582763672, "stack_info": null, "thread": 140143167764288, "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-07 21:59:05,191", "created": 1610053145.1918113, "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": 191.81132316589355, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 73.75693321228027, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" } ], "msecs": 191.93243980407715, "msg": "Instance data after increasing data_version is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 73.87804985046387, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 0.00012111663818359375 } ], "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 0.001975536346435547, "time_finished": "2021-01-07 21:59:05,191", "time_start": "2021-01-07 21:59:05,189" }, "caching.property_cache_json: Test get from source caused by increased data version (partially init)": { "args": null, "asctime": "2021-01-07 21:59:05,192", "created": 1610053145.1921194, "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": 192.11935997009277, "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": 68457, "processName": "MainProcess", "relativeCreated": 74.06497001647949, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2021-01-07 21:59:05,193", "created": 1610053145.1938536, "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-07 21:59:05,192", "created": 1610053145.1924736, "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": 192.4736499786377, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 74.41926002502441, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json" ], "asctime": "2021-01-07 21:59:05,192", "created": 1610053145.192774, "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": 192.77405738830566, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 74.71966743469238, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-01-07 21:59:05,192", "created": 1610053145.1929927, "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": 192.9926872253418, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 74.93829727172852, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2021-01-07 21:59:05,193", "created": 1610053145.1931143, "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": 193.1142807006836, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 75.05989074707031, "stack_info": null, "thread": 140143167764288, "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-07 21:59:05,193", "created": 1610053145.19363, "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": 193.62998008728027, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 75.57559013366699, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" } ], "msecs": 193.85361671447754, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 75.79922676086426, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 0.00022363662719726562 }, { "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-07 21:59:05,197", "created": 1610053145.1971254, "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-07 21:59:05,194", "created": 1610053145.194259, "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": 194.2589282989502, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 76.20453834533691, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-01-07 21:59:05,194", "created": 1610053145.1943812, "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": 194.3812370300293, "msg": "%s Data version increased, ignoring previous cache data", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 76.32684707641602, "stack_info": null, "thread": 140143167764288, "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-07 21:59:05,194", "created": 1610053145.1946588, "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": 194.65875625610352, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 76.60436630249023, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:", "str", "'__string__'" ], "asctime": "2021-01-07 21:59:05,194", "created": 1610053145.1948752, "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": 194.87524032592773, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 76.82085037231445, "stack_info": null, "thread": 140143167764288, "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-07 21:59:05,195", "created": 1610053145.1950426, "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": 195.04261016845703, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 76.98822021484375, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:", "unicode", "'__unicode__'" ], "asctime": "2021-01-07 21:59:05,195", "created": 1610053145.1951723, "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": 195.17230987548828, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 77.117919921875, "stack_info": null, "thread": 140143167764288, "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-07 21:59:05,195", "created": 1610053145.1953247, "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": 195.32465934753418, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 77.2702693939209, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:", "integer", "34" ], "asctime": "2021-01-07 21:59:05,195", "created": 1610053145.1954384, "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": 195.43838500976562, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 77.38399505615234, "stack_info": null, "thread": 140143167764288, "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-07 21:59:05,195", "created": 1610053145.1955898, "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": 195.58978080749512, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 77.53539085388184, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:", "float", "2.71828" ], "asctime": "2021-01-07 21:59:05,195", "created": 1610053145.1957932, "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": 195.79315185546875, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 77.73876190185547, "stack_info": null, "thread": 140143167764288, "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-07 21:59:05,195", "created": 1610053145.1959686, "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": 195.9686279296875, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 77.91423797607422, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:", "list", "['one', 2, 3, '4']" ], "asctime": "2021-01-07 21:59:05,196", "created": 1610053145.1961098, "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": 196.10977172851562, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 78.05538177490234, "stack_info": null, "thread": 140143167764288, "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-07 21:59:05,196", "created": 1610053145.196303, "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": 196.3028907775879, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 78.24850082397461, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:", "dict", "{'1': '1', '2': 2, '3': 'three', '4': '4'}" ], "asctime": "2021-01-07 21:59:05,196", "created": 1610053145.196436, "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": 196.43592834472656, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 78.38153839111328, "stack_info": null, "thread": 140143167764288, "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-07 21:59:05,196", "created": 1610053145.1966474, "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": 196.64740562438965, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 78.59301567077637, "stack_info": null, "thread": 140143167764288, "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-07 21:59:05,196", "created": 1610053145.1969156, "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": 196.9156265258789, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 78.86123657226562, "stack_info": null, "thread": 140143167764288, "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-07 21:59:05,197", "created": 1610053145.1970053, "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": 197.0052719116211, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 78.95088195800781, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" } ], "msecs": 197.12543487548828, "msg": "Instance data after increasing data_version is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 79.071044921875, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 0.0001201629638671875 } ], "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 0.005006074905395508, "time_finished": "2021-01-07 21:59:05,197", "time_start": "2021-01-07 21:59:05,192" }, "caching.property_cache_json: Test internal key usage": { "args": null, "asctime": "2021-01-07 21:59:05,202", "created": 1610053145.2021387, "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": 202.13866233825684, "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": 68457, "processName": "MainProcess", "relativeCreated": 84.08427238464355, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2021-01-07 21:59:05,202", "created": 1610053145.202563, "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-07 21:59:05,202", "created": 1610053145.2022107, "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": 202.2106647491455, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 84.15627479553223, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/internal_keys_test.json" ], "asctime": "2021-01-07 21:59:05,202", "created": 1610053145.202267, "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": 202.26693153381348, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 84.2125415802002, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-01-07 21:59:05,202", "created": 1610053145.2023256, "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": 202.32558250427246, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 84.27119255065918, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['_property_cache_uid_', '__property_cache_uid_', '_property_cache_data_version_', '__property_cache_data_version_']" ], "asctime": "2021-01-07 21:59:05,202", "created": 1610053145.2023678, "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": 202.36778259277344, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 84.31339263916016, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/internal_keys_test.json" ], "asctime": "2021-01-07 21:59:05,202", "created": 1610053145.2025003, "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": 202.5003433227539, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 84.44595336914062, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" } ], "msecs": 202.56304740905762, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 84.50865745544434, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 6.270408630371094e-05 }, { "args": [ "property_cache_json" ], "asctime": "2021-01-07 21:59:05,202", "created": 1610053145.2028153, "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-07 21:59:05,202", "created": 1610053145.2026927, "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": 202.69274711608887, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 84.63835716247559, "stack_info": null, "thread": 140143167764288, "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-07 21:59:05,202", "created": 1610053145.2027457, "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": 202.7456760406494, "msg": "Using storage object of cache class for comparison: %s", "name": "__unittest__", "pathname": "src/tests/test_internal_keys.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 84.69128608703613, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "_property_cache_data_version_", "_property_cache_uid_" ], "asctime": "2021-01-07 21:59:05,202", "created": 1610053145.2027826, "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": 202.78263092041016, "msg": "Deleting overhead keys: %s, %s", "name": "__unittest__", "pathname": "src/tests/test_internal_keys.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 84.72824096679688, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" } ], "msecs": 202.81529426574707, "msg": "Extracting storage object from %s for comparison.", "name": "__tLogger__", "pathname": "src/tests/test_internal_keys.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 84.76090431213379, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 3.266334533691406e-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-07 21:59:05,202", "created": 1610053145.202983, "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-07 21:59:05,202", "created": 1610053145.2028835, "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": 202.88348197937012, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 84.82909202575684, "stack_info": null, "thread": 140143167764288, "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-07 21:59:05,202", "created": 1610053145.2029262, "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": 202.9261589050293, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 84.87176895141602, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" } ], "msecs": 202.98290252685547, "msg": "Cache is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 84.92851257324219, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 5.6743621826171875e-05 }, { "args": [ "5", "" ], "asctime": "2021-01-07 21:59:05,203", "created": 1610053145.2031124, "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-07 21:59:05,203", "created": 1610053145.2030437, "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": 203.04369926452637, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 84.98930931091309, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "Keyfilter returnvalue for 5 ()", "5", "" ], "asctime": "2021-01-07 21:59:05,203", "created": 1610053145.2030787, "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": 203.0787467956543, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 85.02435684204102, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" } ], "msecs": 203.11236381530762, "msg": "Keyfilter returnvalue for 5 () is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 85.05797386169434, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 3.361701965332031e-05 } ], "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 0.0009737014770507812, "time_finished": "2021-01-07 21:59:05,203", "time_start": "2021-01-07 21:59:05,202" }, "caching.property_cache_json: Test partially initialisation of JSON-Cache-Object": { "args": null, "asctime": "2021-01-07 21:59:05,185", "created": 1610053145.185601, "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": 185.60099601745605, "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": 68457, "processName": "MainProcess", "relativeCreated": 67.54660606384277, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_json", "False" ], "asctime": "2021-01-07 21:59:05,185", "created": 1610053145.185982, "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-07 21:59:05,185", "created": 1610053145.1856759, "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": 185.67585945129395, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 67.62146949768066, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.json" ], "asctime": "2021-01-07 21:59:05,185", "created": 1610053145.1857476, "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": 185.74762344360352, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 67.69323348999023, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-01-07 21:59:05,185", "created": 1610053145.1858025, "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": 185.80245971679688, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 67.7480697631836, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.json" ], "asctime": "2021-01-07 21:59:05,185", "created": 1610053145.185917, "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": 185.91690063476562, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 67.86251068115234, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" } ], "msecs": 185.98198890686035, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 67.92759895324707, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 6.508827209472656e-05 }, { "args": [], "asctime": "2021-01-07 21:59:05,186", "created": 1610053145.1867125, "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-07 21:59:05,186", "created": 1610053145.1860552, "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": 186.05518341064453, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 68.00079345703125, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.json" ], "asctime": "2021-01-07 21:59:05,186", "created": 1610053145.1861858, "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": 186.1858367919922, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 68.1314468383789, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:", "integer", "17" ], "asctime": "2021-01-07 21:59:05,186", "created": 1610053145.186299, "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": 186.29908561706543, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 68.24469566345215, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.json" ], "asctime": "2021-01-07 21:59:05,186", "created": 1610053145.1864247, "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": 186.42473220825195, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 68.37034225463867, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:", "unicode", "'unicode'" ], "asctime": "2021-01-07 21:59:05,186", "created": 1610053145.1865137, "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": 186.51366233825684, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 68.45927238464355, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.json" ], "asctime": "2021-01-07 21:59:05,186", "created": 1610053145.1866364, "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": 186.63644790649414, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 68.58205795288086, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" } ], "msecs": 186.71250343322754, "msg": "Partially initialising cache object by requesting some information.", "name": "__tLogger__", "pathname": "src/tests/test_no_load_on_init.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 68.65811347961426, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 7.605552673339844e-05 }, { "args": [ "property_cache_json" ], "asctime": "2021-01-07 21:59:05,186", "created": 1610053145.1869674, "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-07 21:59:05,186", "created": 1610053145.1868458, "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": 186.8457794189453, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 68.79138946533203, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "{'_property_cache_data_version_': 1, '_property_cache_uid_': 'my_unique_id', 'integer': 17, 'str': 'string', 'unicode': 'unicode'}" ], "asctime": "2021-01-07 21:59:05,186", "created": 1610053145.1868944, "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": 186.89441680908203, "msg": "Using storage object of cache class for comparison: %s", "name": "__unittest__", "pathname": "src/tests/test_no_load_on_init.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 68.84002685546875, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "_property_cache_data_version_", "_property_cache_uid_" ], "asctime": "2021-01-07 21:59:05,186", "created": 1610053145.186935, "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": 186.9349479675293, "msg": "Deleting overhead keys: %s, %s", "name": "__unittest__", "pathname": "src/tests/test_no_load_on_init.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 68.88055801391602, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" } ], "msecs": 186.9673728942871, "msg": "Extracting storage object from %s for comparison.", "name": "__tLogger__", "pathname": "src/tests/test_no_load_on_init.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 68.91298294067383, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 3.24249267578125e-05 }, { "args": [ "{'integer': 17, 'str': 'string', 'unicode': 'unicode'}", "" ], "asctime": "2021-01-07 21:59:05,187", "created": 1610053145.187128, "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-07 21:59:05,187", "created": 1610053145.1870387, "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": 187.03866004943848, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 68.9842700958252, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "Cache object", "{ 'str': 'string', 'unicode': 'unicode', 'integer': 17 }", "" ], "asctime": "2021-01-07 21:59:05,187", "created": 1610053145.1870804, "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": 187.08038330078125, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 69.02599334716797, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" } ], "msecs": 187.12806701660156, "msg": "Cache object is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 69.07367706298828, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 4.76837158203125e-05 } ], "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 0.0015270709991455078, "time_finished": "2021-01-07 21:59:05,187", "time_start": "2021-01-07 21:59:05,185" }, "caching.property_cache_pickle: Test cached data (full init)": { "args": null, "asctime": "2021-01-07 21:59:05,205", "created": 1610053145.2056003, "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": 205.60026168823242, "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": 68457, "processName": "MainProcess", "relativeCreated": 87.54587173461914, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2021-01-07 21:59:05,206", "created": 1610053145.2062118, "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-07 21:59:05,205", "created": 1610053145.205679, "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": 205.67893981933594, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 87.62454986572266, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_load_on_init.pkl" ], "asctime": "2021-01-07 21:59:05,205", "created": 1610053145.2057767, "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": 205.77669143676758, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 87.7223014831543, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-01-07 21:59:05,205", "created": 1610053145.2058713, "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": 205.8713436126709, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 87.81695365905762, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2021-01-07 21:59:05,205", "created": 1610053145.2059484, "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": 205.9483528137207, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 87.89396286010742, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_load_on_init.pkl" ], "asctime": "2021-01-07 21:59:05,206", "created": 1610053145.2061145, "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": 206.1145305633545, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 88.06014060974121, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" } ], "msecs": 206.21180534362793, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 88.15741539001465, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 9.72747802734375e-05 }, { "args": [], "asctime": "2021-01-07 21:59:05,207", "created": 1610053145.2070763, "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-07 21:59:05,206", "created": 1610053145.2064097, "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": 206.40969276428223, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 88.35530281066895, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:", "str", "'string'" ], "asctime": "2021-01-07 21:59:05,206", "created": 1610053145.2065008, "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": 206.50076866149902, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 88.44637870788574, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:", "unicode", "'unicode'" ], "asctime": "2021-01-07 21:59:05,206", "created": 1610053145.2065804, "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": 206.58040046691895, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 88.52601051330566, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:", "integer", "17" ], "asctime": "2021-01-07 21:59:05,206", "created": 1610053145.2066689, "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": 206.66885375976562, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 88.61446380615234, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:", "float", "3.14159" ], "asctime": "2021-01-07 21:59:05,206", "created": 1610053145.2067566, "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": 206.756591796875, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 88.70220184326172, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:", "list", "[1, 'two', '3', 4]" ], "asctime": "2021-01-07 21:59:05,206", "created": 1610053145.206882, "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": 206.88199996948242, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 88.82761001586914, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:", "dict", "{'1': 1, '2': 'two', '3': '3', '4': 4}" ], "asctime": "2021-01-07 21:59:05,206", "created": 1610053145.2069554, "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": 206.9554328918457, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 88.90104293823242, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:", "uncached" ], "asctime": "2021-01-07 21:59:05,207", "created": 1610053145.2070026, "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": 207.0026397705078, "msg": "%s Key '%s' is not in cached_keys. Uncached data will be returned.", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 88.94824981689453, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" } ], "msecs": 207.0763111114502, "msg": "Collecting data from cache instance.", "name": "__tLogger__", "pathname": "src/tests/test_cached_data.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 89.02192115783691, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 7.367134094238281e-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-07 21:59:05,207", "created": 1610053145.207708, "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-07 21:59:05,207", "created": 1610053145.207297, "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": 207.29708671569824, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 89.24269676208496, "stack_info": null, "thread": 140143167764288, "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-07 21:59:05,207", "created": 1610053145.2074234, "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": 207.42344856262207, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 89.36905860900879, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" } ], "msecs": 207.70788192749023, "msg": "Cached data is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 89.65349197387695, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 0.00028443336486816406 } ], "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 0.0021076202392578125, "time_finished": "2021-01-07 21:59:05,207", "time_start": "2021-01-07 21:59:05,205" }, "caching.property_cache_pickle: Test cached data (partially init)": { "args": null, "asctime": "2021-01-07 21:59:05,207", "created": 1610053145.2079902, "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": 207.99016952514648, "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": 68457, "processName": "MainProcess", "relativeCreated": 89.9357795715332, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2021-01-07 21:59:05,208", "created": 1610053145.2087934, "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-07 21:59:05,208", "created": 1610053145.2081885, "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": 208.18853378295898, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 90.1341438293457, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_no_load_on_init.pkl" ], "asctime": "2021-01-07 21:59:05,208", "created": 1610053145.208337, "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": 208.33706855773926, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 90.28267860412598, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-01-07 21:59:05,208", "created": 1610053145.2084422, "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": 208.44221115112305, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 90.38782119750977, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2021-01-07 21:59:05,208", "created": 1610053145.208496, "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": 208.49609375, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 90.44170379638672, "stack_info": null, "thread": 140143167764288, "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-07 21:59:05,208", "created": 1610053145.2086728, "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": 208.67276191711426, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 90.61837196350098, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" } ], "msecs": 208.79340171813965, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 90.73901176452637, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 0.00012063980102539062 }, { "args": [], "asctime": "2021-01-07 21:59:05,209", "created": 1610053145.2094054, "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-07 21:59:05,208", "created": 1610053145.208946, "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": 208.94598960876465, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 90.89159965515137, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:", "str", "'string'" ], "asctime": "2021-01-07 21:59:05,209", "created": 1610053145.209005, "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": 209.00511741638184, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 90.95072746276855, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:", "unicode", "'unicode'" ], "asctime": "2021-01-07 21:59:05,209", "created": 1610053145.2090588, "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": 209.0587615966797, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 91.0043716430664, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:", "integer", "17" ], "asctime": "2021-01-07 21:59:05,209", "created": 1610053145.2091033, "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": 209.10334587097168, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 91.0489559173584, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:", "float", "3.14159" ], "asctime": "2021-01-07 21:59:05,209", "created": 1610053145.209152, "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": 209.1519832611084, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 91.09759330749512, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:", "list", "[1, 'two', '3', 4]" ], "asctime": "2021-01-07 21:59:05,209", "created": 1610053145.2092187, "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": 209.21874046325684, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 91.16435050964355, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:", "dict", "{'1': 1, '2': 'two', '3': '3', '4': 4}" ], "asctime": "2021-01-07 21:59:05,209", "created": 1610053145.2092931, "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": 209.29312705993652, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 91.23873710632324, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:", "uncached" ], "asctime": "2021-01-07 21:59:05,209", "created": 1610053145.2093453, "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": 209.34534072875977, "msg": "%s Key '%s' is not in cached_keys. Uncached data will be returned.", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 91.29095077514648, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" } ], "msecs": 209.40542221069336, "msg": "Collecting data from cache instance.", "name": "__tLogger__", "pathname": "src/tests/test_cached_data.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 91.35103225708008, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 6.008148193359375e-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-07 21:59:05,210", "created": 1610053145.210046, "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-07 21:59:05,209", "created": 1610053145.209597, "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": 209.59711074829102, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 91.54272079467773, "stack_info": null, "thread": 140143167764288, "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-07 21:59:05,209", "created": 1610053145.2097008, "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": 209.7008228302002, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 91.64643287658691, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" } ], "msecs": 210.04605293273926, "msg": "Cached data is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 91.99166297912598, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 0.0003452301025390625 } ], "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 0.0020558834075927734, "time_finished": "2021-01-07 21:59:05,210", "time_start": "2021-01-07 21:59:05,207" }, "caching.property_cache_pickle: Test execution of save callback (full init)": { "args": null, "asctime": "2021-01-07 21:59:05,219", "created": 1610053145.2193766, "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": 219.3765640258789, "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": 68457, "processName": "MainProcess", "relativeCreated": 101.32217407226562, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2021-01-07 21:59:05,219", "created": 1610053145.2194483, "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": 219.44832801818848, "msg": "Installing save_callback, which sets a variable to True on execution.", "name": "__tLogger__", "pathname": "src/tests/test_save_callback.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 101.3939380645752, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 0.0 }, { "args": [ "True", "" ], "asctime": "2021-01-07 21:59:05,219", "created": 1610053145.2197027, "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-07 21:59:05,219", "created": 1610053145.2195399, "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": 219.53988075256348, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 101.4854907989502, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "Save callback execution variable", "True", "" ], "asctime": "2021-01-07 21:59:05,219", "created": 1610053145.219623, "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": 219.62308883666992, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 101.56869888305664, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "Save callback execution variable", "True", "" ], "asctime": "2021-01-07 21:59:05,219", "created": 1610053145.2196672, "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": 219.6671962738037, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 101.61280632019043, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" } ], "msecs": 219.70272064208984, "msg": "Save callback execution variable is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 101.64833068847656, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 3.552436828613281e-05 } ], "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 0.0003261566162109375, "time_finished": "2021-01-07 21:59:05,219", "time_start": "2021-01-07 21:59:05,219" }, "caching.property_cache_pickle: Test full initialised PICKLE-Cache-Object": { "args": null, "asctime": "2021-01-07 21:59:05,203", "created": 1610053145.2032232, "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": 203.22322845458984, "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": 68457, "processName": "MainProcess", "relativeCreated": 85.16883850097656, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2021-01-07 21:59:05,203", "created": 1610053145.2036252, "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-07 21:59:05,203", "created": 1610053145.2033186, "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": 203.31859588623047, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 85.26420593261719, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/load_on_init.pkl" ], "asctime": "2021-01-07 21:59:05,203", "created": 1610053145.2033746, "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": 203.37462425231934, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 85.32023429870605, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-01-07 21:59:05,203", "created": 1610053145.2034302, "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": 203.43017578125, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 85.37578582763672, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2021-01-07 21:59:05,203", "created": 1610053145.203477, "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": 203.4769058227539, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 85.42251586914062, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/load_on_init.pkl" ], "asctime": "2021-01-07 21:59:05,203", "created": 1610053145.2035701, "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": 203.57012748718262, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 85.51573753356934, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" } ], "msecs": 203.62520217895508, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 85.5708122253418, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 5.507469177246094e-05 }, { "args": [ "property_cache_pickle" ], "asctime": "2021-01-07 21:59:05,203", "created": 1610053145.2038581, "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-07 21:59:05,203", "created": 1610053145.203732, "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": 203.73201370239258, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 85.6776237487793, "stack_info": null, "thread": 140143167764288, "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-07 21:59:05,203", "created": 1610053145.2037823, "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": 203.782320022583, "msg": "Using storage object of cache class for comparison: %s", "name": "__unittest__", "pathname": "src/tests/test_load_on_init.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 85.72793006896973, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "_property_cache_data_version_", "_property_cache_uid_" ], "asctime": "2021-01-07 21:59:05,203", "created": 1610053145.2038236, "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": 203.82356643676758, "msg": "Deleting overhead keys: %s, %s", "name": "__unittest__", "pathname": "src/tests/test_load_on_init.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 85.7691764831543, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" } ], "msecs": 203.8581371307373, "msg": "Extracting storage object from %s for comparison.", "name": "__tLogger__", "pathname": "src/tests/test_load_on_init.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 85.80374717712402, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 3.457069396972656e-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}}", "" ], "asctime": "2021-01-07 21:59:05,204", "created": 1610053145.2040727, "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-07 21:59:05,203", "created": 1610053145.2039375, "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": 203.93753051757812, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 85.88314056396484, "stack_info": null, "thread": 140143167764288, "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-07 21:59:05,203", "created": 1610053145.203992, "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": 203.99188995361328, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 85.9375, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" } ], "msecs": 204.0727138519287, "msg": "Cache object is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 86.01832389831543, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 8.082389831542969e-05 } ], "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 0.0008494853973388672, "time_finished": "2021-01-07 21:59:05,204", "time_start": "2021-01-07 21:59:05,203" }, "caching.property_cache_pickle: Test get from source caused by changed uid (full init)": { "args": null, "asctime": "2021-01-07 21:59:05,216", "created": 1610053145.2161264, "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": 216.1264419555664, "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": 68457, "processName": "MainProcess", "relativeCreated": 98.07205200195312, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2021-01-07 21:59:05,216", "created": 1610053145.2165504, "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-07 21:59:05,216", "created": 1610053145.2162097, "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": 216.20965003967285, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 98.15526008605957, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.pkl" ], "asctime": "2021-01-07 21:59:05,216", "created": 1610053145.216279, "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": 216.2790298461914, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 98.22463989257812, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-01-07 21:59:05,216", "created": 1610053145.216342, "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": 216.34197235107422, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 98.28758239746094, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2021-01-07 21:59:05,216", "created": 1610053145.2163906, "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": 216.39060974121094, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 98.33621978759766, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.pkl" ], "asctime": "2021-01-07 21:59:05,216", "created": 1610053145.2164896, "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": 216.4895534515381, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 98.4351634979248, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" } ], "msecs": 216.55035018920898, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 98.4959602355957, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 6.079673767089844e-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-07 21:59:05,217", "created": 1610053145.217399, "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-07 21:59:05,216", "created": 1610053145.2166646, "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": 216.66455268859863, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 98.61016273498535, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-01-07 21:59:05,216", "created": 1610053145.2167368, "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": 216.7367935180664, "msg": "%s Source uid changed, ignoring previous cache data", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 98.68240356445312, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2021-01-07 21:59:05,216", "created": 1610053145.2167923, "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": 216.79234504699707, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 98.73795509338379, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.pkl" ], "asctime": "2021-01-07 21:59:05,216", "created": 1610053145.2168975, "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": 216.89748764038086, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 98.84309768676758, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:", "str", "'__string__'" ], "asctime": "2021-01-07 21:59:05,216", "created": 1610053145.2169771, "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": 216.97711944580078, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 98.9227294921875, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:", "unicode", "'__unicode__'" ], "asctime": "2021-01-07 21:59:05,217", "created": 1610053145.217029, "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": 217.02909469604492, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 98.97470474243164, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:", "integer", "34" ], "asctime": "2021-01-07 21:59:05,217", "created": 1610053145.2170708, "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": 217.0708179473877, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 99.01642799377441, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:", "float", "2.71828" ], "asctime": "2021-01-07 21:59:05,217", "created": 1610053145.2171125, "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": 217.11254119873047, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 99.05815124511719, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:", "list", "['one', 2, 3, '4']" ], "asctime": "2021-01-07 21:59:05,217", "created": 1610053145.2171574, "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": 217.15736389160156, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 99.10297393798828, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:", "dict", "{'1': '1', '2': 2, '3': 'three', '4': '4'}" ], "asctime": "2021-01-07 21:59:05,217", "created": 1610053145.2172008, "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": 217.20075607299805, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 99.14636611938477, "stack_info": null, "thread": 140143167764288, "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-07 21:59:05,217", "created": 1610053145.2172644, "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": 217.26441383361816, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 99.21002388000488, "stack_info": null, "thread": 140143167764288, "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-07 21:59:05,217", "created": 1610053145.2173197, "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": 217.31972694396973, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 99.26533699035645, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" } ], "msecs": 217.39888191223145, "msg": "Instance data after changing uid is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 99.34449195861816, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 7.915496826171875e-05 } ], "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 0.001272439956665039, "time_finished": "2021-01-07 21:59:05,217", "time_start": "2021-01-07 21:59:05,216" }, "caching.property_cache_pickle: Test get from source caused by changed uid (partially init)": { "args": null, "asctime": "2021-01-07 21:59:05,217", "created": 1610053145.2175148, "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": 217.5147533416748, "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": 68457, "processName": "MainProcess", "relativeCreated": 99.46036338806152, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2021-01-07 21:59:05,217", "created": 1610053145.2179072, "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-07 21:59:05,217", "created": 1610053145.2175913, "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": 217.5912857055664, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 99.53689575195312, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2021-01-07 21:59:05,217", "created": 1610053145.2176557, "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": 217.65565872192383, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 99.60126876831055, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-01-07 21:59:05,217", "created": 1610053145.217716, "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": 217.71597862243652, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 99.66158866882324, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2021-01-07 21:59:05,217", "created": 1610053145.2177587, "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": 217.7586555480957, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 99.70426559448242, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2021-01-07 21:59:05,217", "created": 1610053145.217849, "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": 217.8490161895752, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 99.79462623596191, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" } ], "msecs": 217.90719032287598, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 99.8528003692627, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 5.817413330078125e-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-07 21:59:05,219", "created": 1610053145.21926, "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-07 21:59:05,218", "created": 1610053145.2180185, "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": 218.0185317993164, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 99.96414184570312, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-01-07 21:59:05,218", "created": 1610053145.218062, "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": 218.0619239807129, "msg": "%s Source uid changed, ignoring previous cache data", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 100.00753402709961, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2021-01-07 21:59:05,218", "created": 1610053145.218135, "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": 218.13511848449707, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 100.08072853088379, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:", "str", "'__string__'" ], "asctime": "2021-01-07 21:59:05,218", "created": 1610053145.2182107, "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": 218.21069717407227, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 100.15630722045898, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2021-01-07 21:59:05,218", "created": 1610053145.2182858, "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": 218.28579902648926, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 100.23140907287598, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:", "unicode", "'__unicode__'" ], "asctime": "2021-01-07 21:59:05,218", "created": 1610053145.2183642, "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": 218.36423873901367, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 100.30984878540039, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2021-01-07 21:59:05,218", "created": 1610053145.2184343, "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": 218.43433380126953, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 100.37994384765625, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:", "integer", "34" ], "asctime": "2021-01-07 21:59:05,218", "created": 1610053145.2185137, "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": 218.51372718811035, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 100.45933723449707, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2021-01-07 21:59:05,218", "created": 1610053145.218587, "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": 218.58692169189453, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 100.53253173828125, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:", "float", "2.71828" ], "asctime": "2021-01-07 21:59:05,218", "created": 1610053145.2186637, "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": 218.66369247436523, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 100.60930252075195, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2021-01-07 21:59:05,218", "created": 1610053145.218734, "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": 218.7340259552002, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 100.67963600158691, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:", "list", "['one', 2, 3, '4']" ], "asctime": "2021-01-07 21:59:05,218", "created": 1610053145.2188125, "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": 218.8124656677246, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 100.75807571411133, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2021-01-07 21:59:05,218", "created": 1610053145.2188814, "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": 218.88136863708496, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 100.82697868347168, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:", "dict", "{'1': '1', '2': 2, '3': 'three', '4': '4'}" ], "asctime": "2021-01-07 21:59:05,218", "created": 1610053145.2189553, "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": 218.95527839660645, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 100.90088844299316, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2021-01-07 21:59:05,219", "created": 1610053145.2190263, "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": 219.0263271331787, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 100.97193717956543, "stack_info": null, "thread": 140143167764288, "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-07 21:59:05,219", "created": 1610053145.219122, "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": 219.12193298339844, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 101.06754302978516, "stack_info": null, "thread": 140143167764288, "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-07 21:59:05,219", "created": 1610053145.219178, "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": 219.1779613494873, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 101.12357139587402, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" } ], "msecs": 219.25997734069824, "msg": "Instance data after changing uid is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 101.20558738708496, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 8.20159912109375e-05 } ], "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 0.0017452239990234375, "time_finished": "2021-01-07 21:59:05,219", "time_start": "2021-01-07 21:59:05,217" }, "caching.property_cache_pickle: Test get from source caused by increased data version (full init)": { "args": null, "asctime": "2021-01-07 21:59:05,210", "created": 1610053145.2103972, "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": 210.39724349975586, "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": 68457, "processName": "MainProcess", "relativeCreated": 92.34285354614258, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2021-01-07 21:59:05,211", "created": 1610053145.2115116, "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-07 21:59:05,210", "created": 1610053145.2106333, "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": 210.6332778930664, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 92.57888793945312, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.pkl" ], "asctime": "2021-01-07 21:59:05,210", "created": 1610053145.210845, "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": 210.8449935913086, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 92.79060363769531, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-01-07 21:59:05,210", "created": 1610053145.2109973, "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": 210.9973430633545, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 92.94295310974121, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2021-01-07 21:59:05,211", "created": 1610053145.2110963, "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": 211.09628677368164, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 93.04189682006836, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.pkl" ], "asctime": "2021-01-07 21:59:05,211", "created": 1610053145.2113392, "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": 211.33923530578613, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 93.28484535217285, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" } ], "msecs": 211.51161193847656, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 93.45722198486328, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 0.0001723766326904297 }, { "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-07 21:59:05,213", "created": 1610053145.2132008, "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-07 21:59:05,211", "created": 1610053145.211809, "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": 211.8089199066162, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 93.75452995300293, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-01-07 21:59:05,211", "created": 1610053145.211912, "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": 211.9119167327881, "msg": "%s Data version increased, ignoring previous cache data", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 93.8575267791748, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2021-01-07 21:59:05,212", "created": 1610053145.2120028, "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": 212.00275421142578, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 93.9483642578125, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.pkl" ], "asctime": "2021-01-07 21:59:05,212", "created": 1610053145.2122297, "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": 212.22972869873047, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 94.17533874511719, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:", "str", "'__string__'" ], "asctime": "2021-01-07 21:59:05,212", "created": 1610053145.2125084, "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": 212.5084400177002, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 94.45405006408691, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:", "unicode", "'__unicode__'" ], "asctime": "2021-01-07 21:59:05,212", "created": 1610053145.2126226, "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": 212.62264251708984, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 94.56825256347656, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:", "integer", "34" ], "asctime": "2021-01-07 21:59:05,212", "created": 1610053145.2127905, "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": 212.79048919677734, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 94.73609924316406, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:", "float", "2.71828" ], "asctime": "2021-01-07 21:59:05,212", "created": 1610053145.2128506, "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": 212.85057067871094, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 94.79618072509766, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:", "list", "['one', 2, 3, '4']" ], "asctime": "2021-01-07 21:59:05,212", "created": 1610053145.212899, "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": 212.89896965026855, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 94.84457969665527, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:", "dict", "{'1': '1', '2': 2, '3': 'three', '4': '4'}" ], "asctime": "2021-01-07 21:59:05,212", "created": 1610053145.2129474, "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": 212.94736862182617, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 94.89297866821289, "stack_info": null, "thread": 140143167764288, "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-07 21:59:05,213", "created": 1610053145.2130206, "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": 213.02056312561035, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 94.96617317199707, "stack_info": null, "thread": 140143167764288, "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-07 21:59:05,213", "created": 1610053145.2131038, "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": 213.1037712097168, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 95.04938125610352, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" } ], "msecs": 213.20080757141113, "msg": "Instance data after increasing data_version is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 95.14641761779785, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 9.703636169433594e-05 } ], "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 0.0028035640716552734, "time_finished": "2021-01-07 21:59:05,213", "time_start": "2021-01-07 21:59:05,210" }, "caching.property_cache_pickle: Test get from source caused by increased data version (partially init)": { "args": null, "asctime": "2021-01-07 21:59:05,213", "created": 1610053145.213345, "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": 213.34505081176758, "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": 68457, "processName": "MainProcess", "relativeCreated": 95.2906608581543, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2021-01-07 21:59:05,213", "created": 1610053145.213978, "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-07 21:59:05,213", "created": 1610053145.2134407, "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": 213.4406566619873, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 95.38626670837402, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl" ], "asctime": "2021-01-07 21:59:05,213", "created": 1610053145.2135296, "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": 213.5295867919922, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 95.4751968383789, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-01-07 21:59:05,213", "created": 1610053145.213605, "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": 213.60492706298828, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 95.550537109375, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2021-01-07 21:59:05,213", "created": 1610053145.213716, "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": 213.7160301208496, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 95.66164016723633, "stack_info": null, "thread": 140143167764288, "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-07 21:59:05,213", "created": 1610053145.213884, "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": 213.8841152191162, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 95.82972526550293, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" } ], "msecs": 213.97805213928223, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 95.92366218566895, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 9.393692016601562e-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-07 21:59:05,215", "created": 1610053145.2159932, "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-07 21:59:05,214", "created": 1610053145.2141695, "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": 214.16950225830078, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 96.1151123046875, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-01-07 21:59:05,214", "created": 1610053145.2142332, "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": 214.2331600189209, "msg": "%s Data version increased, ignoring previous cache data", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 96.17877006530762, "stack_info": null, "thread": 140143167764288, "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-07 21:59:05,214", "created": 1610053145.2143486, "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": 214.34855461120605, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 96.29416465759277, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:", "str", "'__string__'" ], "asctime": "2021-01-07 21:59:05,214", "created": 1610053145.214509, "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": 214.5090103149414, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 96.45462036132812, "stack_info": null, "thread": 140143167764288, "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-07 21:59:05,214", "created": 1610053145.2146277, "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": 214.62774276733398, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 96.5733528137207, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:", "unicode", "'__unicode__'" ], "asctime": "2021-01-07 21:59:05,214", "created": 1610053145.2147653, "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": 214.7653102874756, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 96.7109203338623, "stack_info": null, "thread": 140143167764288, "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-07 21:59:05,214", "created": 1610053145.2148793, "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": 214.87927436828613, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 96.82488441467285, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:", "integer", "34" ], "asctime": "2021-01-07 21:59:05,215", "created": 1610053145.215011, "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": 215.0108814239502, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 96.95649147033691, "stack_info": null, "thread": 140143167764288, "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-07 21:59:05,215", "created": 1610053145.2151167, "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": 215.1167392730713, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 97.06234931945801, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:", "float", "2.71828" ], "asctime": "2021-01-07 21:59:05,215", "created": 1610053145.2152448, "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": 215.24477005004883, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 97.19038009643555, "stack_info": null, "thread": 140143167764288, "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-07 21:59:05,215", "created": 1610053145.2153652, "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": 215.36517143249512, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 97.31078147888184, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:", "list", "['one', 2, 3, '4']" ], "asctime": "2021-01-07 21:59:05,215", "created": 1610053145.2154992, "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": 215.4991626739502, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 97.44477272033691, "stack_info": null, "thread": 140143167764288, "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-07 21:59:05,215", "created": 1610053145.2155747, "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": 215.5747413635254, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 97.52035140991211, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:", "dict", "{'1': '1', '2': 2, '3': 'three', '4': '4'}" ], "asctime": "2021-01-07 21:59:05,215", "created": 1610053145.2156606, "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": 215.66057205200195, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 97.60618209838867, "stack_info": null, "thread": 140143167764288, "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-07 21:59:05,215", "created": 1610053145.2157342, "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": 215.73424339294434, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 97.67985343933105, "stack_info": null, "thread": 140143167764288, "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-07 21:59:05,215", "created": 1610053145.215846, "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": 215.84606170654297, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 97.79167175292969, "stack_info": null, "thread": 140143167764288, "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-07 21:59:05,215", "created": 1610053145.215907, "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": 215.90709686279297, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 97.85270690917969, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" } ], "msecs": 215.99316596984863, "msg": "Instance data after increasing data_version is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 97.93877601623535, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 8.606910705566406e-05 } ], "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 0.0026481151580810547, "time_finished": "2021-01-07 21:59:05,215", "time_start": "2021-01-07 21:59:05,213" }, "caching.property_cache_pickle: Test internal key usage": { "args": null, "asctime": "2021-01-07 21:59:05,219", "created": 1610053145.219805, "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": 219.8050022125244, "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": 68457, "processName": "MainProcess", "relativeCreated": 101.75061225891113, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2021-01-07 21:59:05,220", "created": 1610053145.2202077, "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-07 21:59:05,219", "created": 1610053145.2198818, "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": 219.88177299499512, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 101.82738304138184, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/internal_keys_test.pkl" ], "asctime": "2021-01-07 21:59:05,219", "created": 1610053145.2199676, "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": 219.96760368347168, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 101.9132137298584, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-01-07 21:59:05,220", "created": 1610053145.2200272, "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": 220.02720832824707, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 101.97281837463379, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:", "['_property_cache_uid_', '__property_cache_uid_', '_property_cache_data_version_', '__property_cache_data_version_']" ], "asctime": "2021-01-07 21:59:05,220", "created": 1610053145.2200701, "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": 220.07012367248535, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 102.01573371887207, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/internal_keys_test.pkl" ], "asctime": "2021-01-07 21:59:05,220", "created": 1610053145.2201533, "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": 220.1533317565918, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 102.09894180297852, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" } ], "msecs": 220.20769119262695, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 102.15330123901367, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 5.435943603515625e-05 }, { "args": [ "property_cache_pickle" ], "asctime": "2021-01-07 21:59:05,220", "created": 1610053145.2204366, "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-07 21:59:05,220", "created": 1610053145.220316, "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": 220.31593322753906, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 102.26154327392578, "stack_info": null, "thread": 140143167764288, "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-07 21:59:05,220", "created": 1610053145.2203662, "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": 220.3662395477295, "msg": "Using storage object of cache class for comparison: %s", "name": "__unittest__", "pathname": "src/tests/test_internal_keys.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 102.31184959411621, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "_property_cache_data_version_", "_property_cache_uid_" ], "asctime": "2021-01-07 21:59:05,220", "created": 1610053145.2204044, "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": 220.40438652038574, "msg": "Deleting overhead keys: %s, %s", "name": "__unittest__", "pathname": "src/tests/test_internal_keys.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 102.34999656677246, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" } ], "msecs": 220.43657302856445, "msg": "Extracting storage object from %s for comparison.", "name": "__tLogger__", "pathname": "src/tests/test_internal_keys.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 102.38218307495117, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 3.218650817871094e-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-07 21:59:05,220", "created": 1610053145.220604, "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-07 21:59:05,220", "created": 1610053145.220507, "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": 220.5069065093994, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 102.45251655578613, "stack_info": null, "thread": 140143167764288, "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-07 21:59:05,220", "created": 1610053145.2205517, "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": 220.5517292022705, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 102.49733924865723, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" } ], "msecs": 220.60394287109375, "msg": "Cache is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 102.54955291748047, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 5.221366882324219e-05 }, { "args": [ "5", "" ], "asctime": "2021-01-07 21:59:05,220", "created": 1610053145.2207732, "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-07 21:59:05,220", "created": 1610053145.2206635, "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": 220.66354751586914, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 102.60915756225586, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "Keyfilter returnvalue for 5 ()", "5", "" ], "asctime": "2021-01-07 21:59:05,220", "created": 1610053145.2207282, "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": 220.72815895080566, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 102.67376899719238, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" } ], "msecs": 220.77322006225586, "msg": "Keyfilter returnvalue for 5 () is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 102.71883010864258, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 4.506111145019531e-05 } ], "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 0.0009682178497314453, "time_finished": "2021-01-07 21:59:05,220", "time_start": "2021-01-07 21:59:05,219" }, "caching.property_cache_pickle: Test partially initialised PICKLE-Cache-Object": { "args": null, "asctime": "2021-01-07 21:59:05,204", "created": 1610053145.2041824, "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": 204.18238639831543, "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": 68457, "processName": "MainProcess", "relativeCreated": 86.12799644470215, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_pickle", "False" ], "asctime": "2021-01-07 21:59:05,204", "created": 1610053145.2044954, "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-07 21:59:05,204", "created": 1610053145.2042537, "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": 204.2536735534668, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 86.19928359985352, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.pkl" ], "asctime": "2021-01-07 21:59:05,204", "created": 1610053145.2043164, "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": 204.3163776397705, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 86.26198768615723, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-01-07 21:59:05,204", "created": 1610053145.20437, "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": 204.37002182006836, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 86.31563186645508, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.pkl" ], "asctime": "2021-01-07 21:59:05,204", "created": 1610053145.204442, "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": 204.44202423095703, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 86.38763427734375, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" } ], "msecs": 204.49542999267578, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "src/tests/test_helpers.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 86.4410400390625, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 5.340576171875e-05 }, { "args": [], "asctime": "2021-01-07 21:59:05,205", "created": 1610053145.205065, "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-07 21:59:05,204", "created": 1610053145.2045643, "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": 204.56433296203613, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 86.50994300842285, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.pkl" ], "asctime": "2021-01-07 21:59:05,204", "created": 1610053145.2046318, "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": 204.63180541992188, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 86.5774154663086, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:", "integer", "17" ], "asctime": "2021-01-07 21:59:05,204", "created": 1610053145.2047427, "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": 204.7426700592041, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 86.68828010559082, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.pkl" ], "asctime": "2021-01-07 21:59:05,204", "created": 1610053145.2048287, "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": 204.82873916625977, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 86.77434921264648, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:", "unicode", "'unicode'" ], "asctime": "2021-01-07 21:59:05,204", "created": 1610053145.2049062, "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": 204.90622520446777, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 86.85183525085449, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.pkl" ], "asctime": "2021-01-07 21:59:05,204", "created": 1610053145.2049904, "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": 204.99038696289062, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 86.93599700927734, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" } ], "msecs": 205.0650119781494, "msg": "Partially initialising cache object by requesting some information.", "name": "__tLogger__", "pathname": "src/tests/test_no_load_on_init.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 87.01062202453613, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 7.462501525878906e-05 }, { "args": [ "property_cache_pickle" ], "asctime": "2021-01-07 21:59:05,205", "created": 1610053145.2053173, "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-07 21:59:05,205", "created": 1610053145.2051888, "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": 205.18875122070312, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "src/caching/__init__.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 87.13436126708984, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "{'_property_cache_uid_': 'my_unique_id', '_property_cache_data_version_': 1, 'str': 'string', 'integer': 17, 'unicode': 'unicode'}" ], "asctime": "2021-01-07 21:59:05,205", "created": 1610053145.205243, "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": 205.24311065673828, "msg": "Using storage object of cache class for comparison: %s", "name": "__unittest__", "pathname": "src/tests/test_no_load_on_init.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 87.188720703125, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "_property_cache_data_version_", "_property_cache_uid_" ], "asctime": "2021-01-07 21:59:05,205", "created": 1610053145.205284, "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": 205.28411865234375, "msg": "Deleting overhead keys: %s, %s", "name": "__unittest__", "pathname": "src/tests/test_no_load_on_init.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 87.22972869873047, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" } ], "msecs": 205.31725883483887, "msg": "Extracting storage object from %s for comparison.", "name": "__tLogger__", "pathname": "src/tests/test_no_load_on_init.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 87.26286888122559, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 3.314018249511719e-05 }, { "args": [ "{'str': 'string', 'integer': 17, 'unicode': 'unicode'}", "" ], "asctime": "2021-01-07 21:59:05,205", "created": 1610053145.2054927, "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-07 21:59:05,205", "created": 1610053145.2053907, "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": 205.39069175720215, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 87.33630180358887, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" }, { "args": [ "Cache object", "{ 'str': 'string', 'unicode': 'unicode', 'integer': 17 }", "" ], "asctime": "2021-01-07 21:59:05,205", "created": 1610053145.205439, "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": 205.43909072875977, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 87.38470077514648, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread" } ], "msecs": 205.49273490905762, "msg": "Cache object is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 68457, "processName": "MainProcess", "relativeCreated": 87.43834495544434, "stack_info": null, "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 5.364418029785156e-05 } ], "thread": 140143167764288, "threadName": "MainThread", "time_consumption": 0.0013103485107421875, "time_finished": "2021-01-07 21:59:05,205", "time_start": "2021-01-07 21:59:05,204" } }, "testrun_id": "p3", "time_consumption": 0.03392815589904785, "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" } }