Bug 2222876

Summary: [abrt] backintime-common: write(): bz2.py:114:close:OSError: [Errno 28] No space left on device
Product: [Fedora] Fedora Reporter: ochal
Component: backintimeAssignee: hannes <johannes.lips>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 38CC: johannes.lips, jonathan, ochal, projects.rg, rosset.filipe
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/d0997f7ef81d75b41859a8742af9c5943ab014c
Whiteboard: abrt_hash:7de7902afa929a3a30a90388bd396439beab23b9;VARIANT_ID=workstation;
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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 ochal 2023-07-14 08:50:15 UTC
Description of problem:
Target drive ran out of space

Version-Release number of selected component:
backintime-common-1.3.3-2.fc38

Additional info:
reporter:       libreport-2.17.11
kernel:         6.3.11-200.fc38.x86_64
cmdline:        python3 -Es /usr/share/backintime/common/backintime.py backup
cgroup:         0::/user.slice/user-1000.slice/user/session.slice/org.gnome.Shell
uid:            1000
reason:         bz2.py:114:close:OSError: [Errno 28] No space left on device
executable:     /usr/share/backintime/common/backintime.py
type:           Python3
package:        backintime-common-1.3.3-2.fc38
runlevel:       N 5
exception_type: OSError
crash_function: write
interpreter:    python3-3.11.4-1.fc38.x86_64
comment:        Target drive ran out of space

Truncated backtrace:
bz2.py:114:close:OSError: [Errno 28] No space left on device

Traceback (most recent call last):
  File "/usr/share/backintime/common/snapshots.py", line 2491, in fileInfo
    f.write(b' '.join((str(info[0]).encode('utf-8', 'replace'),
  File "/usr/lib64/python3.11/bz2.py", line 231, in write
    self._fp.write(compressed)
OSError: [Errno 28] No space left on device

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/backintime/common/backintime.py", line 1190, in <module>
    startApp()
  File "/usr/share/backintime/common/backintime.py", line 523, in startApp
    args.func(args)
  File "/usr/share/backintime/common/backintime.py", line 764, in backup
    ret = takeSnapshot(cfg, force)
          ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/backintime/common/backintime.py", line 96, in takeSnapshot
    ret = snapshots.Snapshots(cfg).backup(force)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/backintime/common/snapshots.py", line 767, in backup
    ret_val, ret_error = self.takeSnapshot(sid, now, include_folders)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/backintime/common/snapshots.py", line 1190, in takeSnapshot
    self.backupPermissions(new_snapshot)
  File "/usr/share/backintime/common/snapshots.py", line 1026, in backupPermissions
    sid.fileInfo = fileInfoDict
    ^^^^^^^^^^^^
  File "/usr/share/backintime/common/snapshots.py", line 2489, in fileInfo
    with bz2.BZ2File(self.path(self.FILEINFO), 'wb') as f:
  File "/usr/lib64/python3.11/bz2.py", line 114, in close
    self._fp.close()
OSError: [Errno 28] No space left on device

Local variables in innermost frame:
self: <bz2.BZ2File object at 0x7f68d83dc0d0>

Comment 1 ochal 2023-07-14 08:50:19 UTC
Created attachment 1975730 [details]
File: os_info

Comment 2 ochal 2023-07-14 08:50:20 UTC
Created attachment 1975731 [details]
File: environ

Comment 3 ochal 2023-07-14 08:50:22 UTC
Created attachment 1975732 [details]
File: mountinfo

Comment 4 ochal 2023-07-14 08:50:23 UTC
Created attachment 1975733 [details]
File: open_fds

Comment 5 ochal 2023-07-14 08:50:25 UTC
Created attachment 1975734 [details]
File: namespaces

Comment 6 ochal 2023-07-14 08:50:26 UTC
Created attachment 1975735 [details]
File: backtrace

Comment 7 ochal 2023-07-14 08:50:28 UTC
Created attachment 1975736 [details]
File: cpuinfo