diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d4110b8fff..8f7c6bffc2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -393,7 +393,7 @@ cross-version-config-tests: <<: *default_triggering_rules stage: system before_script: - - test -n "${OUT_OF_TREE_WORKSPACE}" && cd "${OUT_OF_TREE_WORKSPACE}" + - test -n "${OUT_OF_TREE_WORKSPACE}" && cp -r bin/tests/system/* "${OUT_OF_TREE_WORKSPACE}/bin/tests/system/" && cd "${OUT_OF_TREE_WORKSPACE}" - *setup_interfaces script: - *find_pytest @@ -404,22 +404,6 @@ cross-version-config-tests: after_script: - *display_pytest_failures -.system_test_legacy: &system_test_legacy - script: - - cd bin/tests/system - - make -j${TEST_PARALLEL_JOBS:-1} -k check V=1 - - if git rev-parse > /dev/null 2>&1; then ( ! grep "^I:.*:file.*not removed$" *.log ); fi - - '( ! grep -F "grep: warning:" *.log )' - after_script: - - test -d bind-* && cd bind-* - - REALSOURCEDIR="$PWD" - - test -n "${OUT_OF_TREE_WORKSPACE}" && cd "${OUT_OF_TREE_WORKSPACE}" - - cat bin/tests/system/test-suite.log - - find bin/tests/system -name "*dig.*" | xargs grep "error" || true - - *find_python - - > - "$PYTHON" "$REALSOURCEDIR"/bin/tests/convert-trs-to-junit.py . > "$CI_PROJECT_DIR"/junit.xml - .system_test: &system_test_job <<: *system_test_common artifacts: @@ -953,7 +937,6 @@ system:gcc:out-of-tree: artifacts: true <<: *base_image <<: *system_test_job - <<: *system_test_legacy <<: *api_schedules_tags_triggers_web_triggering_rules unit:gcc:out-of-tree: @@ -1291,7 +1274,6 @@ clang:openbsd:amd64: system:clang:openbsd:amd64: <<: *openbsd_amd64_image <<: *system_test_job - <<: *system_test_legacy <<: *api_schedules_triggers_web_triggering_rules variables: USER: gitlab-runner diff --git a/bin/tests/system/conftest.py b/bin/tests/system/conftest.py index f8c7e9c9e5..29799266e4 100644 --- a/bin/tests/system/conftest.py +++ b/bin/tests/system/conftest.py @@ -587,7 +587,7 @@ else: try: shell("get_core_dumps.sh", [system_test_dir.name]) except subprocess.CalledProcessError as exc: - mlogger.error("Found core dumps") + mlogger.error("Found core dumps or sanitizer reports") pytest.fail(f"get_core_dumps.sh exited with {exc.returncode}") os.environ.update(env) # Ensure pytests have the same env vars as shell tests.