From f1a8fed286e3b9527b1837e9d5c6cb8d88bd2041 Mon Sep 17 00:00:00 2001 From: Frantisek Sumsal Date: Tue, 12 Jan 2021 22:14:59 +0100 Subject: [PATCH] ci: skip test-execute on GH Actions under ASan It seems to suffer from the same issue as on Travis CI, where the test randomly fails due to timeouts in its subtests. See: https://github.com/systemd/systemd/issues/10696#issuecomment-758501797 --- src/test/test-execute.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/test-execute.c b/src/test/test-execute.c index 1890cc4f752..83816f474c5 100644 --- a/src/test/test-execute.c +++ b/src/test/test-execute.c @@ -897,8 +897,8 @@ int main(int argc, char *argv[]) { test_setup_logging(LOG_DEBUG); #if HAS_FEATURE_ADDRESS_SANITIZER - if (strstr_ptr(ci_environment(), "travis")) { - log_notice("Running on TravisCI under ASan, skipping, see https://github.com/systemd/systemd/issues/10696"); + if (strstr_ptr(ci_environment(), "travis") || strstr_ptr(ci_environment(), "github-actions")) { + log_notice("Running on Travis CI/GH Actions under ASan, skipping, see https://github.com/systemd/systemd/issues/10696"); return EXIT_TEST_SKIP; } #endif -- 2.47.3