~georgiag/qa-regression-testing:fix-regex-testlib

Last commit made on 2024-01-29
Get this branch:
git clone -b fix-regex-testlib 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:
fix-regex-testlib
Repository:
lp:~georgiag/qa-regression-testing

Recent commits

1b4ba2f... by Georgia Garcia

testlib: use PERL regexp on grep because of similarity to Python's re

On the function that ensures that deb-src entries are in sources.list
we are using grep to check if the entry is already on the file, and to
escape potential characters, we are using Python's re.escape.

The issue is that re.escape may escape more than what is required by
grep's basic-regexp, which is the case for parenthesis (), causing the
test to fail because it didn't realize the deb-src is there.

By specifying the regex variant, we can ensure that they will most
likely match. The re module documentation mentions that it is most
similar to Perl [1], that's why I chose grep -P.

[1] https://docs.python.org/3/library/re.html

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

Succeeded
[SUCCEEDED] imagemagick:0 (build)
[SUCCEEDED] imagemagick:1 (build)
[SUCCEEDED] imagemagick:2 (build)
[SUCCEEDED] gcc-security:0 (build)
[SUCCEEDED] gcc-security:1 (build)
[SUCCEEDED] gcc-security:2 (build)
[SUCCEEDED] glibc:0 (build)
[SUCCEEDED] glibc:1 (build)
[SUCCEEDED] glibc:2 (build)
[SUCCEEDED] glibc-security:0 (build)
[SUCCEEDED] glibc-security:1 (build)
[SUCCEEDED] glibc-security:2 (build)
[SUCCEEDED] gnupg:0 (build)
[SUCCEEDED] gnupg:1 (build)
[SUCCEEDED] gnupg:2 (build)
[SUCCEEDED] sudo:0 (build)
[SUCCEEDED] sudo:1 (build)
[SUCCEEDED] sudo:2 (build)
[SUCCEEDED] git:0 (build)
[SUCCEEDED] git:1 (build)
[SUCCEEDED] git:2 (build)
[SUCCEEDED] ghostscript:0 (build)
[SUCCEEDED] ghostscript:1 (build)
[SUCCEEDED] ghostscript:2 (build)
[SUCCEEDED] busybox:0 (build)
[SUCCEEDED] busybox:1 (build)
[SUCCEEDED] busybox:2 (build)
[SUCCEEDED] coreutils:0 (build)
[SUCCEEDED] coreutils:1 (build)
[SUCCEEDED] coreutils:2 (build)
[SUCCEEDED] util-linux:0 (build)
[SUCCEEDED] util-linux:1 (build)
[SUCCEEDED] util-linux:2 (build)
[SUCCEEDED] ecdsautils:0 (build)
[SUCCEEDED] ecdsautils:1 (build)
[SUCCEEDED] ecdsautils:2 (build)
[SUCCEEDED] python-urllib3:0 (build)
[SUCCEEDED] python-urllib3:1 (build)
[SUCCEEDED] python-urllib3:2 (build)
139 of 39 results
bfd2b1e... by Amir Naseredini

lunar EOL Checklist

Signed-off-by: Amir Naseredini <email address hidden>

6973266... by Georgia Garcia

test-apparmor.py: workaround to fix posix_ipc tests for non-x86 archs on focal

The fix that was previously applied kinetic and jammy also applies to
focal since the mqueue patches were backported into focal, but this
test fix was not.

Bug: https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/2051227
Signed-off-by: Georgia Garcia <email address hidden>

Succeeded
[SUCCEEDED] imagemagick:0 (build)
[SUCCEEDED] imagemagick:1 (build)
[SUCCEEDED] imagemagick:2 (build)
[SUCCEEDED] gcc-security:0 (build)
[SUCCEEDED] gcc-security:1 (build)
[SUCCEEDED] gcc-security:2 (build)
[SUCCEEDED] glibc:0 (build)
[SUCCEEDED] glibc:1 (build)
[SUCCEEDED] glibc:2 (build)
[SUCCEEDED] glibc-security:0 (build)
[SUCCEEDED] glibc-security:1 (build)
[SUCCEEDED] glibc-security:2 (build)
[SUCCEEDED] gnupg:0 (build)
[SUCCEEDED] gnupg:1 (build)
[SUCCEEDED] gnupg:2 (build)
[SUCCEEDED] sudo:0 (build)
[SUCCEEDED] sudo:1 (build)
[SUCCEEDED] sudo:2 (build)
[SUCCEEDED] git:0 (build)
[SUCCEEDED] git:1 (build)
[SUCCEEDED] git:2 (build)
[SUCCEEDED] ghostscript:0 (build)
[SUCCEEDED] ghostscript:1 (build)
[SUCCEEDED] ghostscript:2 (build)
[SUCCEEDED] busybox:0 (build)
[SUCCEEDED] busybox:1 (build)
[SUCCEEDED] busybox:2 (build)
[SUCCEEDED] coreutils:0 (build)
[SUCCEEDED] coreutils:1 (build)
[SUCCEEDED] coreutils:2 (build)
[SUCCEEDED] util-linux:0 (build)
[SUCCEEDED] util-linux:1 (build)
[SUCCEEDED] util-linux:2 (build)
[SUCCEEDED] ecdsautils:0 (build)
[SUCCEEDED] ecdsautils:1 (build)
[SUCCEEDED] ecdsautils:2 (build)
[SUCCEEDED] python-urllib3:0 (build)
[SUCCEEDED] python-urllib3:1 (build)
[SUCCEEDED] python-urllib3:2 (build)
139 of 39 results
bb8489a... by Marc Deslauriers

added some pillow build testing notes

e03ddc8... by Steve Beattie

test-kernel-aslr-collisions.py: fix open file descriptor warnings

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

1b20cc8... by Steve Beattie

test-kernel-aslr-collisions.py: convert to python3

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

63a9a35... by Steve Beattie

testlib.py: actually invoke main() when running directly

Also, report the collected information about the system when doing so.

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

104077f... by Jorge Sancho Larraz

testlib: close /proc/version_signature fd

c897349... by Rodrigo Figueiredo Zaiden

scripts/test-libvirt.py: update to a newer LTS release URL

 moving the URL to focal amd64, not using jammy because from that
 release the installer was moved to subiquity, so it won't work.

Signed-off-by: Rodrigo Figueiredo Zaiden <email address hidden>

c3a5a0d... by Steve Beattie

packages-helper.py: use non-interactive install for apt

Merge branch from jslarraz.

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