diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4da87e45562..8fa0796d33c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -120,7 +120,7 @@ jobs: if-no-files-found: ignore name: ${{ matrix.tag }}-intgcheck path: | - ./sssd/*.log + ./sssd/var/log/sssd/*.log ./sssd/ci-build-debug/ci-*.log ./sssd/ci-build-debug/test-suite.log ./sssd/ci-build-debug/ci-mock-result/*.log diff --git a/src/tests/intg/test_kcm.py b/src/tests/intg/test_kcm.py index 0d2638f211f..7c44584b73b 100644 --- a/src/tests/intg/test_kcm.py +++ b/src/tests/intg/test_kcm.py @@ -114,8 +114,13 @@ def kcm_teardown(): try: os.unlink(os.path.join(config.SECDB_PATH, "secrets.ldb")) except OSError as osex: - if osex.errno == 2: - pass + if osex.errno != 2: + raise osex + try: + os.unlink(abs_sock_path) + except OSError as osex: + if osex.errno != 2: + raise osex request.addfinalizer(kcm_teardown) return kcm_pid diff --git a/src/tests/intg/test_pam_responder.py b/src/tests/intg/test_pam_responder.py index 81fffd11818..9f5b46b0430 100644 --- a/src/tests/intg/test_pam_responder.py +++ b/src/tests/intg/test_pam_responder.py @@ -827,6 +827,7 @@ def setup_krb5(request, kdc_instance, passwd_ops_setup): passwd_ops_setup.useradd(**USER2) kdc_instance.add_principal("user1", "Secret123User1") kdc_instance.add_principal("user2", "Secret123User2") + time.sleep(2) # Give KDC time to initialize return None