Hello Adam, or anyone else affected,

Accepted landscape-client into bionic-proposed. The package will build
now and be available at https://launchpad.net/ubuntu/+source/landscape-
client/18.01-0ubuntu3.5 in a few hours, and then in the -proposed
repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-bionic to verification-done-bionic. If it does not
fix the bug for you, please add a comment stating that, and change the
tag to verification-failed-bionic. In either case, without details of
your testing we will not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to python-apt in Ubuntu.
https://bugs.launchpad.net/bugs/1758529

Title:
  landscape-package-changer crashed with io.UnsupportedOperation in
  pulse(): fileno

Status in Landscape Client:
  Fix Committed
Status in landscape-client package in Ubuntu:
  Fix Released
Status in python-apt package in Ubuntu:
  Invalid
Status in landscape-client source package in Bionic:
  Fix Committed
Status in python-apt source package in Bionic:
  Invalid
Status in landscape-client source package in Disco:
  Won't Fix
Status in python-apt source package in Disco:
  Invalid
Status in landscape-client source package in Eoan:
  Fix Committed
Status in python-apt source package in Eoan:
  Invalid

Bug description:
  [Impact]

   * landscape-package-changer will output stack traces when executed
     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-package-changer is never executed from a terminal.

  [Test Case]

   * register landscape-client and wait for packages to be reported.

   * trigger a package installation from the landscape server.

   * check /var/log/landscape/manager.log for Package changer warnings

  [Regression Potential]

   * The change is trivially simple.

   * The changed code path is only used by python-apt progress reporting.
     Since landscape-package-changer does not rely on it and is able
     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
  ProcVersionSignature: Ubuntu 4.15.0-12.13-generic 4.15.7
  Uname: Linux 4.15.0-12-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.8-0ubuntu10
  Architecture: amd64
  Date: Sat Mar 24 07:05:34 2018
  ExecutablePath: /usr/bin/landscape-package-changer
  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/landscape-package-changer --quiet
  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/bin/landscape-package-changer', '--quiet']
  PythonDetails: /usr/bin/python2.7, Python 2.7.14+, python-minimal, 2.7.14-4
  SourcePackage: landscape-client
  Title: landscape-package-changer crashed with io.UnsupportedOperation in 
pulse(): fileno
  Traceback:
   Traceback (most recent call last):
     File "/usr/lib/python3/dist-packages/apt/progress/text.py", line 164, in 
pulse
       not os.isatty(self._file.fileno())):
   io.UnsupportedOperation: fileno
  UpgradeStatus: Upgraded to bionic on 2018-03-15 (8 days ago)
  UserGroups:

To manage notifications about this bug go to:
https://bugs.launchpad.net/landscape-client/+bug/1758529/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to