Bug 2177680
| Summary: | [abrt] mock: rmtree(): file_util.py:67:rmtree:OSError: [Errno 16] Device or resource busy: '/var/lib/mock/fedora-37-x86_64/root/proc/filesystems' | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Luca Giuzzi <luca.giuzzi> | ||||||||||||||
| Component: | mock | Assignee: | Copr Team <copr-team> | ||||||||||||||
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||
| Severity: | unspecified | Docs Contact: | |||||||||||||||
| Priority: | unspecified | ||||||||||||||||
| Version: | 37 | CC: | copr-team, jkeating, msuchy, philip.wyett, praiskup, williams | ||||||||||||||
| Target Milestone: | --- | ||||||||||||||||
| Target Release: | --- | ||||||||||||||||
| Hardware: | x86_64 | ||||||||||||||||
| OS: | Unspecified | ||||||||||||||||
| URL: | https://retrace.fedoraproject.org/faf/reports/bthash/9692ba35bf2a885acaaddba0796d4e998f376dab | ||||||||||||||||
| Whiteboard: | abrt_hash:04a9cf75ac8832db465b78e7d9b58888c1c3c62b;VARIANT_ID=workstation; | ||||||||||||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||||
| Clone Of: | Environment: | ||||||||||||||||
| Last Closed: | 2023-08-10 13:05:42 UTC | Type: | --- | ||||||||||||||
| Regression: | --- | Mount Type: | --- | ||||||||||||||
| Documentation: | --- | CRM: | |||||||||||||||
| Verified Versions: | Category: | --- | |||||||||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||||
| Embargoed: | |||||||||||||||||
| Attachments: |
|
||||||||||||||||
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 *** |
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