From 36b08eb30387fb6728d7fd50e5bf0b5c557f2ce7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Wed, 26 Oct 2022 17:55:35 +0200 Subject: [PATCH] ci pytests: migrate away from LXC runner This reverts commit 15c1353544be, with some modifications. On LXC we've had issues with FileExistsError: [Errno 17] File exists: '/tmp/pytest-kresd-portdir' .. which disappear with this commit. (I don't know how/why.) --- .gitlab-ci.yml | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index affeb71d2..1a3aef00a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -368,21 +368,9 @@ pkgtest: - $SKIP_CI == "1" pytests: - # these are executed on LXC runners to increase stability - image: $CI_REGISTRY/knot/knot-resolver/ci/lxc-debian-11:knot-$KNOT_VERSION - only: - refs: - - branches@knot/knot-resolver - needs: [] - tags: - - lxc - - amd64 - before_script: - # build-asan artifacts can't be reused (different container is used) - - CC=clang CXX=clang++ CFLAGS=-fno-sanitize-recover=all CXXFLAGS=-fno-sanitize=undefined meson build_ci_asan --default-library=static --prefix=$PREFIX -Db_sanitize=address,undefined -Dextra_tests=enabled - - ninja -C build_ci_asan - - ninja -C build_ci_asan install >/dev/null - # END lxc specific section + <<: *test_flaky + needs: + - build-asan artifacts: when: always paths: -- 2.47.2