From: Frantisek Sumsal Date: Tue, 12 Jan 2021 21:14:59 +0000 (+0100) Subject: ci: skip test-execute on GH Actions under ASan X-Git-Tag: v248-rc1~349^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f1a8fed286e3b9527b1837e9d5c6cb8d88bd2041;p=thirdparty%2Fsystemd.git 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 --- 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