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.)
- $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: