Skip to content

Commit

Permalink
Merge pull request #5421 from grondo/ci-system-fixes
Browse files Browse the repository at this point in the history
ci: fix failure detection builds with coverage and remove obsolete system tests
  • Loading branch information
mergify[bot] committed Sep 2, 2023
2 parents 3adc0d8 + 7ca1216 commit 772e1ab
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 173 deletions.
4 changes: 1 addition & 3 deletions etc/rc1
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,7 @@ if test $RANK -eq 0 -a "${FLUX_SCHED_MODULE}" != "none" \
fi

if test $RANK -eq 0; then
method=$(flux config get --default=notset exec.method)
if test "${method}" != "systemd" \
-a -z "${FLUX_DISABLE_JOB_CLEANUP}"; then
if test -z "${FLUX_DISABLE_JOB_CLEANUP}"; then
flux admin cleanup-push <<-EOT
flux queue stop --quiet --all --nocheckpoint
flux cancel --user=all --quiet --states RUN
Expand Down
15 changes: 8 additions & 7 deletions src/test/checks_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -138,16 +138,17 @@ if test "$COVERAGE" = "t"; then

ARGS="$ARGS --enable-code-coverage"
CHECKCMDS="\
export ENABLE_USER_SITE=1; \
export COVERAGE_PROCESS_START=$(pwd)/coverage.rc; \
export ENABLE_USER_SITE=1 && \
export COVERAGE_PROCESS_START=$(pwd)/coverage.rc && \
${MAKE} -j $JOBS check-prep && \
(cd t && ${MAKE} -j $JOBS check ${SYSTEM:+TESTS=\"$SYSTEM_TESTS\"}) && \
${MAKE} code-coverage-capture &&
lcov -l flux*-coverage.info; \
rm -f coverage.xml; \
coverage combine .coverage*; \
coverage html; coverage xml; \
chmod 444 coverage.xml; \
lcov -l flux*-coverage.info && \
rm -f coverage.xml && \
coverage combine .coverage* && \
coverage html && \
coverage xml && \
chmod 444 coverage.xml && \
(coverage report || :)"

# Use make install for T_INSTALL:
Expand Down
2 changes: 0 additions & 2 deletions t/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -317,8 +317,6 @@ EXTRA_DIST= \
dist_check_SCRIPTS = \
$(TESTSCRIPTS) \
system/0001-basic.t \
system/0002-job-exec-sdexec-basic.t \
system/0003-instance-restart.t \
system/0004-recovery.t \
issues/t0441-kvs-put-get.sh \
issues/t0505-msg-handler-reg.lua \
Expand Down
71 changes: 0 additions & 71 deletions t/system/0002-job-exec-sdexec-basic.t

This file was deleted.

90 changes: 0 additions & 90 deletions t/system/0003-instance-restart.t

This file was deleted.

0 comments on commit 772e1ab

Please sign in to comment.