2017-12-05 19:56:18 |
Andreas Hasenack |
bug |
|
|
added bug |
2017-12-06 12:51:34 |
Andreas Hasenack |
bug task added |
|
landscape-client (Ubuntu) |
|
2017-12-06 19:09:57 |
Dominique Poulain |
bug |
|
|
added subscriber Dominique Poulain |
2018-01-16 11:20:21 |
Andreas Hasenack |
landscape-client: milestone |
|
18.01 |
|
2018-01-26 16:31:10 |
Andreas Hasenack |
landscape-client (Ubuntu): importance |
Undecided |
Medium |
|
2018-01-26 16:31:28 |
Andreas Hasenack |
landscape-client: importance |
Undecided |
Medium |
|
2018-01-30 15:51:57 |
Launchpad Janitor |
landscape-client (Ubuntu): status |
New |
Confirmed |
|
2018-01-30 15:52:36 |
Simon Poirier |
landscape-client: status |
New |
In Progress |
|
2018-01-30 15:53:11 |
Simon Poirier |
landscape-client: assignee |
|
Simon Poirier (simpoir) |
|
2018-02-06 15:52:13 |
Simon Poirier |
landscape-client: status |
In Progress |
Fix Committed |
|
2018-02-07 19:35:31 |
Eric Desrochers |
nominated for series |
|
Ubuntu Bionic |
|
2018-02-07 19:35:31 |
Eric Desrochers |
bug task added |
|
landscape-client (Ubuntu Bionic) |
|
2018-02-07 19:35:31 |
Eric Desrochers |
nominated for series |
|
Ubuntu Artful |
|
2018-02-07 19:35:31 |
Eric Desrochers |
bug task added |
|
landscape-client (Ubuntu Artful) |
|
2018-02-07 19:35:49 |
Eric Desrochers |
summary |
apt related unit test errors in zesty, artful, bionic |
apt related unit test errors in artful, bionic |
|
2018-02-07 19:36:08 |
Eric Desrochers |
landscape-client (Ubuntu Bionic): assignee |
|
Simon Poirier (simpoir) |
|
2018-02-07 19:36:16 |
Eric Desrochers |
landscape-client (Ubuntu Artful): assignee |
|
Simon Poirier (simpoir) |
|
2018-02-07 19:36:18 |
Eric Desrochers |
landscape-client (Ubuntu Artful): importance |
Undecided |
Medium |
|
2018-02-07 19:36:24 |
Eric Desrochers |
landscape-client (Ubuntu Artful): status |
New |
Confirmed |
|
2018-02-07 23:09:20 |
Simon Poirier |
attachment added |
|
artful.debdiff https://bugs.launchpad.net/landscape-client/+bug/1736576/+attachment/5050967/+files/artful.debdiff |
|
2018-02-08 00:26:27 |
Ubuntu Foundations Team Bug Bot |
tags |
|
patch |
|
2018-02-08 00:26:37 |
Ubuntu Foundations Team Bug Bot |
bug |
|
|
added subscriber Ubuntu Sponsors Team |
2018-02-09 00:10:48 |
Simon Poirier |
attachment removed |
artful.debdiff https://bugs.launchpad.net/landscape-client/+bug/1736576/+attachment/5050967/+files/artful.debdiff |
|
|
2018-02-09 00:11:12 |
Simon Poirier |
attachment added |
|
artful.debdiff https://bugs.launchpad.net/landscape-client/+bug/1736576/+attachment/5051534/+files/artful.debdiff |
|
2018-02-09 00:11:28 |
Simon Poirier |
attachment added |
|
bionic.debdiff https://bugs.launchpad.net/landscape-client/+bug/1736576/+attachment/5051535/+files/bionic.debdiff |
|
2018-02-09 01:01:41 |
Simon Poirier |
description |
I'm seeing several unit test errors in zesty, artful and bionic.
The list:
a) landscape.package.tests.test_changer.AptPackageChangerTest
all of the type:
"landscape.package.facade.ChannelError: Apt failed to reload channels ([{'distribution': './', 'type': 'deb', 'baseurl': 'file:///tmp/tmpd_58Jb', 'components': ''}])
"
b) landscape.package.tests.test_facade.AptFacadeTest
landscape.package.facade.ChannelError: Apt failed to reload channels ([{'distribution': './', 'type': 'deb', 'baseurl': 'file:///tmp/tmproQ91z', 'components': ''}])
c) landscape.package.tests.test_changer.AptPackageChangerTest
landscape.package.facade.ChannelError: Apt failed to reload channels ([{'distribution': './', 'type': 'deb', 'baseurl': 'file:///tmp/tmpLhCd_i', 'components': ''}])
d) landscape.package.tests.test_reporter.PackageReporterAptTest
landscape.package.facade.ChannelError: Apt failed to reload channels ([{'distribution': './', 'type': 'deb', 'baseurl': 'file:///tmp/tmpaHngJ2', 'components': ''}])
e) landscape.package.tests.test_skeleton.SkeletonAptTest
apt.cache.FetchFailedException: E:The repository 'file:/tmp/tmpLVhCZR ./ Release' does not have a Release file.
This was using 16.03 plus the patch from https://bugs.launchpad.net/ubuntu/+source/landscape-client/+bug/1699179 |
[Impact]
* This bug is a regression in landscape-client, caused by
apt sources being now verified by apt-secure unless explicitly
excluded. This effectively breaks landscape package profiles,
which uses temporary file-local (file://path) source list entry
containing the package policy for that client.
* This backported fix adds the "trusted" option to temporary
file-local sources created by landscape, in order to skip
the apt-secure validation only on those. This was previously
the behaviour prior to yakkety.
[Test Case]
Test scenario
* Register a client with landscape.
* Create a package profile and associate it with the client.
* Check the profile is applied successfully.
Additionally, test failures of the exercised code were fixed as part of
this change in landscape.package.tests.test_facade/test_changer.
[Regression Potential]
* There is no regression anticipated, the functionality using this code path
is already non-functional.
* The affected code is only used as part of package profiles application,
and the option is strictly for a single "file://" source, it should be
fairly safe to change.
[Other Info]
* Upstream commit: https://github.com/CanonicalLtd/landscape-client/commit/d640643a15414b0d8e4330179e11d5a6036a6e42
[Original Description]
I'm seeing several unit test errors in zesty, artful and bionic.
The list:
a) landscape.package.tests.test_changer.AptPackageChangerTest
all of the type:
"landscape.package.facade.ChannelError: Apt failed to reload channels ([{'distribution': './', 'type': 'deb', 'baseurl': 'file:///tmp/tmpd_58Jb', 'components': ''}])
"
b) landscape.package.tests.test_facade.AptFacadeTest
landscape.package.facade.ChannelError: Apt failed to reload channels ([{'distribution': './', 'type': 'deb', 'baseurl': 'file:///tmp/tmproQ91z', 'components': ''}])
c) landscape.package.tests.test_changer.AptPackageChangerTest
landscape.package.facade.ChannelError: Apt failed to reload channels ([{'distribution': './', 'type': 'deb', 'baseurl': 'file:///tmp/tmpLhCd_i', 'components': ''}])
d) landscape.package.tests.test_reporter.PackageReporterAptTest
landscape.package.facade.ChannelError: Apt failed to reload channels ([{'distribution': './', 'type': 'deb', 'baseurl': 'file:///tmp/tmpaHngJ2', 'components': ''}])
e) landscape.package.tests.test_skeleton.SkeletonAptTest
apt.cache.FetchFailedException: E:The repository 'file:/tmp/tmpLVhCZR ./ Release' does not have a Release file.
This was using 16.03 plus the patch from https://bugs.launchpad.net/ubuntu/+source/landscape-client/+bug/1699179 |
|
2018-02-22 21:07:40 |
Andreas Hasenack |
landscape-client (Ubuntu Bionic): assignee |
Simon Poirier (simpoir) |
Andreas Hasenack (ahasenack) |
|
2018-02-22 21:07:43 |
Andreas Hasenack |
landscape-client (Ubuntu Bionic): status |
Confirmed |
In Progress |
|
2018-02-28 00:08:20 |
Launchpad Janitor |
landscape-client (Ubuntu Bionic): status |
In Progress |
Fix Released |
|
2018-03-01 16:06:28 |
Andreas Hasenack |
landscape-client: status |
Fix Committed |
Fix Released |
|
2018-04-25 19:23:52 |
David Britton |
bug task deleted |
landscape-client (Ubuntu Artful) |
|
|