landscape-package-changer crashed with io.UnsupportedOperation in pulse(): fileno
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Landscape Client |
Fix Committed
|
Undecided
|
Simon Poirier | ||
landscape-client (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Simon Poirier | ||
Disco |
Won't Fix
|
Undecided
|
Unassigned | ||
Eoan |
Fix Released
|
Medium
|
Simon Poirier |
Bug Description
[Impact]
* landscape-
with python3. This adds noise in the logs and confuse apport into
thinking there was a crash, even though the error does not affect
functionality.
* The activity log for package operations will also show errors.
* The patch overrides python-apt reporting of progress, as
landscape-
[Test Case]
* register landscape-client and wait for packages to be reported.
* trigger a package installation from the landscape server.
* check /var/log/
[Regression Potential]
* The change is trivially simple.
* The changed code path is only used by python-apt progress reporting.
Since landscape-
to continue, other errors would likely have the same fate: that is
crashing the progress reporting thread and continuing.
[Original Description]
Crash in the background
ProblemType: Crash
DistroRelease: Ubuntu 18.04
Package: landscape-client 18.01-0ubuntu2
ProcVersionSign
Uname: Linux 4.15.0-12-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.8-0ubuntu10
Architecture: amd64
Date: Sat Mar 24 07:05:34 2018
ExecutablePath: /usr/bin/
InstallationDate: Installed on 2015-07-04 (994 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
InterpreterPath: /usr/bin/python3.6
ProcCmdline: /usr/bin/python3 /usr/bin/
ProcEnviron:
LANGUAGE=en_GB:en
PATH=(custom, no user)
LANG=en_GB.UTF-8
Python3Details: /usr/bin/python3.6, Python 3.6.5rc1, python3-minimal, 3.6.4-1
PythonArgs: ['/usr/
PythonDetails: /usr/bin/python2.7, Python 2.7.14+, python-minimal, 2.7.14-4
SourcePackage: landscape-client
Title: landscape-
Traceback:
Traceback (most recent call last):
File "/usr/lib/
not os.isatty(
io.Unsupported
UpgradeStatus: Upgraded to bionic on 2018-03-15 (8 days ago)
UserGroups:
Related branches
- Canonical Server: Pending requested
- git-ubuntu developers: Pending requested
-
Diff: 346 lines (+312/-0)5 files modifieddebian/changelog (+8/-0)
debian/patches/apt-pulse-1758529.patch (+27/-0)
debian/patches/reporter_logging.patch (+19/-0)
debian/patches/security_pocket_1848828.patch (+255/-0)
debian/patches/series (+3/-0)
- Eric Desrochers (community): Approve
- git-ubuntu developers: Pending requested
-
Diff: 346 lines (+312/-0)5 files modifieddebian/changelog (+8/-0)
debian/patches/apt-pulse-1758529.patch (+27/-0)
debian/patches/reporter_logging.patch (+19/-0)
debian/patches/security_pocket_1848828.patch (+255/-0)
debian/patches/series (+3/-0)
- Eric Desrochers (community): Approve
- git-ubuntu developers: Pending requested
-
Diff: 346 lines (+312/-0)5 files modifieddebian/changelog (+8/-0)
debian/patches/apt-pulse-1758529.patch (+27/-0)
debian/patches/reporter_logging.patch (+19/-0)
debian/patches/security_pocket_1848828.patch (+255/-0)
debian/patches/series (+3/-0)
- Eric Desrochers (community): Approve
- git-ubuntu developers: Pending requested
-
Diff: 346 lines (+312/-0)5 files modifieddebian/changelog (+8/-0)
debian/patches/apt-pulse-1758529.patch (+27/-0)
debian/patches/reporter_logging.patch (+19/-0)
debian/patches/security_pocket_1848828.patch (+255/-0)
debian/patches/series (+3/-0)
tags: | removed: need-duplicate-check |
Changed in landscape-client (Ubuntu): | |
importance: | Undecided → Medium |
tags: | added: low-hanging-fruit |
Changed in landscape-client: | |
status: | New → Confirmed |
Changed in landscape-client: | |
status: | In Progress → Fix Committed |
Changed in python-apt (Ubuntu): | |
status: | Confirmed → Invalid |
Changed in python-apt (Ubuntu Bionic): | |
status: | New → Invalid |
Changed in python-apt (Ubuntu Disco): | |
status: | New → Invalid |
Changed in landscape-client (Ubuntu Bionic): | |
status: | New → Confirmed |
Changed in landscape-client (Ubuntu Disco): | |
status: | New → Confirmed |
description: | updated |
Changed in landscape-client (Ubuntu Disco): | |
status: | Confirmed → Won't Fix |
Changed in landscape-client (Ubuntu Eoan): | |
assignee: | nobody → Simon Poirier (simpoir) |
Changed in landscape-client (Ubuntu Bionic): | |
assignee: | nobody → Simon Poirier (simpoir) |
status: | Confirmed → In Progress |
Changed in landscape-client (Ubuntu Eoan): | |
status: | Confirmed → In Progress |
information type: | Private → Public |
tags: |
added: verification-done-bionic removed: verification-needed-bionic |
no longer affects: | python-apt (Ubuntu) |
no longer affects: | python-apt (Ubuntu Bionic) |
no longer affects: | python-apt (Ubuntu Disco) |
no longer affects: | python-apt (Ubuntu Eoan) |
tags: | removed: verification-needed |
https:/ /github. com/CanonicalLt d/landscape- client/ pull/45