Backport remaining delta

Bug #1714969 reported by Stefan Bader
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-fan (Ubuntu)
Fix Released
Low
Unassigned
Xenial
Fix Released
Low
Unassigned
Zesty
Fix Released
Low
Stefan Bader

Bug Description

SRU Justification:

Impact: In order to lower maintenance burden we want to use the same code base of ubuntu-fan throughout all releases. Most of the code already is the same. The remaining delta could be split into two classes: documentation (for which there is a separate bug report and changes to build in and/or DEP8 testing (which this report is about).

Fixes:
  [ Xenial SRU only]
  * debian/control: fix use of obsolete > operator
    This only changes a package dependency. Not affecting use.
  * fanatic: fix local testing and improve docker test
    This fixes up the built-in test for docker and improves it
    (check for container start failure, potential clean up before
    start). Executed as part of DEP8 testing.
  * fanatic: Support nc -N option
    Strictly only needed in Artful but since the code was written
    to check for the new option and only use it if present, there
    is no visible change in previous releases. Covered by DEP8, too.
  * fanatic: Prevent error message without docker installed
    Without docker installed there is a message to stderr when
    disabling fan. This broke the LXD dep8 test. So again, verified
    by DEP8 as the LXD part gets added.
  * fanatic: Supply LXD storage if needed
    At some point the lxd-client started to require providing --storage
    when creating containers. The LXD dep8 test would break then. Fix
    checks for option being available and conditionally provides it.
    Again covered by DEP8 testing.
  * dep8: Add LXD auto-test
    Adds DEP8 testing for LXD (currently Xenial only tests docker).
  [ Xenial and Zesty SRU ]
  * DEP8: lxd: Suppress stderr on profile list(*)
    Strictly only needed in Xenial but we want to make the code the
    same. In Xenial doing a lxc profile list is/was printing a hint
    about init to stderr even when lxd init was already done. This
    broke the LXD DEP8 test in Xenial. The fix is to ignore stderr
    for that call which again is verified by DEP8 passing.

Test case:
As stated for the individual fixes all the changes will be verified by the DEP8 tests passing. The only exception is the packaging fix and that has no impact on usage at all.

Regression Risk:
Since all is covered by DEP8, and only modifies tests, the overall risk of regression for normal operation should be very low.

Stefan Bader (smb)
description: updated
Stefan Bader (smb)
summary: - Backport remaining delta to Xenial
+ Backport remaining delta
Changed in ubuntu-fan (Ubuntu Xenial):
importance: Undecided → Low
status: New → In Progress
Changed in ubuntu-fan (Ubuntu Zesty):
assignee: nobody → Stefan Bader (smb)
importance: Undecided → Low
status: New → In Progress
Changed in ubuntu-fan (Ubuntu):
assignee: Stefan Bader (smb) → nobody
status: In Progress → Fix Released
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

It's a bit of a special case this bug (and because of that it's also a bit confusing), but I'd still like to see some additional things added to the bug description: is there a way how this can be verified as 'working'? Would be nice if there was a test case introduced, someway that one could decide if the upload indeed has working changes for this task (there would be probably more testing for xenial). I'd also like to see a regression potential analysis of those changes, since for someone from the outside it's hard to guess looking at the diff which parts belong to this bug and how they can affect other parts potentially.

Stefan Bader (smb)
description: updated
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Please test proposed package

Hello Stefan, or anyone else affected,

Accepted ubuntu-fan into zesty-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ubuntu-fan/0.12.4~17.04.1 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-zesty to verification-done-zesty. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-zesty. In either case, details of your testing will help us make a better decision.

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

Changed in ubuntu-fan (Ubuntu Zesty):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-zesty
Revision history for this message
Stefan Bader (smb) wrote :

Verification for this part was done by passing ADT testing before hitting proposed. But also repeated the self-tests manually.

tags: added: verification-done-zesty
removed: verification-needed-zesty
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-fan - 0.12.4~17.04.1

---------------
ubuntu-fan (0.12.4~17.04.1) zesty; urgency=medium

  [ Andy Whitcroft ]
  * fanctl: only bring up enabled Fan Networks in --auto mode (LP: #1707610)
  * fanctl: correctly specify local interface specific config (LP: #1707610)
  * fanatic: recast advanced commands as non-interactive (LP: #1714966)
  * fanatic: fix spelling in primary help (LP: #1714966)
  * fanatic: fix references to fanatic manual page (LP: #1714966)

  [ Stefan Bader ]
  * fanatic: Fix typo in progress output (LP: #1714966)
  * README: Refresh documentation (LP: #1714966)
  * fanctl.8: Refresh documentation (LP: #1714966)
  * fanatic.8: Refresh documentation (LP: #1714966)
  * fanatic.8: Reword advanced to non-interactive usage (LP: #1714966)
  * DEP8: lxd: Suppress stderr on profile list (LP: #1714969)

 -- Stefan Bader <email address hidden> Fri, 18 Aug 2017 14:34:47 +0200

Changed in ubuntu-fan (Ubuntu Zesty):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for ubuntu-fan has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Łukasz Zemczak (sil2100) wrote : Please test proposed package

Hello Stefan, or anyone else affected,

Accepted ubuntu-fan into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ubuntu-fan/0.12.7~16.04.1 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-xenial to verification-done-xenial. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-xenial. In either case, details of your testing will help us make a better decision.

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

Changed in ubuntu-fan (Ubuntu Xenial):
status: In Progress → Fix Committed
tags: added: verification-needed-xenial
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Hello Stefan, or anyone else affected,

Accepted ubuntu-fan into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ubuntu-fan/0.12.8~16.04.1 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-xenial to verification-done-xenial. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-xenial. In either case, details of your testing will help us make a better decision.

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

Revision history for this message
Stefan Bader (smb) wrote :

All ADT tests marked as PASSed for Xenial: http://autopkgtest.ubuntu.com/packages/u/ubuntu-fan

The per-arch sub-page shows the most recent run was against 0.12.8~16.04.1: http://autopkgtest.ubuntu.com/packages/u/ubuntu-fan/xenial/amd64

tags: added: verification-done verification-done-xenial
removed: verification-needed verification-needed-xenial
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-fan - 0.12.8~16.04.1

---------------
ubuntu-fan (0.12.8~16.04.1) xenial; urgency=medium

  * fanatic: Optionally provide DNS server for docker test (LP: #1732717)

ubuntu-fan (0.12.7~16.04.1) xenial; urgency=medium

  * fanctl: cmd_up needs to proparate scan_config errors (LP: #1719644)
  * fanatic: Clean up config if bringup fails (LP: #1728050)

ubuntu-fan (0.12.6~16.04.1) xenial; urgency=medium

  [ 0.12.5 ]
  * DEP8: Fix LXD default interface detection (LP: #1732739)
  * fanctl: return error on fail_up (LP: #1719644)

  [ 0.12.6 ]
  * fanatic: Add short success delay to nc_send (LP: #1721352)
  * fanatic: Catch test preparation steps failing (LP: #1735183)
  * fanatic: Add DNS checks to local-test preparation (LP: #1732747)

ubuntu-fan (0.12.4~16.04.1) xenial; urgency=medium

  [ Andy Whitcroft ]
  * fanctl.8: fix interfane type (LP: #1584845)
  * debian/control: fix use of obsolete > operator (LP: #1714969)
  * fanctl: only bring up enabled Fan Networks in --auto mode (LP: #1707610)
  * fanctl: correctly specify local interface specific config (LP: #1707610)
  * fanatic: recast advanced commands as non-interactive (LP: #1714966)
  * fanatic: fix spelling in primary help (LP: #1714966)
  * fanatic: fix references to fanatic manual page (LP: #1714966)

  [ Stefan Bader ]
  * fanatic: fix local testing and improve docker test (LP: #1714969)
  * fanatic: Support nc -N option (LP: #1714969)
  * fanatic: Prevent error message without docker installed (LP: #1714969)
  * fanatic: Supply LXD storage if needed (LP: #1714969)
  * dep8: Add LXD auto-test (LP: #1714969)
  * fanatic: Fix typo in progress output (LP: #1714966)
  * README: Refresh documentation (LP: #1714966)
  * fanctl.8: Refresh documentation (LP: #1714966)
  * fanatic.8: Refresh documentation (LP: #1714966)
  * fanatic.8: Reword advanced to non-interactive usage (LP: #1714966)
  * DEP8: lxd: Suppress stderr on profile list (LP: #1714969)

 -- Stefan Bader <email address hidden> Wed, 29 Nov 2017 16:17:26 +0100

Changed in ubuntu-fan (Ubuntu Xenial):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.