~apport-hackers/apport/+git/apport-old:main

Last commit made on 2022-06-09
Get this branch:
git clone -b main https://git.launchpad.net/~apport-hackers/apport/+git/apport-old
Members of Apport upstream developers can upload to this branch. Log in for directions.

Branch merges

Branch information

Recent commits

162fa4f... by Benjamin Drung

Release apport 2.21.0

Signed-off-by: Benjamin Drung <email address hidden>

33fd239... by Benjamin Drung

tests: Skip SegvAnalysis for non x86 architectures

`add_info` from `data/general-hooks/parse_segv.py` only runs for the
architectures `x86` and `x86_64`. Therefore
`test_add_zz_parse_segv_details` will fail on non x86 architectures:

```
FAIL: test_add_zz_parse_segv_details (__main__.T)
parse-segv produces sensible results
----------------------------------------------------------------------
Traceback (most recent call last):
  File "tests/integration/test_report.py", line 730, in test_add_zz_parse_segv_details
    self.assertIn('not located in a known VMA region', pr['SegvAnalysis'])
AssertionError: 'not located in a known VMA region' not found in 'Skipped: missing required field "ProcMaps"'
```

Signed-off-by: Benjamin Drung <email address hidden>

e8b2d61... by Benjamin Drung

tests: Expect linux-signed on arm64/s390x as well

The Ubuntu source package `linux-signed` builds also binary packages for
`arm64` and `s390x` [1].

[1] https://launchpad.net/ubuntu/+source/linux-signed
Signed-off-by: Benjamin Drung <email address hidden>

80dc646... by Benjamin Drung

po: Import translation updates from Launchpad

Import translation updates from Launchpad for languages that have
updates. Do not update translations that have no changes except for
reordering the entries.

Signed-off-by: Benjamin Drung <email address hidden>

406f1d5... by Benjamin Drung

po: Update translation template

Signed-off-by: Benjamin Drung <email address hidden>

6bb8e78... by Benjamin Drung

Add GitHub CI pipeline

Signed-off-by: Benjamin Drung <email address hidden>

b1567a6... by Benjamin Drung

tests: Check for presence of systemd-run

Skip `test_crash_system_slice` if `systemd-run` is not installed.

Signed-off-by: Benjamin Drung <email address hidden>

5b8cdc9... by Benjamin Drung

tests: Split into unit/integration/system tests

Split the test suite into unit, integration, and system tests. Document
how to differentiate between them and how to run them. Unit and
integration tests can be run during package build, but system tests
cannot.

Signed-off-by: Benjamin Drung <email address hidden>

a008c73... by Benjamin Drung

tests: Use subprocess instead of os.fork

When using pytest, following code will fail:

```
os.dup2(os.open('/dev/null', os.O_WRONLY), sys.stdout.fileno())
```

So use `subprocess` instead which takes care of closing the opened file
descriptors.

Signed-off-by: Benjamin Drung <email address hidden>

bb9d56f... by Benjamin Drung

tests: Do not rely on specific environment

Do not rely on specific environment variables to be set, configure the
environment for the test cases that need it.

Signed-off-by: Benjamin Drung <email address hidden>