Bug 2176691

Summary: [abrt] mock: logOutput(): file_util.py:68:rmtree:OSError: [Errno 39] Directory not empty: '/var/lib/mock/fedora-rawhide-x86_64/root/usr/lib64/python3.11/html'
Product: [Fedora] Fedora Reporter: Mikhail <mikhail.v.gavrilov>
Component: mockAssignee: Copr Team <copr-team>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: 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/af79736bcc42e2974e98c3e0df29f6997ed6074
Whiteboard: abrt_hash:893965a26b717cd6cfe2189cb982d9a9843d70e4;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:19:54 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:
Description Flags
File: os_info
none
File: environ
none
File: mountinfo
none
File: open_fds
none
File: namespaces
none
File: backtrace
none
File: cpuinfo none

Description Mikhail 2023-03-08 23:43:42 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.17.fc39 --rebuild /home/mikhail/packaging-work/kernel/kernel-6.3.0-0.rc1.20230308git63355b9884b3.17.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/html'
executable:     /usr/libexec/mock/mock
type:           Python3
package:        mock-3.5-2.fc38
runlevel:       N 5
exception_type: KeyboardInterrupt
crash_function: logOutput
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/util.py:394] logOutput
#2 [/usr/lib/python3.11/site-packages/mockbuild/util.py:556] do_with_status
#3 [/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py:93] trace
#4 [/usr/lib/python3.11/site-packages/mockbuild/buildroot.py:277] doChroot
#5 [/usr/lib/python3.11/site-packages/mockbuild/backend.py:789] rebuild_package
#6 [/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py:93] trace
#7 [/usr/lib/python3.11/site-packages/mockbuild/backend.py:316] build
#8 [/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py:93] trace
#9 [/usr/lib/python3.11/site-packages/mockbuild/rebuild.py:66] build
#10 [/usr/lib/python3.11/site-packages/mockbuild/rebuild.py:25] rebuild_generic

Comment 1 Mikhail 2023-03-08 23:43:46 UTC
Created attachment 1949181 [details]
File: os_info

Comment 2 Mikhail 2023-03-08 23:43:47 UTC
Created attachment 1949182 [details]
File: environ

Comment 3 Mikhail 2023-03-08 23:43:49 UTC
Created attachment 1949183 [details]
File: mountinfo

Comment 4 Mikhail 2023-03-08 23:43:50 UTC
Created attachment 1949184 [details]
File: open_fds

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

Comment 6 Mikhail 2023-03-08 23:43:53 UTC
Created attachment 1949186 [details]
File: backtrace

Comment 7 Mikhail 2023-03-08 23:43:55 UTC
Created attachment 1949187 [details]
File: cpuinfo

Comment 8 Pavel Raiskup 2023-08-10 13:19:54 UTC
Thank you for the report.  This problem has been fixed in #2186613.

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