From 2552f95e1fac963f2dc75a0cd1bd63bd72355fed Mon Sep 17 00:00:00 2001 From: Disconnect3d Date: Wed, 19 Jul 2023 18:26:28 +0200 Subject: [PATCH] Remove support for Debian 10 (#1812) --- .github/workflows/docker.yml | 2 +- docker-compose.yml | 8 -------- tests/gdb-tests/tests/test_command_vmmap.py | 1 + 3 files changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index e2ea8bf02..4ecc6ccee 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -6,7 +6,7 @@ jobs: strategy: fail-fast: false matrix: - images: [ubuntu18.04, ubuntu20.04, ubuntu22.04, debian10, debian11, archlinux] + images: [ubuntu18.04, ubuntu20.04, ubuntu22.04, debian11, archlinux] runs-on: ubuntu-latest timeout-minutes: 30 diff --git a/docker-compose.yml b/docker-compose.yml index c5b01644a..c3d4ccdf7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -36,14 +36,6 @@ services: args: image: ubuntu:22.04 - debian10: - <<: *base-spec - build: - context: . - dockerfile: Dockerfile - args: - image: debian:10 - debian11: <<: *base-spec build: diff --git a/tests/gdb-tests/tests/test_command_vmmap.py b/tests/gdb-tests/tests/test_command_vmmap.py index 5ccf00cf7..136885333 100644 --- a/tests/gdb-tests/tests/test_command_vmmap.py +++ b/tests/gdb-tests/tests/test_command_vmmap.py @@ -110,6 +110,7 @@ def test_command_vmmap_on_coredump_on_crash_simple_binary(start_binary, unload_f assert len(vmmaps) == old_len_vmmaps - 1 else: # E.g. on Debian 10 with GDB 8.2.1 the core dump does not contain mappings info + # (note: we don't support Debian 10 anymore, so this code may be removed in the future) assert len(vmmaps) == old_len_vmmaps - 2 binary_map = next(i for i in expected_maps if CRASH_SIMPLE_BINARY in i[-1]) expected_maps.remove(binary_map)