#0 PyDict_GetItem (op=op@entry=0x0, key=key@entry=0x7f5f0ea50078) at Objects/dictobject.c:1065 #1 0x00007f5f1c921124 in PyDict_GetItemString (v=v@entry=0x0, key=key@entry=0x7f5f1ca75226 "__warningregistry__") at Objects/dictobject.c:2743 #2 0x00007f5f1c992068 in setup_context (registry=, module=, lineno=, filename=, stack_level=, stack_level@entry=140046481899872) at Python/_warnings.c:526 #3 do_warn (message=message@entry=0x7f5f0eba6270, category=category@entry=0x7f5f1cce4160 <_PyExc_ResourceWarning>, stack_level=stack_level@entry=1) at Python/_warnings.c:662 #4 0x00007f5f1c99292a in warn_unicode (stack_level=1, message=0x7f5f0eba6270, category=0x7f5f1cce4160 <_PyExc_ResourceWarning>) at Python/_warnings.c:790 #5 PyErr_WarnFormat (category=, stack_level=stack_level@entry=1, format=format@entry=0x7f5f1ca8b377 "unclosed file %R") at Python/_warnings.c:813 #6 0x00007f5f1ca3d585 in fileio_dealloc_warn (self=0x7f5f0f0bcbc8, source=0x7f5f0f0ca3b8) at ./Modules/_io/fileio.c:81 #7 0x00007f5f1c8db418 in PyObject_Call (func=func@entry=0x7f5f0e771408, arg=arg@entry=0x7f5f0eb99cf8, kw=kw@entry=0x0) at Objects/abstract.c:2067 #8 0x00007f5f1c8dbf04 in call_function_tail (args=0x7f5f0eb99cf8, callable=0x7f5f0e771408) at Objects/abstract.c:2105 #9 callmethod (is_size_t=1, va=0x7fff4d7631d8, format=0x7f5f1ca8a463 "O", func=0x7f5f0e771408) at Objects/abstract.c:2174 #10 _PyObject_CallMethodId_SizeT (o=, name=name@entry=0x7f5f1cd2ef80 , format=format@entry=0x7f5f1ca8a463 "O") at Objects/abstract.c:2260 #11 0x00007f5f1ca42220 in buffered_dealloc_warn (source=0x7f5f0f0ca3b8, self=0x7f5f0f0ca3b8) at ./Modules/_io/bufferedio.c:457 #12 buffered_close (self=0x7f5f0f0ca3b8, args=) at ./Modules/_io/bufferedio.c:522 #13 0x00007f5f1c8db418 in PyObject_Call (func=func@entry=0x7f5f0e771448, arg=arg@entry=0x7f5f1cf1c048, kw=kw@entry=0x0) at Objects/abstract.c:2067 #14 0x00007f5f1c8dc149 in PyObject_CallMethodObjArgs (callable=0x7f5f0e771448, callable@entry=0x7f5f0f0ca3b8, name=) at Objects/abstract.c:2308 #15 0x00007f5f1ca3c52f in iobase_finalize (self=0x7f5f0f0ca3b8) at ./Modules/_io/iobase.c:236 #16 0x00007f5f1c929884 in PyObject_CallFinalizer (self=self@entry=0x7f5f0f0ca3b8) at Objects/object.c:278 #17 0x00007f5f1c9298b9 in PyObject_CallFinalizerFromDealloc (self=0x7f5f0f0ca3b8) at Objects/object.c:295 #18 0x00007f5f1ca3d385 in _PyIOBase_finalize (self=self@entry=0x7f5f0f0ca3b8) at ./Modules/_io/iobase.c:260 #19 0x00007f5f1ca4103d in buffered_dealloc (self=0x7f5f0f0ca3b8) at ./Modules/_io/bufferedio.c:400 #20 0x00007f5f1c91e865 in dict_dealloc (mp=0x7f5f0eb8a5c8) at Objects/dictobject.c:1383 #21 0x00007f5f1c939783 in subtype_dealloc (self=0x7f5f0ec64940) at Objects/typeobject.c:1157 #22 0x00007f5f1c908502 in frame_dealloc (f=0x14184d8) at Objects/frameobject.c:429 #23 0x00007f5f1c90870f in frame_dealloc (f=0x1548328) at Objects/frameobject.c:437 #24 0x00007f5f1c90870f in frame_dealloc (f=0x1566028) at Objects/frameobject.c:437 #25 0x00007f5f1c90870f in frame_dealloc (f=0x15d4c88) at Objects/frameobject.c:437 #26 0x00007f5f1c90870f in frame_dealloc (f=0x1430a68) at Objects/frameobject.c:437 #27 0x00007f5f1c90870f in frame_dealloc (f=0x1450d68) at Objects/frameobject.c:437 #28 0x00007f5f1c90870f in frame_dealloc (f=0x15627d8) at Objects/frameobject.c:437 #29 0x00007f5f1c90870f in frame_dealloc (f=0x14cb328) at Objects/frameobject.c:437 #30 0x00007f5f1c90870f in frame_dealloc (f=0x1432dd8) at Objects/frameobject.c:437 #31 0x00007f5f1c90870f in frame_dealloc (f=0x14b9188) at Objects/frameobject.c:437 #32 0x00007f5f1c92be6e in _PyTrash_thread_destroy_chain () at Objects/object.c:1989 #33 0x00007f5f1c8fcb3f in BaseException_clear (self=0x7f5f1cedc3b8) at Objects/exceptions.c:80 #34 BaseException_dealloc (self=0x7f5f1cedc3b8) at Objects/exceptions.c:90 #35 0x00007f5f1c901995 in _PyExc_Fini () at Objects/exceptions.c:2661 #36 0x00007f5f1c9eb662 in Py_Finalize () at Python/pythonrun.c:681 #37 0x00007f5f1c9ec848 in Py_Exit (sts=sts@entry=0) at Python/pythonrun.c:2713 #38 0x00007f5f1c9ec921 in handle_system_exit () at Python/pythonrun.c:1812 #39 0x00007f5f1c9ecbad in handle_system_exit () at Python/pythonrun.c:1839 #40 PyErr_PrintEx (set_sys_last_vars=set_sys_last_vars@entry=1) at Python/pythonrun.c:1822 #41 0x00007f5f1c9ecd8a in PyErr_Print () at Python/pythonrun.c:1718 #42 0x00007f5f1c9ed7d5 in PyRun_SimpleFileExFlags (fp=fp@entry=0xfebca0, filename=, closeit=closeit@entry=1, flags=flags@entry=0x7fff4d7639a0) at Python/pythonrun.c:1611 #43 0x00007f5f1c9ee273 in PyRun_AnyFileExFlags (fp=fp@entry=0xfebca0, filename=, closeit=closeit@entry=1, flags=flags@entry=0x7fff4d7639a0) at Python/pythonrun.c:1292 #44 0x00007f5f1ca08624 in run_file (p_cf=0x7fff4d7639a0, filename=0xf672b0 L"test/high_availability/test_motor_ha.py", fp=0xfebca0) at Modules/main.c:319 #45 Py_Main (argc=argc@entry=4, argv=argv@entry=0xf66010) at Modules/main.c:751 #46 0x0000000000400a84 in main (argc=4, argv=) at ./Modules/python.c:69