{ "coverage_information": [ { "branch_coverage": 100.0, "filepath": "/user_data/data/dirk/prj/modules/caching/pylibs/caching", "files": [ { "branch_coverage": 100.0, "filepath": "/user_data/data/dirk/prj/modules/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": 36, "start": 35 }, { "coverage_state": "clean", "end": 37, "start": 37 }, { "coverage_state": "covered", "end": 38, "start": 38 }, { "coverage_state": "clean", "end": 40, "start": 39 }, { "coverage_state": "covered", "end": 41, "start": 41 }, { "coverage_state": "clean", "end": 44, "start": 42 }, { "coverage_state": "covered", "end": 45, "start": 45 }, { "coverage_state": "clean", "end": 81, "start": 46 }, { "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": 117, "start": 116 }, { "coverage_state": "clean", "end": 118, "start": 118 }, { "coverage_state": "covered", "end": 121, "start": 119 }, { "coverage_state": "clean", "end": 122, "start": 122 }, { "coverage_state": "covered", "end": 123, "start": 123 }, { "coverage_state": "clean", "end": 124, "start": 124 }, { "coverage_state": "covered", "end": 136, "start": 125 }, { "coverage_state": "clean", "end": 137, "start": 137 }, { "coverage_state": "covered", "end": 143, "start": 138 }, { "coverage_state": "clean", "end": 144, "start": 144 }, { "coverage_state": "covered", "end": 146, "start": 145 }, { "coverage_state": "clean", "end": 147, "start": 147 }, { "coverage_state": "covered", "end": 150, "start": 148 }, { "coverage_state": "clean", "end": 151, "start": 151 }, { "coverage_state": "covered", "end": 156, "start": 152 }, { "coverage_state": "clean", "end": 157, "start": 157 }, { "coverage_state": "covered", "end": 162, "start": 158 }, { "coverage_state": "clean", "end": 163, "start": 163 }, { "coverage_state": "covered", "end": 169, "start": 164 }, { "coverage_state": "clean", "end": 170, "start": 170 }, { "coverage_state": "covered", "end": 173, "start": 171 }, { "coverage_state": "clean", "end": 174, "start": 174 }, { "coverage_state": "covered", "end": 175, "start": 175 }, { "coverage_state": "clean", "end": 177, "start": 176 }, { "coverage_state": "covered", "end": 178, "start": 178 }, { "coverage_state": "clean", "end": 218, "start": 179 }, { "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": "LinuxMint 19.3 tricia", "Hostname": "ahorn", "Kernel": "5.0.0-37-generic (#40~18.04.1-Ubuntu SMP Thu Nov 14 12:06:39 UTC 2019)", "Machine": "x86_64", "Path": "/user_data/data/dirk/prj/modules/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": "e10fa482d1bae991647206a4d38be6d4" }, "testrun_list": [ { "heading_dict": {}, "interpreter": "python 2.7.17 (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": "2019-12-27 21:48:46,662", "created": 1577479726.662434, "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": 662.4341011047363, "msg": "caching.property_cache_json: Test cached data (full init)", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 102.90002822875977, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2019-12-27 21:48:46,664", "created": 1577479726.664573, "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": "2019-12-27 21:48:46,662", "created": 1577479726.662676, "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": 662.6760959625244, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 103.14202308654785, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/modules/caching/unittest/output_data/cache_data_test_load_on_init.json" ], "asctime": "2019-12-27 21:48:46,662", "created": 1577479726.662952, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/modules/caching/unittest/output_data/cache_data_test_load_on_init.json as cache file.", "module": "test_helpers", "msecs": 662.9519462585449, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 103.41787338256836, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2019-12-27 21:48:46,663", "created": 1577479726.663307, "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": 663.3069515228271, "msg": "%s Cache file does not exists (yet).", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 103.77287864685059, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2019-12-27 21:48:46,663", "created": 1577479726.663474, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 159, "message": "JsonCache: Loading all data from source - ['dict', 'unicode', 'str', 'integer', 'float', 'list']", "module": "__init__", "msecs": 663.4740829467773, "msg": "%s Loading all data from source - %s", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 103.94001007080078, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/cache_data_test_load_on_init.json" ], "asctime": "2019-12-27 21:48:46,664", "created": 1577479726.664318, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/cache_data_test_load_on_init.json)", "module": "__init__", "msecs": 664.3180847167969, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 104.78401184082031, "thread": 139988953077568, "threadName": "MainThread" } ], "msecs": 664.5729541778564, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 105.03888130187988, "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 0.0002548694610595703 }, { "args": [], "asctime": "2019-12-27 21:48:46,666", "created": 1577479726.666463, "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": "2019-12-27 21:48:46,664", "created": 1577479726.664909, "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": 664.9088859558105, "msg": "%s Key '%s' is not in cached_keys. Uncached data will be returned.", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 105.37481307983398, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/cache_data_test_load_on_init.json" ], "asctime": "2019-12-27 21:48:46,665", "created": 1577479726.665348, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 225, "message": "JsonCache: Loading properties from cache (/user_data/data/dirk/prj/modules/caching/unittest/output_data/cache_data_test_load_on_init.json)", "module": "__init__", "msecs": 665.3480529785156, "msg": "%s Loading properties from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 105.81398010253906, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "dict", "{u'1': 1, u'3': u'3', u'2': u'two', u'4': 4}" ], "asctime": "2019-12-27 21:48:46,665", "created": 1577479726.665564, "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": 665.5640602111816, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 106.02998733520508, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "unicode", "u'unicode'" ], "asctime": "2019-12-27 21:48:46,665", "created": 1577479726.665832, "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": 665.8320426940918, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 106.29796981811523, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "str", "u'string'" ], "asctime": "2019-12-27 21:48:46,665", "created": 1577479726.665978, "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": 665.977954864502, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 106.44388198852539, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "integer", "17" ], "asctime": "2019-12-27 21:48:46,666", "created": 1577479726.666104, "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": 666.1040782928467, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 106.57000541687012, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "float", "3.14159" ], "asctime": "2019-12-27 21:48:46,666", "created": 1577479726.66623, "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": 666.2299633026123, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 106.69589042663574, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "list", "[1, u'two', u'3', 4]" ], "asctime": "2019-12-27 21:48:46,666", "created": 1577479726.666363, "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": 666.363000869751, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 106.82892799377441, "thread": 139988953077568, "threadName": "MainThread" } ], "msecs": 666.4628982543945, "msg": "Collecting data from cache instance.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_cached_data.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 106.92882537841797, "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 9.989738464355469e-05 }, { "args": [], "asctime": "2019-12-27 21:48:46,669", "created": 1577479726.669458, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "WARNING", "levelno": 30, "lineno": 144, "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": "2019-12-27 21:48:46,666", "created": 1577479726.666938, "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": 666.938066482544, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 107.40399360656738, "thread": 139988953077568, "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": "2019-12-27 21:48:46,667", "created": 1577479726.6672, "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": 667.2000885009766, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 107.666015625, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'two'" ], "asctime": "2019-12-27 21:48:46,667", "created": 1577479726.667519, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 119, "message": "Type is NOT for test_variable (u'two'). ", "module": "test", "msecs": 667.5190925598145, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 107.98501968383789, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "u'two'" ], "asctime": "2019-12-27 21:48:46,667", "created": 1577479726.667651, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "ERROR", "levelno": 40, "lineno": 115, "message": "Content u'two' is incorrect for test_variable.", "module": "test", "msecs": 667.6509380340576, "msg": "Content %s is incorrect for test_variable.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 108.11686515808105, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'two'" ], "asctime": "2019-12-27 21:48:46,667", "created": 1577479726.667826, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 119, "message": "Type is NOT for test_variable (u'two'). ", "module": "test", "msecs": 667.8259372711182, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 108.2918643951416, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "u'two'" ], "asctime": "2019-12-27 21:48:46,667", "created": 1577479726.667987, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "ERROR", "levelno": 40, "lineno": 115, "message": "Content u'two' is incorrect for test_variable.", "module": "test", "msecs": 667.9871082305908, "msg": "Content %s is incorrect for test_variable.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 108.45303535461426, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'two'" ], "asctime": "2019-12-27 21:48:46,668", "created": 1577479726.668064, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 119, "message": "Type is NOT for test_variable (u'two'). ", "module": "test", "msecs": 668.0641174316406, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 108.53004455566406, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "", "", " for result.list[1]", "u'two'" ], "asctime": "2019-12-27 21:48:46,668", "created": 1577479726.668145, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 119, "message": "Type is NOT for result.list[1] (u'two'). Check for known json storage type deviation -> .", "module": "test", "msecs": 668.144941329956, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 108.61086845397949, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'3'" ], "asctime": "2019-12-27 21:48:46,668", "created": 1577479726.668216, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 119, "message": "Type is NOT for test_variable (u'3'). ", "module": "test", "msecs": 668.2159900665283, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 108.68191719055176, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "u'3'" ], "asctime": "2019-12-27 21:48:46,668", "created": 1577479726.668292, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "ERROR", "levelno": 40, "lineno": 115, "message": "Content u'3' is incorrect for test_variable.", "module": "test", "msecs": 668.2920455932617, "msg": "Content %s is incorrect for test_variable.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 108.75797271728516, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'3'" ], "asctime": "2019-12-27 21:48:46,668", "created": 1577479726.668397, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 119, "message": "Type is NOT for test_variable (u'3'). ", "module": "test", "msecs": 668.3969497680664, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 108.86287689208984, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "", "", " for result.list[2]", "u'3'" ], "asctime": "2019-12-27 21:48:46,669", "created": 1577479726.669079, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 119, "message": "Type is NOT for result.list[2] (u'3'). Check for known json storage type deviation -> .", "module": "test", "msecs": 669.079065322876, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 109.54499244689941, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "", "", " for result.dict.3", "u'3'" ], "asctime": "2019-12-27 21:48:46,669", "created": 1577479726.669205, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 119, "message": "Type is NOT for result.dict.3 (u'3'). Check for known json storage type deviation -> .", "module": "test", "msecs": 669.2049503326416, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 109.67087745666504, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "", "", " for result.dict.2", "u'two'" ], "asctime": "2019-12-27 21:48:46,669", "created": 1577479726.669295, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 119, "message": "Type is NOT for result.dict.2 (u'two'). Check for known json storage type deviation -> .", "module": "test", "msecs": 669.295072555542, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 109.76099967956543, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "", "", " for result.str", "u'string'" ], "asctime": "2019-12-27 21:48:46,669", "created": 1577479726.669377, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 119, "message": "Type is NOT for result.str (u'string'). Check for known json storage type deviation -> .", "module": "test", "msecs": 669.3770885467529, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 109.84301567077637, "thread": 139988953077568, "threadName": "MainThread" } ], "msecs": 669.4579124450684, "msg": "Cached data is NOT correct. See detailed log for more information.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 109.9238395690918, "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 8.082389831542969e-05 } ], "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 0.007023811340332031, "time_finished": "2019-12-27 21:48:46,669", "time_start": "2019-12-27 21:48:46,662" }, "caching.property_cache_json: Test cached data (partially init)": { "args": null, "asctime": "2019-12-27 21:48:46,669", "created": 1577479726.669917, "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": 669.917106628418, "msg": "caching.property_cache_json: Test cached data (partially init)", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 110.3830337524414, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2019-12-27 21:48:46,671", "created": 1577479726.671109, "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": "2019-12-27 21:48:46,670", "created": 1577479726.670008, "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": 670.0079441070557, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 110.4738712310791, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/modules/caching/unittest/output_data/cache_data_test_no_load_on_init.json" ], "asctime": "2019-12-27 21:48:46,670", "created": 1577479726.670202, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/modules/caching/unittest/output_data/cache_data_test_no_load_on_init.json as cache file.", "module": "test_helpers", "msecs": 670.2020168304443, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 110.66794395446777, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2019-12-27 21:48:46,670", "created": 1577479726.670339, "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": 670.3391075134277, "msg": "%s Cache file does not exists (yet).", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 110.80503463745117, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2019-12-27 21:48:46,670", "created": 1577479726.670444, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 159, "message": "JsonCache: Loading all data from source - ['dict', 'unicode', 'str', 'integer', 'float', 'list']", "module": "__init__", "msecs": 670.4440116882324, "msg": "%s Loading all data from source - %s", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 110.90993881225586, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/cache_data_test_no_load_on_init.json" ], "asctime": "2019-12-27 21:48:46,670", "created": 1577479726.670918, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/cache_data_test_no_load_on_init.json)", "module": "__init__", "msecs": 670.9179878234863, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 111.38391494750977, "thread": 139988953077568, "threadName": "MainThread" } ], "msecs": 671.1089611053467, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 111.57488822937012, "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 0.00019097328186035156 }, { "args": [], "asctime": "2019-12-27 21:48:46,672", "created": 1577479726.67206, "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": "2019-12-27 21:48:46,671", "created": 1577479726.671241, "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": 671.241044998169, "msg": "%s Key '%s' is not in cached_keys. Uncached data will be returned.", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 111.70697212219238, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/cache_data_test_no_load_on_init.json" ], "asctime": "2019-12-27 21:48:46,671", "created": 1577479726.671492, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 225, "message": "JsonCache: Loading properties from cache (/user_data/data/dirk/prj/modules/caching/unittest/output_data/cache_data_test_no_load_on_init.json)", "module": "__init__", "msecs": 671.4920997619629, "msg": "%s Loading properties from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 111.95802688598633, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "dict", "{u'1': 1, u'3': u'3', u'2': u'two', u'4': 4}" ], "asctime": "2019-12-27 21:48:46,671", "created": 1577479726.671601, "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": 671.6010570526123, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 112.06698417663574, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "unicode", "u'unicode'" ], "asctime": "2019-12-27 21:48:46,671", "created": 1577479726.671685, "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": 671.684980392456, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 112.15090751647949, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "str", "u'string'" ], "asctime": "2019-12-27 21:48:46,671", "created": 1577479726.671759, "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": 671.7588901519775, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 112.22481727600098, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "integer", "17" ], "asctime": "2019-12-27 21:48:46,671", "created": 1577479726.671831, "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": 671.8308925628662, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 112.29681968688965, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "float", "3.14159" ], "asctime": "2019-12-27 21:48:46,671", "created": 1577479726.671916, "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": 671.9160079956055, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 112.3819351196289, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "list", "[1, u'two', u'3', 4]" ], "asctime": "2019-12-27 21:48:46,671", "created": 1577479726.671999, "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": 671.9989776611328, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 112.46490478515625, "thread": 139988953077568, "threadName": "MainThread" } ], "msecs": 672.0600128173828, "msg": "Collecting data from cache instance.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_cached_data.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 112.52593994140625, "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 6.103515625e-05 }, { "args": [], "asctime": "2019-12-27 21:48:46,673", "created": 1577479726.673263, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "WARNING", "levelno": 30, "lineno": 144, "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": "2019-12-27 21:48:46,672", "created": 1577479726.672206, "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": 672.205924987793, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 112.6718521118164, "thread": 139988953077568, "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": "2019-12-27 21:48:46,672", "created": 1577479726.672362, "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": 672.3620891571045, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 112.82801628112793, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'two'" ], "asctime": "2019-12-27 21:48:46,672", "created": 1577479726.672556, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 119, "message": "Type is NOT for test_variable (u'two'). ", "module": "test", "msecs": 672.5559234619141, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 113.0218505859375, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "u'two'" ], "asctime": "2019-12-27 21:48:46,672", "created": 1577479726.672705, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "ERROR", "levelno": 40, "lineno": 115, "message": "Content u'two' is incorrect for test_variable.", "module": "test", "msecs": 672.7049350738525, "msg": "Content %s is incorrect for test_variable.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 113.17086219787598, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'two'" ], "asctime": "2019-12-27 21:48:46,672", "created": 1577479726.672791, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 119, "message": "Type is NOT for test_variable (u'two'). ", "module": "test", "msecs": 672.7910041809082, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 113.25693130493164, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "u'two'" ], "asctime": "2019-12-27 21:48:46,672", "created": 1577479726.672832, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "ERROR", "levelno": 40, "lineno": 115, "message": "Content u'two' is incorrect for test_variable.", "module": "test", "msecs": 672.8320121765137, "msg": "Content %s is incorrect for test_variable.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 113.29793930053711, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'two'" ], "asctime": "2019-12-27 21:48:46,672", "created": 1577479726.672875, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 119, "message": "Type is NOT for test_variable (u'two'). ", "module": "test", "msecs": 672.874927520752, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 113.34085464477539, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "", "", " for result.list[1]", "u'two'" ], "asctime": "2019-12-27 21:48:46,672", "created": 1577479726.672916, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 119, "message": "Type is NOT for result.list[1] (u'two'). Check for known json storage type deviation -> .", "module": "test", "msecs": 672.9159355163574, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 113.38186264038086, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'3'" ], "asctime": "2019-12-27 21:48:46,672", "created": 1577479726.67296, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 119, "message": "Type is NOT for test_variable (u'3'). ", "module": "test", "msecs": 672.9600429534912, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 113.42597007751465, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "u'3'" ], "asctime": "2019-12-27 21:48:46,672", "created": 1577479726.672999, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "ERROR", "levelno": 40, "lineno": 115, "message": "Content u'3' is incorrect for test_variable.", "module": "test", "msecs": 672.9989051818848, "msg": "Content %s is incorrect for test_variable.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 113.4648323059082, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'3'" ], "asctime": "2019-12-27 21:48:46,673", "created": 1577479726.673041, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 119, "message": "Type is NOT for test_variable (u'3'). ", "module": "test", "msecs": 673.0411052703857, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 113.50703239440918, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "", "", " for result.list[2]", "u'3'" ], "asctime": "2019-12-27 21:48:46,673", "created": 1577479726.673081, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 119, "message": "Type is NOT for result.list[2] (u'3'). Check for known json storage type deviation -> .", "module": "test", "msecs": 673.0809211730957, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 113.54684829711914, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "", "", " for result.dict.3", "u'3'" ], "asctime": "2019-12-27 21:48:46,673", "created": 1577479726.673138, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 119, "message": "Type is NOT for result.dict.3 (u'3'). Check for known json storage type deviation -> .", "module": "test", "msecs": 673.137903213501, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 113.60383033752441, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "", "", " for result.dict.2", "u'two'" ], "asctime": "2019-12-27 21:48:46,673", "created": 1577479726.67318, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 119, "message": "Type is NOT for result.dict.2 (u'two'). Check for known json storage type deviation -> .", "module": "test", "msecs": 673.180103302002, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 113.64603042602539, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "", "", " for result.str", "u'string'" ], "asctime": "2019-12-27 21:48:46,673", "created": 1577479726.673224, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 119, "message": "Type is NOT for result.str (u'string'). Check for known json storage type deviation -> .", "module": "test", "msecs": 673.2239723205566, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 113.68989944458008, "thread": 139988953077568, "threadName": "MainThread" } ], "msecs": 673.2630729675293, "msg": "Cached data is NOT correct. See detailed log for more information.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 113.72900009155273, "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 3.910064697265625e-05 } ], "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 0.003345966339111328, "time_finished": "2019-12-27 21:48:46,673", "time_start": "2019-12-27 21:48:46,669" }, "caching.property_cache_json: Test execution of save callback (full init)": { "args": null, "asctime": "2019-12-27 21:48:46,708", "created": 1577479726.70814, "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": 708.1398963928223, "msg": "caching.property_cache_json: Test execution of save callback (full init)", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 148.6058235168457, "testcaseLogger": [ { "args": [], "asctime": "2019-12-27 21:48:46,708", "created": 1577479726.708624, "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": 708.6238861083984, "msg": "Installing save_callback, which sets a variable to True on execution.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_save_callback.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 149.08981323242188, "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 0.0 }, { "args": [ "True", "" ], "asctime": "2019-12-27 21:48:46,710", "created": 1577479726.710204, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Save callback execution variable is correct (Content True and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/save_callback_load_on_init.json" ], "asctime": "2019-12-27 21:48:46,709", "created": 1577479726.709266, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/save_callback_load_on_init.json)", "module": "__init__", "msecs": 709.265947341919, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 149.73187446594238, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "Save callback execution variable", "True", "" ], "asctime": "2019-12-27 21:48:46,709", "created": 1577479726.709886, "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": 709.8860740661621, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 150.35200119018555, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "Save callback execution variable", "True", "" ], "asctime": "2019-12-27 21:48:46,710", "created": 1577479726.710083, "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": 710.0830078125, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 150.54893493652344, "thread": 139988953077568, "threadName": "MainThread" } ], "msecs": 710.2038860321045, "msg": "Save callback execution variable is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 150.66981315612793, "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 0.00012087821960449219 } ], "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 0.0020639896392822266, "time_finished": "2019-12-27 21:48:46,710", "time_start": "2019-12-27 21:48:46,708" }, "caching.property_cache_json: Test full initialised JSON-Cache-Object": { "args": null, "asctime": "2019-12-27 21:48:46,643", "created": 1577479726.643786, "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": 643.7859535217285, "msg": "caching.property_cache_json: Test full initialised JSON-Cache-Object", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 84.25188064575195, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2019-12-27 21:48:46,647", "created": 1577479726.647687, "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": "2019-12-27 21:48:46,644", "created": 1577479726.644632, "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": 644.63210105896, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 85.0980281829834, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/modules/caching/unittest/output_data/load_on_init.json" ], "asctime": "2019-12-27 21:48:46,645", "created": 1577479726.645167, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/modules/caching/unittest/output_data/load_on_init.json as cache file.", "module": "test_helpers", "msecs": 645.1671123504639, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 85.6330394744873, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2019-12-27 21:48:46,645", "created": 1577479726.645936, "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": 645.9360122680664, "msg": "%s Cache file does not exists (yet).", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 86.40193939208984, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2019-12-27 21:48:46,646", "created": 1577479726.646279, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 159, "message": "JsonCache: Loading all data from source - ['dict', 'unicode', 'str', 'integer', 'float', 'list']", "module": "__init__", "msecs": 646.2790966033936, "msg": "%s Loading all data from source - %s", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 86.74502372741699, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/load_on_init.json" ], "asctime": "2019-12-27 21:48:46,647", "created": 1577479726.647255, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/load_on_init.json)", "module": "__init__", "msecs": 647.2549438476562, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 87.72087097167969, "thread": 139988953077568, "threadName": "MainThread" } ], "msecs": 647.6869583129883, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 88.15288543701172, "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 0.00043201446533203125 }, { "args": [ "property_cache_json" ], "asctime": "2019-12-27 21:48:46,650", "created": 1577479726.650248, "exc_info": null, "exc_text": null, "filename": "test_load_on_init.py", "funcName": "load_on_init", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Extracting storage object from property_cache_json for comparison.", "module": "test_load_on_init", "moduleLogger": [ { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/load_on_init.json" ], "asctime": "2019-12-27 21:48:46,648", "created": 1577479726.648629, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 225, "message": "JsonCache: Loading properties from cache (/user_data/data/dirk/prj/modules/caching/unittest/output_data/load_on_init.json)", "module": "__init__", "msecs": 648.6289501190186, "msg": "%s Loading properties from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 89.09487724304199, "thread": 139988953077568, "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": "2019-12-27 21:48:46,649", "created": 1577479726.649488, "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": 649.4879722595215, "msg": "Using storage object of cache class for comparison: %s", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_load_on_init.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 89.95389938354492, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "_property_cache_data_version_", "_property_cache_uid_" ], "asctime": "2019-12-27 21:48:46,650", "created": 1577479726.650075, "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": 650.0749588012695, "msg": "Deleting overhead keys: %s, %s", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_load_on_init.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 90.54088592529297, "thread": 139988953077568, "threadName": "MainThread" } ], "msecs": 650.2480506896973, "msg": "Extracting storage object from %s for comparison.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_load_on_init.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 90.7139778137207, "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 0.00017309188842773438 }, { "args": [], "asctime": "2019-12-27 21:48:46,652", "created": 1577479726.652238, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "WARNING", "levelno": 30, "lineno": 144, "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": "2019-12-27 21:48:46,650", "created": 1577479726.650631, "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": 650.6309509277344, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 91.09687805175781, "thread": 139988953077568, "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": "2019-12-27 21:48:46,650", "created": 1577479726.650847, "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": 650.8469581604004, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 91.31288528442383, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "", "", " for result.str", "u'string'" ], "asctime": "2019-12-27 21:48:46,651", "created": 1577479726.651082, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 119, "message": "Type is NOT for result.str (u'string'). Check for known json storage type deviation -> .", "module": "test", "msecs": 651.0820388793945, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 91.54796600341797, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'two'" ], "asctime": "2019-12-27 21:48:46,651", "created": 1577479726.651304, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 119, "message": "Type is NOT for test_variable (u'two'). ", "module": "test", "msecs": 651.3040065765381, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 91.76993370056152, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "u'two'" ], "asctime": "2019-12-27 21:48:46,651", "created": 1577479726.651417, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "ERROR", "levelno": 40, "lineno": 115, "message": "Content u'two' is incorrect for test_variable.", "module": "test", "msecs": 651.4170169830322, "msg": "Content %s is incorrect for test_variable.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 91.88294410705566, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'two'" ], "asctime": "2019-12-27 21:48:46,651", "created": 1577479726.651511, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 119, "message": "Type is NOT for test_variable (u'two'). ", "module": "test", "msecs": 651.5109539031982, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 91.97688102722168, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "u'two'" ], "asctime": "2019-12-27 21:48:46,651", "created": 1577479726.651591, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "ERROR", "levelno": 40, "lineno": 115, "message": "Content u'two' is incorrect for test_variable.", "module": "test", "msecs": 651.5910625457764, "msg": "Content %s is incorrect for test_variable.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 92.0569896697998, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'two'" ], "asctime": "2019-12-27 21:48:46,651", "created": 1577479726.651705, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 119, "message": "Type is NOT for test_variable (u'two'). ", "module": "test", "msecs": 651.7050266265869, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 92.17095375061035, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "", "", " for result.list[1]", "u'two'" ], "asctime": "2019-12-27 21:48:46,651", "created": 1577479726.651781, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 119, "message": "Type is NOT for result.list[1] (u'two'). Check for known json storage type deviation -> .", "module": "test", "msecs": 651.7810821533203, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 92.24700927734375, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'3'" ], "asctime": "2019-12-27 21:48:46,651", "created": 1577479726.651867, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 119, "message": "Type is NOT for test_variable (u'3'). ", "module": "test", "msecs": 651.8669128417969, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 92.33283996582031, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "u'3'" ], "asctime": "2019-12-27 21:48:46,651", "created": 1577479726.651935, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "ERROR", "levelno": 40, "lineno": 115, "message": "Content u'3' is incorrect for test_variable.", "module": "test", "msecs": 651.9351005554199, "msg": "Content %s is incorrect for test_variable.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 92.40102767944336, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'3'" ], "asctime": "2019-12-27 21:48:46,652", "created": 1577479726.652018, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 119, "message": "Type is NOT for test_variable (u'3'). ", "module": "test", "msecs": 652.0180702209473, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 92.4839973449707, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "", "", " for result.list[2]", "u'3'" ], "asctime": "2019-12-27 21:48:46,652", "created": 1577479726.652068, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 119, "message": "Type is NOT for result.list[2] (u'3'). Check for known json storage type deviation -> .", "module": "test", "msecs": 652.0678997039795, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 92.53382682800293, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "", "", " for result.dict.3", "u'3'" ], "asctime": "2019-12-27 21:48:46,652", "created": 1577479726.652128, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 119, "message": "Type is NOT for result.dict.3 (u'3'). Check for known json storage type deviation -> .", "module": "test", "msecs": 652.1279811859131, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 92.59390830993652, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "", "", " for result.dict.2", "u'two'" ], "asctime": "2019-12-27 21:48:46,652", "created": 1577479726.65217, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 119, "message": "Type is NOT for result.dict.2 (u'two'). Check for known json storage type deviation -> .", "module": "test", "msecs": 652.169942855835, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 92.6358699798584, "thread": 139988953077568, "threadName": "MainThread" } ], "msecs": 652.2378921508789, "msg": "Cache object is NOT correct. See detailed log for more information.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 92.70381927490234, "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 6.794929504394531e-05 } ], "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 0.00845193862915039, "time_finished": "2019-12-27 21:48:46,652", "time_start": "2019-12-27 21:48:46,643" }, "caching.property_cache_json: Test get from source caused by changed uid (full init)": { "args": null, "asctime": "2019-12-27 21:48:46,684", "created": 1577479726.684843, "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": 684.8430633544922, "msg": "caching.property_cache_json: Test get from source caused by changed uid (full init)", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 125.30899047851562, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2019-12-27 21:48:46,688", "created": 1577479726.688011, "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": "2019-12-27 21:48:46,685", "created": 1577479726.685249, "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": 685.2490901947021, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 125.71501731872559, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_load_on_init.json" ], "asctime": "2019-12-27 21:48:46,685", "created": 1577479726.685665, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_load_on_init.json as cache file.", "module": "test_helpers", "msecs": 685.6648921966553, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 126.13081932067871, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2019-12-27 21:48:46,686", "created": 1577479726.686045, "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": 686.0449314117432, "msg": "%s Cache file does not exists (yet).", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 126.5108585357666, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2019-12-27 21:48:46,686", "created": 1577479726.68631, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 159, "message": "JsonCache: Loading all data from source - ['dict', 'unicode', 'str', 'integer', 'float', 'list']", "module": "__init__", "msecs": 686.3100528717041, "msg": "%s Loading all data from source - %s", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 126.77597999572754, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_load_on_init.json" ], "asctime": "2019-12-27 21:48:46,687", "created": 1577479726.687464, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_load_on_init.json)", "module": "__init__", "msecs": 687.4639987945557, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 127.9299259185791, "thread": 139988953077568, "threadName": "MainThread" } ], "msecs": 688.0109310150146, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 128.4768581390381, "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 0.0005469322204589844 }, { "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": "2019-12-27 21:48:46,692", "created": 1577479726.692153, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Instance data after changing uid is correct (Content {'unicode': u'__unicode__', 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '3': 'three', '2': 2, '4': '4'}, 'str': '__string__', 'integer': 34} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_load_on_init.json" ], "asctime": "2019-12-27 21:48:46,688", "created": 1577479726.688798, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 225, "message": "JsonCache: Loading properties from cache (/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_load_on_init.json)", "module": "__init__", "msecs": 688.7979507446289, "msg": "%s Loading properties from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 129.26387786865234, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2019-12-27 21:48:46,689", "created": 1577479726.689191, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 128, "message": "JsonCache: Source uid changed, ignoring previous cache data", "module": "__init__", "msecs": 689.1911029815674, "msg": "%s Source uid changed, ignoring previous cache data", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 129.65703010559082, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2019-12-27 21:48:46,689", "created": 1577479726.68953, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 159, "message": "JsonCache: Loading all data from source - ['dict', 'unicode', 'str', 'integer', 'float', 'list']", "module": "__init__", "msecs": 689.5298957824707, "msg": "%s Loading all data from source - %s", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 129.99582290649414, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_load_on_init.json" ], "asctime": "2019-12-27 21:48:46,690", "created": 1577479726.690441, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_load_on_init.json)", "module": "__init__", "msecs": 690.4408931732178, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 130.9068202972412, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "dict", "{'1': '1', '3': 'three', '2': 2, '4': '4'}" ], "asctime": "2019-12-27 21:48:46,691", "created": 1577479726.691013, "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": 691.0130977630615, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 131.47902488708496, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "unicode", "u'__unicode__'" ], "asctime": "2019-12-27 21:48:46,691", "created": 1577479726.691165, "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": 691.1649703979492, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 131.63089752197266, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "str", "'__string__'" ], "asctime": "2019-12-27 21:48:46,691", "created": 1577479726.691288, "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": 691.2879943847656, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 131.75392150878906, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "integer", "34" ], "asctime": "2019-12-27 21:48:46,691", "created": 1577479726.691419, "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": 691.4188861846924, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 131.88481330871582, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "float", "2.71828" ], "asctime": "2019-12-27 21:48:46,691", "created": 1577479726.691533, "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": 691.533088684082, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 131.99901580810547, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "list", "['one', 2, 3, '4']" ], "asctime": "2019-12-27 21:48:46,691", "created": 1577479726.691639, "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": 691.6389465332031, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 132.10487365722656, "thread": 139988953077568, "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": "2019-12-27 21:48:46,691", "created": 1577479726.691786, "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": 691.7860507965088, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 132.25197792053223, "thread": 139988953077568, "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": "2019-12-27 21:48:46,691", "created": 1577479726.691933, "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": 691.9329166412354, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 132.3988437652588, "thread": 139988953077568, "threadName": "MainThread" } ], "msecs": 692.1529769897461, "msg": "Instance data after changing uid is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 132.61890411376953, "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 0.0002200603485107422 } ], "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 0.007309913635253906, "time_finished": "2019-12-27 21:48:46,692", "time_start": "2019-12-27 21:48:46,684" }, "caching.property_cache_json: Test get from source caused by changed uid (partially init)": { "args": null, "asctime": "2019-12-27 21:48:46,692", "created": 1577479726.692504, "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": 692.5039291381836, "msg": "caching.property_cache_json: Test get from source caused by changed uid (partially init)", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 132.96985626220703, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2019-12-27 21:48:46,694", "created": 1577479726.694636, "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": "2019-12-27 21:48:46,692", "created": 1577479726.692719, "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": 692.7189826965332, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 133.18490982055664, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2019-12-27 21:48:46,692", "created": 1577479726.692926, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.json as cache file.", "module": "test_helpers", "msecs": 692.9259300231934, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 133.3918571472168, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2019-12-27 21:48:46,693", "created": 1577479726.693103, "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": 693.1030750274658, "msg": "%s Cache file does not exists (yet).", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 133.56900215148926, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2019-12-27 21:48:46,693", "created": 1577479726.693317, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 159, "message": "JsonCache: Loading all data from source - ['dict', 'unicode', 'str', 'integer', 'float', 'list']", "module": "__init__", "msecs": 693.3169364929199, "msg": "%s Loading all data from source - %s", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 133.78286361694336, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2019-12-27 21:48:46,694", "created": 1577479726.694216, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.json)", "module": "__init__", "msecs": 694.2160129547119, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 134.68194007873535, "thread": 139988953077568, "threadName": "MainThread" } ], "msecs": 694.6361064910889, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 135.1020336151123, "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 0.0004200935363769531 }, { "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": "2019-12-27 21:48:46,707", "created": 1577479726.707752, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Instance data after changing uid is correct (Content {'unicode': u'__unicode__', 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '3': 'three', '2': 2, '4': '4'}, 'str': '__string__', 'integer': 34} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2019-12-27 21:48:46,695", "created": 1577479726.695719, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 225, "message": "JsonCache: Loading properties from cache (/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.json)", "module": "__init__", "msecs": 695.7190036773682, "msg": "%s Loading properties from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 136.1849308013916, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2019-12-27 21:48:46,696", "created": 1577479726.696387, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 128, "message": "JsonCache: Source uid changed, ignoring previous cache data", "module": "__init__", "msecs": 696.3870525360107, "msg": "%s Source uid changed, ignoring previous cache data", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 136.85297966003418, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2019-12-27 21:48:46,699", "created": 1577479726.699074, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.json)", "module": "__init__", "msecs": 699.0740299224854, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 139.5399570465088, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "dict", "{'1': '1', '3': 'three', '2': 2, '4': '4'}" ], "asctime": "2019-12-27 21:48:46,700", "created": 1577479726.700284, "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": 700.2840042114258, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 140.74993133544922, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2019-12-27 21:48:46,701", "created": 1577479726.701821, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.json)", "module": "__init__", "msecs": 701.8210887908936, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 142.287015914917, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "unicode", "u'__unicode__'" ], "asctime": "2019-12-27 21:48:46,702", "created": 1577479726.70276, "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": 702.7599811553955, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 143.22590827941895, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2019-12-27 21:48:46,703", "created": 1577479726.703648, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.json)", "module": "__init__", "msecs": 703.6480903625488, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 144.11401748657227, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "str", "'__string__'" ], "asctime": "2019-12-27 21:48:46,704", "created": 1577479726.704098, "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": 704.0979862213135, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 144.5639133453369, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2019-12-27 21:48:46,704", "created": 1577479726.704559, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.json)", "module": "__init__", "msecs": 704.5590877532959, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 145.02501487731934, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "integer", "34" ], "asctime": "2019-12-27 21:48:46,704", "created": 1577479726.704904, "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": 704.9040794372559, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 145.3700065612793, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2019-12-27 21:48:46,705", "created": 1577479726.705309, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.json)", "module": "__init__", "msecs": 705.3089141845703, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 145.77484130859375, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "float", "2.71828" ], "asctime": "2019-12-27 21:48:46,705", "created": 1577479726.705803, "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": 705.8029174804688, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 146.2688446044922, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2019-12-27 21:48:46,706", "created": 1577479726.706256, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.json)", "module": "__init__", "msecs": 706.2559127807617, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 146.72183990478516, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "list", "['one', 2, 3, '4']" ], "asctime": "2019-12-27 21:48:46,706", "created": 1577479726.706575, "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": 706.5749168395996, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 147.04084396362305, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2019-12-27 21:48:46,706", "created": 1577479726.706999, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.json)", "module": "__init__", "msecs": 706.9990634918213, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 147.46499061584473, "thread": 139988953077568, "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": "2019-12-27 21:48:46,707", "created": 1577479726.70732, "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": 707.319974899292, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 147.78590202331543, "thread": 139988953077568, "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": "2019-12-27 21:48:46,707", "created": 1577479726.707514, "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": 707.5140476226807, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 147.9799747467041, "thread": 139988953077568, "threadName": "MainThread" } ], "msecs": 707.751989364624, "msg": "Instance data after changing uid is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 148.21791648864746, "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 0.00023794174194335938 } ], "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 0.01524806022644043, "time_finished": "2019-12-27 21:48:46,707", "time_start": "2019-12-27 21:48:46,692" }, "caching.property_cache_json: Test get from source caused by increased data version (full init)": { "args": null, "asctime": "2019-12-27 21:48:46,673", "created": 1577479726.67339, "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": 673.3899116516113, "msg": "caching.property_cache_json: Test get from source caused by increased data version (full init)", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 113.85583877563477, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2019-12-27 21:48:46,673", "created": 1577479726.673981, "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": "2019-12-27 21:48:46,673", "created": 1577479726.673468, "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": 673.4681129455566, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 113.93404006958008, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_load_on_init.json" ], "asctime": "2019-12-27 21:48:46,673", "created": 1577479726.673542, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_load_on_init.json as cache file.", "module": "test_helpers", "msecs": 673.5420227050781, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 114.00794982910156, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2019-12-27 21:48:46,673", "created": 1577479726.673634, "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": 673.6340522766113, "msg": "%s Cache file does not exists (yet).", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 114.09997940063477, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2019-12-27 21:48:46,673", "created": 1577479726.673705, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 159, "message": "JsonCache: Loading all data from source - ['dict', 'unicode', 'str', 'integer', 'float', 'list']", "module": "__init__", "msecs": 673.7051010131836, "msg": "%s Loading all data from source - %s", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 114.17102813720703, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_load_on_init.json" ], "asctime": "2019-12-27 21:48:46,673", "created": 1577479726.673915, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_load_on_init.json)", "module": "__init__", "msecs": 673.914909362793, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 114.3808364868164, "thread": 139988953077568, "threadName": "MainThread" } ], "msecs": 673.9809513092041, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 114.44687843322754, "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 6.604194641113281e-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": "2019-12-27 21:48:46,674", "created": 1577479726.674977, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Instance data after increasing data_version is correct (Content {'unicode': u'__unicode__', 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '3': 'three', '2': 2, '4': '4'}, 'str': '__string__', 'integer': 34} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_load_on_init.json" ], "asctime": "2019-12-27 21:48:46,674", "created": 1577479726.674109, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 225, "message": "JsonCache: Loading properties from cache (/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_load_on_init.json)", "module": "__init__", "msecs": 674.1089820861816, "msg": "%s Loading properties from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 114.57490921020508, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2019-12-27 21:48:46,674", "created": 1577479726.674166, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 130, "message": "JsonCache: Data version increased, ignoring previous cache data", "module": "__init__", "msecs": 674.1659641265869, "msg": "%s Data version increased, ignoring previous cache data", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 114.63189125061035, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2019-12-27 21:48:46,674", "created": 1577479726.674216, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 159, "message": "JsonCache: Loading all data from source - ['dict', 'unicode', 'str', 'integer', 'float', 'list']", "module": "__init__", "msecs": 674.2160320281982, "msg": "%s Loading all data from source - %s", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 114.68195915222168, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_load_on_init.json" ], "asctime": "2019-12-27 21:48:46,674", "created": 1577479726.674409, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_load_on_init.json)", "module": "__init__", "msecs": 674.4089126586914, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 114.87483978271484, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "dict", "{'1': '1', '3': 'three', '2': 2, '4': '4'}" ], "asctime": "2019-12-27 21:48:46,674", "created": 1577479726.674512, "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": 674.5119094848633, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 114.97783660888672, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "unicode", "u'__unicode__'" ], "asctime": "2019-12-27 21:48:46,674", "created": 1577479726.674574, "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": 674.5738983154297, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 115.03982543945312, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "str", "'__string__'" ], "asctime": "2019-12-27 21:48:46,674", "created": 1577479726.674626, "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": 674.6261119842529, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 115.09203910827637, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "integer", "34" ], "asctime": "2019-12-27 21:48:46,674", "created": 1577479726.674681, "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": 674.6809482574463, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 115.14687538146973, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "float", "2.71828" ], "asctime": "2019-12-27 21:48:46,674", "created": 1577479726.674726, "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": 674.7260093688965, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 115.19193649291992, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "list", "['one', 2, 3, '4']" ], "asctime": "2019-12-27 21:48:46,674", "created": 1577479726.674772, "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": 674.7720241546631, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 115.23795127868652, "thread": 139988953077568, "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": "2019-12-27 21:48:46,674", "created": 1577479726.674833, "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": 674.8330593109131, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 115.29898643493652, "thread": 139988953077568, "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": "2019-12-27 21:48:46,674", "created": 1577479726.674887, "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": 674.88694190979, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 115.35286903381348, "thread": 139988953077568, "threadName": "MainThread" } ], "msecs": 674.9770641326904, "msg": "Instance data after increasing data_version is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 115.44299125671387, "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 9.012222290039062e-05 } ], "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 0.0015871524810791016, "time_finished": "2019-12-27 21:48:46,674", "time_start": "2019-12-27 21:48:46,673" }, "caching.property_cache_json: Test get from source caused by increased data version (partially init)": { "args": null, "asctime": "2019-12-27 21:48:46,675", "created": 1577479726.675101, "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": 675.1010417938232, "msg": "caching.property_cache_json: Test get from source caused by increased data version (partially init)", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 115.56696891784668, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2019-12-27 21:48:46,675", "created": 1577479726.675612, "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": "2019-12-27 21:48:46,675", "created": 1577479726.675179, "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": 675.1790046691895, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 115.64493179321289, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.json" ], "asctime": "2019-12-27 21:48:46,675", "created": 1577479726.675241, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.json as cache file.", "module": "test_helpers", "msecs": 675.2409934997559, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 115.7069206237793, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2019-12-27 21:48:46,675", "created": 1577479726.675305, "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": 675.3048896789551, "msg": "%s Cache file does not exists (yet).", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 115.77081680297852, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2019-12-27 21:48:46,675", "created": 1577479726.675355, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 159, "message": "JsonCache: Loading all data from source - ['dict', 'unicode', 'str', 'integer', 'float', 'list']", "module": "__init__", "msecs": 675.3549575805664, "msg": "%s Loading all data from source - %s", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 115.82088470458984, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.json" ], "asctime": "2019-12-27 21:48:46,675", "created": 1577479726.675548, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.json)", "module": "__init__", "msecs": 675.5480766296387, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 116.01400375366211, "thread": 139988953077568, "threadName": "MainThread" } ], "msecs": 675.6119728088379, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 116.07789993286133, "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 6.389617919921875e-05 }, { "args": [ "{'unicode': u'__unicode__', 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '3': 'three', '2': 2, '4': '4'}, 'str': '__string__', 'integer': 34}", "" ], "asctime": "2019-12-27 21:48:46,684", "created": 1577479726.684053, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Instance data after increasing data_version is correct (Content {'unicode': u'__unicode__', 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '3': 'three', '2': 2, '4': '4'}, 'str': '__string__', 'integer': 34} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.json" ], "asctime": "2019-12-27 21:48:46,675", "created": 1577479726.675742, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 225, "message": "JsonCache: Loading properties from cache (/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.json)", "module": "__init__", "msecs": 675.7419109344482, "msg": "%s Loading properties from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 116.20783805847168, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2019-12-27 21:48:46,675", "created": 1577479726.6758, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 130, "message": "JsonCache: Data version increased, ignoring previous cache data", "module": "__init__", "msecs": 675.800085067749, "msg": "%s Data version increased, ignoring previous cache data", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 116.26601219177246, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.json" ], "asctime": "2019-12-27 21:48:46,675", "created": 1577479726.67591, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.json)", "module": "__init__", "msecs": 675.9099960327148, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 116.37592315673828, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "dict", "{'1': '1', '3': 'three', '2': 2, '4': '4'}" ], "asctime": "2019-12-27 21:48:46,675", "created": 1577479726.675994, "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": 675.9939193725586, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 116.45984649658203, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.json" ], "asctime": "2019-12-27 21:48:46,676", "created": 1577479726.676271, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.json)", "module": "__init__", "msecs": 676.2709617614746, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 116.73688888549805, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "unicode", "u'__unicode__'" ], "asctime": "2019-12-27 21:48:46,676", "created": 1577479726.676366, "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": 676.3660907745361, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 116.83201789855957, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.json" ], "asctime": "2019-12-27 21:48:46,676", "created": 1577479726.676558, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.json)", "module": "__init__", "msecs": 676.5580177307129, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 117.02394485473633, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "str", "'__string__'" ], "asctime": "2019-12-27 21:48:46,676", "created": 1577479726.676661, "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": 676.6610145568848, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 117.1269416809082, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.json" ], "asctime": "2019-12-27 21:48:46,677", "created": 1577479726.677353, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.json)", "module": "__init__", "msecs": 677.3529052734375, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 117.81883239746094, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "integer", "34" ], "asctime": "2019-12-27 21:48:46,678", "created": 1577479726.67815, "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": 678.149938583374, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 118.61586570739746, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.json" ], "asctime": "2019-12-27 21:48:46,678", "created": 1577479726.678959, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.json)", "module": "__init__", "msecs": 678.9588928222656, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 119.42481994628906, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "float", "2.71828" ], "asctime": "2019-12-27 21:48:46,679", "created": 1577479726.679174, "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": 679.1739463806152, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 119.63987350463867, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.json" ], "asctime": "2019-12-27 21:48:46,680", "created": 1577479726.680757, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.json)", "module": "__init__", "msecs": 680.7570457458496, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 121.22297286987305, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "list", "['one', 2, 3, '4']" ], "asctime": "2019-12-27 21:48:46,681", "created": 1577479726.68151, "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": 681.5099716186523, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 121.97589874267578, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.json" ], "asctime": "2019-12-27 21:48:46,682", "created": 1577479726.682532, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.json)", "module": "__init__", "msecs": 682.5320720672607, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 122.99799919128418, "thread": 139988953077568, "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": "2019-12-27 21:48:46,683", "created": 1577479726.683196, "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": 683.1960678100586, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 123.66199493408203, "thread": 139988953077568, "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": "2019-12-27 21:48:46,683", "created": 1577479726.683456, "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": 683.4559440612793, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 123.92187118530273, "thread": 139988953077568, "threadName": "MainThread" } ], "msecs": 684.0529441833496, "msg": "Instance data after increasing data_version is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 124.51887130737305, "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 0.0005970001220703125 } ], "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 0.008951902389526367, "time_finished": "2019-12-27 21:48:46,684", "time_start": "2019-12-27 21:48:46,675" }, "caching.property_cache_json: Test internal key usage": { "args": null, "asctime": "2019-12-27 21:48:46,710", "created": 1577479726.710611, "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": 710.61110496521, "msg": "caching.property_cache_json: Test internal key usage", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 151.0770320892334, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2019-12-27 21:48:46,712", "created": 1577479726.712964, "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": "2019-12-27 21:48:46,711", "created": 1577479726.711028, "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": 711.0280990600586, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 151.49402618408203, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/modules/caching/unittest/output_data/internal_keys_test.json" ], "asctime": "2019-12-27 21:48:46,711", "created": 1577479726.711408, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/modules/caching/unittest/output_data/internal_keys_test.json as cache file.", "module": "test_helpers", "msecs": 711.4078998565674, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 151.87382698059082, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2019-12-27 21:48:46,711", "created": 1577479726.711789, "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": 711.7888927459717, "msg": "%s Cache file does not exists (yet).", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 152.25481986999512, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['__property_cache_data_version_', '_property_cache_data_version_', '__property_cache_uid_', '_property_cache_uid_']" ], "asctime": "2019-12-27 21:48:46,711", "created": 1577479726.711929, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 159, "message": "JsonCache: Loading all data from source - ['__property_cache_data_version_', '_property_cache_data_version_', '__property_cache_uid_', '_property_cache_uid_']", "module": "__init__", "msecs": 711.9290828704834, "msg": "%s Loading all data from source - %s", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 152.39500999450684, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/internal_keys_test.json" ], "asctime": "2019-12-27 21:48:46,712", "created": 1577479726.712553, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/internal_keys_test.json)", "module": "__init__", "msecs": 712.5530242919922, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 153.01895141601562, "thread": 139988953077568, "threadName": "MainThread" } ], "msecs": 712.9640579223633, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 153.42998504638672, "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 0.00041103363037109375 }, { "args": [ "property_cache_json" ], "asctime": "2019-12-27 21:48:46,714", "created": 1577479726.714633, "exc_info": null, "exc_text": null, "filename": "test_internal_keys.py", "funcName": "test_internal_keys", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Extracting storage object from property_cache_json for comparison.", "module": "test_internal_keys", "moduleLogger": [ { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/internal_keys_test.json" ], "asctime": "2019-12-27 21:48:46,713", "created": 1577479726.71386, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 225, "message": "JsonCache: Loading properties from cache (/user_data/data/dirk/prj/modules/caching/unittest/output_data/internal_keys_test.json)", "module": "__init__", "msecs": 713.860034942627, "msg": "%s Loading properties from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 154.3259620666504, "thread": 139988953077568, "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": "2019-12-27 21:48:46,714", "created": 1577479726.714199, "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": 714.1990661621094, "msg": "Using storage object of cache class for comparison: %s", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_internal_keys.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 154.6649932861328, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "_property_cache_data_version_", "_property_cache_uid_" ], "asctime": "2019-12-27 21:48:46,714", "created": 1577479726.714442, "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": 714.4420146942139, "msg": "Deleting overhead keys: %s, %s", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_internal_keys.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 154.9079418182373, "thread": 139988953077568, "threadName": "MainThread" } ], "msecs": 714.6329879760742, "msg": "Extracting storage object from %s for comparison.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_internal_keys.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 155.09891510009766, "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 0.00019097328186035156 }, { "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": "2019-12-27 21:48:46,715", "created": 1577479726.715968, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "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": "2019-12-27 21:48:46,715", "created": 1577479726.715168, "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": 715.1679992675781, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 155.63392639160156, "thread": 139988953077568, "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": "2019-12-27 21:48:46,715", "created": 1577479726.71561, "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": 715.6100273132324, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 156.07595443725586, "thread": 139988953077568, "threadName": "MainThread" } ], "msecs": 715.9678936004639, "msg": "Cache is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 156.4338207244873, "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 0.0003578662872314453 }, { "args": [ "5", "" ], "asctime": "2019-12-27 21:48:46,716", "created": 1577479726.716824, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Keyfilter returnvalue for 5 () is correct (Content 5 and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Keyfilter returnvalue for 5 ()", "5", "" ], "asctime": "2019-12-27 21:48:46,716", "created": 1577479726.716353, "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": 716.3529396057129, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 156.81886672973633, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "Keyfilter returnvalue for 5 ()", "5", "" ], "asctime": "2019-12-27 21:48:46,716", "created": 1577479726.716624, "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": 716.6240215301514, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 157.0899486541748, "thread": 139988953077568, "threadName": "MainThread" } ], "msecs": 716.8240547180176, "msg": "Keyfilter returnvalue for 5 () is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 157.28998184204102, "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 0.00020003318786621094 } ], "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 0.006212949752807617, "time_finished": "2019-12-27 21:48:46,716", "time_start": "2019-12-27 21:48:46,710" }, "caching.property_cache_json: Test partially initialisation of JSON-Cache-Object": { "args": null, "asctime": "2019-12-27 21:48:46,652", "created": 1577479726.652496, "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": 652.4960994720459, "msg": "caching.property_cache_json: Test partially initialisation of JSON-Cache-Object", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 92.96202659606934, "testcaseLogger": [ { "args": [ "property_cache_json", "False" ], "asctime": "2019-12-27 21:48:46,653", "created": 1577479726.653808, "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": "2019-12-27 21:48:46,652", "created": 1577479726.652644, "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.6439189910889, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 93.1098461151123, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/modules/caching/unittest/output_data/no_load_on_init.json" ], "asctime": "2019-12-27 21:48:46,652", "created": 1577479726.652979, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/modules/caching/unittest/output_data/no_load_on_init.json as cache file.", "module": "test_helpers", "msecs": 652.9788970947266, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 93.44482421875, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2019-12-27 21:48:46,653", "created": 1577479726.653141, "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": 653.1410217285156, "msg": "%s Cache file does not exists (yet).", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 93.60694885253906, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/no_load_on_init.json" ], "asctime": "2019-12-27 21:48:46,653", "created": 1577479726.653525, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/no_load_on_init.json)", "module": "__init__", "msecs": 653.5251140594482, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 93.99104118347168, "thread": 139988953077568, "threadName": "MainThread" } ], "msecs": 653.8081169128418, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 94.27404403686523, "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 0.0002830028533935547 }, { "args": [], "asctime": "2019-12-27 21:48:46,657", "created": 1577479726.657239, "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": "2019-12-27 21:48:46,654", "created": 1577479726.654048, "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": 654.047966003418, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 94.5138931274414, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/no_load_on_init.json" ], "asctime": "2019-12-27 21:48:46,654", "created": 1577479726.654394, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/no_load_on_init.json)", "module": "__init__", "msecs": 654.3939113616943, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 94.85983848571777, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "list", "[1, 'two', '3', 4]" ], "asctime": "2019-12-27 21:48:46,654", "created": 1577479726.65477, "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": 654.7698974609375, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 95.23582458496094, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/no_load_on_init.json" ], "asctime": "2019-12-27 21:48:46,655", "created": 1577479726.655144, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/no_load_on_init.json)", "module": "__init__", "msecs": 655.1439762115479, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 95.60990333557129, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "str", "'string'" ], "asctime": "2019-12-27 21:48:46,655", "created": 1577479726.655774, "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": 655.7741165161133, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 96.24004364013672, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/no_load_on_init.json" ], "asctime": "2019-12-27 21:48:46,656", "created": 1577479726.656697, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/no_load_on_init.json)", "module": "__init__", "msecs": 656.6970348358154, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 97.16296195983887, "thread": 139988953077568, "threadName": "MainThread" } ], "msecs": 657.2389602661133, "msg": "Partially initialising cache object by requesting some information.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_no_load_on_init.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 97.70488739013672, "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 0.0005419254302978516 }, { "args": [ "property_cache_json" ], "asctime": "2019-12-27 21:48:46,659", "created": 1577479726.659452, "exc_info": null, "exc_text": null, "filename": "test_no_load_on_init.py", "funcName": "no_load_on_init", "levelname": "DEBUG", "levelno": 10, "lineno": 27, "message": "Extracting storage object from property_cache_json for comparison.", "module": "test_no_load_on_init", "moduleLogger": [ { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/no_load_on_init.json" ], "asctime": "2019-12-27 21:48:46,658", "created": 1577479726.658361, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 225, "message": "JsonCache: Loading properties from cache (/user_data/data/dirk/prj/modules/caching/unittest/output_data/no_load_on_init.json)", "module": "__init__", "msecs": 658.3609580993652, "msg": "%s Loading properties from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 98.82688522338867, "thread": 139988953077568, "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": "2019-12-27 21:48:46,658", "created": 1577479726.658818, "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": 658.8180065155029, "msg": "Using storage object of cache class for comparison: %s", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_no_load_on_init.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 99.28393363952637, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "_property_cache_data_version_", "_property_cache_uid_" ], "asctime": "2019-12-27 21:48:46,659", "created": 1577479726.659169, "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": 659.1689586639404, "msg": "Deleting overhead keys: %s, %s", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_no_load_on_init.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 99.63488578796387, "thread": 139988953077568, "threadName": "MainThread" } ], "msecs": 659.451961517334, "msg": "Extracting storage object from %s for comparison.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_no_load_on_init.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 99.91788864135742, "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 0.0002830028533935547 }, { "args": [], "asctime": "2019-12-27 21:48:46,662", "created": 1577479726.662039, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "WARNING", "levelno": 30, "lineno": 144, "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": "2019-12-27 21:48:46,660", "created": 1577479726.660036, "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": 660.0360870361328, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 100.50201416015625, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "Cache object", "{ 'str': 'string', 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ] }", "" ], "asctime": "2019-12-27 21:48:46,660", "created": 1577479726.660193, "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": 660.1929664611816, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 100.65889358520508, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'two'" ], "asctime": "2019-12-27 21:48:46,660", "created": 1577479726.660418, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 119, "message": "Type is NOT for test_variable (u'two'). ", "module": "test", "msecs": 660.4180335998535, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 100.88396072387695, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "u'two'" ], "asctime": "2019-12-27 21:48:46,660", "created": 1577479726.660558, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "ERROR", "levelno": 40, "lineno": 115, "message": "Content u'two' is incorrect for test_variable.", "module": "test", "msecs": 660.5579853057861, "msg": "Content %s is incorrect for test_variable.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 101.02391242980957, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'two'" ], "asctime": "2019-12-27 21:48:46,660", "created": 1577479726.660704, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 119, "message": "Type is NOT for test_variable (u'two'). ", "module": "test", "msecs": 660.7038974761963, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 101.16982460021973, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "u'two'" ], "asctime": "2019-12-27 21:48:46,660", "created": 1577479726.660828, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "ERROR", "levelno": 40, "lineno": 115, "message": "Content u'two' is incorrect for test_variable.", "module": "test", "msecs": 660.8281135559082, "msg": "Content %s is incorrect for test_variable.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 101.29404067993164, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'two'" ], "asctime": "2019-12-27 21:48:46,660", "created": 1577479726.660962, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 119, "message": "Type is NOT for test_variable (u'two'). ", "module": "test", "msecs": 660.9621047973633, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 101.42803192138672, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "", "", " for result.list[1]", "u'two'" ], "asctime": "2019-12-27 21:48:46,661", "created": 1577479726.66117, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 119, "message": "Type is NOT for result.list[1] (u'two'). Check for known json storage type deviation -> .", "module": "test", "msecs": 661.1700057983398, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 101.63593292236328, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'3'" ], "asctime": "2019-12-27 21:48:46,661", "created": 1577479726.661365, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 119, "message": "Type is NOT for test_variable (u'3'). ", "module": "test", "msecs": 661.3650321960449, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 101.83095932006836, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "u'3'" ], "asctime": "2019-12-27 21:48:46,661", "created": 1577479726.661494, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "ERROR", "levelno": 40, "lineno": 115, "message": "Content u'3' is incorrect for test_variable.", "module": "test", "msecs": 661.4940166473389, "msg": "Content %s is incorrect for test_variable.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 101.9599437713623, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "", "", " for test_variable", "u'3'" ], "asctime": "2019-12-27 21:48:46,661", "created": 1577479726.661711, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 119, "message": "Type is NOT for test_variable (u'3'). ", "module": "test", "msecs": 661.7109775543213, "msg": "Type %s is NOT %s%s (%s). ", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 102.17690467834473, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "", "", " for result.list[2]", "u'3'" ], "asctime": "2019-12-27 21:48:46,661", "created": 1577479726.66182, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 119, "message": "Type is NOT for result.list[2] (u'3'). Check for known json storage type deviation -> .", "module": "test", "msecs": 661.8199348449707, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 102.28586196899414, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "", "", " for result.str", "u'string'" ], "asctime": "2019-12-27 21:48:46,661", "created": 1577479726.661935, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__equivalent__", "levelname": "WARNING", "levelno": 30, "lineno": 119, "message": "Type is NOT for result.str (u'string'). Check for known json storage type deviation -> .", "module": "test", "msecs": 661.9350910186768, "msg": "Type %s is NOT %s%s (%s). Check for known json storage type deviation -> .", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 102.4010181427002, "thread": 139988953077568, "threadName": "MainThread" } ], "msecs": 662.039041519165, "msg": "Cache object is NOT correct. See detailed log for more information.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 102.50496864318848, "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 0.00010395050048828125 } ], "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 0.00954294204711914, "time_finished": "2019-12-27 21:48:46,662", "time_start": "2019-12-27 21:48:46,652" }, "caching.property_cache_pickle: Test cached data (full init)": { "args": null, "asctime": "2019-12-27 21:48:46,730", "created": 1577479726.73007, "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": 730.0701141357422, "msg": "caching.property_cache_pickle: Test cached data (full init)", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 170.53604125976562, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2019-12-27 21:48:46,731", "created": 1577479726.731496, "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": "2019-12-27 21:48:46,730", "created": 1577479726.730296, "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": 730.2958965301514, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 170.7618236541748, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/modules/caching/unittest/output_data/cache_data_test_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:46,730", "created": 1577479726.730521, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/modules/caching/unittest/output_data/cache_data_test_load_on_init.pkl as cache file.", "module": "test_helpers", "msecs": 730.5209636688232, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 170.98689079284668, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2019-12-27 21:48:46,730", "created": 1577479726.7307, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 145, "message": "PickCache: Cache file does not exists (yet).", "module": "__init__", "msecs": 730.7000160217285, "msg": "%s Cache file does not exists (yet).", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 171.16594314575195, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2019-12-27 21:48:46,730", "created": 1577479726.730837, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 159, "message": "PickCache: Loading all data from source - ['dict', 'unicode', 'str', 'integer', 'float', 'list']", "module": "__init__", "msecs": 730.8371067047119, "msg": "%s Loading all data from source - %s", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 171.30303382873535, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/cache_data_test_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:46,731", "created": 1577479726.73131, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 167, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/cache_data_test_load_on_init.pkl)", "module": "__init__", "msecs": 731.3098907470703, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 171.77581787109375, "thread": 139988953077568, "threadName": "MainThread" } ], "msecs": 731.4960956573486, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 171.96202278137207, "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 0.0001862049102783203 }, { "args": [], "asctime": "2019-12-27 21:48:46,733", "created": 1577479726.733054, "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": "2019-12-27 21:48:46,731", "created": 1577479726.731667, "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": 731.6670417785645, "msg": "%s Key '%s' is not in cached_keys. Uncached data will be returned.", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 172.1329689025879, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/cache_data_test_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:46,732", "created": 1577479726.732057, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "PickCache: Loading properties from cache (/user_data/data/dirk/prj/modules/caching/unittest/output_data/cache_data_test_load_on_init.pkl)", "module": "__init__", "msecs": 732.0570945739746, "msg": "%s Loading properties from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 172.52302169799805, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "dict", "{'1': 1, '3': '3', '2': 'two', '4': 4}" ], "asctime": "2019-12-27 21:48:46,732", "created": 1577479726.732176, "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": 732.1760654449463, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 172.64199256896973, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "unicode", "u'unicode'" ], "asctime": "2019-12-27 21:48:46,732", "created": 1577479726.732267, "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": 732.266902923584, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 172.73283004760742, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "str", "'string'" ], "asctime": "2019-12-27 21:48:46,732", "created": 1577479726.732344, "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": 732.3439121246338, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 172.80983924865723, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "integer", "17" ], "asctime": "2019-12-27 21:48:46,732", "created": 1577479726.732469, "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": 732.4690818786621, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 172.93500900268555, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "float", "3.14159" ], "asctime": "2019-12-27 21:48:46,732", "created": 1577479726.732695, "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": 732.6951026916504, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 173.16102981567383, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "list", "[1, 'two', '3', 4]" ], "asctime": "2019-12-27 21:48:46,732", "created": 1577479726.732924, "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": 732.9239845275879, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 173.38991165161133, "thread": 139988953077568, "threadName": "MainThread" } ], "msecs": 733.0539226531982, "msg": "Collecting data from cache instance.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_cached_data.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 173.51984977722168, "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 0.00012993812561035156 }, { "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": "2019-12-27 21:48:46,733", "created": 1577479726.733918, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "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": "2019-12-27 21:48:46,733", "created": 1577479726.733311, "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": 733.3109378814697, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 173.77686500549316, "thread": 139988953077568, "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": "2019-12-27 21:48:46,733", "created": 1577479726.733499, "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": 733.4990501403809, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 173.9649772644043, "thread": 139988953077568, "threadName": "MainThread" } ], "msecs": 733.9179515838623, "msg": "Cached data is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 174.38387870788574, "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 0.0004189014434814453 } ], "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 0.003847837448120117, "time_finished": "2019-12-27 21:48:46,733", "time_start": "2019-12-27 21:48:46,730" }, "caching.property_cache_pickle: Test cached data (partially init)": { "args": null, "asctime": "2019-12-27 21:48:46,734", "created": 1577479726.73426, "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": 734.260082244873, "msg": "caching.property_cache_pickle: Test cached data (partially init)", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 174.72600936889648, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2019-12-27 21:48:46,736", "created": 1577479726.736155, "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": "2019-12-27 21:48:46,734", "created": 1577479726.734448, "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": 734.4479560852051, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 174.91388320922852, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/modules/caching/unittest/output_data/cache_data_test_no_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:46,734", "created": 1577479726.734602, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/modules/caching/unittest/output_data/cache_data_test_no_load_on_init.pkl as cache file.", "module": "test_helpers", "msecs": 734.6019744873047, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 175.06790161132812, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2019-12-27 21:48:46,734", "created": 1577479726.734994, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 145, "message": "PickCache: Cache file does not exists (yet).", "module": "__init__", "msecs": 734.9939346313477, "msg": "%s Cache file does not exists (yet).", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 175.4598617553711, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2019-12-27 21:48:46,735", "created": 1577479726.735251, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 159, "message": "PickCache: Loading all data from source - ['dict', 'unicode', 'str', 'integer', 'float', 'list']", "module": "__init__", "msecs": 735.2509498596191, "msg": "%s Loading all data from source - %s", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 175.71687698364258, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/cache_data_test_no_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:46,735", "created": 1577479726.735888, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 167, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/cache_data_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 735.8880043029785, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 176.35393142700195, "thread": 139988953077568, "threadName": "MainThread" } ], "msecs": 736.1550331115723, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 176.6209602355957, "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 0.00026702880859375 }, { "args": [], "asctime": "2019-12-27 21:48:46,737", "created": 1577479726.737305, "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": "2019-12-27 21:48:46,736", "created": 1577479726.736305, "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": 736.3049983978271, "msg": "%s Key '%s' is not in cached_keys. Uncached data will be returned.", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 176.7709255218506, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/cache_data_test_no_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:46,736", "created": 1577479726.736704, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "PickCache: Loading properties from cache (/user_data/data/dirk/prj/modules/caching/unittest/output_data/cache_data_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 736.7041110992432, "msg": "%s Loading properties from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 177.1700382232666, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "dict", "{'1': 1, '3': '3', '2': 'two', '4': 4}" ], "asctime": "2019-12-27 21:48:46,736", "created": 1577479726.736824, "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": 736.8240356445312, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 177.2899627685547, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "unicode", "u'unicode'" ], "asctime": "2019-12-27 21:48:46,736", "created": 1577479726.736912, "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": 736.9120121002197, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 177.37793922424316, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "str", "'string'" ], "asctime": "2019-12-27 21:48:46,736", "created": 1577479726.736992, "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": 736.9918823242188, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 177.4578094482422, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "integer", "17" ], "asctime": "2019-12-27 21:48:46,737", "created": 1577479726.737067, "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": 737.0669841766357, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 177.53291130065918, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "float", "3.14159" ], "asctime": "2019-12-27 21:48:46,737", "created": 1577479726.737148, "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": 737.1480464935303, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 177.6139736175537, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "list", "[1, 'two', '3', 4]" ], "asctime": "2019-12-27 21:48:46,737", "created": 1577479726.737229, "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": 737.2291088104248, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 177.69503593444824, "thread": 139988953077568, "threadName": "MainThread" } ], "msecs": 737.3049259185791, "msg": "Collecting data from cache instance.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_cached_data.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 177.77085304260254, "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 7.581710815429688e-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": "2019-12-27 21:48:46,737", "created": 1577479726.737861, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "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": "2019-12-27 21:48:46,737", "created": 1577479726.737461, "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": 737.4610900878906, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 177.92701721191406, "thread": 139988953077568, "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": "2019-12-27 21:48:46,737", "created": 1577479726.737565, "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": 737.5650405883789, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 178.03096771240234, "thread": 139988953077568, "threadName": "MainThread" } ], "msecs": 737.860918045044, "msg": "Cached data is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 178.32684516906738, "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 0.00029587745666503906 } ], "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 0.0036008358001708984, "time_finished": "2019-12-27 21:48:46,737", "time_start": "2019-12-27 21:48:46,734" }, "caching.property_cache_pickle: Test execution of save callback (full init)": { "args": null, "asctime": "2019-12-27 21:48:46,770", "created": 1577479726.77079, "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": 770.7901000976562, "msg": "caching.property_cache_pickle: Test execution of save callback (full init)", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 211.2560272216797, "testcaseLogger": [ { "args": [], "asctime": "2019-12-27 21:48:46,771", "created": 1577479726.771227, "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": 771.2268829345703, "msg": "Installing save_callback, which sets a variable to True on execution.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_save_callback.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 211.69281005859375, "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 0.0 }, { "args": [ "True", "" ], "asctime": "2019-12-27 21:48:46,772", "created": 1577479726.772536, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Save callback execution variable is correct (Content True and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/save_callback_load_on_init.json" ], "asctime": "2019-12-27 21:48:46,771", "created": 1577479726.771769, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 167, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/save_callback_load_on_init.json)", "module": "__init__", "msecs": 771.7690467834473, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 212.2349739074707, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "Save callback execution variable", "True", "" ], "asctime": "2019-12-27 21:48:46,772", "created": 1577479726.772206, "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": 772.2060680389404, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 212.67199516296387, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "Save callback execution variable", "True", "" ], "asctime": "2019-12-27 21:48:46,772", "created": 1577479726.772384, "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": 772.3839282989502, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 212.84985542297363, "thread": 139988953077568, "threadName": "MainThread" } ], "msecs": 772.536039352417, "msg": "Save callback execution variable is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 213.00196647644043, "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 0.00015211105346679688 } ], "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 0.0017459392547607422, "time_finished": "2019-12-27 21:48:46,772", "time_start": "2019-12-27 21:48:46,770" }, "caching.property_cache_pickle: Test full initialised PICKLE-Cache-Object": { "args": null, "asctime": "2019-12-27 21:48:46,717", "created": 1577479726.717297, "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": 717.2970771789551, "msg": "caching.property_cache_pickle: Test full initialised PICKLE-Cache-Object", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 157.76300430297852, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2019-12-27 21:48:46,721", "created": 1577479726.721749, "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": "2019-12-27 21:48:46,717", "created": 1577479726.717944, "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": 717.9439067840576, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 158.40983390808105, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/modules/caching/unittest/output_data/load_on_init.pkl" ], "asctime": "2019-12-27 21:48:46,718", "created": 1577479726.718424, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/modules/caching/unittest/output_data/load_on_init.pkl as cache file.", "module": "test_helpers", "msecs": 718.4240818023682, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 158.8900089263916, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2019-12-27 21:48:46,718", "created": 1577479726.71885, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 145, "message": "PickCache: Cache file does not exists (yet).", "module": "__init__", "msecs": 718.8498973846436, "msg": "%s Cache file does not exists (yet).", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 159.315824508667, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2019-12-27 21:48:46,719", "created": 1577479726.719134, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 159, "message": "PickCache: Loading all data from source - ['dict', 'unicode', 'str', 'integer', 'float', 'list']", "module": "__init__", "msecs": 719.1340923309326, "msg": "%s Loading all data from source - %s", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 159.60001945495605, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/load_on_init.pkl" ], "asctime": "2019-12-27 21:48:46,721", "created": 1577479726.721395, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 167, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/load_on_init.pkl)", "module": "__init__", "msecs": 721.3950157165527, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 161.86094284057617, "thread": 139988953077568, "threadName": "MainThread" } ], "msecs": 721.7490673065186, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 162.214994430542, "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 0.0003540515899658203 }, { "args": [ "property_cache_pickle" ], "asctime": "2019-12-27 21:48:46,723", "created": 1577479726.723272, "exc_info": null, "exc_text": null, "filename": "test_load_on_init.py", "funcName": "load_on_init", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Extracting storage object from property_cache_pickle for comparison.", "module": "test_load_on_init", "moduleLogger": [ { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/load_on_init.pkl" ], "asctime": "2019-12-27 21:48:46,722", "created": 1577479726.72288, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "PickCache: Loading properties from cache (/user_data/data/dirk/prj/modules/caching/unittest/output_data/load_on_init.pkl)", "module": "__init__", "msecs": 722.8798866271973, "msg": "%s Loading properties from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 163.3458137512207, "thread": 139988953077568, "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": "2019-12-27 21:48:46,723", "created": 1577479726.72307, "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": 723.0699062347412, "msg": "Using storage object of cache class for comparison: %s", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_load_on_init.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 163.53583335876465, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "_property_cache_data_version_", "_property_cache_uid_" ], "asctime": "2019-12-27 21:48:46,723", "created": 1577479726.723192, "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": 723.1919765472412, "msg": "Deleting overhead keys: %s, %s", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_load_on_init.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 163.65790367126465, "thread": 139988953077568, "threadName": "MainThread" } ], "msecs": 723.2720851898193, "msg": "Extracting storage object from %s for comparison.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_load_on_init.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 163.73801231384277, "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 8.0108642578125e-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": "2019-12-27 21:48:46,723", "created": 1577479726.72378, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "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": "2019-12-27 21:48:46,723", "created": 1577479726.723461, "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": 723.4609127044678, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 163.9268398284912, "thread": 139988953077568, "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": "2019-12-27 21:48:46,723", "created": 1577479726.723585, "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": 723.5848903656006, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 164.05081748962402, "thread": 139988953077568, "threadName": "MainThread" } ], "msecs": 723.7799167633057, "msg": "Cache object is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 164.2458438873291, "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 0.00019502639770507812 } ], "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 0.006482839584350586, "time_finished": "2019-12-27 21:48:46,723", "time_start": "2019-12-27 21:48:46,717" }, "caching.property_cache_pickle: Test get from source caused by changed uid (full init)": { "args": null, "asctime": "2019-12-27 21:48:46,753", "created": 1577479726.753754, "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": 753.7539005279541, "msg": "caching.property_cache_pickle: Test get from source caused by changed uid (full init)", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 194.21982765197754, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2019-12-27 21:48:46,756", "created": 1577479726.756395, "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": "2019-12-27 21:48:46,754", "created": 1577479726.754215, "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": 754.2150020599365, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 194.68092918395996, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:46,754", "created": 1577479726.754608, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_load_on_init.pkl as cache file.", "module": "test_helpers", "msecs": 754.6079158782959, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 195.07384300231934, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2019-12-27 21:48:46,754", "created": 1577479726.75493, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 145, "message": "PickCache: Cache file does not exists (yet).", "module": "__init__", "msecs": 754.9300193786621, "msg": "%s Cache file does not exists (yet).", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 195.39594650268555, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2019-12-27 21:48:46,755", "created": 1577479726.755251, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 159, "message": "PickCache: Loading all data from source - ['dict', 'unicode', 'str', 'integer', 'float', 'list']", "module": "__init__", "msecs": 755.2509307861328, "msg": "%s Loading all data from source - %s", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 195.71685791015625, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:46,756", "created": 1577479726.756057, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 167, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_load_on_init.pkl)", "module": "__init__", "msecs": 756.0570240020752, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 196.52295112609863, "thread": 139988953077568, "threadName": "MainThread" } ], "msecs": 756.3951015472412, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 196.86102867126465, "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 0.0003380775451660156 }, { "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": "2019-12-27 21:48:46,759", "created": 1577479726.759215, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Instance data after changing uid is correct (Content {'unicode': u'__unicode__', 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '3': 'three', '2': 2, '4': '4'}, 'str': '__string__', 'integer': 34} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:46,757", "created": 1577479726.757017, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "PickCache: Loading properties from cache (/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_load_on_init.pkl)", "module": "__init__", "msecs": 757.0168972015381, "msg": "%s Loading properties from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 197.48282432556152, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2019-12-27 21:48:46,757", "created": 1577479726.757216, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 128, "message": "PickCache: Source uid changed, ignoring previous cache data", "module": "__init__", "msecs": 757.2159767150879, "msg": "%s Source uid changed, ignoring previous cache data", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 197.68190383911133, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2019-12-27 21:48:46,757", "created": 1577479726.757451, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 159, "message": "PickCache: Loading all data from source - ['dict', 'unicode', 'str', 'integer', 'float', 'list']", "module": "__init__", "msecs": 757.451057434082, "msg": "%s Loading all data from source - %s", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 197.91698455810547, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:46,757", "created": 1577479726.757893, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 167, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_load_on_init.pkl)", "module": "__init__", "msecs": 757.8930854797363, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 198.35901260375977, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "dict", "{'1': '1', '3': 'three', '2': 2, '4': '4'}" ], "asctime": "2019-12-27 21:48:46,758", "created": 1577479726.758243, "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": 758.2430839538574, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 198.70901107788086, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "unicode", "u'__unicode__'" ], "asctime": "2019-12-27 21:48:46,758", "created": 1577479726.758358, "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": 758.3580017089844, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 198.8239288330078, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "str", "'__string__'" ], "asctime": "2019-12-27 21:48:46,758", "created": 1577479726.758429, "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": 758.4290504455566, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 198.89497756958008, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "integer", "34" ], "asctime": "2019-12-27 21:48:46,758", "created": 1577479726.758518, "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": 758.5179805755615, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 198.98390769958496, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "float", "2.71828" ], "asctime": "2019-12-27 21:48:46,758", "created": 1577479726.758617, "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": 758.6169242858887, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 199.0828514099121, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "list", "['one', 2, 3, '4']" ], "asctime": "2019-12-27 21:48:46,758", "created": 1577479726.758715, "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": 758.7149143218994, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 199.18084144592285, "thread": 139988953077568, "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": "2019-12-27 21:48:46,758", "created": 1577479726.758856, "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": 758.8560581207275, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 199.32198524475098, "thread": 139988953077568, "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": "2019-12-27 21:48:46,759", "created": 1577479726.759039, "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": 759.0389251708984, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 199.50485229492188, "thread": 139988953077568, "threadName": "MainThread" } ], "msecs": 759.2151165008545, "msg": "Instance data after changing uid is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 199.68104362487793, "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 0.0001761913299560547 } ], "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 0.005461215972900391, "time_finished": "2019-12-27 21:48:46,759", "time_start": "2019-12-27 21:48:46,753" }, "caching.property_cache_pickle: Test get from source caused by changed uid (partially init)": { "args": null, "asctime": "2019-12-27 21:48:46,759", "created": 1577479726.759508, "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": 759.5078945159912, "msg": "caching.property_cache_pickle: Test get from source caused by changed uid (partially init)", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 199.97382164001465, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2019-12-27 21:48:46,761", "created": 1577479726.761309, "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": "2019-12-27 21:48:46,759", "created": 1577479726.759675, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 17, "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "module": "test_helpers", "msecs": 759.6750259399414, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 200.14095306396484, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:46,759", "created": 1577479726.759933, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.pkl as cache file.", "module": "test_helpers", "msecs": 759.9329948425293, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 200.39892196655273, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2019-12-27 21:48:46,760", "created": 1577479726.760123, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 145, "message": "PickCache: Cache file does not exists (yet).", "module": "__init__", "msecs": 760.1230144500732, "msg": "%s Cache file does not exists (yet).", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 200.58894157409668, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2019-12-27 21:48:46,760", "created": 1577479726.760294, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 159, "message": "PickCache: Loading all data from source - ['dict', 'unicode', 'str', 'integer', 'float', 'list']", "module": "__init__", "msecs": 760.2939605712891, "msg": "%s Loading all data from source - %s", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 200.7598876953125, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:46,761", "created": 1577479726.761022, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 167, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 761.0220909118652, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 201.48801803588867, "thread": 139988953077568, "threadName": "MainThread" } ], "msecs": 761.3089084625244, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 201.77483558654785, "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 0.0002868175506591797 }, { "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": "2019-12-27 21:48:46,770", "created": 1577479726.770414, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Instance data after changing uid is correct (Content {'unicode': u'__unicode__', 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '3': 'three', '2': 2, '4': '4'}, 'str': '__string__', 'integer': 34} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:46,762", "created": 1577479726.762675, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "PickCache: Loading properties from cache (/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 762.6750469207764, "msg": "%s Loading properties from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 203.1409740447998, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2019-12-27 21:48:46,763", "created": 1577479726.763097, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 128, "message": "PickCache: Source uid changed, ignoring previous cache data", "module": "__init__", "msecs": 763.0970478057861, "msg": "%s Source uid changed, ignoring previous cache data", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 203.56297492980957, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:46,764", "created": 1577479726.764163, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 167, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 764.1630172729492, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 204.62894439697266, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "dict", "{'1': '1', '3': 'three', '2': 2, '4': '4'}" ], "asctime": "2019-12-27 21:48:46,765", "created": 1577479726.765459, "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": 765.4590606689453, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 205.92498779296875, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:46,766", "created": 1577479726.766298, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 167, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 766.2980556488037, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 206.76398277282715, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "unicode", "u'__unicode__'" ], "asctime": "2019-12-27 21:48:46,766", "created": 1577479726.766816, "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": 766.8159008026123, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 207.28182792663574, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:46,767", "created": 1577479726.767391, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 167, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 767.3909664154053, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 207.8568935394287, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "str", "'__string__'" ], "asctime": "2019-12-27 21:48:46,767", "created": 1577479726.767714, "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": 767.7140235900879, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 208.17995071411133, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:46,768", "created": 1577479726.768006, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 167, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 768.0060863494873, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 208.47201347351074, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "integer", "34" ], "asctime": "2019-12-27 21:48:46,768", "created": 1577479726.768267, "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": 768.2669162750244, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 208.73284339904785, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:46,768", "created": 1577479726.768606, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 167, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 768.6059474945068, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 209.07187461853027, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "float", "2.71828" ], "asctime": "2019-12-27 21:48:46,768", "created": 1577479726.768793, "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": 768.7931060791016, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 209.259033203125, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:46,769", "created": 1577479726.769104, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 167, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 769.10400390625, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 209.56993103027344, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "list", "['one', 2, 3, '4']" ], "asctime": "2019-12-27 21:48:46,769", "created": 1577479726.769319, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get", "levelname": "DEBUG", "levelno": 10, "lineno": 106, "message": "PickCache: Loading property for 'list' from source instance (['one', 2, 3, '4'])", "module": "__init__", "msecs": 769.3190574645996, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 209.78498458862305, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:46,769", "created": 1577479726.76972, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 167, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 769.7200775146484, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 210.18600463867188, "thread": 139988953077568, "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": "2019-12-27 21:48:46,769", "created": 1577479726.77, "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": 769.9999809265137, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 210.4659080505371, "thread": 139988953077568, "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": "2019-12-27 21:48:46,770", "created": 1577479726.770159, "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": 770.1590061187744, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 210.62493324279785, "thread": 139988953077568, "threadName": "MainThread" } ], "msecs": 770.4141139984131, "msg": "Instance data after changing uid is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 210.88004112243652, "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 0.0002551078796386719 } ], "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 0.010906219482421875, "time_finished": "2019-12-27 21:48:46,770", "time_start": "2019-12-27 21:48:46,759" }, "caching.property_cache_pickle: Test get from source caused by increased data version (full init)": { "args": null, "asctime": "2019-12-27 21:48:46,738", "created": 1577479726.738032, "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": 738.0321025848389, "msg": "caching.property_cache_pickle: Test get from source caused by increased data version (full init)", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 178.4980297088623, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2019-12-27 21:48:46,739", "created": 1577479726.739198, "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": "2019-12-27 21:48:46,738", "created": 1577479726.738129, "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": 738.1289005279541, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 178.59482765197754, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:46,738", "created": 1577479726.738281, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_load_on_init.pkl as cache file.", "module": "test_helpers", "msecs": 738.2810115814209, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 178.74693870544434, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2019-12-27 21:48:46,738", "created": 1577479726.738436, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 145, "message": "PickCache: Cache file does not exists (yet).", "module": "__init__", "msecs": 738.4359836578369, "msg": "%s Cache file does not exists (yet).", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 178.90191078186035, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2019-12-27 21:48:46,738", "created": 1577479726.738563, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 159, "message": "PickCache: Loading all data from source - ['dict', 'unicode', 'str', 'integer', 'float', 'list']", "module": "__init__", "msecs": 738.563060760498, "msg": "%s Loading all data from source - %s", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 179.02898788452148, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:46,739", "created": 1577479726.739034, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 167, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_load_on_init.pkl)", "module": "__init__", "msecs": 739.0339374542236, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 179.49986457824707, "thread": 139988953077568, "threadName": "MainThread" } ], "msecs": 739.1979694366455, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 179.66389656066895, "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 0.000164031982421875 }, { "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": "2019-12-27 21:48:46,741", "created": 1577479726.741023, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Instance data after increasing data_version is correct (Content {'unicode': u'__unicode__', 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '3': 'three', '2': 2, '4': '4'}, 'str': '__string__', 'integer': 34} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:46,739", "created": 1577479726.739539, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "PickCache: Loading properties from cache (/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_load_on_init.pkl)", "module": "__init__", "msecs": 739.5389080047607, "msg": "%s Loading properties from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 180.00483512878418, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2019-12-27 21:48:46,739", "created": 1577479726.739646, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 130, "message": "PickCache: Data version increased, ignoring previous cache data", "module": "__init__", "msecs": 739.6459579467773, "msg": "%s Data version increased, ignoring previous cache data", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 180.11188507080078, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2019-12-27 21:48:46,739", "created": 1577479726.739738, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 159, "message": "PickCache: Loading all data from source - ['dict', 'unicode', 'str', 'integer', 'float', 'list']", "module": "__init__", "msecs": 739.7379875183105, "msg": "%s Loading all data from source - %s", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 180.20391464233398, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:46,740", "created": 1577479726.740065, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 167, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_load_on_init.pkl)", "module": "__init__", "msecs": 740.0650978088379, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 180.53102493286133, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "dict", "{'1': '1', '3': 'three', '2': 2, '4': '4'}" ], "asctime": "2019-12-27 21:48:46,740", "created": 1577479726.740338, "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": 740.3380870819092, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 180.80401420593262, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "unicode", "u'__unicode__'" ], "asctime": "2019-12-27 21:48:46,740", "created": 1577479726.74045, "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": 740.4499053955078, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 180.91583251953125, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "str", "'__string__'" ], "asctime": "2019-12-27 21:48:46,740", "created": 1577479726.740529, "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": 740.5290603637695, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 180.99498748779297, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "integer", "34" ], "asctime": "2019-12-27 21:48:46,740", "created": 1577479726.740601, "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": 740.6010627746582, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 181.06698989868164, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "float", "2.71828" ], "asctime": "2019-12-27 21:48:46,740", "created": 1577479726.740678, "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": 740.678071975708, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 181.14399909973145, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "list", "['one', 2, 3, '4']" ], "asctime": "2019-12-27 21:48:46,740", "created": 1577479726.740799, "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": 740.7989501953125, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 181.26487731933594, "thread": 139988953077568, "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": "2019-12-27 21:48:46,740", "created": 1577479726.740869, "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": 740.8690452575684, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 181.3349723815918, "thread": 139988953077568, "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": "2019-12-27 21:48:46,740", "created": 1577479726.74093, "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": 740.9300804138184, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 181.3960075378418, "thread": 139988953077568, "threadName": "MainThread" } ], "msecs": 741.023063659668, "msg": "Instance data after increasing data_version is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 181.4889907836914, "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 9.298324584960938e-05 } ], "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 0.0029909610748291016, "time_finished": "2019-12-27 21:48:46,741", "time_start": "2019-12-27 21:48:46,738" }, "caching.property_cache_pickle: Test get from source caused by increased data version (partially init)": { "args": null, "asctime": "2019-12-27 21:48:46,741", "created": 1577479726.74115, "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": 741.14990234375, "msg": "caching.property_cache_pickle: Test get from source caused by increased data version (partially init)", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 181.61582946777344, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2019-12-27 21:48:46,741", "created": 1577479726.741728, "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": "2019-12-27 21:48:46,741", "created": 1577479726.741231, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 17, "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "module": "test_helpers", "msecs": 741.2309646606445, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 181.69689178466797, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:46,741", "created": 1577479726.741301, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.pkl as cache file.", "module": "test_helpers", "msecs": 741.3010597229004, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 181.76698684692383, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2019-12-27 21:48:46,741", "created": 1577479726.741367, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 145, "message": "PickCache: Cache file does not exists (yet).", "module": "__init__", "msecs": 741.3671016693115, "msg": "%s Cache file does not exists (yet).", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 181.83302879333496, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "['dict', 'unicode', 'str', 'integer', 'float', 'list']" ], "asctime": "2019-12-27 21:48:46,741", "created": 1577479726.741421, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 159, "message": "PickCache: Loading all data from source - ['dict', 'unicode', 'str', 'integer', 'float', 'list']", "module": "__init__", "msecs": 741.4209842681885, "msg": "%s Loading all data from source - %s", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 181.8869113922119, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:46,741", "created": 1577479726.741646, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 167, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 741.6460514068604, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 182.1119785308838, "thread": 139988953077568, "threadName": "MainThread" } ], "msecs": 741.7280673980713, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 182.19399452209473, "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 8.20159912109375e-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": "2019-12-27 21:48:46,752", "created": 1577479726.752962, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Instance data after increasing data_version is correct (Content {'unicode': u'__unicode__', 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '3': 'three', '2': 2, '4': '4'}, 'str': '__string__', 'integer': 34} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:46,741", "created": 1577479726.741941, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "PickCache: Loading properties from cache (/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 741.940975189209, "msg": "%s Loading properties from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 182.40690231323242, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2019-12-27 21:48:46,741", "created": 1577479726.741999, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 130, "message": "PickCache: Data version increased, ignoring previous cache data", "module": "__init__", "msecs": 741.9989109039307, "msg": "%s Data version increased, ignoring previous cache data", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 182.4648380279541, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:46,742", "created": 1577479726.742105, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 167, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 742.1050071716309, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 182.5709342956543, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "dict", "{'1': '1', '3': 'three', '2': 2, '4': '4'}" ], "asctime": "2019-12-27 21:48:46,742", "created": 1577479726.742201, "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": 742.2010898590088, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 182.66701698303223, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:46,742", "created": 1577479726.742333, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 167, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 742.332935333252, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 182.7988624572754, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "unicode", "u'__unicode__'" ], "asctime": "2019-12-27 21:48:46,742", "created": 1577479726.742418, "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": 742.4180507659912, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 182.88397789001465, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:46,742", "created": 1577479726.742563, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 167, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 742.563009262085, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 183.0289363861084, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "str", "'__string__'" ], "asctime": "2019-12-27 21:48:46,742", "created": 1577479726.742646, "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": 742.6459789276123, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 183.11190605163574, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:46,742", "created": 1577479726.742786, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 167, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 742.7859306335449, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 183.25185775756836, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "integer", "34" ], "asctime": "2019-12-27 21:48:46,742", "created": 1577479726.742868, "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": 742.8679466247559, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 183.3338737487793, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:46,743", "created": 1577479726.743017, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 167, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 743.0169582366943, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 183.48288536071777, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "float", "2.71828" ], "asctime": "2019-12-27 21:48:46,743", "created": 1577479726.743101, "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": 743.1008815765381, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 183.56680870056152, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:46,743", "created": 1577479726.743353, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 167, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 743.3528900146484, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 183.81881713867188, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "list", "['one', 2, 3, '4']" ], "asctime": "2019-12-27 21:48:46,743", "created": 1577479726.743913, "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": 743.912935256958, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 184.37886238098145, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:46,744", "created": 1577479726.744698, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 167, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 744.6980476379395, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 185.1639747619629, "thread": 139988953077568, "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": "2019-12-27 21:48:46,745", "created": 1577479726.745389, "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": 745.3889846801758, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 185.85491180419922, "thread": 139988953077568, "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": "2019-12-27 21:48:46,752", "created": 1577479726.752479, "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": 752.479076385498, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 192.94500350952148, "thread": 139988953077568, "threadName": "MainThread" } ], "msecs": 752.9621124267578, "msg": "Instance data after increasing data_version is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 193.42803955078125, "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 0.0004830360412597656 } ], "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 0.011812210083007812, "time_finished": "2019-12-27 21:48:46,752", "time_start": "2019-12-27 21:48:46,741" }, "caching.property_cache_pickle: Test internal key usage": { "args": null, "asctime": "2019-12-27 21:48:46,772", "created": 1577479726.772905, "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": 772.9051113128662, "msg": "caching.property_cache_pickle: Test internal key usage", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 213.37103843688965, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2019-12-27 21:48:46,774", "created": 1577479726.774851, "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": "2019-12-27 21:48:46,773", "created": 1577479726.773221, "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": 773.2210159301758, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 213.68694305419922, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/modules/caching/unittest/output_data/internal_keys_test.pkl" ], "asctime": "2019-12-27 21:48:46,773", "created": 1577479726.773497, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/modules/caching/unittest/output_data/internal_keys_test.pkl as cache file.", "module": "test_helpers", "msecs": 773.4971046447754, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 213.96303176879883, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2019-12-27 21:48:46,773", "created": 1577479726.773882, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 145, "message": "PickCache: Cache file does not exists (yet).", "module": "__init__", "msecs": 773.8819122314453, "msg": "%s Cache file does not exists (yet).", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 214.34783935546875, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "['__property_cache_data_version_', '_property_cache_data_version_', '__property_cache_uid_', '_property_cache_uid_']" ], "asctime": "2019-12-27 21:48:46,774", "created": 1577479726.774139, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 159, "message": "PickCache: Loading all data from source - ['__property_cache_data_version_', '_property_cache_data_version_', '__property_cache_uid_', '_property_cache_uid_']", "module": "__init__", "msecs": 774.1389274597168, "msg": "%s Loading all data from source - %s", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 214.60485458374023, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/internal_keys_test.pkl" ], "asctime": "2019-12-27 21:48:46,774", "created": 1577479726.774597, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 167, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/internal_keys_test.pkl)", "module": "__init__", "msecs": 774.5969295501709, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 215.06285667419434, "thread": 139988953077568, "threadName": "MainThread" } ], "msecs": 774.8510837554932, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 215.3170108795166, "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 0.0002541542053222656 }, { "args": [ "property_cache_pickle" ], "asctime": "2019-12-27 21:48:46,775", "created": 1577479726.775603, "exc_info": null, "exc_text": null, "filename": "test_internal_keys.py", "funcName": "test_internal_keys", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Extracting storage object from property_cache_pickle for comparison.", "module": "test_internal_keys", "moduleLogger": [ { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/internal_keys_test.pkl" ], "asctime": "2019-12-27 21:48:46,775", "created": 1577479726.775313, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "PickCache: Loading properties from cache (/user_data/data/dirk/prj/modules/caching/unittest/output_data/internal_keys_test.pkl)", "module": "__init__", "msecs": 775.3129005432129, "msg": "%s Loading properties from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 215.77882766723633, "thread": 139988953077568, "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": "2019-12-27 21:48:46,775", "created": 1577479726.775439, "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": 775.4390239715576, "msg": "Using storage object of cache class for comparison: %s", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_internal_keys.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 215.90495109558105, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "_property_cache_data_version_", "_property_cache_uid_" ], "asctime": "2019-12-27 21:48:46,775", "created": 1577479726.775549, "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": 775.5489349365234, "msg": "Deleting overhead keys: %s, %s", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_internal_keys.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 216.01486206054688, "thread": 139988953077568, "threadName": "MainThread" } ], "msecs": 775.6030559539795, "msg": "Extracting storage object from %s for comparison.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_internal_keys.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 216.06898307800293, "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 5.412101745605469e-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": "2019-12-27 21:48:46,775", "created": 1577479726.775923, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "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": "2019-12-27 21:48:46,775", "created": 1577479726.775765, "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": 775.7649421691895, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 216.2308692932129, "thread": 139988953077568, "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": "2019-12-27 21:48:46,775", "created": 1577479726.775831, "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": 775.8309841156006, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 216.29691123962402, "thread": 139988953077568, "threadName": "MainThread" } ], "msecs": 775.9230136871338, "msg": "Cache is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 216.38894081115723, "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 9.202957153320312e-05 }, { "args": [ "5", "" ], "asctime": "2019-12-27 21:48:46,776", "created": 1577479726.776221, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Keyfilter returnvalue for 5 () is correct (Content 5 and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Keyfilter returnvalue for 5 ()", "5", "" ], "asctime": "2019-12-27 21:48:46,776", "created": 1577479726.776039, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Keyfilter returnvalue for 5 ()): 5 ()", "module": "test", "msecs": 776.0388851165771, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 216.5048122406006, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "Keyfilter returnvalue for 5 ()", "5", "" ], "asctime": "2019-12-27 21:48:46,776", "created": 1577479726.776132, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Keyfilter returnvalue for 5 ()): result = 5 ()", "module": "test", "msecs": 776.1321067810059, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 216.5980339050293, "thread": 139988953077568, "threadName": "MainThread" } ], "msecs": 776.2210369110107, "msg": "Keyfilter returnvalue for 5 () is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 216.68696403503418, "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 8.893013000488281e-05 } ], "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 0.0033159255981445312, "time_finished": "2019-12-27 21:48:46,776", "time_start": "2019-12-27 21:48:46,772" }, "caching.property_cache_pickle: Test partially initialised PICKLE-Cache-Object": { "args": null, "asctime": "2019-12-27 21:48:46,724", "created": 1577479726.724035, "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": 724.0350246429443, "msg": "caching.property_cache_pickle: Test partially initialised PICKLE-Cache-Object", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 164.50095176696777, "testcaseLogger": [ { "args": [ "property_cache_pickle", "False" ], "asctime": "2019-12-27 21:48:46,725", "created": 1577479726.725054, "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": "2019-12-27 21:48:46,724", "created": 1577479726.724208, "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": 724.2081165313721, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 164.6740436553955, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/modules/caching/unittest/output_data/no_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:46,724", "created": 1577479726.724411, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/modules/caching/unittest/output_data/no_load_on_init.pkl as cache file.", "module": "test_helpers", "msecs": 724.4110107421875, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 164.87693786621094, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2019-12-27 21:48:46,724", "created": 1577479726.724629, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 145, "message": "PickCache: Cache file does not exists (yet).", "module": "__init__", "msecs": 724.6289253234863, "msg": "%s Cache file does not exists (yet).", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 165.09485244750977, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/no_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:46,724", "created": 1577479726.724916, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 167, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/no_load_on_init.pkl)", "module": "__init__", "msecs": 724.9159812927246, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 165.38190841674805, "thread": 139988953077568, "threadName": "MainThread" } ], "msecs": 725.0540256500244, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 165.51995277404785, "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 0.0001380443572998047 }, { "args": [], "asctime": "2019-12-27 21:48:46,728", "created": 1577479726.728326, "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": "2019-12-27 21:48:46,725", "created": 1577479726.72523, "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": 725.2299785614014, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 165.6959056854248, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/no_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:46,725", "created": 1577479726.725451, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 167, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/no_load_on_init.pkl)", "module": "__init__", "msecs": 725.4509925842285, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 165.91691970825195, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "list", "[1, 'two', '3', 4]" ], "asctime": "2019-12-27 21:48:46,725", "created": 1577479726.725898, "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": 725.898027420044, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 166.36395454406738, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/no_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:46,726", "created": 1577479726.726441, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 167, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/no_load_on_init.pkl)", "module": "__init__", "msecs": 726.4409065246582, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 166.90683364868164, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "str", "'string'" ], "asctime": "2019-12-27 21:48:46,727", "created": 1577479726.72739, "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": 727.3900508880615, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 167.85597801208496, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/no_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:46,727", "created": 1577479726.727922, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 167, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/no_load_on_init.pkl)", "module": "__init__", "msecs": 727.9219627380371, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 168.38788986206055, "thread": 139988953077568, "threadName": "MainThread" } ], "msecs": 728.3260822296143, "msg": "Partially initialising cache object by requesting some information.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_no_load_on_init.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 168.7920093536377, "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 0.00040411949157714844 }, { "args": [ "property_cache_pickle" ], "asctime": "2019-12-27 21:48:46,729", "created": 1577479726.729397, "exc_info": null, "exc_text": null, "filename": "test_no_load_on_init.py", "funcName": "no_load_on_init", "levelname": "DEBUG", "levelno": 10, "lineno": 27, "message": "Extracting storage object from property_cache_pickle for comparison.", "module": "test_no_load_on_init", "moduleLogger": [ { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/no_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:46,728", "created": 1577479726.728962, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "PickCache: Loading properties from cache (/user_data/data/dirk/prj/modules/caching/unittest/output_data/no_load_on_init.pkl)", "module": "__init__", "msecs": 728.9619445800781, "msg": "%s Loading properties from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 169.42787170410156, "thread": 139988953077568, "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": "2019-12-27 21:48:46,729", "created": 1577479726.729179, "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": 729.1789054870605, "msg": "Using storage object of cache class for comparison: %s", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_no_load_on_init.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 169.64483261108398, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "_property_cache_data_version_", "_property_cache_uid_" ], "asctime": "2019-12-27 21:48:46,729", "created": 1577479726.729315, "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": 729.3150424957275, "msg": "Deleting overhead keys: %s, %s", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_no_load_on_init.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 169.78096961975098, "thread": 139988953077568, "threadName": "MainThread" } ], "msecs": 729.3970584869385, "msg": "Extracting storage object from %s for comparison.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_no_load_on_init.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 169.8629856109619, "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 8.20159912109375e-05 }, { "args": [ "{'float': 3.14159, 'list': [1, 'two', '3', 4], 'str': 'string'}", "" ], "asctime": "2019-12-27 21:48:46,729", "created": 1577479726.7298, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "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": "2019-12-27 21:48:46,729", "created": 1577479726.729523, "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": 729.5229434967041, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 169.98887062072754, "thread": 139988953077568, "threadName": "MainThread" }, { "args": [ "Cache object", "{ 'str': 'string', 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ] }", "" ], "asctime": "2019-12-27 21:48:46,729", "created": 1577479726.729579, "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": 729.578971862793, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 170.0448989868164, "thread": 139988953077568, "threadName": "MainThread" } ], "msecs": 729.7999858856201, "msg": "Cache object is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7954, "processName": "MainProcess", "relativeCreated": 170.26591300964355, "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 0.00022101402282714844 } ], "thread": 139988953077568, "threadName": "MainThread", "time_consumption": 0.005764961242675781, "time_finished": "2019-12-27 21:48:46,729", "time_start": "2019-12-27 21:48:46,724" } }, "testrun_id": "p2", "time_consumption": 0.12566757202148438, "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.6.9 (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": "2019-12-27 21:48:47,935", "created": 1577479727.9356124, "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": 935.6124401092529, "msg": "caching.property_cache_json: Test cached data (full init)", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 222.670316696167, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2019-12-27 21:48:47,939", "created": 1577479727.9398224, "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": "2019-12-27 21:48:47,936", "created": 1577479727.9361932, "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": 936.1932277679443, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 223.2511043548584, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/modules/caching/unittest/output_data/cache_data_test_load_on_init.json" ], "asctime": "2019-12-27 21:48:47,936", "created": 1577479727.9367645, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/modules/caching/unittest/output_data/cache_data_test_load_on_init.json as cache file.", "module": "test_helpers", "msecs": 936.7644786834717, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 223.82235527038574, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2019-12-27 21:48:47,937", "created": 1577479727.9375088, "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": 937.5088214874268, "msg": "%s Cache file does not exists (yet).", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 224.56669807434082, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2019-12-27 21:48:47,938", "created": 1577479727.9380093, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 159, "message": "JsonCache: Loading all data from source - ['str', 'unicode', 'integer', 'float', 'list', 'dict']", "module": "__init__", "msecs": 938.0092620849609, "msg": "%s Loading all data from source - %s", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 225.067138671875, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/cache_data_test_load_on_init.json" ], "asctime": "2019-12-27 21:48:47,939", "created": 1577479727.9392889, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/cache_data_test_load_on_init.json)", "module": "__init__", "msecs": 939.288854598999, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 226.3467311859131, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" } ], "msecs": 939.8224353790283, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 226.88031196594238, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 0.0005335807800292969 }, { "args": [], "asctime": "2019-12-27 21:48:47,942", "created": 1577479727.942014, "exc_info": null, "exc_text": null, "filename": "test_cached_data.py", "funcName": "cached_data", "levelname": "DEBUG", "levelno": 10, "lineno": 19, "message": "Collecting data from cache instance.", "module": "test_cached_data", "moduleLogger": [ { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/cache_data_test_load_on_init.json" ], "asctime": "2019-12-27 21:48:47,941", "created": 1577479727.9410338, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 225, "message": "JsonCache: Loading properties from cache (/user_data/data/dirk/prj/modules/caching/unittest/output_data/cache_data_test_load_on_init.json)", "module": "__init__", "msecs": 941.0338401794434, "msg": "%s Loading properties from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 228.09171676635742, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "str", "'string'" ], "asctime": "2019-12-27 21:48:47,941", "created": 1577479727.9413812, "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": 941.3812160491943, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 228.4390926361084, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "unicode", "'unicode'" ], "asctime": "2019-12-27 21:48:47,941", "created": 1577479727.9414806, "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": 941.4806365966797, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 228.53851318359375, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "integer", "17" ], "asctime": "2019-12-27 21:48:47,941", "created": 1577479727.9415605, "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": 941.5605068206787, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 228.61838340759277, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "float", "3.14159" ], "asctime": "2019-12-27 21:48:47,941", "created": 1577479727.9417286, "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": 941.7285919189453, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 228.78646850585938, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "list", "[1, 'two', '3', 4]" ], "asctime": "2019-12-27 21:48:47,941", "created": 1577479727.9418347, "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": 941.8346881866455, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 228.89256477355957, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "dict", "{'1': 1, '2': 'two', '3': '3', '4': 4}" ], "asctime": "2019-12-27 21:48:47,941", "created": 1577479727.9419048, "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": 941.9047832489014, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 228.96265983581543, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "uncached" ], "asctime": "2019-12-27 21:48:47,941", "created": 1577479727.9419615, "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": 941.9615268707275, "msg": "%s Key '%s' is not in cached_keys. Uncached data will be returned.", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 229.0194034576416, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" } ], "msecs": 942.0139789581299, "msg": "Collecting data from cache instance.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_cached_data.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 229.07185554504395, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 5.245208740234375e-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": "2019-12-27 21:48:47,942", "created": 1577479727.942465, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "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": "2019-12-27 21:48:47,942", "created": 1577479727.9421763, "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": 942.176342010498, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 229.2342185974121, "stack_info": null, "thread": 140673488709440, "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": "2019-12-27 21:48:47,942", "created": 1577479727.942278, "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": 942.2779083251953, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 229.33578491210938, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" } ], "msecs": 942.46506690979, "msg": "Cached data is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 229.5229434967041, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 0.00018715858459472656 } ], "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 0.006852626800537109, "time_finished": "2019-12-27 21:48:47,942", "time_start": "2019-12-27 21:48:47,935" }, "caching.property_cache_json: Test cached data (partially init)": { "args": null, "asctime": "2019-12-27 21:48:47,942", "created": 1577479727.9426577, "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": 942.6577091217041, "msg": "caching.property_cache_json: Test cached data (partially init)", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 229.71558570861816, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2019-12-27 21:48:47,944", "created": 1577479727.944638, "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": "2019-12-27 21:48:47,942", "created": 1577479727.942846, "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": 942.8460597991943, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 229.9039363861084, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/modules/caching/unittest/output_data/cache_data_test_no_load_on_init.json" ], "asctime": "2019-12-27 21:48:47,943", "created": 1577479727.9430285, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/modules/caching/unittest/output_data/cache_data_test_no_load_on_init.json as cache file.", "module": "test_helpers", "msecs": 943.028450012207, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 230.0863265991211, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2019-12-27 21:48:47,943", "created": 1577479727.9432595, "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": 943.2594776153564, "msg": "%s Cache file does not exists (yet).", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 230.3173542022705, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2019-12-27 21:48:47,943", "created": 1577479727.9434474, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 159, "message": "JsonCache: Loading all data from source - ['str', 'unicode', 'integer', 'float', 'list', 'dict']", "module": "__init__", "msecs": 943.4473514556885, "msg": "%s Loading all data from source - %s", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 230.50522804260254, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/cache_data_test_no_load_on_init.json" ], "asctime": "2019-12-27 21:48:47,944", "created": 1577479727.9442017, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/cache_data_test_no_load_on_init.json)", "module": "__init__", "msecs": 944.2017078399658, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 231.25958442687988, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" } ], "msecs": 944.6380138397217, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 231.69589042663574, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 0.0004363059997558594 }, { "args": [], "asctime": "2019-12-27 21:48:47,946", "created": 1577479727.9467845, "exc_info": null, "exc_text": null, "filename": "test_cached_data.py", "funcName": "cached_data", "levelname": "DEBUG", "levelno": 10, "lineno": 19, "message": "Collecting data from cache instance.", "module": "test_cached_data", "moduleLogger": [ { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/cache_data_test_no_load_on_init.json" ], "asctime": "2019-12-27 21:48:47,945", "created": 1577479727.945392, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 225, "message": "JsonCache: Loading properties from cache (/user_data/data/dirk/prj/modules/caching/unittest/output_data/cache_data_test_no_load_on_init.json)", "module": "__init__", "msecs": 945.3918933868408, "msg": "%s Loading properties from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 232.44976997375488, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "str", "'string'" ], "asctime": "2019-12-27 21:48:47,945", "created": 1577479727.9456754, "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": 945.6753730773926, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 232.73324966430664, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "unicode", "'unicode'" ], "asctime": "2019-12-27 21:48:47,945", "created": 1577479727.9458537, "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": 945.8537101745605, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 232.9115867614746, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "integer", "17" ], "asctime": "2019-12-27 21:48:47,945", "created": 1577479727.9459975, "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": 945.9974765777588, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 233.05535316467285, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "float", "3.14159" ], "asctime": "2019-12-27 21:48:47,946", "created": 1577479727.9462252, "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": 946.2251663208008, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 233.28304290771484, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "list", "[1, 'two', '3', 4]" ], "asctime": "2019-12-27 21:48:47,946", "created": 1577479727.9464514, "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": 946.4514255523682, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 233.50930213928223, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "dict", "{'1': 1, '2': 'two', '3': '3', '4': 4}" ], "asctime": "2019-12-27 21:48:47,946", "created": 1577479727.9465942, "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": 946.59423828125, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 233.65211486816406, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "uncached" ], "asctime": "2019-12-27 21:48:47,946", "created": 1577479727.9467013, "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": 946.7012882232666, "msg": "%s Key '%s' is not in cached_keys. Uncached data will be returned.", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 233.75916481018066, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" } ], "msecs": 946.784496307373, "msg": "Collecting data from cache instance.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_cached_data.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 233.8423728942871, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 8.320808410644531e-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": "2019-12-27 21:48:47,947", "created": 1577479727.947913, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "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": "2019-12-27 21:48:47,947", "created": 1577479727.9471827, "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": 947.1826553344727, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 234.24053192138672, "stack_info": null, "thread": 140673488709440, "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": "2019-12-27 21:48:47,947", "created": 1577479727.9475436, "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": 947.5436210632324, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 234.60149765014648, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" } ], "msecs": 947.9129314422607, "msg": "Cached data is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 234.9708080291748, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 0.0003693103790283203 } ], "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 0.005255222320556641, "time_finished": "2019-12-27 21:48:47,947", "time_start": "2019-12-27 21:48:47,942" }, "caching.property_cache_json: Test execution of save callback (full init)": { "args": null, "asctime": "2019-12-27 21:48:47,979", "created": 1577479727.9795744, "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": 979.57444190979, "msg": "caching.property_cache_json: Test execution of save callback (full init)", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 266.6323184967041, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2019-12-27 21:48:47,979", "created": 1577479727.9797332, "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": 979.7332286834717, "msg": "Installing save_callback, which sets a variable to True on execution.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_save_callback.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 266.79110527038574, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 0.0 }, { "args": [ "True", "" ], "asctime": "2019-12-27 21:48:47,980", "created": 1577479727.9804544, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Save callback execution variable is correct (Content True and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/save_callback_load_on_init.json" ], "asctime": "2019-12-27 21:48:47,980", "created": 1577479727.9800406, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/save_callback_load_on_init.json)", "module": "__init__", "msecs": 980.0405502319336, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 267.09842681884766, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "Save callback execution variable", "True", "" ], "asctime": "2019-12-27 21:48:47,980", "created": 1577479727.9802816, "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": 980.2815914154053, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 267.33946800231934, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "Save callback execution variable", "True", "" ], "asctime": "2019-12-27 21:48:47,980", "created": 1577479727.9803731, "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": 980.3731441497803, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 267.43102073669434, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" } ], "msecs": 980.4544448852539, "msg": "Save callback execution variable is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 267.51232147216797, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 8.130073547363281e-05 } ], "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 0.0008800029754638672, "time_finished": "2019-12-27 21:48:47,980", "time_start": "2019-12-27 21:48:47,979" }, "caching.property_cache_json: Test full initialised JSON-Cache-Object": { "args": null, "asctime": "2019-12-27 21:48:47,920", "created": 1577479727.9207084, "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": 920.708417892456, "msg": "caching.property_cache_json: Test full initialised JSON-Cache-Object", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 207.76629447937012, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2019-12-27 21:48:47,924", "created": 1577479727.9240148, "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": "2019-12-27 21:48:47,921", "created": 1577479727.921869, "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": 921.8690395355225, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 208.92691612243652, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/modules/caching/unittest/output_data/load_on_init.json" ], "asctime": "2019-12-27 21:48:47,922", "created": 1577479727.922417, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/modules/caching/unittest/output_data/load_on_init.json as cache file.", "module": "test_helpers", "msecs": 922.4169254302979, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 209.4748020172119, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2019-12-27 21:48:47,923", "created": 1577479727.9235475, "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": 923.5475063323975, "msg": "%s Cache file does not exists (yet).", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 210.60538291931152, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2019-12-27 21:48:47,923", "created": 1577479727.9236336, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 159, "message": "JsonCache: Loading all data from source - ['str', 'unicode', 'integer', 'float', 'list', 'dict']", "module": "__init__", "msecs": 923.6335754394531, "msg": "%s Loading all data from source - %s", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 210.6914520263672, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/load_on_init.json" ], "asctime": "2019-12-27 21:48:47,923", "created": 1577479727.9239197, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/load_on_init.json)", "module": "__init__", "msecs": 923.919677734375, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 210.97755432128906, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" } ], "msecs": 924.0148067474365, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 211.0726833343506, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 9.512901306152344e-05 }, { "args": [ "property_cache_json" ], "asctime": "2019-12-27 21:48:47,924", "created": 1577479727.924336, "exc_info": null, "exc_text": null, "filename": "test_load_on_init.py", "funcName": "load_on_init", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Extracting storage object from property_cache_json for comparison.", "module": "test_load_on_init", "moduleLogger": [ { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/load_on_init.json" ], "asctime": "2019-12-27 21:48:47,924", "created": 1577479727.9241836, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 225, "message": "JsonCache: Loading properties from cache (/user_data/data/dirk/prj/modules/caching/unittest/output_data/load_on_init.json)", "module": "__init__", "msecs": 924.1836071014404, "msg": "%s Loading properties from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 211.2414836883545, "stack_info": null, "thread": 140673488709440, "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": "2019-12-27 21:48:47,924", "created": 1577479727.9242501, "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": 924.2501258850098, "msg": "Using storage object of cache class for comparison: %s", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_load_on_init.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 211.30800247192383, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "_property_cache_data_version_", "_property_cache_uid_" ], "asctime": "2019-12-27 21:48:47,924", "created": 1577479727.9242969, "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": 924.2968559265137, "msg": "Deleting overhead keys: %s, %s", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_load_on_init.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 211.35473251342773, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" } ], "msecs": 924.3359565734863, "msg": "Extracting storage object from %s for comparison.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_load_on_init.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 211.3938331604004, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 3.910064697265625e-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": "2019-12-27 21:48:47,924", "created": 1577479727.9245756, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "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": "2019-12-27 21:48:47,924", "created": 1577479727.9244206, "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": 924.4205951690674, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 211.47847175598145, "stack_info": null, "thread": 140673488709440, "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": "2019-12-27 21:48:47,924", "created": 1577479727.924482, "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": 924.4821071624756, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 211.53998374938965, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" } ], "msecs": 924.5755672454834, "msg": "Cache object is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 211.63344383239746, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 9.34600830078125e-05 } ], "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 0.0038671493530273438, "time_finished": "2019-12-27 21:48:47,924", "time_start": "2019-12-27 21:48:47,920" }, "caching.property_cache_json: Test get from source caused by changed uid (full init)": { "args": null, "asctime": "2019-12-27 21:48:47,964", "created": 1577479727.9640696, "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": 964.0696048736572, "msg": "caching.property_cache_json: Test get from source caused by changed uid (full init)", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 251.1274814605713, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2019-12-27 21:48:47,966", "created": 1577479727.9666655, "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": "2019-12-27 21:48:47,964", "created": 1577479727.9644916, "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": 964.491605758667, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 251.54948234558105, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_load_on_init.json" ], "asctime": "2019-12-27 21:48:47,964", "created": 1577479727.9648514, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_load_on_init.json as cache file.", "module": "test_helpers", "msecs": 964.8513793945312, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 251.9092559814453, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2019-12-27 21:48:47,965", "created": 1577479727.965183, "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": 965.1830196380615, "msg": "%s Cache file does not exists (yet).", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 252.2408962249756, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2019-12-27 21:48:47,965", "created": 1577479727.9654331, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 159, "message": "JsonCache: Loading all data from source - ['str', 'unicode', 'integer', 'float', 'list', 'dict']", "module": "__init__", "msecs": 965.4331207275391, "msg": "%s Loading all data from source - %s", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 252.49099731445312, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_load_on_init.json" ], "asctime": "2019-12-27 21:48:47,966", "created": 1577479727.9663277, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_load_on_init.json)", "module": "__init__", "msecs": 966.3276672363281, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 253.3855438232422, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" } ], "msecs": 966.665506362915, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 253.7233829498291, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 0.00033783912658691406 }, { "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": "2019-12-27 21:48:47,970", "created": 1577479727.9705527, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Instance data after changing uid is correct (Content {'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '2': 2, '3': 'three', '4': '4'}} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_load_on_init.json" ], "asctime": "2019-12-27 21:48:47,967", "created": 1577479727.9673731, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 225, "message": "JsonCache: Loading properties from cache (/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_load_on_init.json)", "module": "__init__", "msecs": 967.3731327056885, "msg": "%s Loading properties from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 254.43100929260254, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2019-12-27 21:48:47,967", "created": 1577479727.9675546, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 128, "message": "JsonCache: Source uid changed, ignoring previous cache data", "module": "__init__", "msecs": 967.5545692443848, "msg": "%s Source uid changed, ignoring previous cache data", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 254.61244583129883, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2019-12-27 21:48:47,967", "created": 1577479727.967863, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 159, "message": "JsonCache: Loading all data from source - ['str', 'unicode', 'integer', 'float', 'list', 'dict']", "module": "__init__", "msecs": 967.8630828857422, "msg": "%s Loading all data from source - %s", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 254.92095947265625, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_load_on_init.json" ], "asctime": "2019-12-27 21:48:47,968", "created": 1577479727.9689257, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_load_on_init.json)", "module": "__init__", "msecs": 968.9257144927979, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 255.9835910797119, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "str", "'__string__'" ], "asctime": "2019-12-27 21:48:47,969", "created": 1577479727.969448, "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": 969.4480895996094, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 256.50596618652344, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "unicode", "'__unicode__'" ], "asctime": "2019-12-27 21:48:47,969", "created": 1577479727.9695773, "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": 969.5773124694824, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 256.6351890563965, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "integer", "34" ], "asctime": "2019-12-27 21:48:47,969", "created": 1577479727.9697692, "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": 969.7692394256592, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 256.82711601257324, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "float", "2.71828" ], "asctime": "2019-12-27 21:48:47,969", "created": 1577479727.9698765, "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": 969.8765277862549, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 256.93440437316895, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "list", "['one', 2, 3, '4']" ], "asctime": "2019-12-27 21:48:47,969", "created": 1577479727.9699705, "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": 969.9704647064209, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 257.02834129333496, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "dict", "{'1': '1', '2': 2, '3': 'three', '4': '4'}" ], "asctime": "2019-12-27 21:48:47,970", "created": 1577479727.9700499, "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": 970.0498580932617, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 257.1077346801758, "stack_info": null, "thread": 140673488709440, "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": "2019-12-27 21:48:47,970", "created": 1577479727.970211, "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": 970.2110290527344, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 257.26890563964844, "stack_info": null, "thread": 140673488709440, "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": "2019-12-27 21:48:47,970", "created": 1577479727.9703453, "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": 970.3452587127686, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 257.4031352996826, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" } ], "msecs": 970.5526828765869, "msg": "Instance data after changing uid is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 257.610559463501, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 0.00020742416381835938 } ], "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 0.0064830780029296875, "time_finished": "2019-12-27 21:48:47,970", "time_start": "2019-12-27 21:48:47,964" }, "caching.property_cache_json: Test get from source caused by changed uid (partially init)": { "args": null, "asctime": "2019-12-27 21:48:47,970", "created": 1577479727.970831, "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": 970.8309173583984, "msg": "caching.property_cache_json: Test get from source caused by changed uid (partially init)", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 257.8887939453125, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2019-12-27 21:48:47,972", "created": 1577479727.9725251, "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": "2019-12-27 21:48:47,971", "created": 1577479727.9710152, "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": 971.015214920044, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 258.073091506958, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2019-12-27 21:48:47,971", "created": 1577479727.9710944, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.json as cache file.", "module": "test_helpers", "msecs": 971.0943698883057, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 258.1522464752197, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2019-12-27 21:48:47,971", "created": 1577479727.971209, "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": 971.2090492248535, "msg": "%s Cache file does not exists (yet).", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 258.2669258117676, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2019-12-27 21:48:47,971", "created": 1577479727.9712975, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 159, "message": "JsonCache: Loading all data from source - ['str', 'unicode', 'integer', 'float', 'list', 'dict']", "module": "__init__", "msecs": 971.2975025177002, "msg": "%s Loading all data from source - %s", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 258.35537910461426, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2019-12-27 21:48:47,972", "created": 1577479727.972337, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.json)", "module": "__init__", "msecs": 972.337007522583, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 259.39488410949707, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" } ], "msecs": 972.5251197814941, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 259.5829963684082, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 0.0001881122589111328 }, { "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": "2019-12-27 21:48:47,979", "created": 1577479727.9793754, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Instance data after changing uid is correct (Content {'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '2': 2, '3': 'three', '4': '4'}} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2019-12-27 21:48:47,972", "created": 1577479727.972893, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 225, "message": "JsonCache: Loading properties from cache (/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.json)", "module": "__init__", "msecs": 972.8929996490479, "msg": "%s Loading properties from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 259.9508762359619, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2019-12-27 21:48:47,972", "created": 1577479727.9729798, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 128, "message": "JsonCache: Source uid changed, ignoring previous cache data", "module": "__init__", "msecs": 972.9797840118408, "msg": "%s Source uid changed, ignoring previous cache data", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 260.0376605987549, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2019-12-27 21:48:47,973", "created": 1577479727.9732761, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.json)", "module": "__init__", "msecs": 973.2761383056641, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 260.3340148925781, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "str", "'__string__'" ], "asctime": "2019-12-27 21:48:47,973", "created": 1577479727.9735394, "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": 973.5393524169922, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 260.59722900390625, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2019-12-27 21:48:47,973", "created": 1577479727.973887, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.json)", "module": "__init__", "msecs": 973.8869667053223, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 260.9448432922363, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "unicode", "'__unicode__'" ], "asctime": "2019-12-27 21:48:47,974", "created": 1577479727.974102, "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": 974.1020202636719, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 261.15989685058594, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2019-12-27 21:48:47,974", "created": 1577479727.9746788, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.json)", "module": "__init__", "msecs": 974.6787548065186, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 261.7366313934326, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "integer", "34" ], "asctime": "2019-12-27 21:48:47,975", "created": 1577479727.9750695, "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": 975.069522857666, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 262.1273994445801, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2019-12-27 21:48:47,975", "created": 1577479727.9753742, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.json)", "module": "__init__", "msecs": 975.3742218017578, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 262.4320983886719, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "float", "2.71828" ], "asctime": "2019-12-27 21:48:47,975", "created": 1577479727.9756422, "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": 975.642204284668, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 262.70008087158203, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2019-12-27 21:48:47,975", "created": 1577479727.975996, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.json)", "module": "__init__", "msecs": 975.9960174560547, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 263.05389404296875, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "list", "['one', 2, 3, '4']" ], "asctime": "2019-12-27 21:48:47,976", "created": 1577479727.976523, "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": 976.5229225158691, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 263.5807991027832, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2019-12-27 21:48:47,977", "created": 1577479727.97734, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.json)", "module": "__init__", "msecs": 977.3399829864502, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 264.39785957336426, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "dict", "{'1': '1', '2': 2, '3': 'three', '4': '4'}" ], "asctime": "2019-12-27 21:48:47,978", "created": 1577479727.978135, "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": 978.1351089477539, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 265.19298553466797, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2019-12-27 21:48:47,978", "created": 1577479727.9788244, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.json)", "module": "__init__", "msecs": 978.8243770599365, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 265.8822536468506, "stack_info": null, "thread": 140673488709440, "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": "2019-12-27 21:48:47,979", "created": 1577479727.979092, "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": 979.0918827056885, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 266.14975929260254, "stack_info": null, "thread": 140673488709440, "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": "2019-12-27 21:48:47,979", "created": 1577479727.9792085, "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": 979.2084693908691, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 266.2663459777832, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" } ], "msecs": 979.3753623962402, "msg": "Instance data after changing uid is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 266.4332389831543, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 0.00016689300537109375 } ], "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 0.008544445037841797, "time_finished": "2019-12-27 21:48:47,979", "time_start": "2019-12-27 21:48:47,970" }, "caching.property_cache_json: Test get from source caused by increased data version (full init)": { "args": null, "asctime": "2019-12-27 21:48:47,948", "created": 1577479727.9482589, "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": 948.2588768005371, "msg": "caching.property_cache_json: Test get from source caused by increased data version (full init)", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 235.31675338745117, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2019-12-27 21:48:47,951", "created": 1577479727.9513035, "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": "2019-12-27 21:48:47,948", "created": 1577479727.9485548, "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": 948.5547542572021, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 235.6126308441162, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_load_on_init.json" ], "asctime": "2019-12-27 21:48:47,948", "created": 1577479727.9489167, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_load_on_init.json as cache file.", "module": "test_helpers", "msecs": 948.9166736602783, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 235.97455024719238, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2019-12-27 21:48:47,949", "created": 1577479727.949224, "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": 949.2239952087402, "msg": "%s Cache file does not exists (yet).", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 236.2818717956543, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2019-12-27 21:48:47,949", "created": 1577479727.9493914, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 159, "message": "JsonCache: Loading all data from source - ['str', 'unicode', 'integer', 'float', 'list', 'dict']", "module": "__init__", "msecs": 949.3913650512695, "msg": "%s Loading all data from source - %s", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 236.4492416381836, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_load_on_init.json" ], "asctime": "2019-12-27 21:48:47,950", "created": 1577479727.9506466, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_load_on_init.json)", "module": "__init__", "msecs": 950.6466388702393, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 237.70451545715332, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" } ], "msecs": 951.3034820556641, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 238.36135864257812, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 0.0006568431854248047 }, { "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": "2019-12-27 21:48:47,954", "created": 1577479727.9541266, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Instance data after increasing data_version is correct (Content {'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '2': 2, '3': 'three', '4': '4'}} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_load_on_init.json" ], "asctime": "2019-12-27 21:48:47,952", "created": 1577479727.9520516, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 225, "message": "JsonCache: Loading properties from cache (/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_load_on_init.json)", "module": "__init__", "msecs": 952.0516395568848, "msg": "%s Loading properties from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 239.10951614379883, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2019-12-27 21:48:47,952", "created": 1577479727.9521823, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 130, "message": "JsonCache: Data version increased, ignoring previous cache data", "module": "__init__", "msecs": 952.1822929382324, "msg": "%s Data version increased, ignoring previous cache data", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 239.24016952514648, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2019-12-27 21:48:47,952", "created": 1577479727.9523075, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 159, "message": "JsonCache: Loading all data from source - ['str', 'unicode', 'integer', 'float', 'list', 'dict']", "module": "__init__", "msecs": 952.3074626922607, "msg": "%s Loading all data from source - %s", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 239.3653392791748, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_load_on_init.json" ], "asctime": "2019-12-27 21:48:47,952", "created": 1577479727.9528759, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_load_on_init.json)", "module": "__init__", "msecs": 952.8758525848389, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 239.93372917175293, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "str", "'__string__'" ], "asctime": "2019-12-27 21:48:47,953", "created": 1577479727.9532626, "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": 953.2625675201416, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 240.32044410705566, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "unicode", "'__unicode__'" ], "asctime": "2019-12-27 21:48:47,953", "created": 1577479727.9533324, "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": 953.3324241638184, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 240.39030075073242, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "integer", "34" ], "asctime": "2019-12-27 21:48:47,953", "created": 1577479727.9533775, "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": 953.3774852752686, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 240.43536186218262, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "float", "2.71828" ], "asctime": "2019-12-27 21:48:47,953", "created": 1577479727.953436, "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": 953.4358978271484, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 240.4937744140625, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "list", "['one', 2, 3, '4']" ], "asctime": "2019-12-27 21:48:47,953", "created": 1577479727.9534976, "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": 953.4976482391357, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 240.5555248260498, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "dict", "{'1': '1', '2': 2, '3': 'three', '4': '4'}" ], "asctime": "2019-12-27 21:48:47,953", "created": 1577479727.9535615, "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": 953.561544418335, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 240.61942100524902, "stack_info": null, "thread": 140673488709440, "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": "2019-12-27 21:48:47,953", "created": 1577479727.9537966, "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": 953.7966251373291, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 240.85450172424316, "stack_info": null, "thread": 140673488709440, "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": "2019-12-27 21:48:47,953", "created": 1577479727.9539032, "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": 953.9031982421875, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 240.96107482910156, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" } ], "msecs": 954.1265964508057, "msg": "Instance data after increasing data_version is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 241.18447303771973, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 0.00022339820861816406 } ], "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 0.005867719650268555, "time_finished": "2019-12-27 21:48:47,954", "time_start": "2019-12-27 21:48:47,948" }, "caching.property_cache_json: Test get from source caused by increased data version (partially init)": { "args": null, "asctime": "2019-12-27 21:48:47,954", "created": 1577479727.9543357, "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": 954.3356895446777, "msg": "caching.property_cache_json: Test get from source caused by increased data version (partially init)", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 241.3935661315918, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2019-12-27 21:48:47,955", "created": 1577479727.9556022, "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": "2019-12-27 21:48:47,954", "created": 1577479727.9545224, "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": 954.5223712921143, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 241.58024787902832, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.json" ], "asctime": "2019-12-27 21:48:47,954", "created": 1577479727.9546754, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.json as cache file.", "module": "test_helpers", "msecs": 954.6754360198975, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 241.73331260681152, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2019-12-27 21:48:47,954", "created": 1577479727.9548428, "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": 954.8428058624268, "msg": "%s Cache file does not exists (yet).", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 241.90068244934082, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2019-12-27 21:48:47,954", "created": 1577479727.9549363, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 159, "message": "JsonCache: Loading all data from source - ['str', 'unicode', 'integer', 'float', 'list', 'dict']", "module": "__init__", "msecs": 954.9362659454346, "msg": "%s Loading all data from source - %s", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 241.99414253234863, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.json" ], "asctime": "2019-12-27 21:48:47,955", "created": 1577479727.9554105, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.json)", "module": "__init__", "msecs": 955.4104804992676, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 242.46835708618164, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" } ], "msecs": 955.6021690368652, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 242.6600456237793, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 0.00019168853759765625 }, { "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": "2019-12-27 21:48:47,963", "created": 1577479727.9636214, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Instance data after increasing data_version is correct (Content {'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '2': 2, '3': 'three', '4': '4'}} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.json" ], "asctime": "2019-12-27 21:48:47,955", "created": 1577479727.9559493, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 225, "message": "JsonCache: Loading properties from cache (/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.json)", "module": "__init__", "msecs": 955.9493064880371, "msg": "%s Loading properties from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 243.00718307495117, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2019-12-27 21:48:47,956", "created": 1577479727.956035, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 130, "message": "JsonCache: Data version increased, ignoring previous cache data", "module": "__init__", "msecs": 956.0348987579346, "msg": "%s Data version increased, ignoring previous cache data", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 243.09277534484863, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.json" ], "asctime": "2019-12-27 21:48:47,956", "created": 1577479727.956309, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.json)", "module": "__init__", "msecs": 956.3090801239014, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 243.36695671081543, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "str", "'__string__'" ], "asctime": "2019-12-27 21:48:47,956", "created": 1577479727.9569175, "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": 956.9175243377686, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 243.97540092468262, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.json" ], "asctime": "2019-12-27 21:48:47,957", "created": 1577479727.9573789, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.json)", "module": "__init__", "msecs": 957.3788642883301, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 244.43674087524414, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "unicode", "'__unicode__'" ], "asctime": "2019-12-27 21:48:47,957", "created": 1577479727.9577348, "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": 957.7348232269287, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 244.79269981384277, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.json" ], "asctime": "2019-12-27 21:48:47,958", "created": 1577479727.9581842, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.json)", "module": "__init__", "msecs": 958.1842422485352, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 245.24211883544922, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "integer", "34" ], "asctime": "2019-12-27 21:48:47,958", "created": 1577479727.9587052, "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": 958.7051868438721, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 245.76306343078613, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.json" ], "asctime": "2019-12-27 21:48:47,959", "created": 1577479727.9593003, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.json)", "module": "__init__", "msecs": 959.3002796173096, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 246.35815620422363, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "float", "2.71828" ], "asctime": "2019-12-27 21:48:47,959", "created": 1577479727.9597774, "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": 959.7773551940918, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 246.83523178100586, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.json" ], "asctime": "2019-12-27 21:48:47,960", "created": 1577479727.9604533, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.json)", "module": "__init__", "msecs": 960.4532718658447, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 247.5111484527588, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "list", "['one', 2, 3, '4']" ], "asctime": "2019-12-27 21:48:47,961", "created": 1577479727.9610004, "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": 961.0004425048828, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 248.05831909179688, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.json" ], "asctime": "2019-12-27 21:48:47,961", "created": 1577479727.9614096, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.json)", "module": "__init__", "msecs": 961.4095687866211, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 248.46744537353516, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "dict", "{'1': '1', '2': 2, '3': 'three', '4': '4'}" ], "asctime": "2019-12-27 21:48:47,961", "created": 1577479727.9617436, "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": 961.7435932159424, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 248.80146980285645, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.json" ], "asctime": "2019-12-27 21:48:47,962", "created": 1577479727.9623559, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.json)", "module": "__init__", "msecs": 962.3558521270752, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 249.41372871398926, "stack_info": null, "thread": 140673488709440, "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": "2019-12-27 21:48:47,963", "created": 1577479727.9630287, "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": 963.0286693572998, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 250.08654594421387, "stack_info": null, "thread": 140673488709440, "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": "2019-12-27 21:48:47,963", "created": 1577479727.9632835, "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": 963.2835388183594, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 250.34141540527344, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" } ], "msecs": 963.6213779449463, "msg": "Instance data after increasing data_version is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 250.67925453186035, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 0.00033783912658691406 } ], "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 0.009285688400268555, "time_finished": "2019-12-27 21:48:47,963", "time_start": "2019-12-27 21:48:47,954" }, "caching.property_cache_json: Test internal key usage": { "args": null, "asctime": "2019-12-27 21:48:47,980", "created": 1577479727.980656, "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": 980.6559085845947, "msg": "caching.property_cache_json: Test internal key usage", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 267.7137851715088, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2019-12-27 21:48:47,982", "created": 1577479727.9820487, "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": "2019-12-27 21:48:47,980", "created": 1577479727.9808366, "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": 980.8366298675537, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 267.8945064544678, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/modules/caching/unittest/output_data/internal_keys_test.json" ], "asctime": "2019-12-27 21:48:47,981", "created": 1577479727.9810035, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/modules/caching/unittest/output_data/internal_keys_test.json as cache file.", "module": "test_helpers", "msecs": 981.0035228729248, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 268.06139945983887, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2019-12-27 21:48:47,981", "created": 1577479727.981196, "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": 981.1959266662598, "msg": "%s Cache file does not exists (yet).", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 268.2538032531738, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "['_property_cache_uid_', '__property_cache_uid_', '_property_cache_data_version_', '__property_cache_data_version_']" ], "asctime": "2019-12-27 21:48:47,981", "created": 1577479727.9813166, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 159, "message": "JsonCache: Loading all data from source - ['_property_cache_uid_', '__property_cache_uid_', '_property_cache_data_version_', '__property_cache_data_version_']", "module": "__init__", "msecs": 981.3165664672852, "msg": "%s Loading all data from source - %s", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 268.3744430541992, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/internal_keys_test.json" ], "asctime": "2019-12-27 21:48:47,981", "created": 1577479727.9818256, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/internal_keys_test.json)", "module": "__init__", "msecs": 981.825590133667, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 268.88346672058105, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" } ], "msecs": 982.048749923706, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 269.1066265106201, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 0.0002231597900390625 }, { "args": [ "property_cache_json" ], "asctime": "2019-12-27 21:48:47,982", "created": 1577479727.982763, "exc_info": null, "exc_text": null, "filename": "test_internal_keys.py", "funcName": "test_internal_keys", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Extracting storage object from property_cache_json for comparison.", "module": "test_internal_keys", "moduleLogger": [ { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/internal_keys_test.json" ], "asctime": "2019-12-27 21:48:47,982", "created": 1577479727.9824693, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 225, "message": "JsonCache: Loading properties from cache (/user_data/data/dirk/prj/modules/caching/unittest/output_data/internal_keys_test.json)", "module": "__init__", "msecs": 982.4693202972412, "msg": "%s Loading properties from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 269.5271968841553, "stack_info": null, "thread": 140673488709440, "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": "2019-12-27 21:48:47,982", "created": 1577479727.9825866, "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": 982.5866222381592, "msg": "Using storage object of cache class for comparison: %s", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_internal_keys.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 269.64449882507324, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "_property_cache_data_version_", "_property_cache_uid_" ], "asctime": "2019-12-27 21:48:47,982", "created": 1577479727.9827, "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": 982.7001094818115, "msg": "Deleting overhead keys: %s, %s", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_internal_keys.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 269.7579860687256, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" } ], "msecs": 982.7630519866943, "msg": "Extracting storage object from %s for comparison.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_internal_keys.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 269.8209285736084, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 6.29425048828125e-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": "2019-12-27 21:48:47,983", "created": 1577479727.983213, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "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": "2019-12-27 21:48:47,982", "created": 1577479727.9829535, "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": 982.9535484313965, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 270.01142501831055, "stack_info": null, "thread": 140673488709440, "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": "2019-12-27 21:48:47,983", "created": 1577479727.9830666, "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": 983.0665588378906, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 270.1244354248047, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" } ], "msecs": 983.212947845459, "msg": "Cache is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 270.27082443237305, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 0.00014638900756835938 }, { "args": [ "5", "" ], "asctime": "2019-12-27 21:48:47,983", "created": 1577479727.9834547, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Keyfilter returnvalue for 5 () is correct (Content 5 and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Keyfilter returnvalue for 5 ()", "5", "" ], "asctime": "2019-12-27 21:48:47,983", "created": 1577479727.9833298, "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": 983.3297729492188, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 270.3876495361328, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "Keyfilter returnvalue for 5 ()", "5", "" ], "asctime": "2019-12-27 21:48:47,983", "created": 1577479727.9833913, "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": 983.391284942627, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 270.449161529541, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" } ], "msecs": 983.454704284668, "msg": "Keyfilter returnvalue for 5 () is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 270.51258087158203, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 6.341934204101562e-05 } ], "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 0.002798795700073242, "time_finished": "2019-12-27 21:48:47,983", "time_start": "2019-12-27 21:48:47,980" }, "caching.property_cache_json: Test partially initialisation of JSON-Cache-Object": { "args": null, "asctime": "2019-12-27 21:48:47,924", "created": 1577479727.924668, "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": 924.6680736541748, "msg": "caching.property_cache_json: Test partially initialisation of JSON-Cache-Object", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 211.72595024108887, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_json", "False" ], "asctime": "2019-12-27 21:48:47,925", "created": 1577479727.9250605, "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": "2019-12-27 21:48:47,924", "created": 1577479727.9247422, "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": 924.7422218322754, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 211.80009841918945, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/modules/caching/unittest/output_data/no_load_on_init.json" ], "asctime": "2019-12-27 21:48:47,924", "created": 1577479727.9248123, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/modules/caching/unittest/output_data/no_load_on_init.json as cache file.", "module": "test_helpers", "msecs": 924.8123168945312, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 211.8701934814453, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:" ], "asctime": "2019-12-27 21:48:47,924", "created": 1577479727.9248714, "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": 924.8714447021484, "msg": "%s Cache file does not exists (yet).", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 211.9293212890625, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/no_load_on_init.json" ], "asctime": "2019-12-27 21:48:47,924", "created": 1577479727.924994, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/no_load_on_init.json)", "module": "__init__", "msecs": 924.9939918518066, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 212.0518684387207, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" } ], "msecs": 925.060510635376, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 212.11838722229004, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 6.651878356933594e-05 }, { "args": [], "asctime": "2019-12-27 21:48:47,930", "created": 1577479727.9300435, "exc_info": null, "exc_text": null, "filename": "test_no_load_on_init.py", "funcName": "no_load_on_init", "levelname": "DEBUG", "levelno": 10, "lineno": 18, "message": "Partially initialising cache object by requesting some information.", "module": "test_no_load_on_init", "moduleLogger": [ { "args": [ "JsonCache:", "str", "'string'" ], "asctime": "2019-12-27 21:48:47,925", "created": 1577479727.9251256, "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": 925.1255989074707, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 212.18347549438477, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/no_load_on_init.json" ], "asctime": "2019-12-27 21:48:47,925", "created": 1577479727.9252398, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/no_load_on_init.json)", "module": "__init__", "msecs": 925.2398014068604, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 212.2976779937744, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "unicode", "'unicode'" ], "asctime": "2019-12-27 21:48:47,925", "created": 1577479727.9253454, "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": 925.3454208374023, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 212.4032974243164, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/no_load_on_init.json" ], "asctime": "2019-12-27 21:48:47,927", "created": 1577479727.9278483, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/no_load_on_init.json)", "module": "__init__", "msecs": 927.8483390808105, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 214.9062156677246, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "integer", "17" ], "asctime": "2019-12-27 21:48:47,928", "created": 1577479727.928485, "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": 928.4849166870117, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 215.54279327392578, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/no_load_on_init.json" ], "asctime": "2019-12-27 21:48:47,929", "created": 1577479727.929041, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 234, "message": "JsonCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/no_load_on_init.json)", "module": "__init__", "msecs": 929.0409088134766, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 216.09878540039062, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" } ], "msecs": 930.0434589385986, "msg": "Partially initialising cache object by requesting some information.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_no_load_on_init.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 217.1013355255127, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 0.0010025501251220703 }, { "args": [ "property_cache_json" ], "asctime": "2019-12-27 21:48:47,933", "created": 1577479727.9335427, "exc_info": null, "exc_text": null, "filename": "test_no_load_on_init.py", "funcName": "no_load_on_init", "levelname": "DEBUG", "levelno": 10, "lineno": 27, "message": "Extracting storage object from property_cache_json for comparison.", "module": "test_no_load_on_init", "moduleLogger": [ { "args": [ "JsonCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/no_load_on_init.json" ], "asctime": "2019-12-27 21:48:47,931", "created": 1577479727.9313648, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 225, "message": "JsonCache: Loading properties from cache (/user_data/data/dirk/prj/modules/caching/unittest/output_data/no_load_on_init.json)", "module": "__init__", "msecs": 931.3647747039795, "msg": "%s Loading properties from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 218.42265129089355, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "{'_property_cache_data_version_': 1, '_property_cache_uid_': 'my_unique_id', 'integer': 17, 'str': 'string', 'unicode': 'unicode'}" ], "asctime": "2019-12-27 21:48:47,933", "created": 1577479727.9330623, "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": 933.0623149871826, "msg": "Using storage object of cache class for comparison: %s", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_no_load_on_init.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 220.12019157409668, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "_property_cache_data_version_", "_property_cache_uid_" ], "asctime": "2019-12-27 21:48:47,933", "created": 1577479727.933344, "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": 933.3438873291016, "msg": "Deleting overhead keys: %s, %s", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_no_load_on_init.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 220.40176391601562, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" } ], "msecs": 933.5427284240723, "msg": "Extracting storage object from %s for comparison.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_no_load_on_init.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 220.60060501098633, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 0.00019884109497070312 }, { "args": [ "{'integer': 17, 'str': 'string', 'unicode': 'unicode'}", "" ], "asctime": "2019-12-27 21:48:47,934", "created": 1577479727.9348218, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "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": "2019-12-27 21:48:47,934", "created": 1577479727.934161, "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": 934.1609477996826, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 221.21882438659668, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "Cache object", "{ 'str': 'string', 'unicode': 'unicode', 'integer': 17 }", "" ], "asctime": "2019-12-27 21:48:47,934", "created": 1577479727.9344916, "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": 934.4916343688965, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 221.54951095581055, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" } ], "msecs": 934.8218441009521, "msg": "Cache object is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 221.8797206878662, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 0.00033020973205566406 } ], "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 0.010153770446777344, "time_finished": "2019-12-27 21:48:47,934", "time_start": "2019-12-27 21:48:47,924" }, "caching.property_cache_pickle: Test cached data (full init)": { "args": null, "asctime": "2019-12-27 21:48:47,989", "created": 1577479727.9891186, "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": 989.1185760498047, "msg": "caching.property_cache_pickle: Test cached data (full init)", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 276.17645263671875, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2019-12-27 21:48:47,989", "created": 1577479727.9899492, "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": "2019-12-27 21:48:47,989", "created": 1577479727.9892282, "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": 989.2282485961914, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 276.28612518310547, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/modules/caching/unittest/output_data/cache_data_test_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:47,989", "created": 1577479727.9893339, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/modules/caching/unittest/output_data/cache_data_test_load_on_init.pkl as cache file.", "module": "test_helpers", "msecs": 989.3338680267334, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 276.39174461364746, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2019-12-27 21:48:47,989", "created": 1577479727.9894848, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 145, "message": "PickCache: Cache file does not exists (yet).", "module": "__init__", "msecs": 989.4847869873047, "msg": "%s Cache file does not exists (yet).", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 276.54266357421875, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2019-12-27 21:48:47,989", "created": 1577479727.9895606, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 159, "message": "PickCache: Loading all data from source - ['str', 'unicode', 'integer', 'float', 'list', 'dict']", "module": "__init__", "msecs": 989.560604095459, "msg": "%s Loading all data from source - %s", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 276.61848068237305, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/cache_data_test_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:47,989", "created": 1577479727.9898334, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 167, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/cache_data_test_load_on_init.pkl)", "module": "__init__", "msecs": 989.8333549499512, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 276.89123153686523, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" } ], "msecs": 989.9492263793945, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 277.0071029663086, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 0.00011587142944335938 }, { "args": [], "asctime": "2019-12-27 21:48:47,990", "created": 1577479727.9907923, "exc_info": null, "exc_text": null, "filename": "test_cached_data.py", "funcName": "cached_data", "levelname": "DEBUG", "levelno": 10, "lineno": 19, "message": "Collecting data from cache instance.", "module": "test_cached_data", "moduleLogger": [ { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/cache_data_test_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:47,990", "created": 1577479727.9901733, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "PickCache: Loading properties from cache (/user_data/data/dirk/prj/modules/caching/unittest/output_data/cache_data_test_load_on_init.pkl)", "module": "__init__", "msecs": 990.17333984375, "msg": "%s Loading properties from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 277.23121643066406, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "str", "'string'" ], "asctime": "2019-12-27 21:48:47,990", "created": 1577479727.9902687, "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": 990.2687072753906, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 277.3265838623047, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "unicode", "'unicode'" ], "asctime": "2019-12-27 21:48:47,990", "created": 1577479727.990354, "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": 990.354061126709, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 277.41193771362305, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "integer", "17" ], "asctime": "2019-12-27 21:48:47,990", "created": 1577479727.9904299, "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": 990.4298782348633, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 277.48775482177734, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "float", "3.14159" ], "asctime": "2019-12-27 21:48:47,990", "created": 1577479727.9905193, "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": 990.5192852020264, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 277.57716178894043, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "list", "[1, 'two', '3', 4]" ], "asctime": "2019-12-27 21:48:47,990", "created": 1577479727.9905922, "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": 990.5922412872314, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 277.6501178741455, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "dict", "{'1': 1, '2': 'two', '3': '3', '4': 4}" ], "asctime": "2019-12-27 21:48:47,990", "created": 1577479727.9906669, "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": 990.6668663024902, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 277.7247428894043, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "uncached" ], "asctime": "2019-12-27 21:48:47,990", "created": 1577479727.9907348, "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": 990.7348155975342, "msg": "%s Key '%s' is not in cached_keys. Uncached data will be returned.", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 277.79269218444824, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" } ], "msecs": 990.7922744750977, "msg": "Collecting data from cache instance.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_cached_data.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 277.8501510620117, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 5.745887756347656e-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": "2019-12-27 21:48:47,991", "created": 1577479727.9911356, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "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": "2019-12-27 21:48:47,990", "created": 1577479727.990928, "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": 990.9279346466064, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 277.9858112335205, "stack_info": null, "thread": 140673488709440, "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": "2019-12-27 21:48:47,991", "created": 1577479727.9910443, "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": 991.044282913208, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 278.10215950012207, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" } ], "msecs": 991.1355972290039, "msg": "Cached data is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 278.19347381591797, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 9.131431579589844e-05 } ], "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 0.0020170211791992188, "time_finished": "2019-12-27 21:48:47,991", "time_start": "2019-12-27 21:48:47,989" }, "caching.property_cache_pickle: Test cached data (partially init)": { "args": null, "asctime": "2019-12-27 21:48:47,991", "created": 1577479727.9912245, "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": 991.2245273590088, "msg": "caching.property_cache_pickle: Test cached data (partially init)", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 278.28240394592285, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2019-12-27 21:48:47,991", "created": 1577479727.9916193, "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": "2019-12-27 21:48:47,991", "created": 1577479727.9912903, "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": 991.2903308868408, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 278.3482074737549, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/modules/caching/unittest/output_data/cache_data_test_no_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:47,991", "created": 1577479727.9913502, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/modules/caching/unittest/output_data/cache_data_test_no_load_on_init.pkl as cache file.", "module": "test_helpers", "msecs": 991.3501739501953, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 278.4080505371094, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2019-12-27 21:48:47,991", "created": 1577479727.9914126, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 145, "message": "PickCache: Cache file does not exists (yet).", "module": "__init__", "msecs": 991.4126396179199, "msg": "%s Cache file does not exists (yet).", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 278.470516204834, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2019-12-27 21:48:47,991", "created": 1577479727.9914596, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 159, "message": "PickCache: Loading all data from source - ['str', 'unicode', 'integer', 'float', 'list', 'dict']", "module": "__init__", "msecs": 991.4596080780029, "msg": "%s Loading all data from source - %s", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 278.517484664917, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/cache_data_test_no_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:47,991", "created": 1577479727.9915576, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 167, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/cache_data_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 991.5575981140137, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 278.61547470092773, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" } ], "msecs": 991.619348526001, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 278.67722511291504, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 6.175041198730469e-05 }, { "args": [], "asctime": "2019-12-27 21:48:47,992", "created": 1577479727.992065, "exc_info": null, "exc_text": null, "filename": "test_cached_data.py", "funcName": "cached_data", "levelname": "DEBUG", "levelno": 10, "lineno": 19, "message": "Collecting data from cache instance.", "module": "test_cached_data", "moduleLogger": [ { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/cache_data_test_no_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:47,991", "created": 1577479727.9917223, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "PickCache: Loading properties from cache (/user_data/data/dirk/prj/modules/caching/unittest/output_data/cache_data_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 991.7223453521729, "msg": "%s Loading properties from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 278.7802219390869, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "str", "'string'" ], "asctime": "2019-12-27 21:48:47,991", "created": 1577479727.9917731, "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": 991.7731285095215, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 278.83100509643555, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "unicode", "'unicode'" ], "asctime": "2019-12-27 21:48:47,991", "created": 1577479727.9918175, "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": 991.8174743652344, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 278.87535095214844, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "integer", "17" ], "asctime": "2019-12-27 21:48:47,991", "created": 1577479727.991862, "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": 991.8620586395264, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 278.91993522644043, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "float", "3.14159" ], "asctime": "2019-12-27 21:48:47,991", "created": 1577479727.9919128, "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": 991.912841796875, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 278.97071838378906, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "list", "[1, 'two', '3', 4]" ], "asctime": "2019-12-27 21:48:47,991", "created": 1577479727.991954, "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": 991.9540882110596, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 279.01196479797363, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "dict", "{'1': 1, '2': 'two', '3': '3', '4': 4}" ], "asctime": "2019-12-27 21:48:47,991", "created": 1577479727.991996, "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": 991.9960498809814, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 279.0539264678955, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "uncached" ], "asctime": "2019-12-27 21:48:47,992", "created": 1577479727.9920323, "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": 992.0322895050049, "msg": "%s Key '%s' is not in cached_keys. Uncached data will be returned.", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 279.09016609191895, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" } ], "msecs": 992.0649528503418, "msg": "Collecting data from cache instance.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_cached_data.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 279.12282943725586, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 3.266334533691406e-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": "2019-12-27 21:48:47,992", "created": 1577479727.9922805, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "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": "2019-12-27 21:48:47,992", "created": 1577479727.9921393, "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": 992.1393394470215, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 279.19721603393555, "stack_info": null, "thread": 140673488709440, "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": "2019-12-27 21:48:47,992", "created": 1577479727.9921935, "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": 992.1934604644775, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 279.2513370513916, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" } ], "msecs": 992.2804832458496, "msg": "Cached data is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 279.3383598327637, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 8.702278137207031e-05 } ], "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 0.0010559558868408203, "time_finished": "2019-12-27 21:48:47,992", "time_start": "2019-12-27 21:48:47,991" }, "caching.property_cache_pickle: Test execution of save callback (full init)": { "args": null, "asctime": "2019-12-27 21:48:48,014", "created": 1577479728.0141697, "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": 14.169692993164062, "msg": "caching.property_cache_pickle: Test execution of save callback (full init)", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 301.2275695800781, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2019-12-27 21:48:48,014", "created": 1577479728.0147393, "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": 14.739274978637695, "msg": "Installing save_callback, which sets a variable to True on execution.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_save_callback.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 301.79715156555176, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 0.0 }, { "args": [ "True", "" ], "asctime": "2019-12-27 21:48:48,016", "created": 1577479728.016376, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Save callback execution variable is correct (Content True and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/save_callback_load_on_init.json" ], "asctime": "2019-12-27 21:48:48,015", "created": 1577479728.015396, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 167, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/save_callback_load_on_init.json)", "module": "__init__", "msecs": 15.3961181640625, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 302.45399475097656, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "Save callback execution variable", "True", "" ], "asctime": "2019-12-27 21:48:48,015", "created": 1577479728.0159948, "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": 15.994787216186523, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 303.0526638031006, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "Save callback execution variable", "True", "" ], "asctime": "2019-12-27 21:48:48,016", "created": 1577479728.016203, "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": 16.202926635742188, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 303.26080322265625, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" } ], "msecs": 16.376018524169922, "msg": "Save callback execution variable is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 303.433895111084, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 0.00017309188842773438 } ], "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 0.0022063255310058594, "time_finished": "2019-12-27 21:48:48,016", "time_start": "2019-12-27 21:48:48,014" }, "caching.property_cache_pickle: Test full initialised PICKLE-Cache-Object": { "args": null, "asctime": "2019-12-27 21:48:47,983", "created": 1577479727.983616, "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": 983.6161136627197, "msg": "caching.property_cache_pickle: Test full initialised PICKLE-Cache-Object", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 270.6739902496338, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2019-12-27 21:48:47,984", "created": 1577479727.984525, "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": "2019-12-27 21:48:47,983", "created": 1577479727.9837682, "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": 983.7682247161865, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 270.8261013031006, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/modules/caching/unittest/output_data/load_on_init.pkl" ], "asctime": "2019-12-27 21:48:47,983", "created": 1577479727.9839187, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/modules/caching/unittest/output_data/load_on_init.pkl as cache file.", "module": "test_helpers", "msecs": 983.9186668395996, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 270.9765434265137, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2019-12-27 21:48:47,984", "created": 1577479727.9840474, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 145, "message": "PickCache: Cache file does not exists (yet).", "module": "__init__", "msecs": 984.0474128723145, "msg": "%s Cache file does not exists (yet).", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 271.1052894592285, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2019-12-27 21:48:47,984", "created": 1577479727.9841487, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 159, "message": "PickCache: Loading all data from source - ['str', 'unicode', 'integer', 'float', 'list', 'dict']", "module": "__init__", "msecs": 984.1487407684326, "msg": "%s Loading all data from source - %s", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 271.2066173553467, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/load_on_init.pkl" ], "asctime": "2019-12-27 21:48:47,984", "created": 1577479727.9843946, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 167, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/load_on_init.pkl)", "module": "__init__", "msecs": 984.3945503234863, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 271.4524269104004, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" } ], "msecs": 984.5249652862549, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 271.58284187316895, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 0.0001304149627685547 }, { "args": [ "property_cache_pickle" ], "asctime": "2019-12-27 21:48:47,985", "created": 1577479727.9850318, "exc_info": null, "exc_text": null, "filename": "test_load_on_init.py", "funcName": "load_on_init", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Extracting storage object from property_cache_pickle for comparison.", "module": "test_load_on_init", "moduleLogger": [ { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/load_on_init.pkl" ], "asctime": "2019-12-27 21:48:47,984", "created": 1577479727.9847262, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "PickCache: Loading properties from cache (/user_data/data/dirk/prj/modules/caching/unittest/output_data/load_on_init.pkl)", "module": "__init__", "msecs": 984.7261905670166, "msg": "%s Loading properties from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 271.78406715393066, "stack_info": null, "thread": 140673488709440, "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": "2019-12-27 21:48:47,984", "created": 1577479727.984854, "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": 984.853982925415, "msg": "Using storage object of cache class for comparison: %s", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_load_on_init.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 271.9118595123291, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "_property_cache_data_version_", "_property_cache_uid_" ], "asctime": "2019-12-27 21:48:47,984", "created": 1577479727.984952, "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": 984.9519729614258, "msg": "Deleting overhead keys: %s, %s", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_load_on_init.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 272.00984954833984, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" } ], "msecs": 985.0318431854248, "msg": "Extracting storage object from %s for comparison.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_load_on_init.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 272.08971977233887, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 7.987022399902344e-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": "2019-12-27 21:48:47,985", "created": 1577479727.985835, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "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": "2019-12-27 21:48:47,985", "created": 1577479727.9852505, "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": 985.2504730224609, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 272.308349609375, "stack_info": null, "thread": 140673488709440, "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": "2019-12-27 21:48:47,985", "created": 1577479727.9854167, "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": 985.4166507720947, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 272.4745273590088, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" } ], "msecs": 985.835075378418, "msg": "Cache object is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 272.89295196533203, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 0.0004184246063232422 } ], "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 0.002218961715698242, "time_finished": "2019-12-27 21:48:47,985", "time_start": "2019-12-27 21:48:47,983" }, "caching.property_cache_pickle: Test get from source caused by changed uid (full init)": { "args": null, "asctime": "2019-12-27 21:48:48,002", "created": 1577479728.0029087, "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": 2.9087066650390625, "msg": "caching.property_cache_pickle: Test get from source caused by changed uid (full init)", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 289.9665832519531, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2019-12-27 21:48:48,004", "created": 1577479728.0045407, "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": "2019-12-27 21:48:48,003", "created": 1577479728.0033116, "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": 3.311634063720703, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 290.36951065063477, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:48,003", "created": 1577479728.003592, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_load_on_init.pkl as cache file.", "module": "test_helpers", "msecs": 3.5920143127441406, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 290.6498908996582, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2019-12-27 21:48:48,003", "created": 1577479728.0038369, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 145, "message": "PickCache: Cache file does not exists (yet).", "module": "__init__", "msecs": 3.8368701934814453, "msg": "%s Cache file does not exists (yet).", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 290.8947467803955, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2019-12-27 21:48:48,003", "created": 1577479728.0039675, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 159, "message": "PickCache: Loading all data from source - ['str', 'unicode', 'integer', 'float', 'list', 'dict']", "module": "__init__", "msecs": 3.9675235748291016, "msg": "%s Loading all data from source - %s", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 291.02540016174316, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:48,004", "created": 1577479728.0042646, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 167, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_load_on_init.pkl)", "module": "__init__", "msecs": 4.264593124389648, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 291.3224697113037, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" } ], "msecs": 4.540681838989258, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 291.5985584259033, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 0.0002760887145996094 }, { "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": "2019-12-27 21:48:48,007", "created": 1577479728.007305, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Instance data after changing uid is correct (Content {'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '2': 2, '3': 'three', '4': '4'}} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:48,005", "created": 1577479728.0050027, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "PickCache: Loading properties from cache (/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_load_on_init.pkl)", "module": "__init__", "msecs": 5.002737045288086, "msg": "%s Loading properties from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 292.06061363220215, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2019-12-27 21:48:48,005", "created": 1577479728.0052269, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 128, "message": "PickCache: Source uid changed, ignoring previous cache data", "module": "__init__", "msecs": 5.226850509643555, "msg": "%s Source uid changed, ignoring previous cache data", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 292.2847270965576, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2019-12-27 21:48:48,005", "created": 1577479728.005477, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 159, "message": "PickCache: Loading all data from source - ['str', 'unicode', 'integer', 'float', 'list', 'dict']", "module": "__init__", "msecs": 5.476951599121094, "msg": "%s Loading all data from source - %s", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 292.53482818603516, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:48,005", "created": 1577479728.0059338, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 167, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_load_on_init.pkl)", "module": "__init__", "msecs": 5.9337615966796875, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 292.99163818359375, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "str", "'__string__'" ], "asctime": "2019-12-27 21:48:48,006", "created": 1577479728.0063214, "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": 6.321430206298828, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 293.3793067932129, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "unicode", "'__unicode__'" ], "asctime": "2019-12-27 21:48:48,006", "created": 1577479728.0065446, "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": 6.544589996337891, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 293.60246658325195, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "integer", "34" ], "asctime": "2019-12-27 21:48:48,006", "created": 1577479728.0067358, "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": 6.735801696777344, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 293.7936782836914, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "float", "2.71828" ], "asctime": "2019-12-27 21:48:48,006", "created": 1577479728.006852, "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": 6.851911544799805, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 293.90978813171387, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "list", "['one', 2, 3, '4']" ], "asctime": "2019-12-27 21:48:48,006", "created": 1577479728.0069141, "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": 6.9141387939453125, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 293.9720153808594, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "dict", "{'1': '1', '2': 2, '3': 'three', '4': '4'}" ], "asctime": "2019-12-27 21:48:48,006", "created": 1577479728.0069714, "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": 6.9713592529296875, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 294.02923583984375, "stack_info": null, "thread": 140673488709440, "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": "2019-12-27 21:48:48,007", "created": 1577479728.0070708, "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": 7.070779800415039, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 294.1286563873291, "stack_info": null, "thread": 140673488709440, "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": "2019-12-27 21:48:48,007", "created": 1577479728.007171, "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": 7.170915603637695, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 294.22879219055176, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" } ], "msecs": 7.304906845092773, "msg": "Instance data after changing uid is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 294.36278343200684, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 0.00013399124145507812 } ], "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 0.004396200180053711, "time_finished": "2019-12-27 21:48:48,007", "time_start": "2019-12-27 21:48:48,002" }, "caching.property_cache_pickle: Test get from source caused by changed uid (partially init)": { "args": null, "asctime": "2019-12-27 21:48:48,007", "created": 1577479728.0074735, "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": 7.473468780517578, "msg": "caching.property_cache_pickle: Test get from source caused by changed uid (partially init)", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 294.53134536743164, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2019-12-27 21:48:48,008", "created": 1577479728.0082824, "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": "2019-12-27 21:48:48,007", "created": 1577479728.0075858, "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": 7.585763931274414, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 294.6436405181885, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:48,007", "created": 1577479728.0077124, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.pkl as cache file.", "module": "test_helpers", "msecs": 7.712364196777344, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 294.7702407836914, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2019-12-27 21:48:48,007", "created": 1577479728.0078623, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 145, "message": "PickCache: Cache file does not exists (yet).", "module": "__init__", "msecs": 7.862329483032227, "msg": "%s Cache file does not exists (yet).", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 294.9202060699463, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2019-12-27 21:48:48,007", "created": 1577479728.007977, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 159, "message": "PickCache: Loading all data from source - ['str', 'unicode', 'integer', 'float', 'list', 'dict']", "module": "__init__", "msecs": 7.977008819580078, "msg": "%s Loading all data from source - %s", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 295.03488540649414, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:48,008", "created": 1577479728.008161, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 167, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 8.161067962646484, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 295.21894454956055, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" } ], "msecs": 8.28242301940918, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 295.34029960632324, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 0.00012135505676269531 }, { "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": "2019-12-27 21:48:48,013", "created": 1577479728.013194, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Instance data after changing uid is correct (Content {'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '2': 2, '3': 'three', '4': '4'}} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:48,008", "created": 1577479728.008493, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "PickCache: Loading properties from cache (/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 8.49294662475586, "msg": "%s Loading properties from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 295.5508232116699, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2019-12-27 21:48:48,008", "created": 1577479728.0085917, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 128, "message": "PickCache: Source uid changed, ignoring previous cache data", "module": "__init__", "msecs": 8.591651916503906, "msg": "%s Source uid changed, ignoring previous cache data", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 295.64952850341797, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:48,008", "created": 1577479728.0087507, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 167, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 8.750677108764648, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 295.8085536956787, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "str", "'__string__'" ], "asctime": "2019-12-27 21:48:48,008", "created": 1577479728.0089312, "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": 8.931159973144531, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 295.9890365600586, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:48,009", "created": 1577479728.0090873, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 167, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 9.087324142456055, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 296.1452007293701, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "unicode", "'__unicode__'" ], "asctime": "2019-12-27 21:48:48,009", "created": 1577479728.0092506, "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": 9.250640869140625, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 296.3085174560547, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:48,009", "created": 1577479728.009396, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 167, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 9.396076202392578, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 296.45395278930664, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "integer", "34" ], "asctime": "2019-12-27 21:48:48,009", "created": 1577479728.009722, "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": 9.721994400024414, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 296.7798709869385, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:48,009", "created": 1577479728.0099049, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 167, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 9.904861450195312, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 296.9627380371094, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "float", "2.71828" ], "asctime": "2019-12-27 21:48:48,010", "created": 1577479728.0101912, "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": 10.191202163696289, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 297.24907875061035, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:48,010", "created": 1577479728.0104876, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 167, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 10.487556457519531, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 297.5454330444336, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "list", "['one', 2, 3, '4']" ], "asctime": "2019-12-27 21:48:48,010", "created": 1577479728.0108016, "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": 10.801553726196289, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 297.85943031311035, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:48,011", "created": 1577479728.0110416, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 167, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 11.041641235351562, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 298.0995178222656, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "dict", "{'1': '1', '2': 2, '3': 'three', '4': '4'}" ], "asctime": "2019-12-27 21:48:48,011", "created": 1577479728.0113354, "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": 11.335372924804688, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 298.39324951171875, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:48,011", "created": 1577479728.0116067, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 167, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/uid_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 11.606693267822266, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 298.6645698547363, "stack_info": null, "thread": 140673488709440, "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": "2019-12-27 21:48:48,012", "created": 1577479728.012, "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": 12.000083923339844, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 299.0579605102539, "stack_info": null, "thread": 140673488709440, "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": "2019-12-27 21:48:48,012", "created": 1577479728.0122213, "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": 12.221336364746094, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 299.27921295166016, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" } ], "msecs": 13.194084167480469, "msg": "Instance data after changing uid is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 300.25196075439453, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 0.000972747802734375 } ], "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 0.005720615386962891, "time_finished": "2019-12-27 21:48:48,013", "time_start": "2019-12-27 21:48:48,007" }, "caching.property_cache_pickle: Test get from source caused by increased data version (full init)": { "args": null, "asctime": "2019-12-27 21:48:47,992", "created": 1577479727.9923637, "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": 992.363691329956, "msg": "caching.property_cache_pickle: Test get from source caused by increased data version (full init)", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 279.4215679168701, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2019-12-27 21:48:47,992", "created": 1577479727.9927313, "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": "2019-12-27 21:48:47,992", "created": 1577479727.992428, "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": 992.4280643463135, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 279.48594093322754, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:47,992", "created": 1577479727.992488, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_load_on_init.pkl as cache file.", "module": "test_helpers", "msecs": 992.487907409668, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 279.54578399658203, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2019-12-27 21:48:47,992", "created": 1577479727.9925458, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 145, "message": "PickCache: Cache file does not exists (yet).", "module": "__init__", "msecs": 992.5458431243896, "msg": "%s Cache file does not exists (yet).", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 279.6037197113037, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2019-12-27 21:48:47,992", "created": 1577479727.9925914, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 159, "message": "PickCache: Loading all data from source - ['str', 'unicode', 'integer', 'float', 'list', 'dict']", "module": "__init__", "msecs": 992.591381072998, "msg": "%s Loading all data from source - %s", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 279.6492576599121, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:47,992", "created": 1577479727.9926765, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 167, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_load_on_init.pkl)", "module": "__init__", "msecs": 992.6764965057373, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 279.73437309265137, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" } ], "msecs": 992.7313327789307, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 279.7892093658447, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 5.4836273193359375e-05 }, { "args": [ "{'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '2': 2, '3': 'three', '4': '4'}}", "" ], "asctime": "2019-12-27 21:48:47,995", "created": 1577479727.9951472, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Instance data after increasing data_version is correct (Content {'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '2': 2, '3': 'three', '4': '4'}} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:47,992", "created": 1577479727.992872, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "PickCache: Loading properties from cache (/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_load_on_init.pkl)", "module": "__init__", "msecs": 992.8719997406006, "msg": "%s Loading properties from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 279.92987632751465, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2019-12-27 21:48:47,992", "created": 1577479727.9929297, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 130, "message": "PickCache: Data version increased, ignoring previous cache data", "module": "__init__", "msecs": 992.9296970367432, "msg": "%s Data version increased, ignoring previous cache data", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 279.9875736236572, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2019-12-27 21:48:47,993", "created": 1577479727.9930553, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 159, "message": "PickCache: Loading all data from source - ['str', 'unicode', 'integer', 'float', 'list', 'dict']", "module": "__init__", "msecs": 993.0553436279297, "msg": "%s Loading all data from source - %s", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 280.11322021484375, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:47,993", "created": 1577479727.99339, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 167, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_load_on_init.pkl)", "module": "__init__", "msecs": 993.3900833129883, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 280.44795989990234, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "str", "'__string__'" ], "asctime": "2019-12-27 21:48:47,993", "created": 1577479727.993839, "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": 993.8390254974365, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 280.8969020843506, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "unicode", "'__unicode__'" ], "asctime": "2019-12-27 21:48:47,994", "created": 1577479727.9940164, "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": 994.0164089202881, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 281.07428550720215, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "integer", "34" ], "asctime": "2019-12-27 21:48:47,994", "created": 1577479727.9941385, "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": 994.1384792327881, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 281.19635581970215, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "float", "2.71828" ], "asctime": "2019-12-27 21:48:47,994", "created": 1577479727.9942782, "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": 994.2781925201416, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 281.33606910705566, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "list", "['one', 2, 3, '4']" ], "asctime": "2019-12-27 21:48:47,994", "created": 1577479727.9944293, "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": 994.429349899292, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 281.48722648620605, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "dict", "{'1': '1', '2': 2, '3': 'three', '4': '4'}" ], "asctime": "2019-12-27 21:48:47,994", "created": 1577479727.9945772, "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": 994.577169418335, "msg": "%s Providing property for '%s' from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 281.635046005249, "stack_info": null, "thread": 140673488709440, "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": "2019-12-27 21:48:47,994", "created": 1577479727.9948094, "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": 994.8093891143799, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 281.86726570129395, "stack_info": null, "thread": 140673488709440, "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": "2019-12-27 21:48:47,994", "created": 1577479727.9949942, "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": 994.9941635131836, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 282.05204010009766, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" } ], "msecs": 995.1472282409668, "msg": "Instance data after increasing data_version is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 282.20510482788086, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 0.00015306472778320312 } ], "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 0.002783536911010742, "time_finished": "2019-12-27 21:48:47,995", "time_start": "2019-12-27 21:48:47,992" }, "caching.property_cache_pickle: Test get from source caused by increased data version (partially init)": { "args": null, "asctime": "2019-12-27 21:48:47,995", "created": 1577479727.9953313, "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": 995.3312873840332, "msg": "caching.property_cache_pickle: Test get from source caused by increased data version (partially init)", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 282.38916397094727, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2019-12-27 21:48:47,997", "created": 1577479727.9979944, "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": "2019-12-27 21:48:47,995", "created": 1577479727.9955862, "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": 995.5861568450928, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 282.64403343200684, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:47,996", "created": 1577479727.9961236, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.pkl as cache file.", "module": "test_helpers", "msecs": 996.1235523223877, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 283.18142890930176, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2019-12-27 21:48:47,996", "created": 1577479727.9965453, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 145, "message": "PickCache: Cache file does not exists (yet).", "module": "__init__", "msecs": 996.5453147888184, "msg": "%s Cache file does not exists (yet).", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 283.6031913757324, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "['str', 'unicode', 'integer', 'float', 'list', 'dict']" ], "asctime": "2019-12-27 21:48:47,996", "created": 1577479727.9969301, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 159, "message": "PickCache: Loading all data from source - ['str', 'unicode', 'integer', 'float', 'list', 'dict']", "module": "__init__", "msecs": 996.9301223754883, "msg": "%s Loading all data from source - %s", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 283.98799896240234, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:47,997", "created": 1577479727.997557, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 167, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 997.5569248199463, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 284.61480140686035, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" } ], "msecs": 997.9944229125977, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 285.0522994995117, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 0.0004374980926513672 }, { "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": "2019-12-27 21:48:48,002", "created": 1577479728.002452, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Instance data after increasing data_version is correct (Content {'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '2': 2, '3': 'three', '4': '4'}} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:47,998", "created": 1577479727.9986508, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "PickCache: Loading properties from cache (/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 998.6507892608643, "msg": "%s Loading properties from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 285.7086658477783, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2019-12-27 21:48:47,998", "created": 1577479727.998823, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 130, "message": "PickCache: Data version increased, ignoring previous cache data", "module": "__init__", "msecs": 998.8229274749756, "msg": "%s Data version increased, ignoring previous cache data", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 285.88080406188965, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:47,999", "created": 1577479727.9992151, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 167, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 999.2151260375977, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 286.2730026245117, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "str", "'__string__'" ], "asctime": "2019-12-27 21:48:47,999", "created": 1577479727.9994075, "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": 999.4075298309326, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 286.4654064178467, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:47,999", "created": 1577479727.999684, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 167, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 999.6840953826904, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 286.7419719696045, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "unicode", "'__unicode__'" ], "asctime": "2019-12-27 21:48:47,999", "created": 1577479727.9999974, "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": 999.9973773956299, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 287.05525398254395, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:48,000", "created": 1577479728.0003345, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 167, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 0.3345012664794922, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 287.39237785339355, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "integer", "34" ], "asctime": "2019-12-27 21:48:48,000", "created": 1577479728.0006487, "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": 0.6487369537353516, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 287.7066135406494, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:48,000", "created": 1577479728.000819, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 167, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 0.8189678192138672, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 287.87684440612793, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "float", "2.71828" ], "asctime": "2019-12-27 21:48:48,001", "created": 1577479728.001025, "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": 1.0249614715576172, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 288.0828380584717, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:48,001", "created": 1577479728.0011868, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 167, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 1.1868476867675781, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 288.24472427368164, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "list", "['one', 2, 3, '4']" ], "asctime": "2019-12-27 21:48:48,001", "created": 1577479728.0013814, "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": 1.3813972473144531, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 288.4392738342285, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:48,001", "created": 1577479728.0015213, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 167, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 1.5213489532470703, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 288.57922554016113, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "dict", "{'1': '1', '2': 2, '3': 'three', '4': '4'}" ], "asctime": "2019-12-27 21:48:48,001", "created": 1577479728.0017824, "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": 1.7824172973632812, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 288.84029388427734, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:48,001", "created": 1577479728.0019205, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 167, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/data_version_test_no_load_on_init.pkl)", "module": "__init__", "msecs": 1.920461654663086, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 288.97833824157715, "stack_info": null, "thread": 140673488709440, "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": "2019-12-27 21:48:48,002", "created": 1577479728.0021555, "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": 2.1555423736572266, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 289.2134189605713, "stack_info": null, "thread": 140673488709440, "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": "2019-12-27 21:48:48,002", "created": 1577479728.00226, "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": 2.259969711303711, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 289.3178462982178, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" } ], "msecs": 2.4518966674804688, "msg": "Instance data after increasing data_version is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 289.50977325439453, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 0.0001919269561767578 } ], "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 0.007120609283447266, "time_finished": "2019-12-27 21:48:48,002", "time_start": "2019-12-27 21:48:47,995" }, "caching.property_cache_pickle: Test internal key usage": { "args": null, "asctime": "2019-12-27 21:48:48,016", "created": 1577479728.016817, "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": 16.817092895507812, "msg": "caching.property_cache_pickle: Test internal key usage", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 303.8749694824219, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2019-12-27 21:48:48,018", "created": 1577479728.0183878, "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": "2019-12-27 21:48:48,017", "created": 1577479728.0170236, "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": 17.023563385009766, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 304.0814399719238, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/modules/caching/unittest/output_data/internal_keys_test.pkl" ], "asctime": "2019-12-27 21:48:48,017", "created": 1577479728.0171754, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/modules/caching/unittest/output_data/internal_keys_test.pkl as cache file.", "module": "test_helpers", "msecs": 17.17543601989746, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 304.2333126068115, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2019-12-27 21:48:48,017", "created": 1577479728.0174432, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 145, "message": "PickCache: Cache file does not exists (yet).", "module": "__init__", "msecs": 17.443180084228516, "msg": "%s Cache file does not exists (yet).", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 304.5010566711426, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "['_property_cache_uid_', '__property_cache_uid_', '_property_cache_data_version_', '__property_cache_data_version_']" ], "asctime": "2019-12-27 21:48:48,017", "created": 1577479728.0177383, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_source", "levelname": "DEBUG", "levelno": 10, "lineno": 159, "message": "PickCache: Loading all data from source - ['_property_cache_uid_', '__property_cache_uid_', '_property_cache_data_version_', '__property_cache_data_version_']", "module": "__init__", "msecs": 17.73834228515625, "msg": "%s Loading all data from source - %s", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 304.7962188720703, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/internal_keys_test.pkl" ], "asctime": "2019-12-27 21:48:48,018", "created": 1577479728.0181768, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 167, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/internal_keys_test.pkl)", "module": "__init__", "msecs": 18.176794052124023, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 305.2346706390381, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" } ], "msecs": 18.387794494628906, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 305.44567108154297, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 0.0002110004425048828 }, { "args": [ "property_cache_pickle" ], "asctime": "2019-12-27 21:48:48,018", "created": 1577479728.0189862, "exc_info": null, "exc_text": null, "filename": "test_internal_keys.py", "funcName": "test_internal_keys", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Extracting storage object from property_cache_pickle for comparison.", "module": "test_internal_keys", "moduleLogger": [ { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/internal_keys_test.pkl" ], "asctime": "2019-12-27 21:48:48,018", "created": 1577479728.0186946, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "PickCache: Loading properties from cache (/user_data/data/dirk/prj/modules/caching/unittest/output_data/internal_keys_test.pkl)", "module": "__init__", "msecs": 18.694639205932617, "msg": "%s Loading properties from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 305.7525157928467, "stack_info": null, "thread": 140673488709440, "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": "2019-12-27 21:48:48,018", "created": 1577479728.0188084, "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": 18.808364868164062, "msg": "Using storage object of cache class for comparison: %s", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_internal_keys.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 305.8662414550781, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "_property_cache_data_version_", "_property_cache_uid_" ], "asctime": "2019-12-27 21:48:48,018", "created": 1577479728.0189018, "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": 18.901824951171875, "msg": "Deleting overhead keys: %s, %s", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_internal_keys.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 305.95970153808594, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" } ], "msecs": 18.986225128173828, "msg": "Extracting storage object from %s for comparison.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_internal_keys.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 306.0441017150879, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 8.440017700195312e-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": "2019-12-27 21:48:48,019", "created": 1577479728.019311, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "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": "2019-12-27 21:48:48,019", "created": 1577479728.0191293, "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": 19.129276275634766, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 306.1871528625488, "stack_info": null, "thread": 140673488709440, "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": "2019-12-27 21:48:48,019", "created": 1577479728.0192106, "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": 19.2105770111084, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 306.26845359802246, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" } ], "msecs": 19.310951232910156, "msg": "Cache is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 306.3688278198242, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 0.00010037422180175781 }, { "args": [ "5", "" ], "asctime": "2019-12-27 21:48:48,019", "created": 1577479728.019684, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Keyfilter returnvalue for 5 () is correct (Content 5 and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Keyfilter returnvalue for 5 ()", "5", "" ], "asctime": "2019-12-27 21:48:48,019", "created": 1577479728.0194407, "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": 19.440650939941406, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 306.49852752685547, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "Keyfilter returnvalue for 5 ()", "5", "" ], "asctime": "2019-12-27 21:48:48,019", "created": 1577479728.0195959, "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": 19.595861434936523, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 306.6537380218506, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" } ], "msecs": 19.6840763092041, "msg": "Keyfilter returnvalue for 5 () is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 306.74195289611816, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 8.821487426757812e-05 } ], "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 0.002866983413696289, "time_finished": "2019-12-27 21:48:48,019", "time_start": "2019-12-27 21:48:48,016" }, "caching.property_cache_pickle: Test partially initialised PICKLE-Cache-Object": { "args": null, "asctime": "2019-12-27 21:48:47,986", "created": 1577479727.9861565, "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": 986.1564636230469, "msg": "caching.property_cache_pickle: Test partially initialised PICKLE-Cache-Object", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 273.21434020996094, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_pickle", "False" ], "asctime": "2019-12-27 21:48:47,986", "created": 1577479727.9869711, "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": "2019-12-27 21:48:47,986", "created": 1577479727.98636, "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": 986.3600730895996, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 273.4179496765137, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "/user_data/data/dirk/prj/modules/caching/unittest/output_data/no_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:47,986", "created": 1577479727.98652, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /user_data/data/dirk/prj/modules/caching/unittest/output_data/no_load_on_init.pkl as cache file.", "module": "test_helpers", "msecs": 986.5200519561768, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 273.5779285430908, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:" ], "asctime": "2019-12-27 21:48:47,986", "created": 1577479727.9866483, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 145, "message": "PickCache: Cache file does not exists (yet).", "module": "__init__", "msecs": 986.6483211517334, "msg": "%s Cache file does not exists (yet).", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 273.70619773864746, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/no_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:47,986", "created": 1577479727.9868388, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 167, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/no_load_on_init.pkl)", "module": "__init__", "msecs": 986.8388175964355, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 273.8966941833496, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" } ], "msecs": 986.9711399078369, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_helpers.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 274.029016494751, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 0.0001323223114013672 }, { "args": [], "asctime": "2019-12-27 21:48:47,988", "created": 1577479727.9882383, "exc_info": null, "exc_text": null, "filename": "test_no_load_on_init.py", "funcName": "no_load_on_init", "levelname": "DEBUG", "levelno": 10, "lineno": 18, "message": "Partially initialising cache object by requesting some information.", "module": "test_no_load_on_init", "moduleLogger": [ { "args": [ "PickCache:", "str", "'string'" ], "asctime": "2019-12-27 21:48:47,987", "created": 1577479727.9871259, "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": 987.1258735656738, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 274.1837501525879, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/no_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:47,987", "created": 1577479727.9873078, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 167, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/no_load_on_init.pkl)", "module": "__init__", "msecs": 987.3077869415283, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 274.3656635284424, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "unicode", "'unicode'" ], "asctime": "2019-12-27 21:48:47,987", "created": 1577479727.9875822, "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": 987.5822067260742, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 274.6400833129883, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/no_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:47,987", "created": 1577479727.9877634, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 167, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/no_load_on_init.pkl)", "module": "__init__", "msecs": 987.7634048461914, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 274.82128143310547, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "integer", "17" ], "asctime": "2019-12-27 21:48:47,987", "created": 1577479727.9879904, "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": 987.9903793334961, "msg": "%s Loading property for '%s' from source instance (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 275.04825592041016, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/no_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:47,988", "created": 1577479727.988154, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_save_cache", "levelname": "INFO", "levelno": 20, "lineno": 167, "message": "PickCache: cache-file stored (/user_data/data/dirk/prj/modules/caching/unittest/output_data/no_load_on_init.pkl)", "module": "__init__", "msecs": 988.1539344787598, "msg": "%s cache-file stored (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 275.2118110656738, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" } ], "msecs": 988.2383346557617, "msg": "Partially initialising cache object by requesting some information.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_no_load_on_init.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 275.2962112426758, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 8.440017700195312e-05 }, { "args": [ "property_cache_pickle" ], "asctime": "2019-12-27 21:48:47,988", "created": 1577479727.988548, "exc_info": null, "exc_text": null, "filename": "test_no_load_on_init.py", "funcName": "no_load_on_init", "levelname": "DEBUG", "levelno": 10, "lineno": 27, "message": "Extracting storage object from property_cache_pickle for comparison.", "module": "test_no_load_on_init", "moduleLogger": [ { "args": [ "PickCache:", "/user_data/data/dirk/prj/modules/caching/unittest/output_data/no_load_on_init.pkl" ], "asctime": "2019-12-27 21:48:47,988", "created": 1577479727.9883535, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "_load_cache", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "PickCache: Loading properties from cache (/user_data/data/dirk/prj/modules/caching/unittest/output_data/no_load_on_init.pkl)", "module": "__init__", "msecs": 988.3534908294678, "msg": "%s Loading properties from cache (%s)", "name": "CACHING", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/caching/__init__.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 275.41136741638184, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "{'_property_cache_uid_': 'my_unique_id', '_property_cache_data_version_': 1, 'str': 'string', 'unicode': 'unicode', 'integer': 17}" ], "asctime": "2019-12-27 21:48:47,988", "created": 1577479727.988425, "exc_info": null, "exc_text": null, "filename": "test_no_load_on_init.py", "funcName": "no_load_on_init", "levelname": "INFO", "levelno": 20, "lineno": 23, "message": "Using storage object of cache class for comparison: {'_property_cache_uid_': 'my_unique_id', '_property_cache_data_version_': 1, 'str': 'string', 'unicode': 'unicode', 'integer': 17}", "module": "test_no_load_on_init", "msecs": 988.4250164031982, "msg": "Using storage object of cache class for comparison: %s", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_no_load_on_init.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 275.4828929901123, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "_property_cache_data_version_", "_property_cache_uid_" ], "asctime": "2019-12-27 21:48:47,988", "created": 1577479727.9884996, "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": 988.499641418457, "msg": "Deleting overhead keys: %s, %s", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_no_load_on_init.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 275.5575180053711, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" } ], "msecs": 988.5480403900146, "msg": "Extracting storage object from %s for comparison.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/tests/test_no_load_on_init.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 275.6059169769287, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 4.839897155761719e-05 }, { "args": [ "{'str': 'string', 'unicode': 'unicode', 'integer': 17}", "" ], "asctime": "2019-12-27 21:48:47,988", "created": 1577479727.9888241, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Cache object is correct (Content {'str': 'string', 'unicode': 'unicode', 'integer': 17} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Cache object", "{ 'str': 'string', 'unicode': 'unicode', 'integer': 17 }", "" ], "asctime": "2019-12-27 21:48:47,988", "created": 1577479727.9886544, "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 } ()", "module": "test", "msecs": 988.654375076294, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 275.712251663208, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" }, { "args": [ "Cache object", "{ 'str': 'string', 'unicode': 'unicode', 'integer': 17 }", "" ], "asctime": "2019-12-27 21:48:47,988", "created": 1577479727.988727, "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": 988.7270927429199, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 275.784969329834, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread" } ], "msecs": 988.8241291046143, "msg": "Cache object is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/caching/unittest/src/unittest/test.py", "process": 7956, "processName": "MainProcess", "relativeCreated": 275.8820056915283, "stack_info": null, "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 9.703636169433594e-05 } ], "thread": 140673488709440, "threadName": "MainThread", "time_consumption": 0.002667665481567383, "time_finished": "2019-12-27 21:48:47,988", "time_start": "2019-12-27 21:48:47,986" } }, "testrun_id": "p3", "time_consumption": 0.09304237365722656, "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" } }