Bug 2169055 - traceback when user interrupts Mock - Directory not empty: '/var/lib/mock/fedora-rawhide-x86_64/root/builddir/build/BUILD/kernel-6.2-rc7-18-g0983f6bf2bfc'
Summary: traceback when user interrupts Mock - Directory not empty: '/var/lib/mock/fe...
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:70999838bac5a7d6f4b3c39eae8...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-02-11 11:21 UTC by Mikhail
Modified: 2023-08-10 13:07 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:07:42 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: os_info (770 bytes, text/plain)
2023-02-11 11:21 UTC, Mikhail
no flags Details
File: environ (206 bytes, text/plain)
2023-02-11 11:21 UTC, Mikhail
no flags Details
File: mountinfo (3.73 KB, text/plain)
2023-02-11 11:21 UTC, Mikhail
no flags Details
File: open_fds (1.72 KB, text/plain)
2023-02-11 11:21 UTC, Mikhail
no flags Details
File: namespaces (163 bytes, text/plain)
2023-02-11 11:21 UTC, Mikhail
no flags Details
File: backtrace (6.20 KB, text/plain)
2023-02-11 11:21 UTC, Mikhail
no flags Details
File: cpuinfo (2.97 KB, text/plain)
2023-02-11 11:21 UTC, Mikhail
no flags Details

Description Mikhail 2023-02-11 11:21:40 UTC
Version-Release number of selected component:
mock-3.5-2.fc38

Additional info:
reporter:       libreport-2.17.6
kernel:         6.2.0-0.rc7.20230208git0983f6bf2bfc.52.fc38.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.2.0/0.rc7.20230209git0983f6bf2bfc.52.fc39 --rebuild /home/mikhail/packaging-work/kernel/kernel-6.2.0-0.rc7.20230209git0983f6bf2bfc.52.fc39.src.rpm
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-org.gnome.Terminal.slice/vte-spawn-3d551e3f-bfdc-4e13-844d-72e88a014d42.scope
uid:            0
reason:         file_util.py:68:rmtree:OSError: [Errno 39] Directory not empty: '/var/lib/mock/fedora-rawhide-x86_64/root/builddir/build/BUILD/kernel-6.2-rc7-18-g0983f6bf2bfc'
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.1-4.fc38.x86_64

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-02-11 11:21:44 UTC
Created attachment 1943513 [details]
File: os_info

Comment 2 Mikhail 2023-02-11 11:21:45 UTC
Created attachment 1943514 [details]
File: environ

Comment 3 Mikhail 2023-02-11 11:21:47 UTC
Created attachment 1943515 [details]
File: mountinfo

Comment 4 Mikhail 2023-02-11 11:21:49 UTC
Created attachment 1943516 [details]
File: open_fds

Comment 5 Mikhail 2023-02-11 11:21:50 UTC
Created attachment 1943517 [details]
File: namespaces

Comment 6 Mikhail 2023-02-11 11:21:52 UTC
Created attachment 1943518 [details]
File: backtrace

Comment 7 Mikhail 2023-02-11 11:21:54 UTC
Created attachment 1943519 [details]
File: cpuinfo

Comment 8 Miroslav Suchý 2023-02-11 13:57:24 UTC
> exception_type: KeyboardInterrupt

The process was interrupted by the user. While in a such condition we should gracefully exit and not print traceback, and this should be fixed - this will have very very low priority for us.

Comment 9 Pavel Raiskup 2023-08-10 13:07:42 UTC
Thank you for the report.  This seems like the same issue resolved in bug #2186613,
or have the same cause.

*** 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.