~paride/curtin:release/20.2

Last commit made on 2020-09-24
Get this branch:
git clone -b release/20.2 https://git.launchpad.net/~paride/curtin
Only Paride Legovini can upload to this branch. If you are Paride Legovini please log in for upload directions.

Branch merges

Branch information

Name:
release/20.2
Repository:
lp:~paride/curtin

Recent commits

edf23b8... by Paride Legovini

Release 20.2

Bump the version in curtin/__init__.py to be 20.2.

LP: #1896947

ac7d5e5... by Dan Watkins

* debian/control: drop Build-Depends on linting tools, they haven't been
  used by the upstream test suite in a while.

8c35ca5... by Dan Watkins

* debian/*: drop python-curtin, making the package Python 3-only.

bcaef42... by Paride Legovini

Get debian/rules in sync with 0.1.0~bzr470-0ubuntu1

Get the packaging (specifically: debian/rules) in sync with the changes
introduced in verion 0.1.0~bzr470-0ubuntu1.

df0ca5b... by Paride Legovini

Fix the py3 pylint ci run

Changes:

 - pylintrc: fix the generated-members syntax

   generated-members accepts a list of python regular expressions,
   but we are using it as if accepted glob-like wildcards. This
   is wrong, causing errors like:

     internal error with sending report for module ['curtin/udev.py']
     nothing to repeat at position 0

   when using pylint 2.3.1 and fully crashing pylint 2.5.3 and 2.6.0.

   This change fixes the syntax error and removes the entries
   we don't actually need.

 - Fix LOG.error format string
 - tox: bump py3 pylint to version 2.6.0

8114405... by Ryan Harper <email address hidden>

vmtest: Fix multiple issues with vmtest on master

- Nvme-bcache: Do not mark multiple devices bootable that
  are not bootable, remove skip on Focal
- Fix PsuedoTest test_swaps_used
- Fix _serial_to_kname lookup of raid by-id paths
- Skip test_swaps_used on Groovy until LP: #1894910 is fixed
- Skip test_network_vlans Groovy until LP: #1888726 is fixed
- Disable lvm root xfs on /boot xfs test
- AptConfigCmd: Adjust regex to handling trailing slash in
  add-apt-repository URL generated

9c1bc71... by Ryan Harper

Refactor uefi_remove_duplicates into find/remove functions for reuse

Splitting the function into find/remove functions allows reuse in the
vmtest which exercises the code and then verifies the duplicate
removals.

- Remove skip_by_date on Centos7 in test_reuse_uefi_esp
- Use uefi_find_duplicate_entries to verify vmtest results

2dc3802... by Ryan Harper <email address hidden>

distro: run apt-get clean after dist-upgrade, install, upgrade

Some vmtest scenarios install multiple large packages which consume
storage temporarily and in some cases prevent other install
operations, like creating an initramfs, from completing
successfully. This change introduces an apt-get clean command run
after dist-upgrade, install or upgrade actions. This will clear out
the local repositiry of retrieved package files restoring space back
to the filesystem.

06be71e... by Ryan Harper

curthooks: UEFI remove dupes: don't remove BootCurrent, config option

When removing duplicate UEFI bootmenu entries do not remove the
BootCurrent entry. Fix this by adding BootCurrent to the seen set
before processing the list and then skip it during iteration of the
entries.

- Add grub config option: remove_duplicate_entries bool
- Add documentation around remove_duplicate_entries grub config
- Add unittests to verify we don't remove boot current and to
  check that dupe removal can be disabled.

LP: #1894217

b3e627c... by Paride Legovini

Pin the dependency on pyrsistent

pyrsistent 0.16.0 is the latest version supporting Python < 3.5.
Newer versions make the *py27 tox environments fail.