~arighi/qa-regression-testing:impish-apparmor-fix

Last commit made on 2021-09-09
Get this branch:
git clone -b impish-apparmor-fix https://git.launchpad.net/~arighi/qa-regression-testing
Only Andrea Righi can upload to this branch. If you are Andrea Righi please log in for upload directions.

Branch merges

Branch information

Name:
impish-apparmor-fix
Repository:
lp:~arighi/qa-regression-testing

Recent commits

2ca96a3... by Andrea Righi

test-apparmor: do not apply CAP_CHECKPOINT_RESTORE in impish

We don't need to apply the CAP_CHECKPOINT_RESTORE workaround anymore in
impish, because the apparmor package already contains the definition of
this new capability in severity.db.

Signed-off-by: Andrea Righi <email address hidden>

a4bdc85... by Alex Murray

test-squashfs-tools.py: Fix depends for private test

This needs to be named with an underscore so we can import it directly when
it is present.

9cbc30b... by Alex Murray

test-squashfs-tools.py: Fix on focal/hirsute/impish etc

08c1b2e... by Alex Murray

test-squashfs-tools.py: Fix on xenial and ensure we run with root

c93bb02... by "Leonidas S. Barbosa" <leo.barbosa@canonical>

Adding ntfs-3g notes for tests

8567766... by Steve Beattie

test-apparmor: run parser tests from toplevel parser dir

There are unit tests that are built and tested out of the toplevel
directory; also by running make ; make tests both in parser/tst
directory, the tests there end up getting run *twice*, which is not so
good given that they take several minutes to run once.

Signed-off-by: Steve Beattie <email address hidden>

f1ce009... by Steve Beattie

test-apparmor: always install python3-notify2

While python3-notify2 is a more modern dependency for the apparmor
utils, always install python3-notify2 since it has been available at
least since trusty.

Signed-off-by: Steve Beattie <email address hidden>

e9701e1... by Steve Beattie

test-apparmor: work aorund CAP_CHECKPOINT_RESTORE missing from severity.db/hirsute

This causes the utils test suites to fail; we are unlikely to SRU a fix
for hirsute for this, so work around it by applying the upstream patch
in QRT.

Bug: https://bugs.launchpad.net/qa-regression-testing/+bug/1928888
Bug-upstream: https://gitlab.com/apparmor/apparmor/-/merge_requests/656
Signed-off-by: Steve Beattie <email address hidden>

0b22f54... by Steve Beattie

test-ca-certificates.py: add test against esm.ubuntu.com

Signed-off-by: Steve Beattie <email address hidden>

aeef927... by Alex Murray

test-mongodb: Fix CVE-2019-2386 test to actually work

Since we are creating the user in the admin database, we need to ensure we
specify the readWrite role on test-database specifically, otherwise the
user will not have any roles on test-database at all and so of course they
won't be able to write to test-database regardless of whether CVE-2019-2386
is patched or not.