Permission error

PermissionError: [WinError 32] Процесс не может получить доступ к файлу, так как этот файл занят другим процессом: 'F:\\FBQA\\rundaily-2026\\unpacked-snapshot.tmp\\FB40\\examples\\empbuild\\qa\\tmp_core_6412.fdb'

LOG DETAILS:

2026-07-23 21:48:02.929
2026-07-23 21:48:02.929 act = <firebird.qa.plugin.Action object at [hex]>
2026-07-23 21:48:02.929 capsys = <_pytest.capture.CaptureFixture object at [hex]>
2026-07-23 21:48:02.929
2026-07-23 21:48:02.929     @pytest.mark.version('>=4.0')
2026-07-23 21:48:02.929     def test_1(act: Action, capsys):
2026-07-23 21:48:02.929         # Scan line-by-line through databases.conf, find line starting with REQUIRED_ALIAS and extract name of file that
2026-07-23 21:48:02.929         # must be created in the $(dir_sampleDb)/qa/ folder. This name will be used further as target database (tmp_fdb).
2026-07-23 21:48:02.929         # NOTE: we have to SKIP lines which are commented out, i.e. if they starts with '#':
2026-07-23 21:48:02.929         p_req

[...SKIPPED...]

pbuild/qa/tmp_core_6412.fdb')
2026-07-23 21:48:02.932 missing_ok = False
2026-07-23 21:48:02.932
2026-07-23 21:48:02.932     def unlink(self, missing_ok=False):
2026-07-23 21:48:02.932         """
2026-07-23 21:48:02.932         Remove this file or link.
2026-07-23 21:48:02.932         If the path is a directory, use rmdir() instead.
2026-07-23 21:48:02.932         """
2026-07-23 21:48:02.932         try:
2026-07-23 21:48:02.932 >           os.unlink(self)
2026-07-23 21:48:02.932 E           PermissionError: [WinError 32]       ,       : 'F:\\FBQA\\rundaily-2026\\unpacked-snapshot.tmp\\FB40\\examples\\empbuild\\qa\\tmp_core_6412.fdb'
2026-07-23 21:48:02.932
2026-07-23 21:48:02.932 C:\Python-3-11-2\Lib\pathlib.py:1147: PermissionError
2026-07-23 21:48:02.932 ---------------------------- Captured stdout setup ----------------------------
2026-07-23 21:48:02.932 Creating db: localhost:R:\Temp\qa\fbqa\test_11374\test.fdb [page_size=None, sql_dialect=None, charset='NONE', user=SYSDBA, password=masterkey]