Description of problem: It happened after restart mockbuild process. I should terminated mockbuild for fix mistake in .spec file. Version-Release number of selected component: mock-3.5-2.fc38 Additional info: reporter: libreport-2.17.8 kernel: 6.3.0-0.rc1.20230308git63355b9884b3.17.fc39.x86_64+debug cmdline: /usr/bin/python3 -tt /usr/libexec/mock/mock -r fedora-rawhide-x86_64 --resultdir /home/mikhail/packaging-work/kernel/results_kernel/6.3.0/0.rc1.20230308git63355b9884b3.18.fc39 --rebuild /home/mikhail/packaging-work/kernel/kernel-6.3.0-0.rc1.20230308git63355b9884b3.18.fc39.src.rpm cgroup: 0::/user.slice/user-1000.slice/user/app.slice/app-org.gnome.Terminal.slice/vte-spawn-40cc41c6-e34a-45ec-a00a-ca202346a6bc.scope uid: 0 reason: file_util.py:68:rmtree:OSError: [Errno 39] Directory not empty: '/var/lib/mock/fedora-rawhide-x86_64/root/usr/lib64/python3.11' executable: /usr/libexec/mock/mock type: Python3 package: mock-3.5-2.fc38 runlevel: N 5 exception_type: OSError crash_function: rmtree interpreter: python3-3.11.2-1.fc39.x86_64 comment: It happened after restart mockbuild process. I should terminated mockbuild for fix mistake in .spec file. Truncated backtrace: #1 [/usr/lib/python3.11/site-packages/mockbuild/file_util.py:68] rmtree #2 [/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py:93] trace #3 [/usr/lib/python3.11/site-packages/mockbuild/file_util.py:59] rmtree #4 [/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py:93] trace #5 [/usr/lib/python3.11/site-packages/mockbuild/file_util.py:59] rmtree #6 [/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py:93] trace #7 [/usr/lib/python3.11/site-packages/mockbuild/file_util.py:59] rmtree #8 [/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py:93] trace #9 [/usr/lib/python3.11/site-packages/mockbuild/file_util.py:59] rmtree #10 [/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py:93] trace #11 [/usr/lib/python3.11/site-packages/mockbuild/buildroot.py:884] delete #12 [/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py:93] trace #13 [/usr/lib/python3.11/site-packages/mockbuild/backend.py:97] clean #14 [/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py:93] trace #15 [/usr/lib/python3.11/site-packages/mockbuild/rebuild.py:23] rebuild_generic #16 [/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py:93] trace #17 [/usr/lib/python3.11/site-packages/mockbuild/rebuild.py:85] do_rebuild #18 [/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py:93] trace #19 [/usr/libexec/mock/mock:961] run_command #20 [/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py:93] trace #21 [/usr/libexec/mock/mock:847] main #22 [/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py:93] trace #23 [/usr/libexec/mock/mock:1087] <module>
Created attachment 1949168 [details] File: os_info
Created attachment 1949169 [details] File: environ
Created attachment 1949170 [details] File: mountinfo
Created attachment 1949171 [details] File: open_fds
Created attachment 1949172 [details] File: namespaces
Created attachment 1949173 [details] File: backtrace
Created attachment 1949174 [details] File: cpuinfo
Thank you for the report, this is being resolved in bug #2186613. *** This bug has been marked as a duplicate of bug 2186613 ***