name: test run_id: commands[0] env DBUS_SESSION_BUS_ADDRESS: unix:path=/run/user/1000/bus env HOME: /home/zuul env LANG: C.UTF-8 env LC_ALL: C.UTF-8 env LOGNAME: zuul env MOTD_SHOWN: pam env NOSE_HTML_OUT_FILE: nose_results.html env NOSE_WITH_HTML_OUTPUT: 1 env NOSE_WITH_XUNIT: 1 env PATH: /home/zuul/src/github.com/osism/openstack-flavor-manager/.tox/test/bin:/usr/local/bin:/usr/bin:/bin:/usr/games env PIP_DISABLE_PIP_VERSION_CHECK: 1 env PWD: ********** env PYTHONHASHSEED: 2778607215 env PYTHONIOENCODING: utf-8 env SHELL: /bin/bash env SHLVL: 0 env SSH_CLIENT: ****************************** env SSH_CONNECTION: 2a13:1a81:8000:2::38d 44386 2a13:1a81:8000:3124:f816:3eff:fee2:6870 22 env TOX_ENV_DIR: /home/zuul/src/github.com/osism/openstack-flavor-manager/.tox/test env TOX_ENV_NAME: test env TOX_WORK_DIR: /home/zuul/src/github.com/osism/openstack-flavor-manager/.tox env USER: zuul env VIRTUAL_ENV: /home/zuul/src/github.com/osism/openstack-flavor-manager/.tox/test env XDG_RUNTIME_DIR: /run/user/1000 env XDG_SESSION_CLASS: user env XDG_SESSION_ID: 1 env XDG_SESSION_TYPE: tty env _: /bin/sh metadata pid: 1624 cwd: /home/zuul/src/github.com/osism/openstack-flavor-manager allow: /home/zuul/src/github.com/osism/openstack-flavor-manager/.tox/test/bin/* cmd: python -m unittest discover exit_code: 0 standard error: ........--- Logging error in Loguru Handler #8 --- Record was: {'elapsed': datetime.timedelta(microseconds=491855), 'exception': None, 'extra': {}, 'file': (name='main.py', path='/home/zuul/src/github.com/osism/openstack-flavor-manager/openstack_flavor_manager/main.py'), 'function': 'set_flavor', 'level': (name='INFO', no=20, icon='ℹ️'), 'line': 71, 'message': 'Flavor SCS-1V-4 created', 'module': 'main', 'name': 'openstack_flavor_manager.main', 'process': (id=1624, name='MainProcess'), 'thread': (id=140575815045824, name='MainThread'), 'time': datetime(2025, 11, 8, 3, 17, 22, 851023, tzinfo=datetime.timezone(datetime.timedelta(0), 'UTC'))} Traceback (most recent call last): File "/home/zuul/src/github.com/osism/openstack-flavor-manager/.tox/test/lib/python3.11/site-packages/loguru/_handler.py", line 206, in emit self._sink.write(str_record) File "/home/zuul/src/github.com/osism/openstack-flavor-manager/.tox/test/lib/python3.11/site-packages/loguru/_simple_sinks.py", line 16, in write self._stream.write(message) ValueError: I/O operation on closed file. --- End of logging error --- ..................... ---------------------------------------------------------------------- Ran 29 tests in 0.589s OK