Version-Release number of selected component: mock-3.5-1.fc37 Additional info: reporter: libreport-2.17.4 cgroup: 0::/user.slice/user-1000.slice/user/app.slice/app-org.gnome.Terminal.slice/vte-spawn-e883274f-854d-48a3-9bca-2f95f96d7568.scope cmdline: /usr/bin/python3 -tt /usr/libexec/mock/mock -r ././fedora-37-new.cfg --init crash_function: rmtree exception_type: OSError executable: /usr/libexec/mock/mock interpreter: python3-3.11.0-1.fc37.x86_64 kernel: 6.0.12-300.fc37.x86_64 runlevel: N 5 type: Python3 uid: 0 Truncated backtrace: file_util.py:67:rmtree:OSError: [Errno 16] Device or resource busy: '/var/lib/mock/fedora-37-x86_64/root/proc/filesystems' Traceback (most recent call last): File "/usr/libexec/mock/mock", line 1087, in <module> exitStatus = main() ^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/libexec/mock/mock", line 847, in main result = run_command(options, args, config_opts, commands, buildroot, state) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/libexec/mock/mock", line 874, in run_command commands.clean() File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/backend.py", line 97, in clean self.buildroot.delete() File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/buildroot.py", line 884, in delete file_util.rmtree(self.basedir, selinux=self.selinux) File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/file_util.py", line 59, in rmtree rmtree(fullname, selinux=selinux, exclude=exclude) File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/file_util.py", line 59, in rmtree rmtree(fullname, selinux=selinux, exclude=exclude) File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/file_util.py", line 67, in rmtree os.remove(fullname) OSError: [Errno 16] Device or resource busy: '/var/lib/mock/fedora-37-x86_64/root/proc/filesystems' Local variables in innermost frame: path: '/var/lib/mock/fedora-37-x86_64/root/proc' selinux: False exclude: () try_again: False retries: 2 failed_to_handle: False failed_filename: None names: ['filesystems'] name: 'filesystems' fullname: '/var/lib/mock/fedora-37-x86_64/root/proc/filesystems' mode: 33060
Created attachment 1950199 [details] File: backtrace
Created attachment 1950200 [details] File: cpuinfo
Created attachment 1950201 [details] File: environ
Created attachment 1950202 [details] File: mountinfo
Created attachment 1950203 [details] File: namespaces
Created attachment 1950204 [details] File: open_fds
Thank you for the report, this is being resolved in bug #2186613. *** This bug has been marked as a duplicate of bug 2186613 ***