Traceback (most recent call last):


 "/home/rodrigo/programations/horus/horus-api-gateway/.venv/lib/python3.6/site-packages/hypothesis/core.py", line 656, in _execute_once_for_engine

result = self.execute_once(data)


 "/home/rodrigo/programations/horus/horus-api-gateway/.venv/lib/python3.6/site-packages/hypothesis/core.py", line 611, in execute_once

result = self.test_runner(data, run)


 "/home/rodrigo/programations/horus/horus-api-gateway/.venv/lib/python3.6/site-packages/hypothesis/executors.py", line 52, in default_new_style_executor

return function(data)


 "/home/rodrigo/programations/horus/horus-api-gateway/.venv/lib/python3.6/site-packages/hypothesis/core.py", line 607, in run

return test(*args, **kwargs)


 "/home/rodrigo/programations/horus/horus-api-gateway/tests/test_test_persistence.py", line 36, in test_persistent_storage_attrs

@given(test_storage=attrs_storage_builder())


 "/home/rodrigo/programations/horus/horus-api-gateway/.venv/lib/python3.6/site-packages/hypothesis/core.py", line 531, in test

result = self.test(*args, **kwargs)


 "/home/rodrigo/programations/horus/horus-api-gateway/tests/test_test_persistence.py", line 40, in test_persistent_storage_attrs

assert len(test_storage._secondary_internal_storage) == len(test_storage.start_storage)
# <--- This assertion fails
AssertionError: assert 2 == 1

Traceback (most recent call last):


 "/usr/local/bin/pip", line 8, in <module>

sys.exit(main())


 "/usr/local/lib/python3.9/site-packages/pip/_internal/cli/main.py", line 75, in main

return command.main(cmd_args)


 "/usr/local/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 117, in main

return self._main(args)


 "/usr/local/lib/python3.9/contextlib.py", line 124, in __exit__

next(self.gen)


 "/usr/local/lib/python3.9/site-packages/pip/_internal/cli/command_context.py", line 28, in main_context

yield


 "/usr/local/lib/python3.9/site-packages/pip/_vendor/contextlib2.py", line 479, in __exit__

_reraise_with_existing_context(exc_details)


 "/usr/local/lib/python3.9/site-packages/pip/_vendor/contextlib2.py", line 340, in _reraise_with_existing_context

raise exc_details[1]


 "/usr/local/lib/python3.9/contextlib.py", line 135, in __exit__

self.gen.throw(type, value, traceback)


 "/usr/local/lib/python3.9/site-packages/pip/_internal/utils/temp_dir.py", line 86, in tempdir_registry

yield _tempdir_registry


 "/usr/local/lib/python3.9/site-packages/pip/_vendor/contextlib2.py", line 468, in __exit__

if cb(*exc_details):


 "/usr/local/lib/python3.9/site-packages/pip/_vendor/contextlib2.py", line 396, in _exit_wrapper

return cm_exit(cm, *exc_details)


 "/usr/local/lib/python3.9/contextlib.py", line 124, in __exit__

next(self.gen)


 "/usr/local/lib/python3.9/site-packages/pip/_internal/utils/temp_dir.py", line 47, in global_tempdir_manager

_tempdir_manager = old_tempdir_manager


 "/usr/local/lib/python3.9/site-packages/pip/_vendor/contextlib2.py", line 479, in __exit__

_reraise_with_existing_context(exc_details)


 "/usr/local/lib/python3.9/site-packages/pip/_vendor/contextlib2.py", line 340, in _reraise_with_existing_context

raise exc_details[1]


 "/usr/local/lib/python3.9/site-packages/pip/_vendor/contextlib2.py", line 468, in __exit__

if cb(*exc_details):


 "/usr/local/lib/python3.9/site-packages/pip/_vendor/contextlib2.py", line 396, in _exit_wrapper

return cm_exit(cm, *exc_details)


 "/usr/local/lib/python3.9/site-packages/pip/_internal/utils/temp_dir.py", line 178, in __exit__

self.cleanup()


 "/usr/local/lib/python3.9/site-packages/pip/_internal/utils/temp_dir.py", line 209, in cleanup

rmtree(self._path)


 "/usr/local/lib/python3.9/site-packages/pip/_vendor/retrying.py", line 49, in wrapped_f

return Retrying(*dargs, **dkw).call(f, *args, **kw)


 "/usr/local/lib/python3.9/site-packages/pip/_vendor/retrying.py", line 212, in call

raise attempt.get()


 "/usr/local/lib/python3.9/site-packages/pip/_vendor/retrying.py", line 247, in get

six.reraise(self.value[0], self.value[1], self.value[2])


 "/usr/local/lib/python3.9/site-packages/pip/_vendor/six.py", line 703, in reraise

raise value


 "/usr/local/lib/python3.9/site-packages/pip/_vendor/retrying.py", line 200, in call

attempt = Attempt(fn(*args, **kwargs), attempt_number, False)


 "/usr/local/lib/python3.9/site-packages/pip/_internal/utils/misc.py", line 141, in rmtree

shutil.rmtree(dir, ignore_errors=ignore_errors,


 "/usr/local/lib/python3.9/shutil.py", line 718, in rmtree

_rmtree_safe_fd(fd, path, onerror)


 "/usr/local/lib/python3.9/shutil.py", line 655, in _rmtree_safe_fd

_rmtree_safe_fd(dirfd, fullname, onerror)


 "/usr/local/lib/python3.9/shutil.py", line 655, in _rmtree_safe_fd

_rmtree_safe_fd(dirfd, fullname, onerror)


 "/usr/local/lib/python3.9/shutil.py", line 655, in _rmtree_safe_fd

_rmtree_safe_fd(dirfd, fullname, onerror)

[Previous line repeated 1 more time]


 "/usr/local/lib/python3.9/shutil.py", line 659, in _rmtree_safe_fd

onerror(os.rmdir, fullname, sys.exc_info())


 "/usr/local/lib/python3.9/shutil.py", line 657, in _rmtree_safe_fd

os.rmdir(entry.name, dir_fd=topfd)
OSError: [Errno 39] Directory not empty: 'types'
