unattended-upgrades (2.10)
[PTS] [DDPO]
COMMITS: VCS has seen 124 commits since the 2.9.1 tag
- Git: https://github.com/mvo5/unattended-upgrades.git
-
- Branch: master
- Path: debian/changelog
- Repo size: 749568
- Last scan: 2024-03-19 06:41:03+00
- Next scan: 2024-03-20 05:39:00+00
- Debian changelog in Git:
unattended-upgrades (2.10) unstable; urgency=medium
* setup: add `packages=[]` to fix setuptools being confused
* test: rework and modernize to run with pytest
* mypy: fix/update type annotations
* po/ru.po: update plural forms
-- Michael Vogt <mvo@debian.org> Mon, 12 Feb 2024 12:05:10 +0100
- This branch is 124 commits ahead of tag 2.9.1
- Git log:
commit 7bf3aa52af1c6b11c031d0949f223c1beb94f84c
Author: Michael Vogt <mvo@ubuntu.com>
Date: Fri Aug 5 23:15:15 2022 +0200
u-u: implement plugin system with `postrun()` functionality
This commit implements a new plugin system. Plugins are python
classes that start with `UnattendedUpgradesPlugin` and that are
locates in one of the following directories:
```
/etc/unattended-upgrades/plugins/
/usr/share/unattended-upgrades/plugins
```
Plugins are also searched in the `UNATTENDED_UPGRADES_PLUGIN_PATH`
environment path and in any of the directories in the apt configration:
`Unattended-Upgrade::Dirs::Plugins::`.
The `postrun()` function is called with a PluginDataPostrun python
object that looks like a python dictionary.
This dictionary contains the following elements:
* "plugin_api": the API version as string of the form "1.0"
* "hostname": The hostname of the machine that run u-u.
* "success": A boolean that indicates if the run was successful
* "result": A string with a human readable (and translated) status message
* "packages_upgraded": A list of packages that got upgraded.
* "packages_kept_back": A list of packages kept back.
* "packages_kept_installed": A list of packages not auto-removed.
* "reboot_required": Indicates a reboot is required.
* "log_dpkg": The full dpkg log output.
* "log_unattended_upgrades": The full unattended-upgrades log.
This new code can be tested with:
```
$ sudo PYTHONPATH=. UNATTENDED_UPGRADES_PLUGIN_PATH=./examples/plugins/ ./unattended-upgrade
```
commit c21f7b4a261cb0d8e9b1085bce7dbf525064a86a
Author: Alexandre Detiste <alexandre.detiste@gmail.com>
Date: Mon Feb 19 08:27:01 2024 +0100
flake8
commit 34cc2c841e3cd15f7805f6799b95fb0ab4e292cd
Author: Alexandre Detiste <alexandre.detiste@gmail.com>
Date: Mon Feb 19 08:20:11 2024 +0100
python2 cleaup
commit 78ba55f6d379d80bbb140eb347fd6502b1011bec
Author: Michael Vogt <michael.vogt@gmail.com>
Date: Mon Feb 12 13:12:17 2024 +0100
releasing package unattended-upgrades version 2.10
commit 8b367f83041fe99dce57dc85f4de02f157bd4f26
Author: Michael Vogt <michael.vogt@gmail.com>
Date: Mon Feb 12 12:50:12 2024 +0100
test: cleanup after tests
commit 8482fdd4ea75e8cf4fbb9f88bffd55c23bb9be99
Author: Michael Vogt <michael.vogt@gmail.com>
Date: Mon Feb 12 12:45:40 2024 +0100
debian/test: make test-systemd.py executable
commit 3a2ff87a5c3a5f29fc0d6402aba1d3adb08ed77f
Author: Michael Vogt <michael.vogt@gmail.com>
Date: Mon Feb 12 12:20:10 2024 +0100
test: mock MockDistroInfoModule more
commit f5c59ca4c149b37374f531226808aaab9a98684c
Author: Michael Vogt <michael.vogt@gmail.com>
Date: Mon Feb 12 12:17:35 2024 +0100
unattended-uprades: fix mypy errors
commit eaf8d5a06ddaa983f25cde421bf992a25a091e27
Merge: 0cc13e8 19ce53c
Author: Michael Vogt <mvo@debian.org>
Date: Tue Jan 30 11:24:09 2024 +0100
Merge pull request #354 from mvo5/debug-adt
tests: show lxd debug lot when running autopkgtest and include NMU diffs
commit 19ce53c7ba41edab8a6dabadf104cd12a8b18647
Author: Michael Vogt <michael.vogt@gmail.com>
Date: Tue Jan 30 09:38:53 2024 +0100
workflow: try "null" virtualization for autopkgtest as lxd is broken
commit 42ef63b4f7b71efa699d3f21f8fbbac8c38bf241
Author: Michael Vogt <michael.vogt@gmail.com>
Date: Mon Jan 29 22:05:03 2024 +0100
setup: add `packages=[]` to fix setuptools being confused
commit 3d42fb9fd4c9136c7a19f2965d68ac578e235c26
Author: Michael Vogt <michael.vogt@gmail.com>
Date: Mon Jan 29 22:14:29 2024 +0100
debian: include 2.9.1+nmu4
commit c891dbbe25fb18f5040c4818915ca816bdec322e
Author: Michael Vogt <michael.vogt@gmail.com>
Date: Mon Jan 29 22:13:24 2024 +0100
debian: include 2.9.1+nmu3
commit e5b77768854034c4fd1fcf9e4722a4edd8d3dcbc
Author: Michael Vogt <michael.vogt@gmail.com>
Date: Mon Jan 29 22:13:13 2024 +0100
debian: include 2.9.1+nmu2
commit 7a3f0d80eddf43ff53e4817314a492549dba54c7
Author: Michael Vogt <michael.vogt@gmail.com>
Date: Mon Jan 29 22:13:00 2024 +0100
debian: include 2.9.1+nmu1
commit 0cc13e8e098e5f7567aec5cdcfb8a777c40b93f3
Author: Michael Vogt <michael.vogt@gmail.com>
Date: Mon Jan 29 18:23:54 2024 +0100
test: fix two trivial flake8 errors
commit 5f979a25fda0f399a6c426e9972ed4c2a0e15cf0
Merge: 244baa2 a1493c0
Author: Michael Vogt <mvo@ubuntu.com>
Date: Fri Aug 5 13:03:04 2022 +0200
Merge pull request #330 from mvo5/less-cruft-2
test: remove `test/aptroot` usage
commit a1493c0b655fe4a7a1f3ae247b13e57e39d3eb30
Author: Michael Vogt <mvo@ubuntu.com>
Date: Fri Aug 5 12:44:45 2022 +0200
test: ensure no "DPkg::Pre-Install-Pkgs" is run
commit 1efaec1645b86a99065efa024813e8c8f37fa684
Author: Michael Vogt <mvo@ubuntu.com>
Date: Fri Aug 5 12:37:30 2022 +0200
test: rename "aptroot" to "root.unused-deps" as it is only used there now
commit c67b302856b30f3a41e5ffc823d101330900f5d6
Author: Michael Vogt <mvo@ubuntu.com>
Date: Fri Aug 5 12:34:06 2022 +0200
test: remove pointing to "aptroot" by default
commit e2e785ab86a90dbfda387ccf96712b7db7a40b01
Author: Michael Vogt <mvo@ubuntu.com>
Date: Fri Aug 5 12:30:32 2022 +0200
test: use TestBase.make_fake_rootdir in TestMinimalPartitions
commit b34da9f67bb5ac1848dca03189cbfaad621718ed
Author: Michael Vogt <mvo@ubuntu.com>
Date: Thu Aug 4 10:57:26 2022 +0200
test: ensure `test/aptroot` is also always in a tmpdir location
commit 244baa25a5980afeb2ffacd61a1d89db03928840
Merge: 5a9ccbb 49da7c7
Author: Michael Vogt <mvo@ubuntu.com>
Date: Fri Aug 5 12:37:40 2022 +0200
Merge pull request #332 from mvo5/remove-unneeded-mock-distro
test: remove some unneeded TestBase.mock_distro() calls
commit 49da7c7397d48b99a2843be5f9a3ca1d67fbf66e
Author: Michael Vogt <mvo@ubuntu.com>
Date: Fri Aug 5 12:23:30 2022 +0200
test: remove some unneeded TestBase.mock_distro() calls
commit 5a9ccbb2e17398d031fbb6111cf89ac673cae7b9
Merge: 88c4575 60759fd
Author: Michael Vogt <mvo@ubuntu.com>
Date: Fri Aug 5 12:18:41 2022 +0200
Merge pull request #331 from mvo5/ensure-single-test-works
workflow: ensure running each test on it's own works
commit 60759fdc62925ac99842cd51d69619c389a78f23
Author: Michael Vogt <mvo@ubuntu.com>
Date: Fri Aug 5 11:53:09 2022 +0200
test: use TestBase.mock_allowed_origins in TestRewindCache
commit 170a88d5e47397055ba09a3f0951565fdf7eb440
Author: Michael Vogt <mvo@ubuntu.com>
Date: Fri Aug 5 11:52:51 2022 +0200
test: add new "TestBase.mock_allowed_origins
commit a954775d10abe0946b16d49e1ab1bd6b501ed2c2
Author: Michael Vogt <mvo@ubuntu.com>
Date: Fri Aug 5 10:19:03 2022 +0200
test: change all mocked distro origins from `ubuntu` to `Ubuntu`
The origin in the `Release` file is upper-case so this is needed
in order to have realistic matching.
commit 90f49940f71fbfa4cc8e5f529e4c9ca10e564cc8
Author: Michael Vogt <mvo@ubuntu.com>
Date: Fri Aug 5 10:14:47 2022 +0200
test: mock distro in test_rewind
commit 460ca9a3c7733d3eca4a7611553333b60f7bdca9
Author: Michael Vogt <mvo@ubuntu.com>
Date: Thu Aug 4 11:01:19 2022 +0200
workflow: ensure running each test on it's own works
commit 88c4575211df9444cef30a7d84dfbf72d605cdf5
Merge: c2b514f 4171434
Author: Michael Vogt <mvo@ubuntu.com>
Date: Thu Aug 4 10:37:08 2022 +0200
Merge pull request #329 from mvo5/less-cruft
test: remove global `apt_pkg.config.set()` settings in tests
commit 4171434b73754ecc150980702338bc44cbb89f09
Author: Michael Vogt <mvo@ubuntu.com>
Date: Thu Aug 4 10:19:32 2022 +0200
test: remove global `apt_pkg.config.set()` settings in tests
The existing tests did a lot of global `apt_pkg.config.set()` calls
that are confusing. Instead consolidate all of those inside
`TestBase.setUp()`.
commit c2b514f269e854d286358b007e9591c8f4092247
Merge: 0399753 0748d01
Author: Michael Vogt <mvo@ubuntu.com>
Date: Thu Aug 4 09:57:17 2022 +0200
Merge pull request #328 from mvo5/test-make-fake-distro
test: add TestBase.make_fake_aptroot() and use in tests
commit 0748d01f13c541ce7902f8d37529423750844fe0
Author: Michael Vogt <mvo@ubuntu.com>
Date: Wed Aug 3 14:57:26 2022 +0200
test: ensure that apt.apt_pkg.init_system is run last
This ensures that there is no test pollution from accross test
runs happens and that the things like the dpkg status location
is reset.
commit b7f0f632fa7ee5a596b4eacd93d6864b34cae35e
Author: Michael Vogt <mvo@ubuntu.com>
Date: Wed Aug 3 13:55:02 2022 +0200
test: add missing aptroot/var/lib/dpkg/updates/.gitignore
commit 7158b8b24d4ef37ec00e0feaa1a8ec253354f592
Author: Michael Vogt <mvo@ubuntu.com>
Date: Wed Aug 3 11:48:47 2022 +0200
.gitignore: remove /test/root.*/ pattern as those dirs are now clean
commit 383194647750d88920582c3f4113cc98d179c333
Author: Michael Vogt <mvo@ubuntu.com>
Date: Wed Aug 3 11:30:43 2022 +0200
test: update TestUntrusted to use TestBase.make_fake_aptroot
commit e8bca47579ade6513c16dc53d2f4cbf6b3d88c8f
Author: Michael Vogt <mvo@ubuntu.com>
Date: Wed Aug 3 11:27:10 2022 +0200
test: update TestOnBattery to use TestBase.make_fake_aptroot
commit 916f26d53a90e40c6e5da162f77f1291a7c8bf07
Author: Michael Vogt <mvo@ubuntu.com>
Date: Wed Aug 3 11:17:34 2022 +0200
test: update TestDevRelease to use TestBase.make_fake_aptroot
commit f6af9d362d4903faa8926d342679643fd1f322c0
Author: Michael Vogt <mvo@ubuntu.com>
Date: Wed Aug 3 11:13:26 2022 +0200
test: update TestConffilePrompt to use TestBase.make_fake_aptroot
commit 21f7f21c6ac0fb5c7bd64abe6045c2f82a859796
Author: Michael Vogt <mvo@ubuntu.com>
Date: Wed Aug 3 11:06:53 2022 +0200
test: update TestRemoveUnused to use TestBase.make_fake_aptroot
commit 41fdd0f3afd10ae2ffec7110f06efa58c679ed19
Author: Michael Vogt <mvo@ubuntu.com>
Date: Wed Aug 3 10:30:30 2022 +0200
test: update TestRewindCache to use TestBase.make_fake_aptroot
commit d35c4e977b046fe5a853007825256dfe7252bf7e
Author: Michael Vogt <mvo@ubuntu.com>
Date: Sun Jul 31 19:38:53 2022 +0200
test: add TestBase.make_fake_aptroot()
The new `TestBase.make_fake_aptroot()` will create a fake aptroot
based on an exiting template. It will also create a fake dpkg
inside it that just writes what arguments got passed to it.
commit 039975320e284aed9764e373b1d8deb16a79680c
Merge: 2920639 bf965f7
Author: Michael Vogt <mvo@ubuntu.com>
Date: Wed Aug 3 11:47:44 2022 +0200
Merge pull request #327 from mvo5/fix-test-dev-release
test: fix test_dev_release issues
commit bf965f7d8276f3fc10fab6ba5156810f3e8f5bfe
Author: Michael Vogt <mvo@ubuntu.com>
Date: Wed Aug 3 11:20:04 2022 +0200
test: fix test_dev_release issues
This commit fixes two issues that look like copy/paste bugs:
- rename test from `TestUntrusted` to `TestDevRelease`
- fix `test_norelease_devrelease` to use MockDistroNoRelease
instead of exactly duplicating the `test_noauto_devrelease`
commit 2920639863524c9ac38a614d4bb3f733e31efa55
Merge: a9fba9f 18072d4
Author: Michael Vogt <mvo@ubuntu.com>
Date: Wed Aug 3 10:09:10 2022 +0200
Merge pull request #326 from mvo5/test-mock-distro
test: add `TestBase.mock_distro` and use in tests
commit 18072d495475a89b9e6c9cb80562e779dd8f0bae
Author: Michael Vogt <mvo@ubuntu.com>
Date: Tue Aug 2 12:01:23 2022 +0200
test: add `TestBase.mock_distro` and use in tests
Instead of monkey patching `unattended_upgrade.DISTOR_*` this
commit adds a proper `TestBase.mock_distro()` helper that uses
unittest.mock.patch() and restores the state after the test
again properly.
commit a9fba9f23a0b746c9e31b95416e191cb679669db
Author: Michael Vogt <mvo@ubuntu.com>
Date: Sun Jul 31 11:10:17 2022 +0200
tests: add FIXME for test_norelease_devreleas, the test looks exactly the same as test_noauto_devrelease
commit 8c62c05444ed505c2ca96a8092ee6be027033af3
Merge: a000030 ea96073
Author: Michael Vogt <mvo@ubuntu.com>
Date: Sun Jul 31 10:06:52 2022 +0200
Merge pull request #314 from jgomo3/master
unattended-upgrade: add CM for toggling process priority
commit ea9607380a3b8a95211536dd4ce9c42c82f4d3d8
Author: Jesús Gómez <jesus.gomez@fonemed.com>
Date: Sat Jul 30 20:13:41 2022 -0230
unattended-upgrade: rename CM to try_nice
commit 7640b48889b07d2e1319904975b93eca0046fdd0
Author: Jesús Gómez <jesus.gomez@fonemed.com>
Date: Sat Jul 30 19:53:03 2022 -0230
tests: fix typo and flake8 error about blank lines with spaces
This commit simply makes tests to pass.
commit 99cca97a85ade0e0cff1571e3625f872ec03a1e7
Merge: b6f3652 a000030
Author: Jesús Gómez <jesus.gomez@fonemed.com>
Date: Sat Jul 30 18:55:04 2022 -0230
Merge remote-tracking branch 'upstream/master'
commit a000030d668055860d769d054cde31318396a454
Merge: e573bd4 bfd7ef5
Author: Michael Vogt <mvo@ubuntu.com>
Date: Fri Jul 22 11:23:24 2022 +0200
Merge pull request #304 from mvo5/improve-debug-output
unattended-upgrade: tweak debug messages
commit bfd7ef5c498c0631db10446a817189df38f5d230
Merge: e9115e5 e573bd4
Author: Michael Vogt <mvo@ubuntu.com>
Date: Fri Jul 22 10:20:38 2022 +0200
Merge remote-tracking branch 'origin/master' into improve-debug-output
commit e573bd4501816db04e6029f62eed653a28b02c6b
Merge: 995bbe9 5a16dc2
Author: Michael Vogt <mvo@ubuntu.com>
Date: Fri Jul 22 10:19:11 2022 +0200
Merge pull request #306 from mvo5/quick-tests
github: run static checks as part of the workflow
commit 5a16dc2bcd4119d1576bc0424ec8507e4a0af6d1
Author: Michael Vogt <mvo@ubuntu.com>
Date: Fri Jul 22 09:59:23 2022 +0200
gitignore: ignore /test/aptroot/var/cache
commit 8cb74c5d784b10ee9edc1ef42745977365cc192e
Author: Michael Vogt <mvo@ubuntu.com>
Date: Fri Jul 22 09:50:30 2022 +0200
gitignore: ignore test packages in ./test/packages/*.deb
commit cf077c1f5f16f7f1196974d3685b5f520e683f2a
Author: Michael Vogt <mvo@ubuntu.com>
Date: Fri Jul 22 07:09:28 2022 +0200
github: run static tests using `pytest-3`
commit 8b0d50ae8cc13b429cb77504070c9a595804e922
Merge: 1e4f1d1 f1f4e7f
Author: Michael Vogt <mvo@ubuntu.com>
Date: Fri Jul 22 07:06:02 2022 +0200
Merge remote-tracking branch 'origin/master' into quick-tests
commit 995bbe9b15994b7a3db4c0b19ee88556af662018
Merge: f1f4e7f ff646c4
Author: Michael Vogt <mvo@ubuntu.com>
Date: Fri Jul 22 06:56:33 2022 +0200
Merge pull request #311 from mvo5/fix-mypy-hints
unattended-upgrades: fix remaining type hint errors
commit ff646c4082e818b7ee4f96aec90c7742bd220baf
Author: Michael Vogt <mvo@ubuntu.com>
Date: Thu Jul 21 22:38:27 2022 +0200
tests: remove --no-strict-optional
commit be5487effda8073b87cea760e3ee9ee9e48eaf4d
Merge: 205489b f1f4e7f
Author: Michael Vogt <mvo@ubuntu.com>
Date: Thu Jul 21 21:32:39 2022 +0200
Merge remote-tracking branch 'origin/master' into fix-mypy-hints
commit f1f4e7f6db7a1e1aa3c83688bc6b742e9860b640
Merge: a07b30f c8935a5
Author: Michael Vogt <mvo@ubuntu.com>
Date: Thu Jul 21 18:33:37 2022 +0200
Merge pull request #315 from mvo5/fix-resource-leak
unattended-upgrade: fix resource leak
commit c8935a57aa4ea6c185f3bd2b88812f5cc50a297c
Author: Michael Vogt <mvo@ubuntu.com>
Date: Fri Mar 4 19:23:03 2022 +0100
unattended-upgrade: fix resource leak
commit a07b30fe867b44795b99df262c218ac7bc75e6c1
Merge: b02114f 7c2d076
Author: Michael Vogt <mvo@ubuntu.com>
Date: Thu Jul 21 17:55:17 2022 +0200
Merge pull request #313 from mvo5/rework-tests2
test: rework so that `python -m unittest` works
commit 7c2d0763a2ef22dd8f8cdfe50f79de25641c9784
Author: Michael Vogt <mvo@ubuntu.com>
Date: Thu Jul 21 17:42:32 2022 +0200
tests: update flake8 to allow "black" compatible line length
commit 268b7fb90b7c2ab90b51348a9cfe3c23acb3093a
Author: Michael Vogt <mvo@ubuntu.com>
Date: Thu Jul 21 17:40:54 2022 +0200
tests: fix flake8 error in TestMinimalPartitions
commit 2bd5aabc485abbc3885e8e4b602d96f483fe4fd9
Merge: 3504084 b02114f
Author: Michael Vogt <mvo@ubuntu.com>
Date: Thu Jul 21 17:39:57 2022 +0200
Merge branch 'master' into rework-tests2
commit b6f3652d6718dca407742449ae4e14bff8580af0
Merge: 2eabbd3 b02114f
Author: Michael Vogt <mvo@ubuntu.com>
Date: Thu Jul 21 17:25:38 2022 +0200
Merge remote-tracking branch 'origin/master' into HEAD
commit b02114fe71d88e30491cce33f94fb1a578b23f7f
Merge: f10cc77 cb6eb4a
Author: Michael Vogt <mvo@ubuntu.com>
Date: Thu Jul 21 16:11:13 2022 +0200
Merge pull request #312 from mvo5/flake8
tests: move to flake8 (from pyflakes)
commit f10cc77d2508a181eceaa0f3a5eb0390bf6d4e09
Merge: 5aff8fa 23b00c3
Author: Michael Vogt <mvo@ubuntu.com>
Date: Thu Jul 21 15:39:01 2022 +0200
Merge pull request #323 from ogayot/make-coverage
tests: get rid of instruction in Makefile causing syntax error
commit 23b00c344cce2e9ea5e76055a8efee52df2cc4a1
Author: Olivier Gayot <olivier.gayot@canonical.com>
Date: Fri Jun 24 18:41:41 2022 +0200
tests: get rid of instruction in Makefile causing syntax error
Running "make coverage-html" from the tests/ directory fails because
of an "echo" instruction that is missing the closing double-quote.
$ make coverage-html
echo "output in htmlcov/
/bin/sh: 1: Syntax error: Unterminated quoted string
make: *** [Makefile:28: coverage-html] Error 2
The echo instruction is supposed to let the user know in which directory
they should find the resulting coverage report. Having said that,
python3-coverage already writes that information to stdout so it would
only make it redundant.
Fixed by removing the echo instruction, which now allows make
coverage-html to run:
$ make coverage-html
python3 -m coverage html
Wrote HTML report to htmlcov/index.html
Signed-off-by: Olivier Gayot <olivier.gayot@canonical.com>
commit 350408400c493b96b6502d080b9b25cbd963d78c
Author: Michael Vogt <mvo@ubuntu.com>
Date: Fri Mar 4 18:50:12 2022 +0100
test: remove some previously added apt_pkg.config cleanups
The new TestBase code will save/restore the apt configuration
between each test run so most cleanups are no longer needed.
commit 54cbb704e3bfebc097c7d6f46d00f43e4e86aa02
Author: Michael Vogt <mvo@ubuntu.com>
Date: Fri Mar 4 18:46:49 2022 +0100
tests: clear APT::VersionizedKernelPackages in test_remove_unused_dependencies
commit b94beb139cd9484d2a32a06c47bdcac7eda94175
Author: Michael Vogt <mvo@ubuntu.com>
Date: Fri Mar 4 17:32:57 2022 +0100
tests: save/restore apt config between each test run
commit 7b7b25a9085b12cba3c0a24b26ca455956d86dc7
Author: Michael Vogt <mvo@ubuntu.com>
Date: Sun Feb 27 11:31:03 2022 +0100
test: disable minimal steps in test_remove_unused
commit 1e4f1d17a32743405f5c2d583b6ab86251dfcb9c
Merge: c70ecbe 88c7a41
Author: Michael Vogt <mvo@ubuntu.com>
Date: Sun Feb 27 11:14:19 2022 +0100
Merge remote-tracking branch 'origin/master' into quick-tests
commit a7fcf0d8b953efa91849a672d9564fa9f72194e4
Author: Michael Vogt <mvo@ubuntu.com>
Date: Sun Feb 27 09:53:58 2022 +0100
debian: re-enable running tests again
commit f9b8e43d11f0b83cbafa6755fad15df8642a4034
Author: Michael Vogt <mvo@ubuntu.com>
Date: Sat Feb 26 18:41:52 2022 +0100
debian/tests/common-functions: detect when running inside GH actions
Skip the debootstrap based tests inside Gh actions, the `mknod`
command fails there so the tests are not useful.
Also enable `set -ex`
commit 2eabbd391a05f9bfeaec8366dcdb3a0da9415494
Author: Jesús Gómez <jesus.gomez@fonemed.com>
Date: Sat Feb 26 18:14:02 2022 -0330
unattended-upgrade: add CM for toggling process priority
Add a context manager for wrapping code that would benefit
with a different process execution priority, only during that
block of code execution.
It is done in response of a suggestion in the code itself to wrap
some logic in such a context manager.
Then that logic is wrapped in it.
commit b866190b3181fdce2ccced3403e758e68ed26974
Author: Michael Vogt <mvo@ubuntu.com>
Date: Sat Feb 26 14:42:38 2022 +0100
debian: disable dh_auto_test for now
commit 0b57c16aa026f690dca5b4ec9f83dbb5660cff28
Author: Michael Vogt <mvo@ubuntu.com>
Date: Sat Feb 26 16:57:32 2022 +0100
test: make setUpClass a proper classmethod
commit 4e64db7dc9867195a651c7d8eef4759ff7d4fd66
Author: Michael Vogt <mvo@ubuntu.com>
Date: Sat Feb 26 13:27:24 2022 +0100
debian/tests: update autopkgtest setup to new way to run the tests
commit 7bbf6f76f05b59bdcebd86125615331f27228927
Author: Michael Vogt <mvo@ubuntu.com>
Date: Sat Feb 26 12:39:36 2022 +0100
test: set pep8 max line-length to 88 to be compatible with "black"
commit 31e59e3c21acc43456f9453a60c41708cf6641b2
Author: Michael Vogt <mvo@ubuntu.com>
Date: Fri Feb 25 20:53:34 2022 +0100
test: skip test_{against_real_archive,in_chroot}
These tests were skipped in the old tests too (they were not
executable) - now they are properly skipped via the unittest.skip()
mechanism.
commit 64a691028e85d9a4cbc0eaad657b48435979dc64
Author: Michael Vogt <mvo@ubuntu.com>
Date: Fri Feb 25 16:43:06 2022 +0100
run make -C test/package automatically in test_base
commit 3700b93e55fb079677d347bc633e92bca6eb4d15
Author: Michael Vogt <mvo@ubuntu.com>
Date: Fri Feb 25 16:29:32 2022 +0100
test: run tests in Makefile via python3 -m unittest
commit c347da4b13ac8a21c4ae196573b585c370de8651
Author: Michael Vogt <mvo@ubuntu.com>
Date: Fri Feb 25 16:15:38 2022 +0100
test: make remove minimal partition test not mutatate global state
commit 882248ccaf858024aededa7de04cf4b54bd4c687
Author: Michael Vogt <mvo@ubuntu.com>
Date: Fri Feb 25 15:32:28 2022 +0100
test: add a bunch of missing apt.config.clean()
commit 3da88b999ec13ac31bc3d32227eb97afd10e1978
Author: Michael Vogt <mvo@ubuntu.com>
Date: Fri Feb 25 14:46:38 2022 +0100
test: move test_logdir to TestBase
commit c4e843b2b8c3aae3246e366e7b9ee7fb05e76d04
Author: Michael Vogt <mvo@ubuntu.com>
Date: Fri Feb 25 14:46:20 2022 +0100
test: move test_dev_release to TestBase
commit 5c67f23c41921b8887e6c345c9549e70dfb4a181
Author: Michael Vogt <mvo@ubuntu.com>
Date: Fri Feb 25 14:46:02 2022 +0100
test: move test_log_install_progress to TestBase
commit 3b6bc1c3edeba53d2202be6092b6e5710cb7ef6c
Author: Michael Vogt <mvo@ubuntu.com>
Date: Fri Feb 25 14:40:42 2022 +0100
test: reset apt_pkg configuration in TestBase
commit a06edeacb0d0583f54e439303d4879612720a573
Author: Michael Vogt <mvo@ubuntu.com>
Date: Fri Feb 25 14:27:25 2022 +0100
test: tweak test_remove_unused more
commit 9cd052575703d73b5aecf5f561307b5d1066bea2
Author: Michael Vogt <mvo@ubuntu.com>
Date: Fri Feb 25 14:20:51 2022 +0100
test: move remaining tests to TestBase
commit 790b31231ffa968a4674c3453da1fc1af7131a61
Author: Michael Vogt <mvo@ubuntu.com>
Date: Fri Feb 25 14:08:29 2022 +0100
test: move test_against_real_archive.py to TestBase
commit 28d0fcb00a0cc4e9e3401627a76634bffa1dfb56
Author: Michael Vogt <mvo@ubuntu.com>
Date: Fri Feb 25 14:02:09 2022 +0100
test: move test_origin_patterns to TestBase
commit bbc6f5ac2e57a5486cb8649ace021848cee09b10
Author: Michael Vogt <mvo@ubuntu.com>
Date: Fri Feb 25 13:53:00 2022 +0100
test: port test_motd t TestBase
commit 3e66ff40816a2b7a04be7966f25bf9a9302f04d7
Author: Michael Vogt <mvo@ubuntu.com>
Date: Fri Feb 25 13:50:08 2022 +0100
test: make apt_pkg.config.set("Dir", ...) consistent
commit 124863f8a7684da8dd70148877e185985b5a97f4
Author: Michael Vogt <mvo@ubuntu.com>
Date: Fri Feb 25 13:40:18 2022 +0100
test: make test_logdir use TestBase