From 83195c57e6136a8efdeed243e9fffbc1da344f7a Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Tue, 12 Oct 2021 18:53:54 +0200 Subject: [PATCH] Adapt emba control files * test/infra/Dockerfile.emba: Print core pattern. * test/infra/gitlab-ci.yml (.job-template, .test-template): Improve wildcard. (.job-template): Add timeout. --- test/infra/Dockerfile.emba | 1 + test/infra/gitlab-ci.yml | 10 ++++------ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/test/infra/Dockerfile.emba b/test/infra/Dockerfile.emba index c129bc8be87..e62a55e7a53 100644 --- a/test/infra/Dockerfile.emba +++ b/test/infra/Dockerfile.emba @@ -26,6 +26,7 @@ FROM debian:stretch as emacs-base +RUN cat /proc/sys/kernel/core_pattern RUN apt-get update && \ apt-get install -y --no-install-recommends -o=Dpkg::Use-Pty=0 \ libc-dev gcc g++ make autoconf automake libncurses-dev gnutls-dev \ diff --git a/test/infra/gitlab-ci.yml b/test/infra/gitlab-ci.yml index 532d333e343..15327b00281 100644 --- a/test/infra/gitlab-ci.yml +++ b/test/infra/gitlab-ci.yml @@ -75,11 +75,11 @@ default: - autogen.sh - configure.ac - lib/*.{h,c} - - lisp/**/*.el + - lisp/**.el - src/*.{h,c} - test/infra/* - test/lib-src/*.el - - test/lisp/**/*.el + - test/lisp/**.el - test/src/*.el - changes: # gfilemonitor, kqueue @@ -107,7 +107,7 @@ default: # TODO: with make -j4 several of the tests were failing, for # example shadowfile-tests, but passed without it. - 'export PWD=$(pwd)' - - 'docker run -i -e EMACS_EMBA_CI=${EMACS_EMBA_CI} --volumes-from $(docker ps -q -f "label=com.gitlab.gitlab-runner.job.id=${CI_JOB_ID}"):ro --name ${test_name} ${CI_REGISTRY_IMAGE}:${target}-${BUILD_TAG} /bin/bash -c "git fetch ${PWD} HEAD && echo checking out these updated files && git diff --name-only FETCH_HEAD && ( git diff --name-only FETCH_HEAD | xargs git checkout -f FETCH_HEAD ) && make -j4 && make ${make_params}"' + - 'docker run -i -e EMACS_EMBA_CI=${EMACS_EMBA_CI} --volumes-from $(docker ps -q -f "label=com.gitlab.gitlab-runner.job.id=${CI_JOB_ID}"):ro --name ${test_name} ${CI_REGISTRY_IMAGE}:${target}-${BUILD_TAG} /bin/bash -c "git fetch ${PWD} HEAD && echo checking out these updated files && git diff --name-only FETCH_HEAD && ( git diff --name-only FETCH_HEAD | xargs git checkout -f FETCH_HEAD ) && make -j4 && timeout 3600s make ${make_params}"' after_script: # - docker ps -a # - printenv @@ -146,8 +146,6 @@ default: - docker push ${CI_REGISTRY_IMAGE}:${target}-${BUILD_TAG} .test-template: - # Do not block later stages. - # allow_failure: true # Do not run fast and normal test jobs when scheduled. rules: - if: '$CI_JOB_STAGE =~ "fast|normal" && $CI_PIPELINE_SOURCE == "schedule"' @@ -158,7 +156,7 @@ default: public: true expire_in: 1 week paths: - - "${test_name}/**/*.log" + - "**.log" .gnustep-template: rules: -- 2.39.5