Merge ~awe/snappy-hwe-snaps/+git/network-manager:snap-update-20-epoch into ~snappy-hwe-team/snappy-hwe-snaps/+git/network-manager:snap-20
Status: | Merged |
---|---|
Approved by: | Alfonso Sanchez-Beato |
Approved revision: | bd2e479614ec595050aaf4f0f63f6aec12adc095 |
Merged at revision: | eaa6f8f4cdce47a8f3ae282da53d690956df8fb5 |
Proposed branch: | ~awe/snappy-hwe-snaps/+git/network-manager:snap-update-20-epoch |
Merge into: | ~snappy-hwe-team/snappy-hwe-snaps/+git/network-manager:snap-20 |
Diff against target: |
51 lines (+19/-4) 2 files modified
snap/snapcraft.yaml (+10/-0) tests/lib/utilities.sh (+9/-4) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Alfonso Sanchez-Beato | Approve | ||
Heather Ellsworth (community) | Approve | ||
System Enablement Bot | continuous-integration | Approve | |
Review via email: mp+399241@code.launchpad.net |
Description of the change
Since the uc20 version of the network-manager snap has been updated to default to the native netplan configuration plugin, it's no longer possible to refresh from an earlier track, as the format and location of system-connection files have changed.
If it's decided at some point in the future that cross-track refreshes need to be supported, then logic will need to be added to the post-refresh hook to handle conversion of the connection files, and the epoch adjusted accordingly to reflect this.
Tested on a Dell Edge 3000 with network-manager 1.2.2-28 (615) installed:
$ snap list | grep network
network-manager 1.2.2-28 615 latest/stable canonical* -
admin@C2112XX:~$ sudo snap install network-
error: cannot install snap file: cannot refresh "network-manager" to local snap with epoch 1,
because it can't read the current epoch of 0
FAILED: Continuous integration, rev:8eaf3e28414 04dc06d79900d9f 1f757b36235fb4 /jenkins. canonical. com/system- enablement/ job/snappy- hwe-snaps- snap-build- prepare/ 573/ /jenkins. canonical. com/system- enablement/ job/snappy- hwe-snaps- snap-build/ ARCHITECTURE= amd64/606/ console /jenkins. canonical. com/system- enablement/ job/snappy- hwe-snaps- snap-build/ ARCHITECTURE= arm64/606 /jenkins. canonical. com/system- enablement/ job/snappy- hwe-snaps- snap-build/ ARCHITECTURE= armhf/606 /jenkins. canonical. com/system- enablement/ job/snappy- hwe-snaps- snap-build/ ARCHITECTURE= i386/606 /jenkins. canonical. com/system- enablement/ job/snappy- hwe-snaps- snap-docs/ 1392 /jenkins. canonical. com/system- enablement/ job/snappy- hwe-snaps- snap-cleanup/ 1134 /jenkins. canonical. com/system- enablement/ job/snappy- hwe-snaps- snap-update- mp/1186/ console
https:/
Executed test runs:
FAILURE: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
None: https:/
Click here to trigger a rebuild: /jenkins. canonical. com/system- enablement/ job/snappy- hwe-snaps- snap-build- prepare/ 573/rebuild
https:/