apt related unit test errors in artful, bionic
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Landscape Client |
Fix Released
|
Medium
|
Simon Poirier | ||
landscape-client (Ubuntu) |
Fix Released
|
Medium
|
Andreas Hasenack | ||
Bionic |
Fix Released
|
Medium
|
Andreas Hasenack |
Bug Description
[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.
[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:/
[Original Description]
I'm seeing several unit test errors in zesty, artful and bionic.
The list:
a) landscape.
all of the type:
"landscape.
"
b) landscape.
landscape.
c) landscape.
landscape.
d) landscape.
landscape.
e) landscape.
apt.cache.
This was using 16.03 plus the patch from https:/
Changed in landscape-client: | |
milestone: | none → 18.01 |
Changed in landscape-client (Ubuntu): | |
importance: | Undecided → Medium |
Changed in landscape-client: | |
importance: | Undecided → Medium |
Changed in landscape-client: | |
status: | In Progress → Fix Committed |
summary: |
- apt related unit test errors in zesty, artful, bionic + apt related unit test errors in artful, bionic |
Changed in landscape-client (Ubuntu Bionic): | |
assignee: | nobody → Simon Poirier (simpoir) |
Changed in landscape-client (Ubuntu Artful): | |
assignee: | nobody → Simon Poirier (simpoir) |
importance: | Undecided → Medium |
status: | New → Confirmed |
description: | updated |
Changed in landscape-client (Ubuntu Bionic): | |
assignee: | Simon Poirier (simpoir) → Andreas Hasenack (ahasenack) |
status: | Confirmed → In Progress |
Changed in landscape-client: | |
status: | Fix Committed → Fix Released |
no longer affects: | landscape-client (Ubuntu Artful) |
This also happens with current HEAD from github (I used c679f31be0d4b93 23d1d10aac0f66c 8b0a009ece)