Bug 2221239

Summary: [abrt] rdiff-backup: copyfileobj(): rpath.py:1548:copyfileobj:OSError: [Errno 28] No space left on device
Product: [Fedora] Fedora Reporter: Jan Vlug <jan.public>
Component: rdiff-backupAssignee: Frank Crawford <frank>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 38CC: frank, jan.public, kevin
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/c24672bab25ab446bf97dec94bf677e7d5e0f19
Whiteboard: abrt_hash:e13d4a0b3c39bb9a162cef6b7994b73c58dd51dd;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-07-08 08:33:27 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: mountinfo
none
File: cpuinfo
none
File: backtrace
none
File: open_fds
none
File: os_info
none
File: cgroup
none
File: environ
none
File: namespaces none

Description Jan Vlug 2023-07-07 15:48:22 UTC
Version-Release number of selected component:
rdiff-backup-2.2.5-2.fc38

Additional info:
reporter:       libreport-2.17.11
kernel:         6.3.8-200.fc38.x86_64
package:        rdiff-backup-2.2.5-2.fc38
cmdline:        /usr/bin/python3 /usr/bin/rdiff-backup -v4 backup --exclude /home/jan/Downloads --exclude /home/jan/.VirtualBox/Machines --exclude /tmp --exclude /mnt --exclude /proc --exclude /backup/externalHDD --exclude /media --exclude /lib --exclude /lib64 --exclude /bin --exclude /dev --exclude /lost+found --exclude /misc --exclude /net --exclude /opt --exclude /sbin --exclude /selinux --exclude /srv --exclude /usr --exclude /var --exclude /sys --exclude /iso --exclude /media/Backup --exclude /run/media --exclude /home/jan/.bitcoin/blocks --exclude /home/jan/.bitcoin/chainstate --exclude /run --exclude /var/run / /run/media/jan/BackupX/rdiff_backup_nyx_0
executable:     /usr/bin/rdiff-backup
reason:         rpath.py:1548:copyfileobj:OSError: [Errno 28] No space left on device
exception_type: OSError
type:           Python3
crash_function: copyfileobj
uid:            0
interpreter:    python3-3.11.3-2.fc38.x86_64
runlevel:       N 5

Truncated backtrace:
#1 [/usr/lib64/python3.11/site-packages/rdiff_backup/rpath.py:1548] copyfileobj
#2 [/usr/lib64/python3.11/site-packages/rdiff_backup/rpath.py:1152] write_from_fileobj
#3 [/usr/lib64/python3.11/site-packages/rdiff_backup/rpath.py:1620] copy_reg_file
#4 [/usr/lib64/python3.11/site-packages/rdiff_backup/rpath.py:1586] copy
#5 [/usr/lib64/python3.11/site-packages/rdiff_backup/robust.py:94] check_common_error
#6 [/usr/lib64/python3.11/site-packages/rdiff_backup/backup.py:701] _patch_snapshot_to_temp
#7 [/usr/lib64/python3.11/site-packages/rdiff_backup/backup.py:655] _patch_to_temp
#8 [/usr/lib64/python3.11/site-packages/rdiff_backup/backup.py:802] fast_process_file
#9 [/usr/lib64/python3.11/site-packages/rdiff_backup/rorpiter.py:146] __call__
#10 [/usr/lib64/python3.11/site-packages/rdiff_backup/backup.py:210] patch_and_increment
#11 [/usr/lib64/python3.11/site-packages/rdiff_backup/backup.py:53] mirror_and_increment_compat200
#12 [/usr/lib64/python3.11/site-packages/rdiffbackup/actions/backup.py:154] run
#13 [/usr/lib64/python3.11/site-packages/rdiffbackup/run.py:110] main_run
#14 [/usr/lib64/python3.11/site-packages/rdiffbackup/run.py:37] main
#15 [/usr/bin/rdiff-backup:33] <module>

Comment 1 Jan Vlug 2023-07-07 15:48:25 UTC
Created attachment 1974496 [details]
File: mountinfo

Comment 2 Jan Vlug 2023-07-07 15:48:26 UTC
Created attachment 1974497 [details]
File: cpuinfo

Comment 3 Jan Vlug 2023-07-07 15:48:28 UTC
Created attachment 1974498 [details]
File: backtrace

Comment 4 Jan Vlug 2023-07-07 15:48:30 UTC
Created attachment 1974499 [details]
File: open_fds

Comment 5 Jan Vlug 2023-07-07 15:48:31 UTC
Created attachment 1974500 [details]
File: os_info

Comment 6 Jan Vlug 2023-07-07 15:48:32 UTC
Created attachment 1974501 [details]
File: cgroup

Comment 7 Jan Vlug 2023-07-07 15:48:34 UTC
Created attachment 1974502 [details]
File: environ

Comment 8 Jan Vlug 2023-07-07 15:48:35 UTC
Created attachment 1974503 [details]
File: namespaces

Comment 9 Frank Crawford 2023-07-08 03:18:18 UTC
@jan.public The failure reason was "OSError: [Errno 28] No space left on device".  Is there some other issue that needs to be looked into for this, or should this be closed?

Comment 10 Jan Vlug 2023-07-08 08:00:58 UTC
Disk was indeed full, but should ABRT trigger on this? If that is ok, feel free to close this issue.

Comment 11 Frank Crawford 2023-07-08 08:33:27 UTC
I think that ABRT just triggers on the fact rdiff-backup generates a stack-trace.  It doesn't care what is the cause.

On the other hand rdiff-backup believes that the failure is important enough to indicate what may have caused the issue and doesn't currently distinguish between OS caused errors.  Maybe in future, but currently it is more important to get the code solid.