Bug 2176689 - [abrt] mock: rmtree(): file_util.py:68:rmtree:OSError: [Errno 39] Directory not empty: '/var/lib/mock/fedora-rawhide-x86_64/root/usr/lib64/python3.11'
Summary: [abrt] mock: rmtree(): file_util.py:68:rmtree:OSError: [Errno 39] Directory n...
Keywords:
Status: CLOSED DUPLICATE of bug 2186613
Alias: None
Product: Fedora
Classification: Fedora
Component: mock
Version: rawhide
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Copr Team
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:a332e016d945eaf307f95f0a035...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-03-08 23:38 UTC by Mikhail
Modified: 2023-08-10 13:05 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-08-10 13:05:17 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: os_info (770 bytes, text/plain)
2023-03-08 23:38 UTC, Mikhail
no flags Details
File: environ (206 bytes, text/plain)
2023-03-08 23:38 UTC, Mikhail
no flags Details
File: mountinfo (3.74 KB, text/plain)
2023-03-08 23:38 UTC, Mikhail
no flags Details
File: open_fds (659 bytes, text/plain)
2023-03-08 23:38 UTC, Mikhail
no flags Details
File: namespaces (163 bytes, text/plain)
2023-03-08 23:38 UTC, Mikhail
no flags Details
File: backtrace (6.46 KB, text/plain)
2023-03-08 23:38 UTC, Mikhail
no flags Details
File: cpuinfo (2.97 KB, text/plain)
2023-03-08 23:38 UTC, Mikhail
no flags Details

Description Mikhail 2023-03-08 23:38:32 UTC
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>

Comment 1 Mikhail 2023-03-08 23:38:36 UTC
Created attachment 1949168 [details]
File: os_info

Comment 2 Mikhail 2023-03-08 23:38:38 UTC
Created attachment 1949169 [details]
File: environ

Comment 3 Mikhail 2023-03-08 23:38:40 UTC
Created attachment 1949170 [details]
File: mountinfo

Comment 4 Mikhail 2023-03-08 23:38:41 UTC
Created attachment 1949171 [details]
File: open_fds

Comment 5 Mikhail 2023-03-08 23:38:43 UTC
Created attachment 1949172 [details]
File: namespaces

Comment 6 Mikhail 2023-03-08 23:38:45 UTC
Created attachment 1949173 [details]
File: backtrace

Comment 7 Mikhail 2023-03-08 23:38:46 UTC
Created attachment 1949174 [details]
File: cpuinfo

Comment 8 Pavel Raiskup 2023-08-10 13:05:17 UTC
Thank you for the report, this is being resolved in bug #2186613.

*** This bug has been marked as a duplicate of bug 2186613 ***


Note You need to log in before you can comment on or make changes to this bug.