Bug 2222876 - [abrt] backintime-common: write(): bz2.py:114:close:OSError: [Errno 28] No space left on device
Summary: [abrt] backintime-common: write(): bz2.py:114:close:OSError: [Errno 28] No sp...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: backintime
Version: 38
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: hannes
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:7de7902afa929a3a30a90388bd3...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-14 08:50 UTC by ochal
Modified: 2023-07-14 08:50 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)
File: os_info (734 bytes, text/plain)
2023-07-14 08:50 UTC, ochal
no flags Details
File: environ (1.74 KB, text/plain)
2023-07-14 08:50 UTC, ochal
no flags Details
File: mountinfo (4.01 KB, text/plain)
2023-07-14 08:50 UTC, ochal
no flags Details
File: open_fds (674 bytes, text/plain)
2023-07-14 08:50 UTC, ochal
no flags Details
File: namespaces (171 bytes, text/plain)
2023-07-14 08:50 UTC, ochal
no flags Details
File: backtrace (1.74 KB, text/plain)
2023-07-14 08:50 UTC, ochal
no flags Details
File: cpuinfo (2.81 KB, text/plain)
2023-07-14 08:50 UTC, ochal
no flags Details

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


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