~georgiag/qa-regression-testing:apparmor-service-failure

Last commit made on 2022-01-11
Get this branch:
git clone -b apparmor-service-failure https://git.launchpad.net/~georgiag/qa-regression-testing
Only Georgia Garcia can upload to this branch. If you are Georgia Garcia please log in for upload directions.

Branch merges

Branch information

Name:
apparmor-service-failure
Repository:
lp:~georgiag/qa-regression-testing

Recent commits

a0dde7c... by Georgia Garcia

apparmor: fix service start failure due to StartLimitBurst

Since the setUp for each of the ApparmorTest tests tries to start
the apparmor service using systemctl, the StartLimitBurst and
StartLimitIntervalSec is quickly reached, leading to the following
failures:

Jan 11 21:05:42 ubuntu systemd[1]: apparmor.service: Start request repeated too quickly.
Jan 11 21:05:42 ubuntu systemd[1]: apparmor.service: Failed with result 'start-limit-hit'.
Jan 11 21:05:42 ubuntu systemd[1]: Failed to start Load AppArmor profiles.

This patch uses "reset-failed" to reset the start rate limit counter
to zero.

Signed-off-by: Georgia Garcia <email address hidden>

9cc7113... by Steve Beattie

test-openjdk: force using python2

The earliest release we're going to publish openjdk updates for is
xenial, so this really ought to be converted to python3, but the
dependencies involved need to be fixed up.

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

d694126... by Steve Beattie

test-openjdk: fix up test for LP: #1283828

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

8e9a47c... by Steve Beattie

test-openjdk: add a security properties test

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

090e9ce... by Marc Deslauriers

test-busybox.py: add basic awk test

5fd68b7... by Rodrigo Figueiredo Zaiden

glib2.0: Update tests with CVE-2021-3800

The test for CVE-2021-3800 is checking for the output of pkexec binary
(from policykit-1 package) to validate if GLib is patched correctly.
With a crafted charset alias, it should not print GLib errors.

a4cb9b9... by Steve Beattie

openjdk/README: describe how to manually run GetProps test

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

3ca1f6a... by Steve Beattie

test-docker.io.py: merge added CVE-2021-41092 regression test

* tests/dockerio-cve-2021-41092:
  Replace shell /etc/hosts modification with testlib.config_replace()
  Ensure certificate is added and add registry host to daemon.json conf
  Update to dynamically generate cert/key each test run
  Add python3-pexpect to QRT dependencies
  Add test for CVE-2021-41092

[sbeattie - fixed up a couple of issues with the following commits:
  test-docker.io.py: use ssl.PROTOCOL_TLSv1_2 in xenial and older
  test-docker.io.py: fix QRT-Packages separator
and added to silence deprecation warnings:
  test-docker.io.py: use testunit.assertRegex instead of assertRegexpMatches
]

Signed-off-by: Steve Beattie <email address hidden>
MR: https://code.launchpad.net/~rayveldkamp/qa-regression-testing/+git/qa-regression-testing/+merge/411309

dcc2781... by Steve Beattie

test-docker.io.py: use testunit.assertRegex instead of assertRegexpMatches

The latter has been deprecated since at least python 3.5

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

e85f7dc... by Steve Beattie

test-docker.io.py: use ssl.PROTOCOL_TLSv1_2 in xenial and older

xenial's pythons do not support PROTOCOL_TLS, so fall back to using
ssl.PROTOCOL_TLSv1_2 for test https server thread.

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