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: CLOSED ERRATA
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-09-27 02:42 UTC (History)
5 users (show)

Fixed In Version: backintime-1.4.0-1.fc39 backintime-1.4.0-1.fc37 backintime-1.4.0-1.fc38
Clone Of:
Environment:
Last Closed: 2023-09-27 01:32:21 UTC
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

Comment 8 Fedora Update System 2023-09-16 13:52:46 UTC
FEDORA-2023-b0d61c5dfe has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-b0d61c5dfe

Comment 9 Fedora Update System 2023-09-16 13:52:47 UTC
FEDORA-2023-631cef2c09 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-631cef2c09

Comment 10 Fedora Update System 2023-09-16 13:52:47 UTC
FEDORA-2023-e6b79e9e55 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-e6b79e9e55

Comment 11 Fedora Update System 2023-09-17 02:03:47 UTC
FEDORA-2023-e6b79e9e55 has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-e6b79e9e55`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-e6b79e9e55

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 12 Fedora Update System 2023-09-17 02:40:18 UTC
FEDORA-2023-b0d61c5dfe has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-b0d61c5dfe`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-b0d61c5dfe

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 13 Fedora Update System 2023-09-17 02:51:23 UTC
FEDORA-2023-631cef2c09 has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-631cef2c09`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-631cef2c09

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 14 Fedora Update System 2023-09-27 01:32:21 UTC
FEDORA-2023-e6b79e9e55 has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 15 Fedora Update System 2023-09-27 02:37:04 UTC
FEDORA-2023-b0d61c5dfe has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 16 Fedora Update System 2023-09-27 02:42:27 UTC
FEDORA-2023-631cef2c09 has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.


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