{ "coverage_information": [ { "branch_coverage": 100.0, "filepath": "/usr/data/dirk/prj/unittest/caching/pylibs/caching", "files": [ { "branch_coverage": 100.0, "filepath": "/usr/data/dirk/prj/unittest/caching/pylibs/caching/__init__.py", "fragments": [ { "coverage_state": "clean", "end": 3, "start": 1 }, { "coverage_state": "covered", "end": 4, "start": 4 }, { "coverage_state": "clean", "end": 24, "start": 5 }, { "coverage_state": "covered", "end": 25, "start": 25 }, { "coverage_state": "clean", "end": 26, "start": 26 }, { "coverage_state": "covered", "end": 33, "start": 27 }, { "coverage_state": "clean", "end": 34, "start": 34 }, { "coverage_state": "covered", "end": 39, "start": 35 }, { "coverage_state": "clean", "end": 40, "start": 40 }, { "coverage_state": "covered", "end": 41, "start": 41 }, { "coverage_state": "clean", "end": 43, "start": 42 }, { "coverage_state": "covered", "end": 44, "start": 44 }, { "coverage_state": "clean", "end": 47, "start": 45 }, { "coverage_state": "covered", "end": 48, "start": 48 }, { "coverage_state": "clean", "end": 81, "start": 49 }, { "coverage_state": "covered", "end": 84, "start": 82 }, { "coverage_state": "clean", "end": 85, "start": 85 }, { "coverage_state": "covered", "end": 91, "start": 86 }, { "coverage_state": "clean", "end": 92, "start": 92 }, { "coverage_state": "covered", "end": 93, "start": 93 }, { "coverage_state": "clean", "end": 100, "start": 94 }, { "coverage_state": "covered", "end": 108, "start": 101 }, { "coverage_state": "clean", "end": 109, "start": 109 }, { "coverage_state": "covered", "end": 111, "start": 110 }, { "coverage_state": "clean", "end": 112, "start": 112 }, { "coverage_state": "covered", "end": 114, "start": 113 }, { "coverage_state": "clean", "end": 115, "start": 115 }, { "coverage_state": "covered", "end": 116, "start": 116 }, { "coverage_state": "clean", "end": 119, "start": 117 }, { "coverage_state": "covered", "end": 120, "start": 120 }, { "coverage_state": "clean", "end": 121, "start": 121 }, { "coverage_state": "covered", "end": 124, "start": 122 }, { "coverage_state": "clean", "end": 125, "start": 125 }, { "coverage_state": "covered", "end": 126, "start": 126 }, { "coverage_state": "clean", "end": 127, "start": 127 }, { "coverage_state": "covered", "end": 139, "start": 128 }, { "coverage_state": "clean", "end": 140, "start": 140 }, { "coverage_state": "covered", "end": 146, "start": 141 }, { "coverage_state": "clean", "end": 147, "start": 147 }, { "coverage_state": "covered", "end": 149, "start": 148 }, { "coverage_state": "clean", "end": 150, "start": 150 }, { "coverage_state": "covered", "end": 153, "start": 151 }, { "coverage_state": "clean", "end": 154, "start": 154 }, { "coverage_state": "covered", "end": 159, "start": 155 }, { "coverage_state": "clean", "end": 160, "start": 160 }, { "coverage_state": "covered", "end": 165, "start": 161 }, { "coverage_state": "clean", "end": 166, "start": 166 }, { "coverage_state": "covered", "end": 172, "start": 167 }, { "coverage_state": "clean", "end": 173, "start": 173 }, { "coverage_state": "covered", "end": 176, "start": 174 }, { "coverage_state": "clean", "end": 177, "start": 177 }, { "coverage_state": "covered", "end": 178, "start": 178 }, { "coverage_state": "clean", "end": 180, "start": 179 }, { "coverage_state": "covered", "end": 181, "start": 181 }, { "coverage_state": "clean", "end": 218, "start": 182 }, { "coverage_state": "covered", "end": 219, "start": 219 }, { "coverage_state": "clean", "end": 220, "start": 220 }, { "coverage_state": "covered", "end": 226, "start": 221 }, { "coverage_state": "clean", "end": 227, "start": 227 }, { "coverage_state": "covered", "end": 229, "start": 228 }, { "coverage_state": "clean", "end": 230, "start": 230 }, { "coverage_state": "covered", "end": 236, "start": 231 }, { "coverage_state": "clean", "end": null, "start": 237 } ], "line_coverage": 100.0, "name": "caching.__init__.py" } ], "line_coverage": 100.0, "name": "caching" } ], "lost_souls": { "item_list": [], "testcase_list": [ "caching.property_cache_json: Test cached data (full init)", "caching.property_cache_json: Test cached data (partially init)", "caching.property_cache_json: Test execution of save callback (full init)", "caching.property_cache_json: Test full initialised JSON-Cache-Object", "caching.property_cache_json: Test get from source caused by changed uid (full init)", "caching.property_cache_json: Test get from source caused by changed uid (partially init)", "caching.property_cache_json: Test get from source caused by increased data version (full init)", "caching.property_cache_json: Test get from source caused by increased data version (partially init)", "caching.property_cache_json: Test internal key usage", "caching.property_cache_json: Test partially initialisation of JSON-Cache-Object", "caching.property_cache_pickle: Test cached data (full init)", "caching.property_cache_pickle: Test cached data (partially init)", "caching.property_cache_pickle: Test execution of save callback (full init)", "caching.property_cache_pickle: Test full initialised PICKLE-Cache-Object", "caching.property_cache_pickle: Test get from source caused by changed uid (full init)", "caching.property_cache_pickle: Test get from source caused by changed uid (partially init)", "caching.property_cache_pickle: Test get from source caused by increased data version (full init)", "caching.property_cache_pickle: Test get from source caused by increased data version (partially init)", "caching.property_cache_pickle: Test internal key usage", "caching.property_cache_pickle: Test partially initialised PICKLE-Cache-Object" ] }, "specification": {}, "system_information": { "Architecture": "64bit", "Distribution": "Linux Mint 20.1 ulyssa", "Hostname": "erle", "Kernel": "5.8.0-44-generic (#50~20.04.1-Ubuntu SMP Wed Feb 10 21:07:30 UTC 2021)", "Machine": "x86_64", "Path": "/usr/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-02-28 18:40:20,093", "created": 1614534020.093299, "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": 93.29891204833984, "msg": "caching.property_cache_json: Test cached data (full init)", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 41.14890098571777, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2021-02-28 18:40:20,094", "created": 1614534020.094034, "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-02-28 18:40:20,093", "created": 1614534020.0934, "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": 93.4000015258789, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 41.249990463256836, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "/usr/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,093", "created": 1614534020.093478, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /usr/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_load_on_init.json as cache file.", "module": "test_helpers", "msecs": 93.47796440124512, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 41.32795333862305, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-02-28 18:40:20,093", "created": 1614534020.093558, "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": 93.55807304382324, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 41.40806198120117, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2021-02-28 18:40:20,093", "created": 1614534020.093623, "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": 93.62292289733887, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 41.4729118347168, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,093", "created": 1614534020.093953, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_load_on_init.json)", "module": "__init__", "msecs": 93.95289421081543, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 41.80288314819336, "thread": 139640807294784, "threadName": "MainThread" } ], "msecs": 94.03395652770996, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 41.88394546508789, "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 8.106231689453125e-05 }, { "args": [], "asctime": "2021-02-28 18:40:20,094", "created": 1614534020.094684, "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-02-28 18:40:20,094", "created": 1614534020.09414, "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": 94.14005279541016, "msg": "%s Key '%s' is not in cached_keys. Uncached data will be returned.", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 41.990041732788086, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,094", "created": 1614534020.094257, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 225, "message": "JsonCache: Loading properties from cache (/usr/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_load_on_init.json)", "module": "__init__", "msecs": 94.25711631774902, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 42.10710525512695, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "dict", "{u'1': 1, u'3': u'3', u'2': u'two', u'4': 4}" ], "asctime": "2021-02-28 18:40:20,094", "created": 1614534020.094333, "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": 94.33293342590332, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 42.18292236328125, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "unicode", "u'unicode'" ], "asctime": "2021-02-28 18:40:20,094", "created": 1614534020.094397, "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": 94.39706802368164, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 42.24705696105957, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "str", "u'string'" ], "asctime": "2021-02-28 18:40:20,094", "created": 1614534020.094456, "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": 94.45595741271973, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 42.305946350097656, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "integer", "17" ], "asctime": "2021-02-28 18:40:20,094", "created": 1614534020.094514, "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": 94.5138931274414, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 42.363882064819336, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "float", "3.14159" ], "asctime": "2021-02-28 18:40:20,094", "created": 1614534020.094572, "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": 94.57206726074219, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 42.42205619812012, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "list", "[1, u'two', u'3', 4]" ], "asctime": "2021-02-28 18:40:20,094", "created": 1614534020.094635, "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": 94.635009765625, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 42.48499870300293, "thread": 139640807294784, "threadName": "MainThread" } ], "msecs": 94.68388557434082, "msg": "Collecting data from cache instance.", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_cached_data.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 42.53387451171875, "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 4.887580871582031e-05 }, { "args": [], "asctime": "2021-02-28 18:40:20,095", "created": 1614534020.095818, "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-02-28 18:40:20,094", "created": 1614534020.094801, "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": 94.80094909667969, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 42.65093803405762, "thread": 139640807294784, "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-02-28 18:40:20,094", "created": 1614534020.094876, "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": 94.87605094909668, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 42.72603988647461, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'two'" ], "asctime": "2021-02-28 18:40:20,094", "created": 1614534020.094958, "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": 94.95806694030762, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 42.80805587768555, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "u'two'" ], "asctime": "2021-02-28 18:40:20,095", "created": 1614534020.095014, "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": 95.01409530639648, "msg": "Content %s is incorrect for test_variable.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 42.864084243774414, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'two'" ], "asctime": "2021-02-28 18:40:20,095", "created": 1614534020.095071, "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": 95.07107734680176, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 42.92106628417969, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "u'two'" ], "asctime": "2021-02-28 18:40:20,095", "created": 1614534020.09512, "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": 95.11995315551758, "msg": "Content %s is incorrect for test_variable.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 42.96994209289551, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'two'" ], "asctime": "2021-02-28 18:40:20,095", "created": 1614534020.095174, "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": 95.17407417297363, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 43.02406311035156, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "", "", " for result.list[1]", "u'two'" ], "asctime": "2021-02-28 18:40:20,095", "created": 1614534020.095228, "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": 95.22795677185059, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 43.077945709228516, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'3'" ], "asctime": "2021-02-28 18:40:20,095", "created": 1614534020.095279, "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": 95.27897834777832, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 43.12896728515625, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "u'3'" ], "asctime": "2021-02-28 18:40:20,095", "created": 1614534020.095327, "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": 95.32690048217773, "msg": "Content %s is incorrect for test_variable.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 43.176889419555664, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'3'" ], "asctime": "2021-02-28 18:40:20,095", "created": 1614534020.09538, "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": 95.38006782531738, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 43.23005676269531, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "", "", " for result.list[2]", "u'3'" ], "asctime": "2021-02-28 18:40:20,095", "created": 1614534020.095432, "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": 95.43204307556152, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 43.28203201293945, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "", "", " for result.dict.3", "u'3'" ], "asctime": "2021-02-28 18:40:20,095", "created": 1614534020.09564, "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": 95.63994407653809, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 43.489933013916016, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "", "", " for result.dict.2", "u'two'" ], "asctime": "2021-02-28 18:40:20,095", "created": 1614534020.095704, "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": 95.7040786743164, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 43.554067611694336, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "", "", " for result.str", "u'string'" ], "asctime": "2021-02-28 18:40:20,095", "created": 1614534020.095765, "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": 95.7651138305664, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 43.615102767944336, "thread": 139640807294784, "threadName": "MainThread" } ], "msecs": 95.81804275512695, "msg": "Cached data is NOT correct. See detailed log for more information.", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 43.66803169250488, "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 5.2928924560546875e-05 } ], "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 0.0025191307067871094, "time_finished": "2021-02-28 18:40:20,095", "time_start": "2021-02-28 18:40:20,093" }, "caching.property_cache_json: Test cached data (partially init)": { "args": null, "asctime": "2021-02-28 18:40:20,095", "created": 1614534020.095994, "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": 95.9939956665039, "msg": "caching.property_cache_json: Test cached data (partially init)", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 43.843984603881836, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2021-02-28 18:40:20,096", "created": 1614534020.096644, "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-02-28 18:40:20,096", "created": 1614534020.096091, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 17, "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "module": "test_helpers", "msecs": 96.09103202819824, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 43.94102096557617, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "/usr/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_no_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,096", "created": 1614534020.096167, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /usr/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_no_load_on_init.json as cache file.", "module": "test_helpers", "msecs": 96.16708755493164, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 44.01707649230957, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-02-28 18:40:20,096", "created": 1614534020.096246, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 228, "message": "JsonCache: Cache file does not exists (yet).", "module": "__init__", "msecs": 96.24600410461426, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 44.09599304199219, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2021-02-28 18:40:20,096", "created": 1614534020.096312, "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": 96.31204605102539, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 44.16203498840332, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_no_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,096", "created": 1614534020.096565, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_no_load_on_init.json)", "module": "__init__", "msecs": 96.56500816345215, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 44.41499710083008, "thread": 139640807294784, "threadName": "MainThread" } ], "msecs": 96.64392471313477, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 44.493913650512695, "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 7.891654968261719e-05 }, { "args": [], "asctime": "2021-02-28 18:40:20,097", "created": 1614534020.097287, "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-02-28 18:40:20,096", "created": 1614534020.096748, "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": 96.74811363220215, "msg": "%s Key '%s' is not in cached_keys. Uncached data will be returned.", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 44.59810256958008, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_no_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,096", "created": 1614534020.096861, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 225, "message": "JsonCache: Loading properties from cache (/usr/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_no_load_on_init.json)", "module": "__init__", "msecs": 96.86088562011719, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 44.71087455749512, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "dict", "{u'1': 1, u'3': u'3', u'2': u'two', u'4': 4}" ], "asctime": "2021-02-28 18:40:20,096", "created": 1614534020.096935, "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": 96.93503379821777, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 44.7850227355957, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "unicode", "u'unicode'" ], "asctime": "2021-02-28 18:40:20,096", "created": 1614534020.096999, "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": 96.99892997741699, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 44.84891891479492, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "str", "u'string'" ], "asctime": "2021-02-28 18:40:20,097", "created": 1614534020.097057, "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": 97.05710411071777, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 44.9070930480957, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "integer", "17" ], "asctime": "2021-02-28 18:40:20,097", "created": 1614534020.097115, "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": 97.11503982543945, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 44.96502876281738, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "float", "3.14159" ], "asctime": "2021-02-28 18:40:20,097", "created": 1614534020.097176, "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": 97.17607498168945, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 45.02606391906738, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "list", "[1, u'two', u'3', 4]" ], "asctime": "2021-02-28 18:40:20,097", "created": 1614534020.097237, "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": 97.23711013793945, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 45.08709907531738, "thread": 139640807294784, "threadName": "MainThread" } ], "msecs": 97.28693962097168, "msg": "Collecting data from cache instance.", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_cached_data.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 45.13692855834961, "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 4.982948303222656e-05 }, { "args": [], "asctime": "2021-02-28 18:40:20,098", "created": 1614534020.098262, "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-02-28 18:40:20,097", "created": 1614534020.0974, "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": 97.39995002746582, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 45.24993896484375, "thread": 139640807294784, "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-02-28 18:40:20,097", "created": 1614534020.097474, "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": 97.4740982055664, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 45.324087142944336, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'two'" ], "asctime": "2021-02-28 18:40:20,097", "created": 1614534020.097558, "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": 97.55802154541016, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 45.408010482788086, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "u'two'" ], "asctime": "2021-02-28 18:40:20,097", "created": 1614534020.09761, "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": 97.6099967956543, "msg": "Content %s is incorrect for test_variable.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 45.45998573303223, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'two'" ], "asctime": "2021-02-28 18:40:20,097", "created": 1614534020.097673, "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": 97.67293930053711, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 45.52292823791504, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "u'two'" ], "asctime": "2021-02-28 18:40:20,097", "created": 1614534020.097724, "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": 97.72396087646484, "msg": "Content %s is incorrect for test_variable.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 45.57394981384277, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'two'" ], "asctime": "2021-02-28 18:40:20,097", "created": 1614534020.097777, "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": 97.77688980102539, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 45.62687873840332, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "", "", " for result.list[1]", "u'two'" ], "asctime": "2021-02-28 18:40:20,097", "created": 1614534020.097828, "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": 97.82791137695312, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 45.677900314331055, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'3'" ], "asctime": "2021-02-28 18:40:20,097", "created": 1614534020.097883, "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": 97.88298606872559, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 45.732975006103516, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "u'3'" ], "asctime": "2021-02-28 18:40:20,097", "created": 1614534020.097931, "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": 97.930908203125, "msg": "Content %s is incorrect for test_variable.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 45.78089714050293, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'3'" ], "asctime": "2021-02-28 18:40:20,097", "created": 1614534020.097984, "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": 97.98407554626465, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 45.83406448364258, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "", "", " for result.list[2]", "u'3'" ], "asctime": "2021-02-28 18:40:20,098", "created": 1614534020.098034, "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": 98.03390502929688, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 45.883893966674805, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "", "", " for result.dict.3", "u'3'" ], "asctime": "2021-02-28 18:40:20,098", "created": 1614534020.098106, "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": 98.10590744018555, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 45.95589637756348, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "", "", " for result.dict.2", "u'two'" ], "asctime": "2021-02-28 18:40:20,098", "created": 1614534020.098158, "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": 98.15788269042969, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 46.00787162780762, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "", "", " for result.str", "u'string'" ], "asctime": "2021-02-28 18:40:20,098", "created": 1614534020.098212, "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": 98.21200370788574, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 46.06199264526367, "thread": 139640807294784, "threadName": "MainThread" } ], "msecs": 98.26207160949707, "msg": "Cached data is NOT correct. See detailed log for more information.", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 46.112060546875, "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 5.0067901611328125e-05 } ], "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 0.002268075942993164, "time_finished": "2021-02-28 18:40:20,098", "time_start": "2021-02-28 18:40:20,095" }, "caching.property_cache_json: Test execution of save callback (full init)": { "args": null, "asctime": "2021-02-28 18:40:20,110", "created": 1614534020.11023, "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": 110.2299690246582, "msg": "caching.property_cache_json: Test execution of save callback (full init)", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 58.07995796203613, "testcaseLogger": [ { "args": [], "asctime": "2021-02-28 18:40:20,110", "created": 1614534020.110355, "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": 110.35490036010742, "msg": "Installing save_callback, which sets a variable to True on execution.", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_save_callback.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 58.20488929748535, "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 0.0 }, { "args": [ "True", "" ], "asctime": "2021-02-28 18:40:20,110", "created": 1614534020.110768, "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:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/save_callback_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,110", "created": 1614534020.110537, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/save_callback_load_on_init.json)", "module": "__init__", "msecs": 110.53705215454102, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 58.387041091918945, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "Save callback execution variable", "True", "" ], "asctime": "2021-02-28 18:40:20,110", "created": 1614534020.11065, "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": 110.65006256103516, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 58.500051498413086, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "Save callback execution variable", "True", "" ], "asctime": "2021-02-28 18:40:20,110", "created": 1614534020.110717, "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": 110.7170581817627, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 58.567047119140625, "thread": 139640807294784, "threadName": "MainThread" } ], "msecs": 110.76807975769043, "msg": "Save callback execution variable is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 58.61806869506836, "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 5.1021575927734375e-05 } ], "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 0.0005381107330322266, "time_finished": "2021-02-28 18:40:20,110", "time_start": "2021-02-28 18:40:20,110" }, "caching.property_cache_json: Test full initialised JSON-Cache-Object": { "args": null, "asctime": "2021-02-28 18:40:20,086", "created": 1614534020.086355, "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": 86.35497093200684, "msg": "caching.property_cache_json: Test full initialised JSON-Cache-Object", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 34.204959869384766, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2021-02-28 18:40:20,087", "created": 1614534020.087584, "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-02-28 18:40:20,086", "created": 1614534020.086673, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 17, "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "module": "test_helpers", "msecs": 86.67302131652832, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 34.52301025390625, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "/usr/data/dirk/prj/unittest/caching/unittest/output_data/load_on_init.json" ], "asctime": "2021-02-28 18:40:20,086", "created": 1614534020.086816, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /usr/data/dirk/prj/unittest/caching/unittest/output_data/load_on_init.json as cache file.", "module": "test_helpers", "msecs": 86.81607246398926, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 34.66606140136719, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-02-28 18:40:20,087", "created": 1614534020.087033, "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": 87.03303337097168, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 34.88302230834961, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2021-02-28 18:40:20,087", "created": 1614534020.087122, "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": 87.12196350097656, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 34.97195243835449, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/load_on_init.json" ], "asctime": "2021-02-28 18:40:20,087", "created": 1614534020.087466, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/load_on_init.json)", "module": "__init__", "msecs": 87.46600151062012, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 35.31599044799805, "thread": 139640807294784, "threadName": "MainThread" } ], "msecs": 87.58401870727539, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 35.43400764465332, "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 0.00011801719665527344 }, { "args": [ "property_cache_json" ], "asctime": "2021-02-28 18:40:20,088", "created": 1614534020.08803, "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:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/load_on_init.json" ], "asctime": "2021-02-28 18:40:20,087", "created": 1614534020.087798, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 225, "message": "JsonCache: Loading properties from cache (/usr/data/dirk/prj/unittest/caching/unittest/output_data/load_on_init.json)", "module": "__init__", "msecs": 87.7981185913086, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 35.64810752868652, "thread": 139640807294784, "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-02-28 18:40:20,087", "created": 1614534020.087904, "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": 87.90397644042969, "msg": "Using storage object of cache class for comparison: %s", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_load_on_init.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 35.75396537780762, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "_property_cache_data_version_", "_property_cache_uid_" ], "asctime": "2021-02-28 18:40:20,087", "created": 1614534020.087979, "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": 87.97907829284668, "msg": "Deleting overhead keys: %s, %s", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_load_on_init.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 35.82906723022461, "thread": 139640807294784, "threadName": "MainThread" } ], "msecs": 88.03009986877441, "msg": "Extracting storage object from %s for comparison.", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_load_on_init.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 35.880088806152344, "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 5.1021575927734375e-05 }, { "args": [], "asctime": "2021-02-28 18:40:20,089", "created": 1614534020.089333, "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-02-28 18:40:20,088", "created": 1614534020.088191, "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": 88.19103240966797, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 36.0410213470459, "thread": 139640807294784, "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-02-28 18:40:20,088", "created": 1614534020.088278, "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": 88.27805519104004, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 36.12804412841797, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "", "", " for result.str", "u'string'" ], "asctime": "2021-02-28 18:40:20,088", "created": 1614534020.088366, "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": 88.36603164672852, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 36.216020584106445, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'two'" ], "asctime": "2021-02-28 18:40:20,088", "created": 1614534020.08845, "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": 88.44995498657227, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 36.299943923950195, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "u'two'" ], "asctime": "2021-02-28 18:40:20,088", "created": 1614534020.088511, "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": 88.51099014282227, "msg": "Content %s is incorrect for test_variable.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 36.360979080200195, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'two'" ], "asctime": "2021-02-28 18:40:20,088", "created": 1614534020.088579, "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": 88.57893943786621, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 36.42892837524414, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "u'two'" ], "asctime": "2021-02-28 18:40:20,088", "created": 1614534020.08864, "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": 88.63997459411621, "msg": "Content %s is incorrect for test_variable.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 36.48996353149414, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'two'" ], "asctime": "2021-02-28 18:40:20,088", "created": 1614534020.088702, "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": 88.70196342468262, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 36.55195236206055, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "", "", " for result.list[1]", "u'two'" ], "asctime": "2021-02-28 18:40:20,088", "created": 1614534020.08876, "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": 88.7598991394043, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 36.60988807678223, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'3'" ], "asctime": "2021-02-28 18:40:20,088", "created": 1614534020.08882, "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": 88.81998062133789, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 36.66996955871582, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "u'3'" ], "asctime": "2021-02-28 18:40:20,088", "created": 1614534020.088875, "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": 88.87505531311035, "msg": "Content %s is incorrect for test_variable.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 36.72504425048828, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'3'" ], "asctime": "2021-02-28 18:40:20,088", "created": 1614534020.088935, "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": 88.93489837646484, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 36.78488731384277, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "", "", " for result.list[2]", "u'3'" ], "asctime": "2021-02-28 18:40:20,088", "created": 1614534020.088996, "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": 88.99593353271484, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 36.84592247009277, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "", "", " for result.dict.3", "u'3'" ], "asctime": "2021-02-28 18:40:20,089", "created": 1614534020.089164, "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": 89.16401863098145, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 37.014007568359375, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "", "", " for result.dict.2", "u'two'" ], "asctime": "2021-02-28 18:40:20,089", "created": 1614534020.089249, "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": 89.2488956451416, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 37.09888458251953, "thread": 139640807294784, "threadName": "MainThread" } ], "msecs": 89.33305740356445, "msg": "Cache object is NOT correct. See detailed log for more information.", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 37.18304634094238, "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 8.416175842285156e-05 } ], "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 0.002978086471557617, "time_finished": "2021-02-28 18:40:20,089", "time_start": "2021-02-28 18:40:20,086" }, "caching.property_cache_json: Test get from source caused by changed uid (full init)": { "args": null, "asctime": "2021-02-28 18:40:20,104", "created": 1614534020.104136, "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": 104.13599014282227, "msg": "caching.property_cache_json: Test get from source caused by changed uid (full init)", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 51.985979080200195, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2021-02-28 18:40:20,104", "created": 1614534020.104905, "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-02-28 18:40:20,104", "created": 1614534020.104255, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 17, "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "module": "test_helpers", "msecs": 104.25496101379395, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 52.104949951171875, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,104", "created": 1614534020.104354, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.json as cache file.", "module": "test_helpers", "msecs": 104.3539047241211, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 52.20389366149902, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-02-28 18:40:20,104", "created": 1614534020.104472, "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": 104.47192192077637, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 52.3219108581543, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2021-02-28 18:40:20,104", "created": 1614534020.104549, "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": 104.54893112182617, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 52.3989200592041, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,104", "created": 1614534020.104822, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.json)", "module": "__init__", "msecs": 104.82192039489746, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 52.67190933227539, "thread": 139640807294784, "threadName": "MainThread" } ], "msecs": 104.9048900604248, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 52.754878997802734, "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 8.296966552734375e-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-02-28 18:40:20,106", "created": 1614534020.106208, "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:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,105", "created": 1614534020.105077, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 225, "message": "JsonCache: Loading properties from cache (/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.json)", "module": "__init__", "msecs": 105.07702827453613, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 52.92701721191406, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-02-28 18:40:20,105", "created": 1614534020.105145, "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": 105.14497756958008, "msg": "%s Source uid changed, ignoring previous cache data", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 52.99496650695801, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2021-02-28 18:40:20,105", "created": 1614534020.105215, "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": 105.21507263183594, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 53.06506156921387, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,105", "created": 1614534020.105472, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.json)", "module": "__init__", "msecs": 105.47208786010742, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 53.32207679748535, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "dict", "{'1': '1', '3': 'three', '2': 2, '4': '4'}" ], "asctime": "2021-02-28 18:40:20,105", "created": 1614534020.105595, "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": 105.59511184692383, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 53.44510078430176, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "unicode", "u'__unicode__'" ], "asctime": "2021-02-28 18:40:20,105", "created": 1614534020.105681, "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": 105.68094253540039, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 53.53093147277832, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "str", "'__string__'" ], "asctime": "2021-02-28 18:40:20,105", "created": 1614534020.105744, "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": 105.7438850402832, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 53.59387397766113, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "integer", "34" ], "asctime": "2021-02-28 18:40:20,105", "created": 1614534020.105807, "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": 105.80706596374512, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 53.65705490112305, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "float", "2.71828" ], "asctime": "2021-02-28 18:40:20,105", "created": 1614534020.105867, "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": 105.86690902709961, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 53.71689796447754, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "list", "['one', 2, 3, '4']" ], "asctime": "2021-02-28 18:40:20,105", "created": 1614534020.105926, "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": 105.9260368347168, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 53.77602577209473, "thread": 139640807294784, "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-02-28 18:40:20,106", "created": 1614534020.106011, "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": 106.01091384887695, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 53.86090278625488, "thread": 139640807294784, "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-02-28 18:40:20,106", "created": 1614534020.106085, "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": 106.08506202697754, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 53.93505096435547, "thread": 139640807294784, "threadName": "MainThread" } ], "msecs": 106.20808601379395, "msg": "Instance data after changing uid is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 54.058074951171875, "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 0.00012302398681640625 } ], "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 0.0020720958709716797, "time_finished": "2021-02-28 18:40:20,106", "time_start": "2021-02-28 18:40:20,104" }, "caching.property_cache_json: Test get from source caused by changed uid (partially init)": { "args": null, "asctime": "2021-02-28 18:40:20,106", "created": 1614534020.106404, "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": 106.40406608581543, "msg": "caching.property_cache_json: Test get from source caused by changed uid (partially init)", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 54.25405502319336, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2021-02-28 18:40:20,107", "created": 1614534020.107127, "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-02-28 18:40:20,106", "created": 1614534020.106516, "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": 106.51588439941406, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 54.36587333679199, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,106", "created": 1614534020.106611, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json as cache file.", "module": "test_helpers", "msecs": 106.61101341247559, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 54.461002349853516, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-02-28 18:40:20,106", "created": 1614534020.106704, "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": 106.7039966583252, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 54.553985595703125, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2021-02-28 18:40:20,106", "created": 1614534020.106773, "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": 106.77289962768555, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 54.62288856506348, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,107", "created": 1614534020.107046, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json)", "module": "__init__", "msecs": 107.04588890075684, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 54.895877838134766, "thread": 139640807294784, "threadName": "MainThread" } ], "msecs": 107.12695121765137, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 54.9769401550293, "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 8.106231689453125e-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-02-28 18:40:20,109", "created": 1614534020.109969, "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:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,107", "created": 1614534020.107299, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 225, "message": "JsonCache: Loading properties from cache (/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json)", "module": "__init__", "msecs": 107.2990894317627, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 55.149078369140625, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-02-28 18:40:20,107", "created": 1614534020.107368, "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": 107.36799240112305, "msg": "%s Source uid changed, ignoring previous cache data", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 55.21798133850098, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,107", "created": 1614534020.107656, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json)", "module": "__init__", "msecs": 107.65600204467773, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 55.505990982055664, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "dict", "{'1': '1', '3': 'three', '2': 2, '4': '4'}" ], "asctime": "2021-02-28 18:40:20,107", "created": 1614534020.107771, "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": 107.77091979980469, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 55.62090873718262, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,107", "created": 1614534020.107966, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json)", "module": "__init__", "msecs": 107.96594619750977, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 55.815935134887695, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "unicode", "u'__unicode__'" ], "asctime": "2021-02-28 18:40:20,108", "created": 1614534020.108073, "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": 108.07299613952637, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 55.9229850769043, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,108", "created": 1614534020.108255, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json)", "module": "__init__", "msecs": 108.25490951538086, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 56.10489845275879, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "str", "'__string__'" ], "asctime": "2021-02-28 18:40:20,108", "created": 1614534020.108358, "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": 108.35790634155273, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 56.207895278930664, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,108", "created": 1614534020.108543, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json)", "module": "__init__", "msecs": 108.54291915893555, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 56.39290809631348, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "integer", "34" ], "asctime": "2021-02-28 18:40:20,108", "created": 1614534020.108655, "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": 108.65497589111328, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 56.50496482849121, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,108", "created": 1614534020.108855, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json)", "module": "__init__", "msecs": 108.85500907897949, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 56.70499801635742, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "float", "2.71828" ], "asctime": "2021-02-28 18:40:20,108", "created": 1614534020.108975, "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": 108.97493362426758, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 56.82492256164551, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,109", "created": 1614534020.109191, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json)", "module": "__init__", "msecs": 109.1909408569336, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 57.04092979431152, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "list", "['one', 2, 3, '4']" ], "asctime": "2021-02-28 18:40:20,109", "created": 1614534020.109313, "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": 109.3130111694336, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 57.16300010681152, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,109", "created": 1614534020.109558, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json)", "module": "__init__", "msecs": 109.55810546875, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 57.40809440612793, "thread": 139640807294784, "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-02-28 18:40:20,109", "created": 1614534020.109744, "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": 109.74407196044922, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 57.59406089782715, "thread": 139640807294784, "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-02-28 18:40:20,109", "created": 1614534020.109838, "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": 109.83800888061523, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 57.687997817993164, "thread": 139640807294784, "threadName": "MainThread" } ], "msecs": 109.96890068054199, "msg": "Instance data after changing uid is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 57.81888961791992, "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 0.0001308917999267578 } ], "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 0.0035648345947265625, "time_finished": "2021-02-28 18:40:20,109", "time_start": "2021-02-28 18:40:20,106" }, "caching.property_cache_json: Test get from source caused by increased data version (full init)": { "args": null, "asctime": "2021-02-28 18:40:20,098", "created": 1614534020.098433, "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": 98.43301773071289, "msg": "caching.property_cache_json: Test get from source caused by increased data version (full init)", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 46.28300666809082, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2021-02-28 18:40:20,099", "created": 1614534020.099089, "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-02-28 18:40:20,098", "created": 1614534020.098536, "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": 98.53601455688477, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 46.386003494262695, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,098", "created": 1614534020.098615, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.json as cache file.", "module": "test_helpers", "msecs": 98.61493110656738, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 46.46492004394531, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-02-28 18:40:20,098", "created": 1614534020.098693, "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": 98.6928939819336, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 46.54288291931152, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2021-02-28 18:40:20,098", "created": 1614534020.098758, "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": 98.75798225402832, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 46.60797119140625, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,099", "created": 1614534020.09901, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.json)", "module": "__init__", "msecs": 99.00999069213867, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 46.8599796295166, "thread": 139640807294784, "threadName": "MainThread" } ], "msecs": 99.08890724182129, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 46.93889617919922, "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 7.891654968261719e-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-02-28 18:40:20,100", "created": 1614534020.100338, "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:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,099", "created": 1614534020.099245, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 225, "message": "JsonCache: Loading properties from cache (/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.json)", "module": "__init__", "msecs": 99.24507141113281, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 47.09506034851074, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-02-28 18:40:20,099", "created": 1614534020.099317, "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": 99.31707382202148, "msg": "%s Data version increased, ignoring previous cache data", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 47.167062759399414, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2021-02-28 18:40:20,099", "created": 1614534020.099382, "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": 99.38192367553711, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 47.23191261291504, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,099", "created": 1614534020.099632, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.json)", "module": "__init__", "msecs": 99.63202476501465, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 47.48201370239258, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "dict", "{'1': '1', '3': 'three', '2': 2, '4': '4'}" ], "asctime": "2021-02-28 18:40:20,099", "created": 1614534020.099744, "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": 99.74408149719238, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 47.59407043457031, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "unicode", "u'__unicode__'" ], "asctime": "2021-02-28 18:40:20,099", "created": 1614534020.099816, "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": 99.81608390808105, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 47.666072845458984, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "str", "'__string__'" ], "asctime": "2021-02-28 18:40:20,099", "created": 1614534020.099887, "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": 99.88689422607422, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 47.73688316345215, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "integer", "34" ], "asctime": "2021-02-28 18:40:20,099", "created": 1614534020.099949, "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": 99.94888305664062, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 47.798871994018555, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "float", "2.71828" ], "asctime": "2021-02-28 18:40:20,100", "created": 1614534020.100008, "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": 100.00801086425781, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 47.85799980163574, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "list", "['one', 2, 3, '4']" ], "asctime": "2021-02-28 18:40:20,100", "created": 1614534020.100067, "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": 100.0669002532959, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 47.91688919067383, "thread": 139640807294784, "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-02-28 18:40:20,100", "created": 1614534020.100148, "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": 100.14796257019043, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 47.99795150756836, "thread": 139640807294784, "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-02-28 18:40:20,100", "created": 1614534020.100221, "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": 100.22091865539551, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 48.07090759277344, "thread": 139640807294784, "threadName": "MainThread" } ], "msecs": 100.33798217773438, "msg": "Instance data after increasing data_version is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 48.187971115112305, "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 0.00011706352233886719 } ], "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 0.0019049644470214844, "time_finished": "2021-02-28 18:40:20,100", "time_start": "2021-02-28 18:40:20,098" }, "caching.property_cache_json: Test get from source caused by increased data version (partially init)": { "args": null, "asctime": "2021-02-28 18:40:20,100", "created": 1614534020.100517, "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": 100.51703453063965, "msg": "caching.property_cache_json: Test get from source caused by increased data version (partially init)", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 48.36702346801758, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2021-02-28 18:40:20,101", "created": 1614534020.101236, "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-02-28 18:40:20,100", "created": 1614534020.100625, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 17, "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "module": "test_helpers", "msecs": 100.62503814697266, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 48.475027084350586, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,100", "created": 1614534020.100711, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json as cache file.", "module": "test_helpers", "msecs": 100.71110725402832, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 48.56109619140625, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-02-28 18:40:20,100", "created": 1614534020.100799, "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": 100.7990837097168, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 48.64907264709473, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2021-02-28 18:40:20,100", "created": 1614534020.100868, "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": 100.86798667907715, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 48.71797561645508, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,101", "created": 1614534020.101142, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json)", "module": "__init__", "msecs": 101.14192962646484, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 48.99191856384277, "thread": 139640807294784, "threadName": "MainThread" } ], "msecs": 101.23610496520996, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 49.08609390258789, "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 9.417533874511719e-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-02-28 18:40:20,103", "created": 1614534020.103906, "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:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,101", "created": 1614534020.101416, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 225, "message": "JsonCache: Loading properties from cache (/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json)", "module": "__init__", "msecs": 101.41611099243164, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 49.26609992980957, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-02-28 18:40:20,101", "created": 1614534020.101493, "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": 101.49288177490234, "msg": "%s Data version increased, ignoring previous cache data", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 49.34287071228027, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,101", "created": 1614534020.101642, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json)", "module": "__init__", "msecs": 101.64189338684082, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 49.49188232421875, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "dict", "{'1': '1', '3': 'three', '2': 2, '4': '4'}" ], "asctime": "2021-02-28 18:40:20,101", "created": 1614534020.101808, "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": 101.80807113647461, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 49.65806007385254, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,102", "created": 1614534020.102012, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json)", "module": "__init__", "msecs": 102.01191902160645, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 49.861907958984375, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "unicode", "u'__unicode__'" ], "asctime": "2021-02-28 18:40:20,102", "created": 1614534020.102126, "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": 102.12588310241699, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 49.97587203979492, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,102", "created": 1614534020.102318, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json)", "module": "__init__", "msecs": 102.31804847717285, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 50.16803741455078, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "str", "'__string__'" ], "asctime": "2021-02-28 18:40:20,102", "created": 1614534020.102422, "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": 102.42199897766113, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 50.27198791503906, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,102", "created": 1614534020.102607, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json)", "module": "__init__", "msecs": 102.60701179504395, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 50.457000732421875, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "integer", "34" ], "asctime": "2021-02-28 18:40:20,102", "created": 1614534020.10271, "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": 102.71000862121582, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 50.55999755859375, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,102", "created": 1614534020.10291, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json)", "module": "__init__", "msecs": 102.91004180908203, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 50.76003074645996, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "float", "2.71828" ], "asctime": "2021-02-28 18:40:20,103", "created": 1614534020.103015, "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": 103.01494598388672, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 50.86493492126465, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,103", "created": 1614534020.103225, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json)", "module": "__init__", "msecs": 103.2249927520752, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 51.074981689453125, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "list", "['one', 2, 3, '4']" ], "asctime": "2021-02-28 18:40:20,103", "created": 1614534020.103336, "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": 103.33609580993652, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 51.18608474731445, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,103", "created": 1614534020.103567, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json)", "module": "__init__", "msecs": 103.56688499450684, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 51.416873931884766, "thread": 139640807294784, "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-02-28 18:40:20,103", "created": 1614534020.1037, "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": 103.69992256164551, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 51.54991149902344, "thread": 139640807294784, "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-02-28 18:40:20,103", "created": 1614534020.103783, "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": 103.78289222717285, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 51.63288116455078, "thread": 139640807294784, "threadName": "MainThread" } ], "msecs": 103.90591621398926, "msg": "Instance data after increasing data_version is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 51.75590515136719, "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 0.00012302398681640625 } ], "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 0.0033888816833496094, "time_finished": "2021-02-28 18:40:20,103", "time_start": "2021-02-28 18:40:20,100" }, "caching.property_cache_json: Test internal key usage": { "args": null, "asctime": "2021-02-28 18:40:20,110", "created": 1614534020.110929, "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": 110.92901229858398, "msg": "caching.property_cache_json: Test internal key usage", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 58.779001235961914, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2021-02-28 18:40:20,111", "created": 1614534020.111534, "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-02-28 18:40:20,111", "created": 1614534020.111034, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 17, "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "module": "test_helpers", "msecs": 111.03391647338867, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 58.8839054107666, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "/usr/data/dirk/prj/unittest/caching/unittest/output_data/internal_keys_test.json" ], "asctime": "2021-02-28 18:40:20,111", "created": 1614534020.111116, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /usr/data/dirk/prj/unittest/caching/unittest/output_data/internal_keys_test.json as cache file.", "module": "test_helpers", "msecs": 111.11593246459961, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 58.96592140197754, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-02-28 18:40:20,111", "created": 1614534020.111204, "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": 111.20390892028809, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 59.053897857666016, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['__property_cache_data_version_', '_property_cache_data_version_', '__property_cache_uid_', '_property_cache_uid_']" ], "asctime": "2021-02-28 18:40:20,111", "created": 1614534020.111273, "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": 111.27305030822754, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 59.12303924560547, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/internal_keys_test.json" ], "asctime": "2021-02-28 18:40:20,111", "created": 1614534020.11146, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/internal_keys_test.json)", "module": "__init__", "msecs": 111.45997047424316, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 59.309959411621094, "thread": 139640807294784, "threadName": "MainThread" } ], "msecs": 111.53411865234375, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 59.38410758972168, "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 7.414817810058594e-05 }, { "args": [ "property_cache_json" ], "asctime": "2021-02-28 18:40:20,111", "created": 1614534020.111862, "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:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/internal_keys_test.json" ], "asctime": "2021-02-28 18:40:20,111", "created": 1614534020.111688, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 225, "message": "JsonCache: Loading properties from cache (/usr/data/dirk/prj/unittest/caching/unittest/output_data/internal_keys_test.json)", "module": "__init__", "msecs": 111.68789863586426, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 59.53788757324219, "thread": 139640807294784, "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-02-28 18:40:20,111", "created": 1614534020.11176, "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": 111.75990104675293, "msg": "Using storage object of cache class for comparison: %s", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_internal_keys.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 59.60988998413086, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "_property_cache_data_version_", "_property_cache_uid_" ], "asctime": "2021-02-28 18:40:20,111", "created": 1614534020.111817, "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": 111.8168830871582, "msg": "Deleting overhead keys: %s, %s", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_internal_keys.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 59.66687202453613, "thread": 139640807294784, "threadName": "MainThread" } ], "msecs": 111.8619441986084, "msg": "Extracting storage object from %s for comparison.", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_internal_keys.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 59.71193313598633, "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 4.506111145019531e-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-02-28 18:40:20,112", "created": 1614534020.1121, "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-02-28 18:40:20,111", "created": 1614534020.111962, "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": 111.96208000183105, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 59.812068939208984, "thread": 139640807294784, "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-02-28 18:40:20,112", "created": 1614534020.112022, "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": 112.02192306518555, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 59.87191200256348, "thread": 139640807294784, "threadName": "MainThread" } ], "msecs": 112.09988594055176, "msg": "Cache is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 59.94987487792969, "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 7.796287536621094e-05 }, { "args": [ "5", "" ], "asctime": "2021-02-28 18:40:20,112", "created": 1614534020.112287, "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-02-28 18:40:20,112", "created": 1614534020.112188, "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": 112.18810081481934, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 60.038089752197266, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "Keyfilter returnvalue for 5 ()", "5", "" ], "asctime": "2021-02-28 18:40:20,112", "created": 1614534020.112238, "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": 112.23793029785156, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 60.08791923522949, "thread": 139640807294784, "threadName": "MainThread" } ], "msecs": 112.28704452514648, "msg": "Keyfilter returnvalue for 5 () is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 60.137033462524414, "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 4.9114227294921875e-05 } ], "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 0.0013580322265625, "time_finished": "2021-02-28 18:40:20,112", "time_start": "2021-02-28 18:40:20,110" }, "caching.property_cache_json: Test partially initialisation of JSON-Cache-Object": { "args": null, "asctime": "2021-02-28 18:40:20,089", "created": 1614534020.08954, "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": 89.54000473022461, "msg": "caching.property_cache_json: Test partially initialisation of JSON-Cache-Object", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 37.38999366760254, "testcaseLogger": [ { "args": [ "property_cache_json", "False" ], "asctime": "2021-02-28 18:40:20,090", "created": 1614534020.090131, "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-02-28 18:40:20,089", "created": 1614534020.089662, "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": 89.66207504272461, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 37.51206398010254, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "/usr/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,089", "created": 1614534020.089767, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /usr/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.json as cache file.", "module": "test_helpers", "msecs": 89.7669792175293, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 37.61696815490723, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-02-28 18:40:20,089", "created": 1614534020.08986, "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": 89.8599624633789, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 37.709951400756836, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,090", "created": 1614534020.090033, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.json)", "module": "__init__", "msecs": 90.03305435180664, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 37.88304328918457, "thread": 139640807294784, "threadName": "MainThread" } ], "msecs": 90.13104438781738, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 37.98103332519531, "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 9.799003601074219e-05 }, { "args": [], "asctime": "2021-02-28 18:40:20,091", "created": 1614534020.091918, "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-02-28 18:40:20,090", "created": 1614534020.090245, "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": 90.24500846862793, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 38.09499740600586, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,090", "created": 1614534020.090404, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.json)", "module": "__init__", "msecs": 90.40403366088867, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 38.2540225982666, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "list", "[1, 'two', '3', 4]" ], "asctime": "2021-02-28 18:40:20,090", "created": 1614534020.090525, "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": 90.52491188049316, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 38.374900817871094, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,091", "created": 1614534020.091517, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.json)", "module": "__init__", "msecs": 91.51697158813477, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 39.366960525512695, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "str", "'string'" ], "asctime": "2021-02-28 18:40:20,091", "created": 1614534020.091629, "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": 91.6290283203125, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 39.47901725769043, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,091", "created": 1614534020.091818, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.json)", "module": "__init__", "msecs": 91.81809425354004, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 39.66808319091797, "thread": 139640807294784, "threadName": "MainThread" } ], "msecs": 91.9179916381836, "msg": "Partially initialising cache object by requesting some information.", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_no_load_on_init.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 39.76798057556152, "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 9.989738464355469e-05 }, { "args": [ "property_cache_json" ], "asctime": "2021-02-28 18:40:20,092", "created": 1614534020.092288, "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:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,092", "created": 1614534020.092091, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 225, "message": "JsonCache: Loading properties from cache (/usr/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.json)", "module": "__init__", "msecs": 92.09108352661133, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 39.94107246398926, "thread": 139640807294784, "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-02-28 18:40:20,092", "created": 1614534020.092181, "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": 92.18096733093262, "msg": "Using storage object of cache class for comparison: %s", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_no_load_on_init.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 40.03095626831055, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "_property_cache_data_version_", "_property_cache_uid_" ], "asctime": "2021-02-28 18:40:20,092", "created": 1614534020.092242, "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": 92.24200248718262, "msg": "Deleting overhead keys: %s, %s", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_no_load_on_init.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 40.09199142456055, "thread": 139640807294784, "threadName": "MainThread" } ], "msecs": 92.28801727294922, "msg": "Extracting storage object from %s for comparison.", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_no_load_on_init.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 40.13800621032715, "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 4.601478576660156e-05 }, { "args": [], "asctime": "2021-02-28 18:40:20,093", "created": 1614534020.093127, "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-02-28 18:40:20,092", "created": 1614534020.092396, "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": 92.39602088928223, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 40.246009826660156, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "Cache object", "{ 'str': 'string', 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ] }", "" ], "asctime": "2021-02-28 18:40:20,092", "created": 1614534020.09246, "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": 92.45991706848145, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 40.309906005859375, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'two'" ], "asctime": "2021-02-28 18:40:20,092", "created": 1614534020.092537, "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": 92.53692626953125, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 40.38691520690918, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "u'two'" ], "asctime": "2021-02-28 18:40:20,092", "created": 1614534020.092594, "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": 92.59390830993652, "msg": "Content %s is incorrect for test_variable.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 40.44389724731445, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'two'" ], "asctime": "2021-02-28 18:40:20,092", "created": 1614534020.092651, "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": 92.6508903503418, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 40.50087928771973, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "u'two'" ], "asctime": "2021-02-28 18:40:20,092", "created": 1614534020.092701, "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": 92.70095825195312, "msg": "Content %s is incorrect for test_variable.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 40.550947189331055, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'two'" ], "asctime": "2021-02-28 18:40:20,092", "created": 1614534020.092754, "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": 92.75388717651367, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 40.6038761138916, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "", "", " for result.list[1]", "u'two'" ], "asctime": "2021-02-28 18:40:20,092", "created": 1614534020.092809, "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": 92.80896186828613, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 40.65895080566406, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'3'" ], "asctime": "2021-02-28 18:40:20,092", "created": 1614534020.092862, "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": 92.86189079284668, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 40.71187973022461, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "u'3'" ], "asctime": "2021-02-28 18:40:20,092", "created": 1614534020.092909, "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": 92.90909767150879, "msg": "Content %s is incorrect for test_variable.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 40.75908660888672, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'3'" ], "asctime": "2021-02-28 18:40:20,092", "created": 1614534020.092965, "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": 92.96488761901855, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 40.814876556396484, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "", "", " for result.list[2]", "u'3'" ], "asctime": "2021-02-28 18:40:20,093", "created": 1614534020.093015, "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": 93.01495552062988, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 40.86494445800781, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "", "", " for result.str", "u'string'" ], "asctime": "2021-02-28 18:40:20,093", "created": 1614534020.093079, "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": 93.0790901184082, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 40.92907905578613, "thread": 139640807294784, "threadName": "MainThread" } ], "msecs": 93.12701225280762, "msg": "Cache object is NOT correct. See detailed log for more information.", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 40.97700119018555, "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 4.792213439941406e-05 } ], "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 0.003587007522583008, "time_finished": "2021-02-28 18:40:20,093", "time_start": "2021-02-28 18:40:20,089" }, "caching.property_cache_pickle: Test cached data (full init)": { "args": null, "asctime": "2021-02-28 18:40:20,117", "created": 1614534020.117522, "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": 117.52200126647949, "msg": "caching.property_cache_pickle: Test cached data (full init)", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 65.37199020385742, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2021-02-28 18:40:20,118", "created": 1614534020.118275, "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-02-28 18:40:20,117", "created": 1614534020.117629, "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": 117.6290512084961, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 65.47904014587402, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "/usr/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,117", "created": 1614534020.117741, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /usr/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_load_on_init.pkl as cache file.", "module": "test_helpers", "msecs": 117.74110794067383, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 65.59109687805176, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-02-28 18:40:20,117", "created": 1614534020.117834, "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": 117.83409118652344, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 65.68408012390137, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2021-02-28 18:40:20,117", "created": 1614534020.11791, "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": 117.90990829467773, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 65.75989723205566, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,118", "created": 1614534020.118187, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_load_on_init.pkl)", "module": "__init__", "msecs": 118.18695068359375, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 66.03693962097168, "thread": 139640807294784, "threadName": "MainThread" } ], "msecs": 118.27492713928223, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 66.12491607666016, "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 8.797645568847656e-05 }, { "args": [], "asctime": "2021-02-28 18:40:20,119", "created": 1614534020.119108, "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-02-28 18:40:20,118", "created": 1614534020.118385, "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": 118.38507652282715, "msg": "%s Key '%s' is not in cached_keys. Uncached data will be returned.", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 66.23506546020508, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,118", "created": 1614534020.118635, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 145, "message": "PickCache: Loading properties from cache (/usr/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_load_on_init.pkl)", "module": "__init__", "msecs": 118.63493919372559, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 66.48492813110352, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "dict", "{'1': 1, '3': '3', '2': 'two', '4': 4}" ], "asctime": "2021-02-28 18:40:20,118", "created": 1614534020.118735, "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": 118.73507499694824, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 66.58506393432617, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "unicode", "u'unicode'" ], "asctime": "2021-02-28 18:40:20,118", "created": 1614534020.118804, "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": 118.8039779663086, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 66.65396690368652, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "str", "'string'" ], "asctime": "2021-02-28 18:40:20,118", "created": 1614534020.118865, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 110, "message": "PickCache: Providing property for 'str' from cache ('string')", "module": "__init__", "msecs": 118.8650131225586, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 66.71500205993652, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "integer", "17" ], "asctime": "2021-02-28 18:40:20,118", "created": 1614534020.118928, "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": 118.9279556274414, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 66.77794456481934, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "float", "3.14159" ], "asctime": "2021-02-28 18:40:20,118", "created": 1614534020.118988, "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": 118.988037109375, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 66.83802604675293, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "list", "[1, 'two', '3', 4]" ], "asctime": "2021-02-28 18:40:20,119", "created": 1614534020.119052, "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": 119.05193328857422, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 66.90192222595215, "thread": 139640807294784, "threadName": "MainThread" } ], "msecs": 119.10796165466309, "msg": "Collecting data from cache instance.", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_cached_data.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 66.95795059204102, "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 5.602836608886719e-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-02-28 18:40:20,119", "created": 1614534020.119444, "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-02-28 18:40:20,119", "created": 1614534020.119236, "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": 119.23599243164062, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 67.08598136901855, "thread": 139640807294784, "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-02-28 18:40:20,119", "created": 1614534020.119319, "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": 119.31896209716797, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 67.1689510345459, "thread": 139640807294784, "threadName": "MainThread" } ], "msecs": 119.44389343261719, "msg": "Cached data is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 67.29388236999512, "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 0.00012493133544921875 } ], "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 0.0019218921661376953, "time_finished": "2021-02-28 18:40:20,119", "time_start": "2021-02-28 18:40:20,117" }, "caching.property_cache_pickle: Test cached data (partially init)": { "args": null, "asctime": "2021-02-28 18:40:20,119", "created": 1614534020.119678, "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": 119.67802047729492, "msg": "caching.property_cache_pickle: Test cached data (partially init)", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 67.52800941467285, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2021-02-28 18:40:20,120", "created": 1614534020.120453, "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-02-28 18:40:20,119", "created": 1614534020.119801, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 17, "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "module": "test_helpers", "msecs": 119.80104446411133, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 67.65103340148926, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "/usr/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_no_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,119", "created": 1614534020.119905, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /usr/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_no_load_on_init.pkl as cache file.", "module": "test_helpers", "msecs": 119.90499496459961, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 67.75498390197754, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-02-28 18:40:20,120", "created": 1614534020.120007, "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": 120.00703811645508, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 67.85702705383301, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2021-02-28 18:40:20,120", "created": 1614534020.12008, "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": 120.07999420166016, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 67.92998313903809, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_no_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,120", "created": 1614534020.120362, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 120.3620433807373, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 68.21203231811523, "thread": 139640807294784, "threadName": "MainThread" } ], "msecs": 120.452880859375, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 68.30286979675293, "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 9.083747863769531e-05 }, { "args": [], "asctime": "2021-02-28 18:40:20,121", "created": 1614534020.121292, "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-02-28 18:40:20,120", "created": 1614534020.120571, "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": 120.57089805603027, "msg": "%s Key '%s' is not in cached_keys. Uncached data will be returned.", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 68.4208869934082, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_no_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,120", "created": 1614534020.12084, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 145, "message": "PickCache: Loading properties from cache (/usr/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 120.84007263183594, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 68.69006156921387, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "dict", "{'1': 1, '3': '3', '2': 'two', '4': 4}" ], "asctime": "2021-02-28 18:40:20,120", "created": 1614534020.120929, "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": 120.92900276184082, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 68.77899169921875, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "unicode", "u'unicode'" ], "asctime": "2021-02-28 18:40:20,120", "created": 1614534020.120998, "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": 120.99790573120117, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 68.8478946685791, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "str", "'string'" ], "asctime": "2021-02-28 18:40:20,121", "created": 1614534020.12106, "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": 121.05989456176758, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 68.90988349914551, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "integer", "17" ], "asctime": "2021-02-28 18:40:20,121", "created": 1614534020.12112, "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": 121.11997604370117, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 68.9699649810791, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "float", "3.14159" ], "asctime": "2021-02-28 18:40:20,121", "created": 1614534020.121181, "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": 121.18101119995117, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 69.0310001373291, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "list", "[1, 'two', '3', 4]" ], "asctime": "2021-02-28 18:40:20,121", "created": 1614534020.121242, "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": 121.24204635620117, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 69.0920352935791, "thread": 139640807294784, "threadName": "MainThread" } ], "msecs": 121.2921142578125, "msg": "Collecting data from cache instance.", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_cached_data.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 69.14210319519043, "thread": 139640807294784, "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-02-28 18:40:20,121", "created": 1614534020.121733, "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-02-28 18:40:20,121", "created": 1614534020.121427, "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": 121.42705917358398, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 69.27704811096191, "thread": 139640807294784, "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-02-28 18:40:20,121", "created": 1614534020.12159, "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": 121.58989906311035, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 69.43988800048828, "thread": 139640807294784, "threadName": "MainThread" } ], "msecs": 121.73295021057129, "msg": "Cached data is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 69.58293914794922, "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 0.0001430511474609375 } ], "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 0.002054929733276367, "time_finished": "2021-02-28 18:40:20,121", "time_start": "2021-02-28 18:40:20,119" }, "caching.property_cache_pickle: Test execution of save callback (full init)": { "args": null, "asctime": "2021-02-28 18:40:20,135", "created": 1614534020.135858, "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": 135.85805892944336, "msg": "caching.property_cache_pickle: Test execution of save callback (full init)", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 83.70804786682129, "testcaseLogger": [ { "args": [], "asctime": "2021-02-28 18:40:20,135", "created": 1614534020.136, "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": 135.9999179840088, "msg": "Installing save_callback, which sets a variable to True on execution.", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_save_callback.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 83.84990692138672, "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 0.0 }, { "args": [ "True", "" ], "asctime": "2021-02-28 18:40:20,136", "created": 1614534020.13648, "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:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/save_callback_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,136", "created": 1614534020.136199, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/save_callback_load_on_init.json)", "module": "__init__", "msecs": 136.1989974975586, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 84.04898643493652, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "Save callback execution variable", "True", "" ], "asctime": "2021-02-28 18:40:20,136", "created": 1614534020.136354, "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": 136.3539695739746, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 84.20395851135254, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "Save callback execution variable", "True", "" ], "asctime": "2021-02-28 18:40:20,136", "created": 1614534020.136422, "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": 136.42191886901855, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 84.27190780639648, "thread": 139640807294784, "threadName": "MainThread" } ], "msecs": 136.48009300231934, "msg": "Save callback execution variable is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 84.33008193969727, "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 5.817413330078125e-05 } ], "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 0.0006220340728759766, "time_finished": "2021-02-28 18:40:20,136", "time_start": "2021-02-28 18:40:20,135" }, "caching.property_cache_pickle: Test full initialised PICKLE-Cache-Object": { "args": null, "asctime": "2021-02-28 18:40:20,112", "created": 1614534020.112448, "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": 112.44797706604004, "msg": "caching.property_cache_pickle: Test full initialised PICKLE-Cache-Object", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 60.29796600341797, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2021-02-28 18:40:20,113", "created": 1614534020.113597, "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-02-28 18:40:20,112", "created": 1614534020.112552, "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": 112.55192756652832, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 60.40191650390625, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "/usr/data/dirk/prj/unittest/caching/unittest/output_data/load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,112", "created": 1614534020.112637, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /usr/data/dirk/prj/unittest/caching/unittest/output_data/load_on_init.pkl as cache file.", "module": "test_helpers", "msecs": 112.63704299926758, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 60.48703193664551, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-02-28 18:40:20,112", "created": 1614534020.11273, "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": 112.73002624511719, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 60.58001518249512, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2021-02-28 18:40:20,112", "created": 1614534020.112801, "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": 112.80107498168945, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 60.65106391906738, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,113", "created": 1614534020.113476, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/load_on_init.pkl)", "module": "__init__", "msecs": 113.47603797912598, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 61.326026916503906, "thread": 139640807294784, "threadName": "MainThread" } ], "msecs": 113.59691619873047, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 61.4469051361084, "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 0.00012087821960449219 }, { "args": [ "property_cache_pickle" ], "asctime": "2021-02-28 18:40:20,114", "created": 1614534020.114521, "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:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,114", "created": 1614534020.114255, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 145, "message": "PickCache: Loading properties from cache (/usr/data/dirk/prj/unittest/caching/unittest/output_data/load_on_init.pkl)", "module": "__init__", "msecs": 114.25495147705078, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 62.10494041442871, "thread": 139640807294784, "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-02-28 18:40:20,114", "created": 1614534020.114377, "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": 114.37702178955078, "msg": "Using storage object of cache class for comparison: %s", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_load_on_init.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 62.22701072692871, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "_property_cache_data_version_", "_property_cache_uid_" ], "asctime": "2021-02-28 18:40:20,114", "created": 1614534020.114458, "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": 114.45808410644531, "msg": "Deleting overhead keys: %s, %s", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_load_on_init.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 62.30807304382324, "thread": 139640807294784, "threadName": "MainThread" } ], "msecs": 114.52102661132812, "msg": "Extracting storage object from %s for comparison.", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_load_on_init.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 62.371015548706055, "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 6.29425048828125e-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-02-28 18:40:20,114", "created": 1614534020.114876, "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-02-28 18:40:20,114", "created": 1614534020.11466, "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": 114.66002464294434, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 62.510013580322266, "thread": 139640807294784, "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-02-28 18:40:20,114", "created": 1614534020.11474, "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": 114.73989486694336, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 62.58988380432129, "thread": 139640807294784, "threadName": "MainThread" } ], "msecs": 114.87603187561035, "msg": "Cache object is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 62.72602081298828, "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 0.0001361370086669922 } ], "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 0.0024280548095703125, "time_finished": "2021-02-28 18:40:20,114", "time_start": "2021-02-28 18:40:20,112" }, "caching.property_cache_pickle: Test get from source caused by changed uid (full init)": { "args": null, "asctime": "2021-02-28 18:40:20,128", "created": 1614534020.12859, "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": 128.59010696411133, "msg": "caching.property_cache_pickle: Test get from source caused by changed uid (full init)", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 76.44009590148926, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2021-02-28 18:40:20,129", "created": 1614534020.12962, "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-02-28 18:40:20,128", "created": 1614534020.128788, "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": 128.78799438476562, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 76.63798332214355, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,128", "created": 1614534020.128928, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.pkl as cache file.", "module": "test_helpers", "msecs": 128.92794609069824, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 76.77793502807617, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-02-28 18:40:20,129", "created": 1614534020.129051, "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": 129.05097007751465, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 76.90095901489258, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2021-02-28 18:40:20,129", "created": 1614534020.129136, "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": 129.1360855102539, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 76.98607444763184, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,129", "created": 1614534020.129517, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.pkl)", "module": "__init__", "msecs": 129.5170783996582, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 77.36706733703613, "thread": 139640807294784, "threadName": "MainThread" } ], "msecs": 129.62007522583008, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 77.47006416320801, "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 0.000102996826171875 }, { "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-02-28 18:40:20,131", "created": 1614534020.131261, "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:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,129", "created": 1614534020.129992, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 145, "message": "PickCache: Loading properties from cache (/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.pkl)", "module": "__init__", "msecs": 129.99200820922852, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 77.84199714660645, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-02-28 18:40:20,130", "created": 1614534020.130068, "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": 130.0680637359619, "msg": "%s Source uid changed, ignoring previous cache data", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 77.91805267333984, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2021-02-28 18:40:20,130", "created": 1614534020.130146, "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": 130.14602661132812, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 77.99601554870605, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,130", "created": 1614534020.130404, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.pkl)", "module": "__init__", "msecs": 130.40399551391602, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 78.25398445129395, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "dict", "{'1': '1', '3': 'three', '2': 2, '4': '4'}" ], "asctime": "2021-02-28 18:40:20,130", "created": 1614534020.130552, "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": 130.5520534515381, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 78.40204238891602, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "unicode", "u'__unicode__'" ], "asctime": "2021-02-28 18:40:20,130", "created": 1614534020.130637, "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": 130.63693046569824, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 78.48691940307617, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "str", "'__string__'" ], "asctime": "2021-02-28 18:40:20,130", "created": 1614534020.130705, "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": 130.7051181793213, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 78.55510711669922, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "integer", "34" ], "asctime": "2021-02-28 18:40:20,130", "created": 1614534020.130772, "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": 130.77211380004883, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 78.62210273742676, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "float", "2.71828" ], "asctime": "2021-02-28 18:40:20,130", "created": 1614534020.130836, "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": 130.83600997924805, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 78.68599891662598, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "list", "['one', 2, 3, '4']" ], "asctime": "2021-02-28 18:40:20,130", "created": 1614534020.130913, "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": 130.91301918029785, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 78.76300811767578, "thread": 139640807294784, "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-02-28 18:40:20,131", "created": 1614534020.131017, "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": 131.01696968078613, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 78.86695861816406, "thread": 139640807294784, "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-02-28 18:40:20,131", "created": 1614534020.13111, "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": 131.10995292663574, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 78.95994186401367, "thread": 139640807294784, "threadName": "MainThread" } ], "msecs": 131.26111030578613, "msg": "Instance data after changing uid is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 79.11109924316406, "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 0.00015115737915039062 } ], "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 0.0026710033416748047, "time_finished": "2021-02-28 18:40:20,131", "time_start": "2021-02-28 18:40:20,128" }, "caching.property_cache_pickle: Test get from source caused by changed uid (partially init)": { "args": null, "asctime": "2021-02-28 18:40:20,131", "created": 1614534020.131533, "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": 131.5329074859619, "msg": "caching.property_cache_pickle: Test get from source caused by changed uid (partially init)", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 79.38289642333984, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2021-02-28 18:40:20,132", "created": 1614534020.132462, "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-02-28 18:40:20,131", "created": 1614534020.131679, "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": 131.67905807495117, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 79.5290470123291, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,131", "created": 1614534020.131813, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl as cache file.", "module": "test_helpers", "msecs": 131.81304931640625, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 79.66303825378418, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-02-28 18:40:20,131", "created": 1614534020.131935, "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": 131.93488121032715, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 79.78487014770508, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2021-02-28 18:40:20,132", "created": 1614534020.132018, "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": 132.0180892944336, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 79.86807823181152, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,132", "created": 1614534020.132343, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 132.34305381774902, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 80.19304275512695, "thread": 139640807294784, "threadName": "MainThread" } ], "msecs": 132.4620246887207, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 80.31201362609863, "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 0.00011897087097167969 }, { "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-02-28 18:40:20,135", "created": 1614534020.135616, "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:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,132", "created": 1614534020.132839, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 145, "message": "PickCache: Loading properties from cache (/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 132.83896446228027, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 80.6889533996582, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-02-28 18:40:20,132", "created": 1614534020.132934, "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": 132.9340934753418, "msg": "%s Source uid changed, ignoring previous cache data", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 80.78408241271973, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,133", "created": 1614534020.133134, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 133.1338882446289, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 80.98387718200684, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "dict", "{'1': '1', '3': 'three', '2': 2, '4': '4'}" ], "asctime": "2021-02-28 18:40:20,133", "created": 1614534020.133305, "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": 133.30507278442383, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 81.15506172180176, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,133", "created": 1614534020.133504, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 133.50391387939453, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 81.35390281677246, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "unicode", "u'__unicode__'" ], "asctime": "2021-02-28 18:40:20,133", "created": 1614534020.133623, "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": 133.6228847503662, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 81.47287368774414, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,133", "created": 1614534020.133831, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 133.83102416992188, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 81.6810131072998, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "str", "'__string__'" ], "asctime": "2021-02-28 18:40:20,133", "created": 1614534020.133947, "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": 133.94689559936523, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 81.79688453674316, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,134", "created": 1614534020.134143, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 134.14311408996582, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 81.99310302734375, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "integer", "34" ], "asctime": "2021-02-28 18:40:20,134", "created": 1614534020.134254, "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": 134.25397872924805, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 82.10396766662598, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,134", "created": 1614534020.134459, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 134.4590187072754, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 82.30900764465332, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "float", "2.71828" ], "asctime": "2021-02-28 18:40:20,134", "created": 1614534020.134573, "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": 134.57298278808594, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 82.42297172546387, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,134", "created": 1614534020.134817, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 134.81688499450684, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 82.66687393188477, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "list", "['one', 2, 3, '4']" ], "asctime": "2021-02-28 18:40:20,134", "created": 1614534020.134951, "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": 134.95111465454102, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 82.80110359191895, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,135", "created": 1614534020.135192, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 135.1919174194336, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 83.04190635681152, "thread": 139640807294784, "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-02-28 18:40:20,135", "created": 1614534020.135373, "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": 135.37311553955078, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 83.22310447692871, "thread": 139640807294784, "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-02-28 18:40:20,135", "created": 1614534020.135478, "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": 135.47801971435547, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 83.3280086517334, "thread": 139640807294784, "threadName": "MainThread" } ], "msecs": 135.61606407165527, "msg": "Instance data after changing uid is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 83.4660530090332, "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 0.0001380443572998047 } ], "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 0.004083156585693359, "time_finished": "2021-02-28 18:40:20,135", "time_start": "2021-02-28 18:40:20,131" }, "caching.property_cache_pickle: Test get from source caused by increased data version (full init)": { "args": null, "asctime": "2021-02-28 18:40:20,121", "created": 1614534020.121933, "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": 121.9329833984375, "msg": "caching.property_cache_pickle: Test get from source caused by increased data version (full init)", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 69.78297233581543, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2021-02-28 18:40:20,122", "created": 1614534020.122698, "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-02-28 18:40:20,122", "created": 1614534020.12205, "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": 122.05004692077637, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 69.9000358581543, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,122", "created": 1614534020.122155, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.pkl as cache file.", "module": "test_helpers", "msecs": 122.15495109558105, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 70.00494003295898, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-02-28 18:40:20,122", "created": 1614534020.122254, "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": 122.2538948059082, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 70.10388374328613, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2021-02-28 18:40:20,122", "created": 1614534020.122326, "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": 122.32589721679688, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 70.1758861541748, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,122", "created": 1614534020.122605, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.pkl)", "module": "__init__", "msecs": 122.6050853729248, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 70.45507431030273, "thread": 139640807294784, "threadName": "MainThread" } ], "msecs": 122.69806861877441, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 70.54805755615234, "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 9.298324584960938e-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-02-28 18:40:20,124", "created": 1614534020.124246, "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:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,123", "created": 1614534020.123009, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 145, "message": "PickCache: Loading properties from cache (/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.pkl)", "module": "__init__", "msecs": 123.00896644592285, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 70.85895538330078, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-02-28 18:40:20,123", "created": 1614534020.123092, "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": 123.0919361114502, "msg": "%s Data version increased, ignoring previous cache data", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 70.94192504882812, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2021-02-28 18:40:20,123", "created": 1614534020.123193, "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": 123.19302558898926, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 71.04301452636719, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,123", "created": 1614534020.123481, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.pkl)", "module": "__init__", "msecs": 123.48103523254395, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 71.33102416992188, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "dict", "{'1': '1', '3': 'three', '2': 2, '4': '4'}" ], "asctime": "2021-02-28 18:40:20,123", "created": 1614534020.123623, "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": 123.62289428710938, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 71.4728832244873, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "unicode", "u'__unicode__'" ], "asctime": "2021-02-28 18:40:20,123", "created": 1614534020.123704, "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": 123.7039566040039, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 71.55394554138184, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "str", "'__string__'" ], "asctime": "2021-02-28 18:40:20,123", "created": 1614534020.123769, "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": 123.76904487609863, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 71.61903381347656, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "integer", "34" ], "asctime": "2021-02-28 18:40:20,123", "created": 1614534020.123831, "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": 123.83103370666504, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 71.68102264404297, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "float", "2.71828" ], "asctime": "2021-02-28 18:40:20,123", "created": 1614534020.123893, "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": 123.89302253723145, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 71.74301147460938, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "list", "['one', 2, 3, '4']" ], "asctime": "2021-02-28 18:40:20,123", "created": 1614534020.123955, "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": 123.95501136779785, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 71.80500030517578, "thread": 139640807294784, "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-02-28 18:40:20,124", "created": 1614534020.124048, "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": 124.04799461364746, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 71.89798355102539, "thread": 139640807294784, "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-02-28 18:40:20,124", "created": 1614534020.124123, "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": 124.12309646606445, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 71.97308540344238, "thread": 139640807294784, "threadName": "MainThread" } ], "msecs": 124.24588203430176, "msg": "Instance data after increasing data_version is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 72.09587097167969, "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 0.0001227855682373047 } ], "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 0.002312898635864258, "time_finished": "2021-02-28 18:40:20,124", "time_start": "2021-02-28 18:40:20,121" }, "caching.property_cache_pickle: Test get from source caused by increased data version (partially init)": { "args": null, "asctime": "2021-02-28 18:40:20,124", "created": 1614534020.124464, "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": 124.46403503417969, "msg": "caching.property_cache_pickle: Test get from source caused by increased data version (partially init)", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 72.31402397155762, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2021-02-28 18:40:20,125", "created": 1614534020.125216, "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-02-28 18:40:20,124", "created": 1614534020.124583, "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": 124.58300590515137, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 72.4329948425293, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,124", "created": 1614534020.124684, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl as cache file.", "module": "test_helpers", "msecs": 124.68409538269043, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 72.53408432006836, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-02-28 18:40:20,124", "created": 1614534020.124783, "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": 124.78303909301758, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 72.63302803039551, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2021-02-28 18:40:20,124", "created": 1614534020.124855, "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": 124.85504150390625, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 72.70503044128418, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,125", "created": 1614534020.125128, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 125.12803077697754, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 72.97801971435547, "thread": 139640807294784, "threadName": "MainThread" } ], "msecs": 125.21600723266602, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 73.06599617004395, "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 8.797645568847656e-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-02-28 18:40:20,128", "created": 1614534020.128018, "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:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,125", "created": 1614534020.125522, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 145, "message": "PickCache: Loading properties from cache (/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 125.52189826965332, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 73.37188720703125, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-02-28 18:40:20,125", "created": 1614534020.125603, "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": 125.60296058654785, "msg": "%s Data version increased, ignoring previous cache data", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 73.45294952392578, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,125", "created": 1614534020.125798, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 125.79798698425293, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 73.64797592163086, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "dict", "{'1': '1', '3': 'three', '2': 2, '4': '4'}" ], "asctime": "2021-02-28 18:40:20,125", "created": 1614534020.125931, "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": 125.9310245513916, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 73.78101348876953, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,126", "created": 1614534020.126106, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 126.10602378845215, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 73.95601272583008, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "unicode", "u'__unicode__'" ], "asctime": "2021-02-28 18:40:20,126", "created": 1614534020.12622, "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": 126.2199878692627, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 74.06997680664062, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,126", "created": 1614534020.126408, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 126.40810012817383, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 74.25808906555176, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "str", "'__string__'" ], "asctime": "2021-02-28 18:40:20,126", "created": 1614534020.126521, "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": 126.52111053466797, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 74.3710994720459, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,126", "created": 1614534020.126706, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 126.70588493347168, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 74.55587387084961, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "integer", "34" ], "asctime": "2021-02-28 18:40:20,126", "created": 1614534020.126812, "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": 126.81198120117188, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 74.6619701385498, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,127", "created": 1614534020.127004, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 127.00390815734863, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 74.85389709472656, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "float", "2.71828" ], "asctime": "2021-02-28 18:40:20,127", "created": 1614534020.127111, "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": 127.11095809936523, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 74.96094703674316, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,127", "created": 1614534020.127316, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 127.31599807739258, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 75.16598701477051, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "list", "['one', 2, 3, '4']" ], "asctime": "2021-02-28 18:40:20,127", "created": 1614534020.127425, "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": 127.42495536804199, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 75.27494430541992, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,127", "created": 1614534020.127652, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 127.65192985534668, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 75.50191879272461, "thread": 139640807294784, "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-02-28 18:40:20,127", "created": 1614534020.127788, "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": 127.78806686401367, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 75.6380558013916, "thread": 139640807294784, "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-02-28 18:40:20,127", "created": 1614534020.127879, "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": 127.87890434265137, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 75.7288932800293, "thread": 139640807294784, "threadName": "MainThread" } ], "msecs": 128.01790237426758, "msg": "Instance data after increasing data_version is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 75.86789131164551, "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 0.00013899803161621094 } ], "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 0.0035538673400878906, "time_finished": "2021-02-28 18:40:20,128", "time_start": "2021-02-28 18:40:20,124" }, "caching.property_cache_pickle: Test internal key usage": { "args": null, "asctime": "2021-02-28 18:40:20,136", "created": 1614534020.136683, "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": 136.68298721313477, "msg": "caching.property_cache_pickle: Test internal key usage", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 84.5329761505127, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2021-02-28 18:40:20,137", "created": 1614534020.13752, "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-02-28 18:40:20,136", "created": 1614534020.136814, "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": 136.81411743164062, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 84.66410636901855, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "/usr/data/dirk/prj/unittest/caching/unittest/output_data/internal_keys_test.pkl" ], "asctime": "2021-02-28 18:40:20,136", "created": 1614534020.136928, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /usr/data/dirk/prj/unittest/caching/unittest/output_data/internal_keys_test.pkl as cache file.", "module": "test_helpers", "msecs": 136.92808151245117, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 84.7780704498291, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-02-28 18:40:20,137", "created": 1614534020.137044, "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": 137.04395294189453, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 84.89394187927246, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "['__property_cache_data_version_', '_property_cache_data_version_', '__property_cache_uid_', '_property_cache_uid_']" ], "asctime": "2021-02-28 18:40:20,137", "created": 1614534020.137183, "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": 137.18295097351074, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 85.03293991088867, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/internal_keys_test.pkl" ], "asctime": "2021-02-28 18:40:20,137", "created": 1614534020.137407, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/internal_keys_test.pkl)", "module": "__init__", "msecs": 137.4070644378662, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 85.25705337524414, "thread": 139640807294784, "threadName": "MainThread" } ], "msecs": 137.52007484436035, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 85.37006378173828, "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 0.00011301040649414062 }, { "args": [ "property_cache_pickle" ], "asctime": "2021-02-28 18:40:20,137", "created": 1614534020.137978, "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:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/internal_keys_test.pkl" ], "asctime": "2021-02-28 18:40:20,137", "created": 1614534020.137785, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 145, "message": "PickCache: Loading properties from cache (/usr/data/dirk/prj/unittest/caching/unittest/output_data/internal_keys_test.pkl)", "module": "__init__", "msecs": 137.7849578857422, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 85.63494682312012, "thread": 139640807294784, "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-02-28 18:40:20,137", "created": 1614534020.137868, "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": 137.86792755126953, "msg": "Using storage object of cache class for comparison: %s", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_internal_keys.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 85.71791648864746, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "_property_cache_data_version_", "_property_cache_uid_" ], "asctime": "2021-02-28 18:40:20,137", "created": 1614534020.137929, "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": 137.92896270751953, "msg": "Deleting overhead keys: %s, %s", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_internal_keys.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 85.77895164489746, "thread": 139640807294784, "threadName": "MainThread" } ], "msecs": 137.97807693481445, "msg": "Extracting storage object from %s for comparison.", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_internal_keys.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 85.82806587219238, "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 4.9114227294921875e-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-02-28 18:40:20,138", "created": 1614534020.138225, "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-02-28 18:40:20,138", "created": 1614534020.138086, "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": 138.08608055114746, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 85.93606948852539, "thread": 139640807294784, "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-02-28 18:40:20,138", "created": 1614534020.138149, "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": 138.14902305603027, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 85.9990119934082, "thread": 139640807294784, "threadName": "MainThread" } ], "msecs": 138.22507858276367, "msg": "Cache is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 86.0750675201416, "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 7.605552673339844e-05 }, { "args": [ "5", "" ], "asctime": "2021-02-28 18:40:20,138", "created": 1614534020.138422, "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-02-28 18:40:20,138", "created": 1614534020.13832, "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": 138.3199691772461, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 86.16995811462402, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "Keyfilter returnvalue for 5 ()", "5", "" ], "asctime": "2021-02-28 18:40:20,138", "created": 1614534020.138372, "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": 138.37194442749023, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 86.22193336486816, "thread": 139640807294784, "threadName": "MainThread" } ], "msecs": 138.42201232910156, "msg": "Keyfilter returnvalue for 5 () is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 86.27200126647949, "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 5.0067901611328125e-05 } ], "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 0.0017390251159667969, "time_finished": "2021-02-28 18:40:20,138", "time_start": "2021-02-28 18:40:20,136" }, "caching.property_cache_pickle: Test partially initialised PICKLE-Cache-Object": { "args": null, "asctime": "2021-02-28 18:40:20,115", "created": 1614534020.11508, "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": 115.08011817932129, "msg": "caching.property_cache_pickle: Test partially initialised PICKLE-Cache-Object", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 62.93010711669922, "testcaseLogger": [ { "args": [ "property_cache_pickle", "False" ], "asctime": "2021-02-28 18:40:20,115", "created": 1614534020.115667, "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-02-28 18:40:20,115", "created": 1614534020.115197, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 17, "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "module": "test_helpers", "msecs": 115.19694328308105, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 63.046932220458984, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "/usr/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,115", "created": 1614534020.115307, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /usr/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.pkl as cache file.", "module": "test_helpers", "msecs": 115.30709266662598, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 63.157081604003906, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-02-28 18:40:20,115", "created": 1614534020.115411, "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": 115.41104316711426, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 63.26103210449219, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,115", "created": 1614534020.115579, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.pkl)", "module": "__init__", "msecs": 115.57888984680176, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 63.42887878417969, "thread": 139640807294784, "threadName": "MainThread" } ], "msecs": 115.66710472106934, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 63.517093658447266, "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 8.821487426757812e-05 }, { "args": [], "asctime": "2021-02-28 18:40:20,116", "created": 1614534020.116607, "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-02-28 18:40:20,115", "created": 1614534020.115787, "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": 115.78702926635742, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 63.63701820373535, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,115", "created": 1614534020.115933, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.pkl)", "module": "__init__", "msecs": 115.93294143676758, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 63.78293037414551, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "list", "[1, 'two', '3', 4]" ], "asctime": "2021-02-28 18:40:20,116", "created": 1614534020.116072, "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": 116.07193946838379, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 63.92192840576172, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,116", "created": 1614534020.116243, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.pkl)", "module": "__init__", "msecs": 116.24288558959961, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 64.09287452697754, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "str", "'string'" ], "asctime": "2021-02-28 18:40:20,116", "created": 1614534020.11635, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 106, "message": "PickCache: Loading property for 'str' from source instance ('string')", "module": "__init__", "msecs": 116.34993553161621, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 64.19992446899414, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "PickCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,116", "created": 1614534020.116513, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.pkl)", "module": "__init__", "msecs": 116.51301383972168, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 64.36300277709961, "thread": 139640807294784, "threadName": "MainThread" } ], "msecs": 116.6069507598877, "msg": "Partially initialising cache object by requesting some information.", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_no_load_on_init.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 64.45693969726562, "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 9.393692016601562e-05 }, { "args": [ "property_cache_pickle" ], "asctime": "2021-02-28 18:40:20,117", "created": 1614534020.117052, "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:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,116", "created": 1614534020.116858, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 145, "message": "PickCache: Loading properties from cache (/usr/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.pkl)", "module": "__init__", "msecs": 116.85800552368164, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 64.70799446105957, "thread": 139640807294784, "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-02-28 18:40:20,116", "created": 1614534020.116939, "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": 116.93906784057617, "msg": "Using storage object of cache class for comparison: %s", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_no_load_on_init.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 64.7890567779541, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "_property_cache_data_version_", "_property_cache_uid_" ], "asctime": "2021-02-28 18:40:20,117", "created": 1614534020.117004, "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": 117.0039176940918, "msg": "Deleting overhead keys: %s, %s", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_no_load_on_init.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 64.85390663146973, "thread": 139640807294784, "threadName": "MainThread" } ], "msecs": 117.05207824707031, "msg": "Extracting storage object from %s for comparison.", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_no_load_on_init.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 64.90206718444824, "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 4.8160552978515625e-05 }, { "args": [ "{'float': 3.14159, 'list': [1, 'two', '3', 4], 'str': 'string'}", "" ], "asctime": "2021-02-28 18:40:20,117", "created": 1614534020.117328, "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-02-28 18:40:20,117", "created": 1614534020.117172, "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": 117.1720027923584, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 65.02199172973633, "thread": 139640807294784, "threadName": "MainThread" }, { "args": [ "Cache object", "{ 'str': 'string', 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ] }", "" ], "asctime": "2021-02-28 18:40:20,117", "created": 1614534020.117236, "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": 117.23589897155762, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 65.08588790893555, "thread": 139640807294784, "threadName": "MainThread" } ], "msecs": 117.32792854309082, "msg": "Cache object is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60050, "processName": "MainProcess", "relativeCreated": 65.17791748046875, "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 9.202957153320312e-05 } ], "thread": 139640807294784, "threadName": "MainThread", "time_consumption": 0.0022478103637695312, "time_finished": "2021-02-28 18:40:20,117", "time_start": "2021-02-28 18:40:20,115" } }, "testrun_id": "p2", "time_consumption": 0.04781389236450195, "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-02-28 18:40:20,613", "created": 1614534020.6134787, "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": 613.4786605834961, "msg": "caching.property_cache_json: Test cached data (full init)", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 76.79367065429688, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2021-02-28 18:40:20,614", "created": 1614534020.6140542, "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-02-28 18:40:20,613", "created": 1614534020.6135683, "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": 613.5683059692383, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 76.88331604003906, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "/usr/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,613", "created": 1614534020.6136324, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /usr/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_load_on_init.json as cache file.", "module": "test_helpers", "msecs": 613.6324405670166, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 76.94745063781738, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-02-28 18:40:20,613", "created": 1614534020.6137068, "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": 613.7068271636963, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 77.02183723449707, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2021-02-28 18:40:20,613", "created": 1614534020.6137595, "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": 613.7595176696777, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 77.07452774047852, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,613", "created": 1614534020.613978, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_load_on_init.json)", "module": "__init__", "msecs": 613.9779090881348, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 77.29291915893555, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" } ], "msecs": 614.0542030334473, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 77.36921310424805, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 7.62939453125e-05 }, { "args": [], "asctime": "2021-02-28 18:40:20,614", "created": 1614534020.6146626, "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:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,614", "created": 1614534020.6142366, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 225, "message": "JsonCache: Loading properties from cache (/usr/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_load_on_init.json)", "module": "__init__", "msecs": 614.23659324646, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 77.55160331726074, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "str", "'string'" ], "asctime": "2021-02-28 18:40:20,614", "created": 1614534020.6143053, "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": 614.3052577972412, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 77.62026786804199, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "unicode", "'unicode'" ], "asctime": "2021-02-28 18:40:20,614", "created": 1614534020.6143632, "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": 614.3631935119629, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 77.67820358276367, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "integer", "17" ], "asctime": "2021-02-28 18:40:20,614", "created": 1614534020.6144168, "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": 614.4168376922607, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 77.73184776306152, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "float", "3.14159" ], "asctime": "2021-02-28 18:40:20,614", "created": 1614534020.6144693, "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": 614.4692897796631, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 77.78429985046387, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "list", "[1, 'two', '3', 4]" ], "asctime": "2021-02-28 18:40:20,614", "created": 1614534020.6145217, "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": 614.5217418670654, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 77.83675193786621, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "dict", "{'1': 1, '2': 'two', '3': '3', '4': 4}" ], "asctime": "2021-02-28 18:40:20,614", "created": 1614534020.6145742, "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": 614.5741939544678, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 77.88920402526855, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "uncached" ], "asctime": "2021-02-28 18:40:20,614", "created": 1614534020.6146195, "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": 614.6194934844971, "msg": "%s Key '%s' is not in cached_keys. Uncached data will be returned.", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 77.93450355529785, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" } ], "msecs": 614.6626472473145, "msg": "Collecting data from cache instance.", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_cached_data.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 77.97765731811523, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 4.315376281738281e-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-02-28 18:40:20,614", "created": 1614534020.6149435, "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-02-28 18:40:20,614", "created": 1614534020.6147678, "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": 614.7677898406982, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 78.08279991149902, "stack_info": null, "thread": 140414899820352, "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-02-28 18:40:20,614", "created": 1614534020.614839, "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": 614.8390769958496, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 78.15408706665039, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" } ], "msecs": 614.9435043334961, "msg": "Cached data is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 78.25851440429688, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 0.00010442733764648438 } ], "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 0.00146484375, "time_finished": "2021-02-28 18:40:20,614", "time_start": "2021-02-28 18:40:20,613" }, "caching.property_cache_json: Test cached data (partially init)": { "args": null, "asctime": "2021-02-28 18:40:20,615", "created": 1614534020.6150932, "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": 615.0932312011719, "msg": "caching.property_cache_json: Test cached data (partially init)", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 78.40824127197266, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2021-02-28 18:40:20,615", "created": 1614534020.6156802, "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-02-28 18:40:20,615", "created": 1614534020.6151834, "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": 615.1833534240723, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 78.49836349487305, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "/usr/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_no_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,615", "created": 1614534020.6152499, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /usr/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_no_load_on_init.json as cache file.", "module": "test_helpers", "msecs": 615.2498722076416, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 78.56488227844238, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-02-28 18:40:20,615", "created": 1614534020.615316, "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": 615.3159141540527, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 78.63092422485352, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2021-02-28 18:40:20,615", "created": 1614534020.6153696, "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": 615.3695583343506, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 78.68456840515137, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_no_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,615", "created": 1614534020.615597, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_no_load_on_init.json)", "module": "__init__", "msecs": 615.5970096588135, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 78.91201972961426, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" } ], "msecs": 615.6802177429199, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 78.9952278137207, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 8.320808410644531e-05 }, { "args": [], "asctime": "2021-02-28 18:40:20,616", "created": 1614534020.6162763, "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:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_no_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,615", "created": 1614534020.6158502, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 225, "message": "JsonCache: Loading properties from cache (/usr/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_no_load_on_init.json)", "module": "__init__", "msecs": 615.8502101898193, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 79.16522026062012, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "str", "'string'" ], "asctime": "2021-02-28 18:40:20,615", "created": 1614534020.6159189, "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": 615.9188747406006, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 79.23388481140137, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "unicode", "'unicode'" ], "asctime": "2021-02-28 18:40:20,615", "created": 1614534020.6159763, "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": 615.9763336181641, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 79.29134368896484, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "integer", "17" ], "asctime": "2021-02-28 18:40:20,616", "created": 1614534020.6160297, "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": 616.0297393798828, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 79.3447494506836, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "float", "3.14159" ], "asctime": "2021-02-28 18:40:20,616", "created": 1614534020.6160824, "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": 616.0824298858643, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 79.39743995666504, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "list", "[1, 'two', '3', 4]" ], "asctime": "2021-02-28 18:40:20,616", "created": 1614534020.6161354, "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": 616.1353588104248, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 79.45036888122559, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "dict", "{'1': 1, '2': 'two', '3': '3', '4': 4}" ], "asctime": "2021-02-28 18:40:20,616", "created": 1614534020.6161895, "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": 616.1894798278809, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 79.50448989868164, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "uncached" ], "asctime": "2021-02-28 18:40:20,616", "created": 1614534020.6162353, "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": 616.2352561950684, "msg": "%s Key '%s' is not in cached_keys. Uncached data will be returned.", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 79.55026626586914, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" } ], "msecs": 616.2762641906738, "msg": "Collecting data from cache instance.", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_cached_data.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 79.59127426147461, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 4.100799560546875e-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-02-28 18:40:20,616", "created": 1614534020.6165664, "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-02-28 18:40:20,616", "created": 1614534020.616381, "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": 616.3809299468994, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 79.6959400177002, "stack_info": null, "thread": 140414899820352, "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-02-28 18:40:20,616", "created": 1614534020.6164594, "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": 616.4593696594238, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 79.77437973022461, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" } ], "msecs": 616.5664196014404, "msg": "Cached data is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 79.88142967224121, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 0.00010704994201660156 } ], "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 0.0014731884002685547, "time_finished": "2021-02-28 18:40:20,616", "time_start": "2021-02-28 18:40:20,615" }, "caching.property_cache_json: Test execution of save callback (full init)": { "args": null, "asctime": "2021-02-28 18:40:20,632", "created": 1614534020.632079, "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": 632.0788860321045, "msg": "caching.property_cache_json: Test execution of save callback (full init)", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 95.39389610290527, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2021-02-28 18:40:20,632", "created": 1614534020.6321864, "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": 632.1864128112793, "msg": "Installing save_callback, which sets a variable to True on execution.", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_save_callback.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 95.50142288208008, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 0.0 }, { "args": [ "True", "" ], "asctime": "2021-02-28 18:40:20,632", "created": 1614534020.632544, "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:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/save_callback_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,632", "created": 1614534020.6323323, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/save_callback_load_on_init.json)", "module": "__init__", "msecs": 632.3323249816895, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 95.64733505249023, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "Save callback execution variable", "True", "" ], "asctime": "2021-02-28 18:40:20,632", "created": 1614534020.6324344, "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": 632.4343681335449, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 95.7493782043457, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "Save callback execution variable", "True", "" ], "asctime": "2021-02-28 18:40:20,632", "created": 1614534020.632497, "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": 632.4970722198486, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 95.81208229064941, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" } ], "msecs": 632.5440406799316, "msg": "Save callback execution variable is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 95.85905075073242, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 4.696846008300781e-05 } ], "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 0.00046515464782714844, "time_finished": "2021-02-28 18:40:20,632", "time_start": "2021-02-28 18:40:20,632" }, "caching.property_cache_json: Test full initialised JSON-Cache-Object": { "args": null, "asctime": "2021-02-28 18:40:20,608", "created": 1614534020.6089096, "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": 608.9096069335938, "msg": "caching.property_cache_json: Test full initialised JSON-Cache-Object", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 72.22461700439453, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2021-02-28 18:40:20,609", "created": 1614534020.6098132, "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-02-28 18:40:20,609", "created": 1614534020.6091394, "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": 609.1394424438477, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 72.45445251464844, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "/usr/data/dirk/prj/unittest/caching/unittest/output_data/load_on_init.json" ], "asctime": "2021-02-28 18:40:20,609", "created": 1614534020.6092432, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /usr/data/dirk/prj/unittest/caching/unittest/output_data/load_on_init.json as cache file.", "module": "test_helpers", "msecs": 609.2431545257568, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 72.55816459655762, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-02-28 18:40:20,609", "created": 1614534020.6093822, "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": 609.382152557373, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 72.69716262817383, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2021-02-28 18:40:20,609", "created": 1614534020.6094475, "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": 609.4474792480469, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 72.76248931884766, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/load_on_init.json" ], "asctime": "2021-02-28 18:40:20,609", "created": 1614534020.6097157, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/load_on_init.json)", "module": "__init__", "msecs": 609.7157001495361, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 73.03071022033691, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" } ], "msecs": 609.8132133483887, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 73.12822341918945, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 9.751319885253906e-05 }, { "args": [ "property_cache_json" ], "asctime": "2021-02-28 18:40:20,610", "created": 1614534020.6101525, "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:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/load_on_init.json" ], "asctime": "2021-02-28 18:40:20,609", "created": 1614534020.6099887, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 225, "message": "JsonCache: Loading properties from cache (/usr/data/dirk/prj/unittest/caching/unittest/output_data/load_on_init.json)", "module": "__init__", "msecs": 609.9886894226074, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 73.3036994934082, "stack_info": null, "thread": 140414899820352, "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-02-28 18:40:20,610", "created": 1614534020.6100614, "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": 610.0614070892334, "msg": "Using storage object of cache class for comparison: %s", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_load_on_init.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 73.37641716003418, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "_property_cache_data_version_", "_property_cache_uid_" ], "asctime": "2021-02-28 18:40:20,610", "created": 1614534020.6101112, "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": 610.1112365722656, "msg": "Deleting overhead keys: %s, %s", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_load_on_init.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 73.4262466430664, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" } ], "msecs": 610.1524829864502, "msg": "Extracting storage object from %s for comparison.", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_load_on_init.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 73.46749305725098, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 4.124641418457031e-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-02-28 18:40:20,610", "created": 1614534020.6104476, "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-02-28 18:40:20,610", "created": 1614534020.6102626, "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": 610.2626323699951, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 73.5776424407959, "stack_info": null, "thread": 140414899820352, "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-02-28 18:40:20,610", "created": 1614534020.6103344, "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": 610.3343963623047, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 73.64940643310547, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" } ], "msecs": 610.4476451873779, "msg": "Cache object is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 73.76265525817871, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 0.00011324882507324219 } ], "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 0.0015380382537841797, "time_finished": "2021-02-28 18:40:20,610", "time_start": "2021-02-28 18:40:20,608" }, "caching.property_cache_json: Test get from source caused by changed uid (full init)": { "args": null, "asctime": "2021-02-28 18:40:20,622", "created": 1614534020.6220746, "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": 622.0746040344238, "msg": "caching.property_cache_json: Test get from source caused by changed uid (full init)", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 85.38961410522461, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2021-02-28 18:40:20,623", "created": 1614534020.6231637, "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-02-28 18:40:20,622", "created": 1614534020.6221948, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 17, "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "module": "test_helpers", "msecs": 622.194766998291, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 85.5097770690918, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,622", "created": 1614534020.622293, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.json as cache file.", "module": "test_helpers", "msecs": 622.2929954528809, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 85.60800552368164, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-02-28 18:40:20,622", "created": 1614534020.6223795, "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": 622.3795413970947, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 85.69455146789551, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2021-02-28 18:40:20,622", "created": 1614534020.6224391, "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": 622.4391460418701, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 85.7541561126709, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,622", "created": 1614534020.6228168, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.json)", "module": "__init__", "msecs": 622.816801071167, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 86.13181114196777, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" } ], "msecs": 623.1637001037598, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 86.47871017456055, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 0.00034689903259277344 }, { "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-02-28 18:40:20,626", "created": 1614534020.6264997, "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:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,623", "created": 1614534020.6239374, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 225, "message": "JsonCache: Loading properties from cache (/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.json)", "module": "__init__", "msecs": 623.9373683929443, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 87.25237846374512, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-02-28 18:40:20,624", "created": 1614534020.624172, "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": 624.1719722747803, "msg": "%s Source uid changed, ignoring previous cache data", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 87.48698234558105, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2021-02-28 18:40:20,624", "created": 1614534020.6242728, "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": 624.2728233337402, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 87.58783340454102, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,625", "created": 1614534020.6250844, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.json)", "module": "__init__", "msecs": 625.084400177002, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 88.39941024780273, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "str", "'__string__'" ], "asctime": "2021-02-28 18:40:20,625", "created": 1614534020.6255002, "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": 625.5002021789551, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 88.81521224975586, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "unicode", "'__unicode__'" ], "asctime": "2021-02-28 18:40:20,625", "created": 1614534020.625695, "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": 625.694990158081, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 89.01000022888184, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "integer", "34" ], "asctime": "2021-02-28 18:40:20,625", "created": 1614534020.6257877, "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": 625.7877349853516, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 89.10274505615234, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "float", "2.71828" ], "asctime": "2021-02-28 18:40:20,625", "created": 1614534020.6258729, "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": 625.8728504180908, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 89.1878604888916, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "list", "['one', 2, 3, '4']" ], "asctime": "2021-02-28 18:40:20,625", "created": 1614534020.6259542, "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": 625.9541511535645, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 89.26916122436523, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "dict", "{'1': '1', '2': 2, '3': 'three', '4': '4'}" ], "asctime": "2021-02-28 18:40:20,626", "created": 1614534020.6260426, "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": 626.0426044464111, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 89.35761451721191, "stack_info": null, "thread": 140414899820352, "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-02-28 18:40:20,626", "created": 1614534020.6262066, "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": 626.206636428833, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 89.52164649963379, "stack_info": null, "thread": 140414899820352, "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-02-28 18:40:20,626", "created": 1614534020.626324, "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": 626.323938369751, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 89.63894844055176, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" } ], "msecs": 626.4996528625488, "msg": "Instance data after changing uid is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 89.81466293334961, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 0.00017571449279785156 } ], "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 0.004425048828125, "time_finished": "2021-02-28 18:40:20,626", "time_start": "2021-02-28 18:40:20,622" }, "caching.property_cache_json: Test get from source caused by changed uid (partially init)": { "args": null, "asctime": "2021-02-28 18:40:20,626", "created": 1614534020.626903, "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": 626.9030570983887, "msg": "caching.property_cache_json: Test get from source caused by changed uid (partially init)", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 90.21806716918945, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2021-02-28 18:40:20,628", "created": 1614534020.6280007, "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-02-28 18:40:20,627", "created": 1614534020.6271594, "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": 627.1593570709229, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 90.47436714172363, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,627", "created": 1614534020.6273484, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json as cache file.", "module": "test_helpers", "msecs": 627.3484230041504, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 90.66343307495117, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-02-28 18:40:20,627", "created": 1614534020.6274579, "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": 627.457857131958, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 90.77286720275879, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2021-02-28 18:40:20,627", "created": 1614534020.6275294, "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": 627.5293827056885, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 90.84439277648926, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,627", "created": 1614534020.6278543, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json)", "module": "__init__", "msecs": 627.8543472290039, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 91.16935729980469, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" } ], "msecs": 628.0007362365723, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 91.31574630737305, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 0.00014638900756835938 }, { "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-02-28 18:40:20,631", "created": 1614534020.6318827, "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:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,628", "created": 1614534020.6283605, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 225, "message": "JsonCache: Loading properties from cache (/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json)", "module": "__init__", "msecs": 628.3605098724365, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 91.6755199432373, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-02-28 18:40:20,628", "created": 1614534020.6284688, "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": 628.4687519073486, "msg": "%s Source uid changed, ignoring previous cache data", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 91.78376197814941, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,628", "created": 1614534020.6287818, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json)", "module": "__init__", "msecs": 628.781795501709, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 92.09680557250977, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "str", "'__string__'" ], "asctime": "2021-02-28 18:40:20,629", "created": 1614534020.6290731, "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": 629.0731430053711, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 92.38815307617188, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,629", "created": 1614534020.6294742, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json)", "module": "__init__", "msecs": 629.4741630554199, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 92.7891731262207, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "unicode", "'__unicode__'" ], "asctime": "2021-02-28 18:40:20,629", "created": 1614534020.629913, "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": 629.9130916595459, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 93.22810173034668, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,630", "created": 1614534020.630362, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json)", "module": "__init__", "msecs": 630.3620338439941, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 93.67704391479492, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "integer", "34" ], "asctime": "2021-02-28 18:40:20,630", "created": 1614534020.630493, "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": 630.4929256439209, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 93.80793571472168, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,630", "created": 1614534020.6306577, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json)", "module": "__init__", "msecs": 630.6576728820801, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 93.97268295288086, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "float", "2.71828" ], "asctime": "2021-02-28 18:40:20,630", "created": 1614534020.630767, "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": 630.7671070098877, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 94.08211708068848, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,630", "created": 1614534020.6309242, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json)", "module": "__init__", "msecs": 630.9242248535156, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 94.2392349243164, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "list", "['one', 2, 3, '4']" ], "asctime": "2021-02-28 18:40:20,631", "created": 1614534020.631033, "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": 631.0329437255859, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 94.34795379638672, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,631", "created": 1614534020.6312196, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json)", "module": "__init__", "msecs": 631.2196254730225, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 94.53463554382324, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "dict", "{'1': '1', '2': 2, '3': 'three', '4': '4'}" ], "asctime": "2021-02-28 18:40:20,631", "created": 1614534020.6313303, "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": 631.3302516937256, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 94.64526176452637, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,631", "created": 1614534020.631544, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json)", "module": "__init__", "msecs": 631.5441131591797, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 94.85912322998047, "stack_info": null, "thread": 140414899820352, "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-02-28 18:40:20,631", "created": 1614534020.6316853, "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": 631.6852569580078, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 95.0002670288086, "stack_info": null, "thread": 140414899820352, "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-02-28 18:40:20,631", "created": 1614534020.6317658, "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": 631.7658424377441, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 95.08085250854492, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" } ], "msecs": 631.8826675415039, "msg": "Instance data after changing uid is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 95.19767761230469, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 0.00011682510375976562 } ], "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 0.004979610443115234, "time_finished": "2021-02-28 18:40:20,631", "time_start": "2021-02-28 18:40:20,626" }, "caching.property_cache_json: Test get from source caused by increased data version (full init)": { "args": null, "asctime": "2021-02-28 18:40:20,616", "created": 1614534020.6167164, "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": 616.7163848876953, "msg": "caching.property_cache_json: Test get from source caused by increased data version (full init)", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 80.0313949584961, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2021-02-28 18:40:20,617", "created": 1614534020.6173174, "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-02-28 18:40:20,616", "created": 1614534020.6168106, "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": 616.8105602264404, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 80.12557029724121, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,616", "created": 1614534020.616885, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.json as cache file.", "module": "test_helpers", "msecs": 616.8849468231201, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 80.1999568939209, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-02-28 18:40:20,616", "created": 1614534020.6169534, "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": 616.9533729553223, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 80.26838302612305, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2021-02-28 18:40:20,617", "created": 1614534020.6170077, "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": 617.0077323913574, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 80.3227424621582, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,617", "created": 1614534020.6172357, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.json)", "module": "__init__", "msecs": 617.2356605529785, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 80.5506706237793, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" } ], "msecs": 617.3174381256104, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 80.63244819641113, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 8.177757263183594e-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-02-28 18:40:20,618", "created": 1614534020.6185286, "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:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,617", "created": 1614534020.6174855, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 225, "message": "JsonCache: Loading properties from cache (/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.json)", "module": "__init__", "msecs": 617.485523223877, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 80.80053329467773, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-02-28 18:40:20,617", "created": 1614534020.6175501, "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": 617.5501346588135, "msg": "%s Data version increased, ignoring previous cache data", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 80.86514472961426, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2021-02-28 18:40:20,617", "created": 1614534020.6176033, "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": 617.6033020019531, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 80.9183120727539, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,617", "created": 1614534020.6178658, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.json)", "module": "__init__", "msecs": 617.865800857544, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 81.18081092834473, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "str", "'__string__'" ], "asctime": "2021-02-28 18:40:20,617", "created": 1614534020.6179805, "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": 617.9804801940918, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 81.29549026489258, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "unicode", "'__unicode__'" ], "asctime": "2021-02-28 18:40:20,618", "created": 1614534020.6180544, "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": 618.0543899536133, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 81.36940002441406, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "integer", "34" ], "asctime": "2021-02-28 18:40:20,618", "created": 1614534020.6181092, "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": 618.1092262268066, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 81.42423629760742, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "float", "2.71828" ], "asctime": "2021-02-28 18:40:20,618", "created": 1614534020.6181629, "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": 618.1628704071045, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 81.47788047790527, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "list", "['one', 2, 3, '4']" ], "asctime": "2021-02-28 18:40:20,618", "created": 1614534020.6182163, "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": 618.2162761688232, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 81.53128623962402, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "dict", "{'1': '1', '2': 2, '3': 'three', '4': '4'}" ], "asctime": "2021-02-28 18:40:20,618", "created": 1614534020.6182704, "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": 618.2703971862793, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 81.58540725708008, "stack_info": null, "thread": 140414899820352, "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-02-28 18:40:20,618", "created": 1614534020.6183488, "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": 618.3488368988037, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 81.66384696960449, "stack_info": null, "thread": 140414899820352, "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-02-28 18:40:20,618", "created": 1614534020.6184218, "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": 618.4217929840088, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 81.73680305480957, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" } ], "msecs": 618.5286045074463, "msg": "Instance data after increasing data_version is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 81.84361457824707, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 0.0001068115234375 } ], "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 0.0018122196197509766, "time_finished": "2021-02-28 18:40:20,618", "time_start": "2021-02-28 18:40:20,616" }, "caching.property_cache_json: Test get from source caused by increased data version (partially init)": { "args": null, "asctime": "2021-02-28 18:40:20,618", "created": 1614534020.6187096, "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": 618.7095642089844, "msg": "caching.property_cache_json: Test get from source caused by increased data version (partially init)", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 82.02457427978516, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2021-02-28 18:40:20,619", "created": 1614534020.6194034, "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-02-28 18:40:20,618", "created": 1614534020.618813, "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": 618.8130378723145, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 82.12804794311523, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,618", "created": 1614534020.6189024, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json as cache file.", "module": "test_helpers", "msecs": 618.9024448394775, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 82.21745491027832, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-02-28 18:40:20,618", "created": 1614534020.6189854, "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": 618.9854145050049, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 82.30042457580566, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2021-02-28 18:40:20,619", "created": 1614534020.6190424, "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": 619.0423965454102, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 82.35740661621094, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,619", "created": 1614534020.6193094, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json)", "module": "__init__", "msecs": 619.3094253540039, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 82.62443542480469, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" } ], "msecs": 619.4033622741699, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 82.7183723449707, "stack_info": null, "thread": 140414899820352, "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-02-28 18:40:20,621", "created": 1614534020.621861, "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:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,619", "created": 1614534020.619605, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 225, "message": "JsonCache: Loading properties from cache (/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json)", "module": "__init__", "msecs": 619.6050643920898, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 82.92007446289062, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-02-28 18:40:20,619", "created": 1614534020.6196723, "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": 619.6722984313965, "msg": "%s Data version increased, ignoring previous cache data", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 82.98730850219727, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,619", "created": 1614534020.619821, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json)", "module": "__init__", "msecs": 619.8210716247559, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 83.13608169555664, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "str", "'__string__'" ], "asctime": "2021-02-28 18:40:20,619", "created": 1614534020.619929, "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": 619.9290752410889, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 83.24408531188965, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,620", "created": 1614534020.6200829, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json)", "module": "__init__", "msecs": 620.0828552246094, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 83.39786529541016, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "unicode", "'__unicode__'" ], "asctime": "2021-02-28 18:40:20,620", "created": 1614534020.6201913, "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": 620.1913356781006, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 83.50634574890137, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,620", "created": 1614534020.6203318, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json)", "module": "__init__", "msecs": 620.3317642211914, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 83.64677429199219, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "integer", "34" ], "asctime": "2021-02-28 18:40:20,620", "created": 1614534020.6204333, "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": 620.4333305358887, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 83.74834060668945, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,620", "created": 1614534020.6205802, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json)", "module": "__init__", "msecs": 620.5801963806152, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 83.89520645141602, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "float", "2.71828" ], "asctime": "2021-02-28 18:40:20,620", "created": 1614534020.6206913, "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": 620.6912994384766, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 84.00630950927734, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,620", "created": 1614534020.620849, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json)", "module": "__init__", "msecs": 620.8488941192627, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 84.16390419006348, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "list", "['one', 2, 3, '4']" ], "asctime": "2021-02-28 18:40:20,620", "created": 1614534020.6209536, "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": 620.9535598754883, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 84.26856994628906, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,621", "created": 1614534020.6211252, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json)", "module": "__init__", "msecs": 621.1252212524414, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 84.44023132324219, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "dict", "{'1': '1', '2': 2, '3': 'three', '4': '4'}" ], "asctime": "2021-02-28 18:40:20,621", "created": 1614534020.6212819, "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": 621.2818622589111, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 84.59687232971191, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,621", "created": 1614534020.6214957, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json)", "module": "__init__", "msecs": 621.4957237243652, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 84.81073379516602, "stack_info": null, "thread": 140414899820352, "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-02-28 18:40:20,621", "created": 1614534020.6216443, "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": 621.6442584991455, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 84.95926856994629, "stack_info": null, "thread": 140414899820352, "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-02-28 18:40:20,621", "created": 1614534020.6217406, "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": 621.7405796051025, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 85.05558967590332, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" } ], "msecs": 621.8609809875488, "msg": "Instance data after increasing data_version is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 85.17599105834961, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 0.00012040138244628906 } ], "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 0.003151416778564453, "time_finished": "2021-02-28 18:40:20,621", "time_start": "2021-02-28 18:40:20,618" }, "caching.property_cache_json: Test internal key usage": { "args": null, "asctime": "2021-02-28 18:40:20,632", "created": 1614534020.6326969, "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": 632.6968669891357, "msg": "caching.property_cache_json: Test internal key usage", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 96.01187705993652, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2021-02-28 18:40:20,633", "created": 1614534020.6332967, "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-02-28 18:40:20,632", "created": 1614534020.6327972, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 17, "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "module": "test_helpers", "msecs": 632.7972412109375, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 96.11225128173828, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "/usr/data/dirk/prj/unittest/caching/unittest/output_data/internal_keys_test.json" ], "asctime": "2021-02-28 18:40:20,632", "created": 1614534020.6328914, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /usr/data/dirk/prj/unittest/caching/unittest/output_data/internal_keys_test.json as cache file.", "module": "test_helpers", "msecs": 632.8914165496826, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 96.2064266204834, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-02-28 18:40:20,632", "created": 1614534020.6329796, "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": 632.9796314239502, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 96.29464149475098, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['_property_cache_uid_', '__property_cache_uid_', '_property_cache_data_version_', '__property_cache_data_version_']" ], "asctime": "2021-02-28 18:40:20,633", "created": 1614534020.6330411, "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": 633.0411434173584, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 96.35615348815918, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/internal_keys_test.json" ], "asctime": "2021-02-28 18:40:20,633", "created": 1614534020.633215, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/internal_keys_test.json)", "module": "__init__", "msecs": 633.2149505615234, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 96.52996063232422, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" } ], "msecs": 633.2967281341553, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 96.61173820495605, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 8.177757263183594e-05 }, { "args": [ "property_cache_json" ], "asctime": "2021-02-28 18:40:20,633", "created": 1614534020.6336343, "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:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/internal_keys_test.json" ], "asctime": "2021-02-28 18:40:20,633", "created": 1614534020.6334715, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 225, "message": "JsonCache: Loading properties from cache (/usr/data/dirk/prj/unittest/caching/unittest/output_data/internal_keys_test.json)", "module": "__init__", "msecs": 633.4714889526367, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 96.7864990234375, "stack_info": null, "thread": 140414899820352, "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-02-28 18:40:20,633", "created": 1614534020.6335394, "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": 633.5394382476807, "msg": "Using storage object of cache class for comparison: %s", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_internal_keys.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 96.85444831848145, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "_property_cache_data_version_", "_property_cache_uid_" ], "asctime": "2021-02-28 18:40:20,633", "created": 1614534020.6335921, "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": 633.5921287536621, "msg": "Deleting overhead keys: %s, %s", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_internal_keys.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 96.90713882446289, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" } ], "msecs": 633.6343288421631, "msg": "Extracting storage object from %s for comparison.", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_internal_keys.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 96.94933891296387, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 4.220008850097656e-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-02-28 18:40:20,633", "created": 1614534020.6338854, "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-02-28 18:40:20,633", "created": 1614534020.6337416, "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": 633.7416172027588, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 97.05662727355957, "stack_info": null, "thread": 140414899820352, "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-02-28 18:40:20,633", "created": 1614534020.6337993, "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": 633.7993144989014, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 97.11432456970215, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" } ], "msecs": 633.885383605957, "msg": "Cache is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 97.20039367675781, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 8.606910705566406e-05 }, { "args": [ "5", "" ], "asctime": "2021-02-28 18:40:20,634", "created": 1614534020.634061, "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-02-28 18:40:20,633", "created": 1614534020.633965, "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": 633.965015411377, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 97.28002548217773, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "Keyfilter returnvalue for 5 ()", "5", "" ], "asctime": "2021-02-28 18:40:20,634", "created": 1614534020.6340098, "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": 634.009838104248, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 97.32484817504883, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" } ], "msecs": 634.0610980987549, "msg": "Keyfilter returnvalue for 5 () is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 97.37610816955566, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 5.125999450683594e-05 } ], "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 0.0013642311096191406, "time_finished": "2021-02-28 18:40:20,634", "time_start": "2021-02-28 18:40:20,632" }, "caching.property_cache_json: Test partially initialisation of JSON-Cache-Object": { "args": null, "asctime": "2021-02-28 18:40:20,610", "created": 1614534020.6106052, "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": 610.6052398681641, "msg": "caching.property_cache_json: Test partially initialisation of JSON-Cache-Object", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 73.92024993896484, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_json", "False" ], "asctime": "2021-02-28 18:40:20,611", "created": 1614534020.6110623, "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-02-28 18:40:20,610", "created": 1614534020.610699, "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": 610.698938369751, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 74.01394844055176, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "/usr/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,610", "created": 1614534020.6107788, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /usr/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.json as cache file.", "module": "test_helpers", "msecs": 610.77880859375, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 74.09381866455078, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2021-02-28 18:40:20,610", "created": 1614534020.6108472, "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": 610.8472347259521, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 74.16224479675293, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,610", "created": 1614534020.610984, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.json)", "module": "__init__", "msecs": 610.9840869903564, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 74.29909706115723, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" } ], "msecs": 611.0622882843018, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 74.37729835510254, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 7.82012939453125e-05 }, { "args": [], "asctime": "2021-02-28 18:40:20,612", "created": 1614534020.6128142, "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:", "unicode", "'unicode'" ], "asctime": "2021-02-28 18:40:20,611", "created": 1614534020.6111577, "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": 611.1576557159424, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 74.47266578674316, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,611", "created": 1614534020.611295, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.json)", "module": "__init__", "msecs": 611.2949848175049, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 74.60999488830566, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "str", "'string'" ], "asctime": "2021-02-28 18:40:20,611", "created": 1614534020.6114042, "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": 611.4041805267334, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 74.71919059753418, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,612", "created": 1614534020.612451, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.json)", "module": "__init__", "msecs": 612.4510765075684, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 75.76608657836914, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "integer", "17" ], "asctime": "2021-02-28 18:40:20,612", "created": 1614534020.61257, "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": 612.57004737854, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 75.88505744934082, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,612", "created": 1614534020.6127193, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.json)", "module": "__init__", "msecs": 612.7192974090576, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 76.0343074798584, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" } ], "msecs": 612.81418800354, "msg": "Partially initialising cache object by requesting some information.", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_no_load_on_init.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 76.12919807434082, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 9.489059448242188e-05 }, { "args": [ "property_cache_json" ], "asctime": "2021-02-28 18:40:20,613", "created": 1614534020.6131408, "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:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,612", "created": 1614534020.6129732, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 225, "message": "JsonCache: Loading properties from cache (/usr/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.json)", "module": "__init__", "msecs": 612.9732131958008, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 76.28822326660156, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "{'_property_cache_data_version_': 1, '_property_cache_uid_': 'my_unique_id', 'integer': 17, 'str': 'string', 'unicode': 'unicode'}" ], "asctime": "2021-02-28 18:40:20,613", "created": 1614534020.6130373, "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": 613.0373477935791, "msg": "Using storage object of cache class for comparison: %s", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_no_load_on_init.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 76.35235786437988, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "_property_cache_data_version_", "_property_cache_uid_" ], "asctime": "2021-02-28 18:40:20,613", "created": 1614534020.6130877, "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": 613.0876541137695, "msg": "Deleting overhead keys: %s, %s", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_no_load_on_init.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 76.40266418457031, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" } ], "msecs": 613.1408214569092, "msg": "Extracting storage object from %s for comparison.", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_no_load_on_init.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 76.45583152770996, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 5.316734313964844e-05 }, { "args": [ "{'integer': 17, 'str': 'string', 'unicode': 'unicode'}", "" ], "asctime": "2021-02-28 18:40:20,613", "created": 1614534020.613339, "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-02-28 18:40:20,613", "created": 1614534020.6132286, "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": 613.2285594940186, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 76.54356956481934, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "Cache object", "{ 'str': 'string', 'unicode': 'unicode', 'integer': 17 }", "" ], "asctime": "2021-02-28 18:40:20,613", "created": 1614534020.6132805, "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": 613.2805347442627, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 76.59554481506348, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" } ], "msecs": 613.3389472961426, "msg": "Cache object is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 76.65395736694336, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 5.841255187988281e-05 } ], "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 0.0027337074279785156, "time_finished": "2021-02-28 18:40:20,613", "time_start": "2021-02-28 18:40:20,610" }, "caching.property_cache_pickle: Test cached data (full init)": { "args": null, "asctime": "2021-02-28 18:40:20,640", "created": 1614534020.6401372, "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": 640.1371955871582, "msg": "caching.property_cache_pickle: Test cached data (full init)", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 103.45220565795898, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2021-02-28 18:40:20,641", "created": 1614534020.641354, "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-02-28 18:40:20,640", "created": 1614534020.6404035, "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": 640.4035091400146, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 103.71851921081543, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "/usr/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,640", "created": 1614534020.6406016, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /usr/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_load_on_init.pkl as cache file.", "module": "test_helpers", "msecs": 640.601634979248, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 103.91664505004883, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-02-28 18:40:20,640", "created": 1614534020.6407778, "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": 640.7778263092041, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 104.09283638000488, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2021-02-28 18:40:20,640", "created": 1614534020.6408901, "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": 640.8901214599609, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 104.20513153076172, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,641", "created": 1614534020.6411781, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_load_on_init.pkl)", "module": "__init__", "msecs": 641.1781311035156, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 104.4931411743164, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" } ], "msecs": 641.3540840148926, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 104.66909408569336, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 0.00017595291137695312 }, { "args": [], "asctime": "2021-02-28 18:40:20,642", "created": 1614534020.6422026, "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:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,641", "created": 1614534020.6415834, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 145, "message": "PickCache: Loading properties from cache (/usr/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_load_on_init.pkl)", "module": "__init__", "msecs": 641.5834426879883, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 104.89845275878906, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "str", "'string'" ], "asctime": "2021-02-28 18:40:20,641", "created": 1614534020.6416953, "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": 641.6952610015869, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 105.0102710723877, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "unicode", "'unicode'" ], "asctime": "2021-02-28 18:40:20,641", "created": 1614534020.6417694, "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": 641.7694091796875, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 105.08441925048828, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "integer", "17" ], "asctime": "2021-02-28 18:40:20,641", "created": 1614534020.6418333, "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": 641.8333053588867, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 105.1483154296875, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "float", "3.14159" ], "asctime": "2021-02-28 18:40:20,641", "created": 1614534020.6419406, "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": 641.9405937194824, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 105.2556037902832, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "list", "[1, 'two', '3', 4]" ], "asctime": "2021-02-28 18:40:20,642", "created": 1614534020.6420121, "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": 642.0121192932129, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 105.32712936401367, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "dict", "{'1': 1, '2': 'two', '3': '3', '4': 4}" ], "asctime": "2021-02-28 18:40:20,642", "created": 1614534020.6420789, "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": 642.0788764953613, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 105.39388656616211, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "uncached" ], "asctime": "2021-02-28 18:40:20,642", "created": 1614534020.642139, "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": 642.1389579772949, "msg": "%s Key '%s' is not in cached_keys. Uncached data will be returned.", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 105.4539680480957, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" } ], "msecs": 642.202615737915, "msg": "Collecting data from cache instance.", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_cached_data.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 105.51762580871582, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 6.365776062011719e-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-02-28 18:40:20,642", "created": 1614534020.6427057, "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-02-28 18:40:20,642", "created": 1614534020.6424072, "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": 642.4071788787842, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 105.72218894958496, "stack_info": null, "thread": 140414899820352, "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-02-28 18:40:20,642", "created": 1614534020.6425195, "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": 642.519474029541, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 105.8344841003418, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" } ], "msecs": 642.7056789398193, "msg": "Cached data is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 106.02068901062012, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 0.0001862049102783203 } ], "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 0.002568483352661133, "time_finished": "2021-02-28 18:40:20,642", "time_start": "2021-02-28 18:40:20,640" }, "caching.property_cache_pickle: Test cached data (partially init)": { "args": null, "asctime": "2021-02-28 18:40:20,643", "created": 1614534020.6431074, "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": 643.1074142456055, "msg": "caching.property_cache_pickle: Test cached data (partially init)", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 106.42242431640625, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2021-02-28 18:40:20,644", "created": 1614534020.6443214, "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-02-28 18:40:20,643", "created": 1614534020.6433914, "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": 643.3913707733154, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 106.70638084411621, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "/usr/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_no_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,643", "created": 1614534020.643585, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /usr/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_no_load_on_init.pkl as cache file.", "module": "test_helpers", "msecs": 643.5849666595459, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 106.89997673034668, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-02-28 18:40:20,643", "created": 1614534020.6437593, "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": 643.7592506408691, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 107.07426071166992, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2021-02-28 18:40:20,643", "created": 1614534020.6438687, "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": 643.8686847686768, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 107.18369483947754, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_no_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,644", "created": 1614534020.644128, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 644.1280841827393, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 107.44309425354004, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" } ], "msecs": 644.3214416503906, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 107.6364517211914, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 0.0001933574676513672 }, { "args": [], "asctime": "2021-02-28 18:40:20,644", "created": 1614534020.6449962, "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:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_no_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,644", "created": 1614534020.6445003, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 145, "message": "PickCache: Loading properties from cache (/usr/data/dirk/prj/unittest/caching/unittest/output_data/cache_data_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 644.5002555847168, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 107.81526565551758, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "str", "'string'" ], "asctime": "2021-02-28 18:40:20,644", "created": 1614534020.6445725, "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": 644.5724964141846, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 107.88750648498535, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "unicode", "'unicode'" ], "asctime": "2021-02-28 18:40:20,644", "created": 1614534020.644656, "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": 644.6559429168701, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 107.9709529876709, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "integer", "17" ], "asctime": "2021-02-28 18:40:20,644", "created": 1614534020.644715, "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": 644.7150707244873, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 108.03008079528809, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "float", "3.14159" ], "asctime": "2021-02-28 18:40:20,644", "created": 1614534020.6447759, "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": 644.7758674621582, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 108.09087753295898, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "list", "[1, 'two', '3', 4]" ], "asctime": "2021-02-28 18:40:20,644", "created": 1614534020.644835, "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": 644.8349952697754, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 108.15000534057617, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "dict", "{'1': 1, '2': 'two', '3': '3', '4': 4}" ], "asctime": "2021-02-28 18:40:20,644", "created": 1614534020.6448984, "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": 644.8984146118164, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 108.21342468261719, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "uncached" ], "asctime": "2021-02-28 18:40:20,644", "created": 1614534020.644949, "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": 644.9489593505859, "msg": "%s Key '%s' is not in cached_keys. Uncached data will be returned.", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 108.26396942138672, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" } ], "msecs": 644.996166229248, "msg": "Collecting data from cache instance.", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_cached_data.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 108.31117630004883, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 4.7206878662109375e-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-02-28 18:40:20,645", "created": 1614534020.6453314, "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-02-28 18:40:20,645", "created": 1614534020.645126, "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": 645.1261043548584, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 108.44111442565918, "stack_info": null, "thread": 140414899820352, "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-02-28 18:40:20,645", "created": 1614534020.6452081, "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": 645.2081203460693, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 108.52313041687012, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" } ], "msecs": 645.3313827514648, "msg": "Cached data is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 108.64639282226562, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 0.0001232624053955078 } ], "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 0.002223968505859375, "time_finished": "2021-02-28 18:40:20,645", "time_start": "2021-02-28 18:40:20,643" }, "caching.property_cache_pickle: Test execution of save callback (full init)": { "args": null, "asctime": "2021-02-28 18:40:20,654", "created": 1614534020.654361, "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": 654.3610095977783, "msg": "caching.property_cache_pickle: Test execution of save callback (full init)", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 117.6760196685791, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2021-02-28 18:40:20,654", "created": 1614534020.65446, "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": 654.4599533081055, "msg": "Installing save_callback, which sets a variable to True on execution.", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_save_callback.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 117.77496337890625, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 0.0 }, { "args": [ "True", "" ], "asctime": "2021-02-28 18:40:20,654", "created": 1614534020.6547933, "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:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/save_callback_load_on_init.json" ], "asctime": "2021-02-28 18:40:20,654", "created": 1614534020.6545858, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/save_callback_load_on_init.json)", "module": "__init__", "msecs": 654.5858383178711, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 117.90084838867188, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "Save callback execution variable", "True", "" ], "asctime": "2021-02-28 18:40:20,654", "created": 1614534020.6546807, "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": 654.6807289123535, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 117.9957389831543, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "Save callback execution variable", "True", "" ], "asctime": "2021-02-28 18:40:20,654", "created": 1614534020.6547408, "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": 654.7408103942871, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 118.05582046508789, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" } ], "msecs": 654.7932624816895, "msg": "Save callback execution variable is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 118.10827255249023, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 5.245208740234375e-05 } ], "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 0.0004322528839111328, "time_finished": "2021-02-28 18:40:20,654", "time_start": "2021-02-28 18:40:20,654" }, "caching.property_cache_pickle: Test full initialised PICKLE-Cache-Object": { "args": null, "asctime": "2021-02-28 18:40:20,634", "created": 1614534020.6342149, "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": 634.2148780822754, "msg": "caching.property_cache_pickle: Test full initialised PICKLE-Cache-Object", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 97.52988815307617, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2021-02-28 18:40:20,634", "created": 1614534020.6347713, "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-02-28 18:40:20,634", "created": 1614534020.6343207, "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": 634.3207359313965, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 97.63574600219727, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "/usr/data/dirk/prj/unittest/caching/unittest/output_data/load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,634", "created": 1614534020.6343927, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /usr/data/dirk/prj/unittest/caching/unittest/output_data/load_on_init.pkl as cache file.", "module": "test_helpers", "msecs": 634.3927383422852, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 97.70774841308594, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-02-28 18:40:20,634", "created": 1614534020.6344674, "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": 634.467363357544, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 97.78237342834473, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2021-02-28 18:40:20,634", "created": 1614534020.634527, "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": 634.5269680023193, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 97.84197807312012, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,634", "created": 1614534020.634674, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/load_on_init.pkl)", "module": "__init__", "msecs": 634.674072265625, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 97.98908233642578, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" } ], "msecs": 634.7713470458984, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 98.08635711669922, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 9.72747802734375e-05 }, { "args": [ "property_cache_pickle" ], "asctime": "2021-02-28 18:40:20,635", "created": 1614534020.6351633, "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:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,634", "created": 1614534020.634965, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 145, "message": "PickCache: Loading properties from cache (/usr/data/dirk/prj/unittest/caching/unittest/output_data/load_on_init.pkl)", "module": "__init__", "msecs": 634.9649429321289, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 98.27995300292969, "stack_info": null, "thread": 140414899820352, "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-02-28 18:40:20,635", "created": 1614534020.6350603, "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": 635.0603103637695, "msg": "Using storage object of cache class for comparison: %s", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_load_on_init.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 98.37532043457031, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "_property_cache_data_version_", "_property_cache_uid_" ], "asctime": "2021-02-28 18:40:20,635", "created": 1614534020.6351168, "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": 635.1168155670166, "msg": "Deleting overhead keys: %s, %s", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_load_on_init.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 98.43182563781738, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" } ], "msecs": 635.1633071899414, "msg": "Extracting storage object from %s for comparison.", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_load_on_init.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 98.47831726074219, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 4.649162292480469e-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-02-28 18:40:20,635", "created": 1614534020.6355722, "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-02-28 18:40:20,635", "created": 1614534020.6352947, "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": 635.2946758270264, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 98.60968589782715, "stack_info": null, "thread": 140414899820352, "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-02-28 18:40:20,635", "created": 1614534020.6354194, "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": 635.4193687438965, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 98.73437881469727, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" } ], "msecs": 635.5721950531006, "msg": "Cache object is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 98.88720512390137, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 0.00015282630920410156 } ], "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 0.0013573169708251953, "time_finished": "2021-02-28 18:40:20,635", "time_start": "2021-02-28 18:40:20,634" }, "caching.property_cache_pickle: Test get from source caused by changed uid (full init)": { "args": null, "asctime": "2021-02-28 18:40:20,650", "created": 1614534020.6501188, "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": 650.1188278198242, "msg": "caching.property_cache_pickle: Test get from source caused by changed uid (full init)", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 113.433837890625, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2021-02-28 18:40:20,650", "created": 1614534020.6506493, "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-02-28 18:40:20,650", "created": 1614534020.6502426, "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": 650.2425670623779, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 113.55757713317871, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,650", "created": 1614534020.6503234, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.pkl as cache file.", "module": "test_helpers", "msecs": 650.3233909606934, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 113.63840103149414, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-02-28 18:40:20,650", "created": 1614534020.650403, "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": 650.4030227661133, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 113.71803283691406, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2021-02-28 18:40:20,650", "created": 1614534020.6504629, "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": 650.4628658294678, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 113.77787590026855, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,650", "created": 1614534020.650577, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.pkl)", "module": "__init__", "msecs": 650.5770683288574, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 113.8920783996582, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" } ], "msecs": 650.6493091583252, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 113.96431922912598, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 7.224082946777344e-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-02-28 18:40:20,651", "created": 1614534020.6518266, "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:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,650", "created": 1614534020.6507874, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 145, "message": "PickCache: Loading properties from cache (/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.pkl)", "module": "__init__", "msecs": 650.787353515625, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 114.10236358642578, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-02-28 18:40:20,650", "created": 1614534020.650853, "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": 650.8529186248779, "msg": "%s Source uid changed, ignoring previous cache data", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 114.16792869567871, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2021-02-28 18:40:20,650", "created": 1614534020.6509113, "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": 650.9113311767578, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 114.2263412475586, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,651", "created": 1614534020.6510246, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_load_on_init.pkl)", "module": "__init__", "msecs": 651.024580001831, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 114.33959007263184, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "str", "'__string__'" ], "asctime": "2021-02-28 18:40:20,651", "created": 1614534020.6512778, "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": 651.2777805328369, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 114.5927906036377, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "unicode", "'__unicode__'" ], "asctime": "2021-02-28 18:40:20,651", "created": 1614534020.6513498, "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": 651.3497829437256, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 114.66479301452637, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "integer", "34" ], "asctime": "2021-02-28 18:40:20,651", "created": 1614534020.6514053, "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": 651.4053344726562, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 114.72034454345703, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "float", "2.71828" ], "asctime": "2021-02-28 18:40:20,651", "created": 1614534020.65146, "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": 651.4599323272705, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 114.77494239807129, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "list", "['one', 2, 3, '4']" ], "asctime": "2021-02-28 18:40:20,651", "created": 1614534020.6515136, "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": 651.5135765075684, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 114.82858657836914, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "dict", "{'1': '1', '2': 2, '3': 'three', '4': '4'}" ], "asctime": "2021-02-28 18:40:20,651", "created": 1614534020.6515682, "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": 651.5681743621826, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 114.8831844329834, "stack_info": null, "thread": 140414899820352, "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-02-28 18:40:20,651", "created": 1614534020.6516476, "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": 651.6475677490234, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 114.96257781982422, "stack_info": null, "thread": 140414899820352, "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-02-28 18:40:20,651", "created": 1614534020.6517172, "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": 651.7171859741211, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 115.03219604492188, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" } ], "msecs": 651.8266201019287, "msg": "Instance data after changing uid is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 115.14163017272949, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 0.00010943412780761719 } ], "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 0.0017077922821044922, "time_finished": "2021-02-28 18:40:20,651", "time_start": "2021-02-28 18:40:20,650" }, "caching.property_cache_pickle: Test get from source caused by changed uid (partially init)": { "args": null, "asctime": "2021-02-28 18:40:20,651", "created": 1614534020.6519954, "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": 651.9954204559326, "msg": "caching.property_cache_pickle: Test get from source caused by changed uid (partially init)", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 115.3104305267334, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2021-02-28 18:40:20,652", "created": 1614534020.6524923, "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-02-28 18:40:20,652", "created": 1614534020.6521056, "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": 652.1055698394775, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 115.42057991027832, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,652", "created": 1614534020.6521814, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl as cache file.", "module": "test_helpers", "msecs": 652.1813869476318, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 115.49639701843262, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-02-28 18:40:20,652", "created": 1614534020.652253, "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": 652.2529125213623, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 115.56792259216309, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2021-02-28 18:40:20,652", "created": 1614534020.6523097, "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": 652.3096561431885, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 115.62466621398926, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,652", "created": 1614534020.652419, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 652.4190902709961, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 115.73410034179688, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" } ], "msecs": 652.4922847747803, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 115.80729484558105, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 7.319450378417969e-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-02-28 18:40:20,654", "created": 1614534020.6541936, "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:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,652", "created": 1614534020.6526256, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 145, "message": "PickCache: Loading properties from cache (/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 652.625560760498, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 115.94057083129883, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-02-28 18:40:20,652", "created": 1614534020.652684, "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": 652.6839733123779, "msg": "%s Source uid changed, ignoring previous cache data", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 115.99898338317871, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,652", "created": 1614534020.6527715, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 652.7714729309082, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 116.08648300170898, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "str", "'__string__'" ], "asctime": "2021-02-28 18:40:20,652", "created": 1614534020.6528578, "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": 652.857780456543, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 116.17279052734375, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,652", "created": 1614534020.6529524, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 652.9524326324463, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 116.26744270324707, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "unicode", "'__unicode__'" ], "asctime": "2021-02-28 18:40:20,653", "created": 1614534020.653052, "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": 653.0520915985107, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 116.36710166931152, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,653", "created": 1614534020.6531377, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 653.1376838684082, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 116.45269393920898, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "integer", "34" ], "asctime": "2021-02-28 18:40:20,653", "created": 1614534020.6532307, "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": 653.2306671142578, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 116.5456771850586, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,653", "created": 1614534020.653321, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 653.3210277557373, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 116.63603782653809, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "float", "2.71828" ], "asctime": "2021-02-28 18:40:20,653", "created": 1614534020.6534162, "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": 653.4161567687988, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 116.73116683959961, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,653", "created": 1614534020.653505, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 653.5050868988037, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 116.82009696960449, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "list", "['one', 2, 3, '4']" ], "asctime": "2021-02-28 18:40:20,653", "created": 1614534020.6536, "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": 653.5999774932861, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 116.91498756408691, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,653", "created": 1614534020.6537025, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 653.7024974822998, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 117.01750755310059, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "dict", "{'1': '1', '2': 2, '3': 'three', '4': '4'}" ], "asctime": "2021-02-28 18:40:20,653", "created": 1614534020.6538007, "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": 653.8007259368896, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 117.11573600769043, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,653", "created": 1614534020.6538875, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 653.8875102996826, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 117.2025203704834, "stack_info": null, "thread": 140414899820352, "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-02-28 18:40:20,654", "created": 1614534020.6540082, "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": 654.008150100708, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 117.32316017150879, "stack_info": null, "thread": 140414899820352, "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-02-28 18:40:20,654", "created": 1614534020.6540835, "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": 654.0834903717041, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 117.39850044250488, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" } ], "msecs": 654.193639755249, "msg": "Instance data after changing uid is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 117.5086498260498, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 0.00011014938354492188 } ], "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 0.0021982192993164062, "time_finished": "2021-02-28 18:40:20,654", "time_start": "2021-02-28 18:40:20,651" }, "caching.property_cache_pickle: Test get from source caused by increased data version (full init)": { "args": null, "asctime": "2021-02-28 18:40:20,645", "created": 1614534020.6455128, "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": 645.5128192901611, "msg": "caching.property_cache_pickle: Test get from source caused by increased data version (full init)", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 108.82782936096191, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2021-02-28 18:40:20,646", "created": 1614534020.6460934, "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-02-28 18:40:20,645", "created": 1614534020.6456175, "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": 645.6174850463867, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 108.9324951171875, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,645", "created": 1614534020.6457427, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.pkl as cache file.", "module": "test_helpers", "msecs": 645.742654800415, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 109.05766487121582, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-02-28 18:40:20,645", "created": 1614534020.64584, "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": 645.8399295806885, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 109.15493965148926, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2021-02-28 18:40:20,645", "created": 1614534020.6459007, "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": 645.9007263183594, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 109.21573638916016, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,646", "created": 1614534020.6460187, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.pkl)", "module": "__init__", "msecs": 646.0187435150146, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 109.33375358581543, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" } ], "msecs": 646.0933685302734, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 109.40837860107422, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 7.462501525878906e-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-02-28 18:40:20,647", "created": 1614534020.6472135, "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:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,646", "created": 1614534020.6462579, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 145, "message": "PickCache: Loading properties from cache (/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.pkl)", "module": "__init__", "msecs": 646.2578773498535, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 109.5728874206543, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-02-28 18:40:20,646", "created": 1614534020.6463273, "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": 646.3272571563721, "msg": "%s Data version increased, ignoring previous cache data", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 109.64226722717285, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2021-02-28 18:40:20,646", "created": 1614534020.6463845, "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": 646.3844776153564, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 109.69948768615723, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,646", "created": 1614534020.6465006, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_load_on_init.pkl)", "module": "__init__", "msecs": 646.5005874633789, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 109.81559753417969, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "str", "'__string__'" ], "asctime": "2021-02-28 18:40:20,646", "created": 1614534020.6466072, "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": 646.6071605682373, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 109.92217063903809, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "unicode", "'__unicode__'" ], "asctime": "2021-02-28 18:40:20,646", "created": 1614534020.6466846, "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": 646.6846466064453, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 109.9996566772461, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "integer", "34" ], "asctime": "2021-02-28 18:40:20,646", "created": 1614534020.6467433, "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": 646.7432975769043, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 110.05830764770508, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "float", "2.71828" ], "asctime": "2021-02-28 18:40:20,646", "created": 1614534020.6468024, "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": 646.8024253845215, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 110.11743545532227, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "list", "['one', 2, 3, '4']" ], "asctime": "2021-02-28 18:40:20,646", "created": 1614534020.6468673, "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": 646.8672752380371, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 110.18228530883789, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "dict", "{'1': '1', '2': 2, '3': 'three', '4': '4'}" ], "asctime": "2021-02-28 18:40:20,646", "created": 1614534020.646928, "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": 646.928071975708, "msg": "%s Providing property for '%s' from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 110.24308204650879, "stack_info": null, "thread": 140414899820352, "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-02-28 18:40:20,647", "created": 1614534020.6470168, "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": 647.0167636871338, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 110.33177375793457, "stack_info": null, "thread": 140414899820352, "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-02-28 18:40:20,647", "created": 1614534020.6470966, "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": 647.0966339111328, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 110.4116439819336, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" } ], "msecs": 647.2134590148926, "msg": "Instance data after increasing data_version is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 110.52846908569336, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 0.00011682510375976562 } ], "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 0.0017006397247314453, "time_finished": "2021-02-28 18:40:20,647", "time_start": "2021-02-28 18:40:20,645" }, "caching.property_cache_pickle: Test get from source caused by increased data version (partially init)": { "args": null, "asctime": "2021-02-28 18:40:20,647", "created": 1614534020.647395, "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": 647.3948955535889, "msg": "caching.property_cache_pickle: Test get from source caused by increased data version (partially init)", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 110.70990562438965, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2021-02-28 18:40:20,647", "created": 1614534020.647924, "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-02-28 18:40:20,647", "created": 1614534020.6475036, "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": 647.5036144256592, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 110.81862449645996, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,647", "created": 1614534020.6475873, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl as cache file.", "module": "test_helpers", "msecs": 647.5872993469238, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 110.90230941772461, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-02-28 18:40:20,647", "created": 1614534020.647666, "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": 647.6659774780273, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 110.98098754882812, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2021-02-28 18:40:20,647", "created": 1614534020.647728, "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": 647.7279663085938, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 111.04297637939453, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,647", "created": 1614534020.6478472, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 647.8471755981445, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 111.16218566894531, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" } ], "msecs": 647.9239463806152, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 111.23895645141602, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 7.677078247070312e-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-02-28 18:40:20,649", "created": 1614534020.6499295, "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:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,648", "created": 1614534020.6481054, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 145, "message": "PickCache: Loading properties from cache (/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 648.1053829193115, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 111.4203929901123, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-02-28 18:40:20,648", "created": 1614534020.6481771, "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": 648.1771469116211, "msg": "%s Data version increased, ignoring previous cache data", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 111.49215698242188, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,648", "created": 1614534020.6482723, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 648.2722759246826, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 111.5872859954834, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "str", "'__string__'" ], "asctime": "2021-02-28 18:40:20,648", "created": 1614534020.64837, "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": 648.3700275421143, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 111.68503761291504, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,648", "created": 1614534020.6484792, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 648.4792232513428, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 111.79423332214355, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "unicode", "'__unicode__'" ], "asctime": "2021-02-28 18:40:20,648", "created": 1614534020.648586, "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": 648.5860347747803, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 111.90104484558105, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,648", "created": 1614534020.648681, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 648.6809253692627, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 111.99593544006348, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "integer", "34" ], "asctime": "2021-02-28 18:40:20,648", "created": 1614534020.6487834, "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": 648.7834453582764, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 112.09845542907715, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,648", "created": 1614534020.6488774, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 648.8773822784424, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 112.19239234924316, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "float", "2.71828" ], "asctime": "2021-02-28 18:40:20,648", "created": 1614534020.6489823, "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": 648.9822864532471, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 112.29729652404785, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,649", "created": 1614534020.6490767, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 649.0767002105713, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 112.39171028137207, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "list", "['one', 2, 3, '4']" ], "asctime": "2021-02-28 18:40:20,649", "created": 1614534020.649181, "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": 649.1808891296387, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 112.49589920043945, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,649", "created": 1614534020.649276, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 649.2760181427002, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 112.59102821350098, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "dict", "{'1': '1', '2': 2, '3': 'three', '4': '4'}" ], "asctime": "2021-02-28 18:40:20,649", "created": 1614534020.6493795, "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": 649.3794918060303, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 112.69450187683105, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,649", "created": 1614534020.6494744, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 649.4743824005127, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 112.78939247131348, "stack_info": null, "thread": 140414899820352, "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-02-28 18:40:20,649", "created": 1614534020.649607, "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": 649.6069431304932, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 112.92195320129395, "stack_info": null, "thread": 140414899820352, "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-02-28 18:40:20,649", "created": 1614534020.6497364, "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": 649.7364044189453, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 113.0514144897461, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" } ], "msecs": 649.9295234680176, "msg": "Instance data after increasing data_version is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 113.24453353881836, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 0.00019311904907226562 } ], "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 0.002534627914428711, "time_finished": "2021-02-28 18:40:20,649", "time_start": "2021-02-28 18:40:20,647" }, "caching.property_cache_pickle: Test internal key usage": { "args": null, "asctime": "2021-02-28 18:40:20,654", "created": 1614534020.6549418, "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": 654.9417972564697, "msg": "caching.property_cache_pickle: Test internal key usage", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 118.25680732727051, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2021-02-28 18:40:20,655", "created": 1614534020.655398, "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-02-28 18:40:20,655", "created": 1614534020.655034, "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": 655.034065246582, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 118.34907531738281, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "/usr/data/dirk/prj/unittest/caching/unittest/output_data/internal_keys_test.pkl" ], "asctime": "2021-02-28 18:40:20,655", "created": 1614534020.6551015, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /usr/data/dirk/prj/unittest/caching/unittest/output_data/internal_keys_test.pkl as cache file.", "module": "test_helpers", "msecs": 655.1015377044678, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 118.41654777526855, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-02-28 18:40:20,655", "created": 1614534020.6551712, "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": 655.1711559295654, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 118.48616600036621, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "['_property_cache_uid_', '__property_cache_uid_', '_property_cache_data_version_', '__property_cache_data_version_']" ], "asctime": "2021-02-28 18:40:20,655", "created": 1614534020.6552274, "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": 655.2274227142334, "msg": "%s Loading all data from source - %s", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 118.54243278503418, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/internal_keys_test.pkl" ], "asctime": "2021-02-28 18:40:20,655", "created": 1614534020.6553285, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/internal_keys_test.pkl)", "module": "__init__", "msecs": 655.3285121917725, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 118.64352226257324, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" } ], "msecs": 655.397891998291, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 118.7129020690918, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 6.937980651855469e-05 }, { "args": [ "property_cache_pickle" ], "asctime": "2021-02-28 18:40:20,655", "created": 1614534020.6556797, "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:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/internal_keys_test.pkl" ], "asctime": "2021-02-28 18:40:20,655", "created": 1614534020.655527, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 145, "message": "PickCache: Loading properties from cache (/usr/data/dirk/prj/unittest/caching/unittest/output_data/internal_keys_test.pkl)", "module": "__init__", "msecs": 655.5271148681641, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 118.84212493896484, "stack_info": null, "thread": 140414899820352, "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-02-28 18:40:20,655", "created": 1614534020.65559, "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": 655.5900573730469, "msg": "Using storage object of cache class for comparison: %s", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_internal_keys.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 118.90506744384766, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "_property_cache_data_version_", "_property_cache_uid_" ], "asctime": "2021-02-28 18:40:20,655", "created": 1614534020.6556356, "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": 655.6355953216553, "msg": "Deleting overhead keys: %s, %s", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_internal_keys.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 118.95060539245605, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" } ], "msecs": 655.6797027587891, "msg": "Extracting storage object from %s for comparison.", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_internal_keys.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 118.99471282958984, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 4.410743713378906e-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-02-28 18:40:20,655", "created": 1614534020.6558943, "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-02-28 18:40:20,655", "created": 1614534020.6557696, "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": 655.7695865631104, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 119.08459663391113, "stack_info": null, "thread": 140414899820352, "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-02-28 18:40:20,655", "created": 1614534020.6558259, "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": 655.8258533477783, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 119.1408634185791, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" } ], "msecs": 655.8942794799805, "msg": "Cache is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 119.20928955078125, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 6.842613220214844e-05 }, { "args": [ "5", "" ], "asctime": "2021-02-28 18:40:20,656", "created": 1614534020.6560683, "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-02-28 18:40:20,655", "created": 1614534020.6559749, "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": 655.9748649597168, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 119.28987503051758, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "Keyfilter returnvalue for 5 ()", "5", "" ], "asctime": "2021-02-28 18:40:20,656", "created": 1614534020.6560206, "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": 656.0206413269043, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 119.33565139770508, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" } ], "msecs": 656.0683250427246, "msg": "Keyfilter returnvalue for 5 () is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 119.38333511352539, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 4.76837158203125e-05 } ], "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 0.0011265277862548828, "time_finished": "2021-02-28 18:40:20,656", "time_start": "2021-02-28 18:40:20,654" }, "caching.property_cache_pickle: Test partially initialised PICKLE-Cache-Object": { "args": null, "asctime": "2021-02-28 18:40:20,635", "created": 1614534020.635795, "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": 635.7951164245605, "msg": "caching.property_cache_pickle: Test partially initialised PICKLE-Cache-Object", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 99.11012649536133, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_pickle", "False" ], "asctime": "2021-02-28 18:40:20,636", "created": 1614534020.636402, "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-02-28 18:40:20,635", "created": 1614534020.6359215, "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": 635.9214782714844, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 99.23648834228516, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "/usr/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,636", "created": 1614534020.636045, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /usr/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.pkl as cache file.", "module": "test_helpers", "msecs": 636.044979095459, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 99.35998916625977, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2021-02-28 18:40:20,636", "created": 1614534020.6361423, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 148, "message": "PickCache: Cache file does not exists (yet).", "module": "__init__", "msecs": 636.1422538757324, "msg": "%s Cache file does not exists (yet).", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 99.4572639465332, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,636", "created": 1614534020.6362813, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.pkl)", "module": "__init__", "msecs": 636.2812519073486, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 99.59626197814941, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" } ], "msecs": 636.401891708374, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_helpers.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 99.7169017791748, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 0.00012063980102539062 }, { "args": [], "asctime": "2021-02-28 18:40:20,638", "created": 1614534020.6387017, "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:", "unicode", "'unicode'" ], "asctime": "2021-02-28 18:40:20,636", "created": 1614534020.6366148, "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": 636.6147994995117, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 99.9298095703125, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,636", "created": 1614534020.63692, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.pkl)", "module": "__init__", "msecs": 636.9199752807617, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 100.2349853515625, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "str", "'string'" ], "asctime": "2021-02-28 18:40:20,637", "created": 1614534020.6373036, "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": 637.3035907745361, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 100.61860084533691, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,637", "created": 1614534020.6379328, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.pkl)", "module": "__init__", "msecs": 637.9327774047852, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 101.24778747558594, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "integer", "17" ], "asctime": "2021-02-28 18:40:20,638", "created": 1614534020.6383743, "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": 638.3743286132812, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 101.68933868408203, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "PickCache:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,638", "created": 1614534020.6385617, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 170, "message": "PickCache: cache-file stored (/usr/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.pkl)", "module": "__init__", "msecs": 638.5617256164551, "msg": "%s cache-file stored (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 101.87673568725586, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" } ], "msecs": 638.7016773223877, "msg": "Partially initialising cache object by requesting some information.", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_no_load_on_init.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 102.01668739318848, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 0.0001399517059326172 }, { "args": [ "property_cache_pickle" ], "asctime": "2021-02-28 18:40:20,639", "created": 1614534020.6393518, "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:", "/usr/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.pkl" ], "asctime": "2021-02-28 18:40:20,639", "created": 1614534020.6390915, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 145, "message": "PickCache: Loading properties from cache (/usr/data/dirk/prj/unittest/caching/unittest/output_data/no_load_on_init.pkl)", "module": "__init__", "msecs": 639.0914916992188, "msg": "%s Loading properties from cache (%s)", "name": "root.caching", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/caching/__init__.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 102.40650177001953, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "{'_property_cache_uid_': 'my_unique_id', '_property_cache_data_version_': 1, 'unicode': 'unicode', 'str': 'string', 'integer': 17}" ], "asctime": "2021-02-28 18:40:20,639", "created": 1614534020.6392198, "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, 'unicode': 'unicode', 'str': 'string', 'integer': 17}", "module": "test_no_load_on_init", "msecs": 639.2197608947754, "msg": "Using storage object of cache class for comparison: %s", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_no_load_on_init.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 102.53477096557617, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "_property_cache_data_version_", "_property_cache_uid_" ], "asctime": "2021-02-28 18:40:20,639", "created": 1614534020.639296, "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": 639.2960548400879, "msg": "Deleting overhead keys: %s, %s", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_no_load_on_init.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 102.61106491088867, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" } ], "msecs": 639.3518447875977, "msg": "Extracting storage object from %s for comparison.", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/tests/test_no_load_on_init.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 102.66685485839844, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 5.5789947509765625e-05 }, { "args": [ "{'unicode': 'unicode', 'str': 'string', 'integer': 17}", "" ], "asctime": "2021-02-28 18:40:20,639", "created": 1614534020.6397738, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 144, "message": "Cache object is correct (Content {'unicode': 'unicode', 'str': 'string', 'integer': 17} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Cache object", "{ 'unicode': 'unicode', 'str': 'string', 'integer': 17 }", "" ], "asctime": "2021-02-28 18:40:20,639", "created": 1614534020.639586, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Cache object): { 'unicode': 'unicode', 'str': 'string', 'integer': 17 } ()", "module": "test", "msecs": 639.5859718322754, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 102.90098190307617, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" }, { "args": [ "Cache object", "{ 'str': 'string', 'unicode': 'unicode', 'integer': 17 }", "" ], "asctime": "2021-02-28 18:40:20,639", "created": 1614534020.6396797, "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": 639.6796703338623, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 102.99468040466309, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread" } ], "msecs": 639.7738456726074, "msg": "Cache object is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/usr/data/dirk/prj/unittest/caching/unittest/src/unittest/test.py", "process": 60053, "processName": "MainProcess", "relativeCreated": 103.0888557434082, "stack_info": null, "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 9.417533874511719e-05 } ], "thread": 140414899820352, "threadName": "MainThread", "time_consumption": 0.003978729248046875, "time_finished": "2021-02-28 18:40:20,639", "time_start": "2021-02-28 18:40:20,635" } }, "testrun_id": "p3", "time_consumption": 0.04323601722717285, "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" } }