URL: https://github.com/SSSD/sssd/pull/863 Author: pbrezina Title: #863: ci: add Debian 10 Action: synchronized
To pull the PR as Git branch: git remote add ghsssd https://github.com/SSSD/sssd git fetch ghsssd pull/863/head:pr863 git checkout pr863
From be1e08474f160287f5b12ead2e2c338c01799559 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20B=C5=99ezina?= <[email protected]> Date: Mon, 16 Sep 2019 13:14:57 +0200 Subject: [PATCH 1/3] ci: allow distribution specific supression files Format: sssd.$DISTRO_ID.supp e.g. sssd.debian.supp --- contrib/ci/run | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/contrib/ci/run b/contrib/ci/run index 488b964408..1f39389fa4 100755 --- a/contrib/ci/run +++ b/contrib/ci/run @@ -64,6 +64,12 @@ if which pycodestyle &> /dev/null; then PEP8_BIN="pycodestyle" fi +# Additional valgrind flags +declare VALGRIND_FLAGS="" +if [ -e "$CI_DIR/sssd.$DISTRO_ID.supp" ]; then + VALGRIND_FLAGS+=" --suppressions=\"$CI_DIR/sssd.$DISTRO_ID.supp\"" +fi + # Output program usage information. function usage() { @@ -236,6 +242,7 @@ function build_debug() --leak-check=full \ --gen-suppressions=all \ --suppressions=\"$CI_DIR/sssd.supp\" \ + $VALGRIND_FLAGS \ --verbose" || status=$? mv "$test_dir" ci-test-dir From fec28c0dbf9e689a8f42264ffbc9ca72555ac17d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20B=C5=99ezina?= <[email protected]> Date: Mon, 16 Sep 2019 13:15:37 +0200 Subject: [PATCH 2/3] ci: suppress Debian valgrind errors This is a known issue id Debian version of OpenSSL. --- contrib/ci/sssd.debian.supp | 46 +++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 contrib/ci/sssd.debian.supp diff --git a/contrib/ci/sssd.debian.supp b/contrib/ci/sssd.debian.supp new file mode 100644 index 0000000000..21932e6f50 --- /dev/null +++ b/contrib/ci/sssd.debian.supp @@ -0,0 +1,46 @@ +{ + debian-openssl-issue + Memcheck:Cond + ... + fun:s3crypt_gen_salt + ... +} + +{ + debian-openssl-issue + Memcheck:Value8 + ... + fun:s3crypt_gen_salt + ... +} + +{ + debian-openssl-issue + Memcheck:Cond + ... + fun:sss_password_encrypt + ... +} + +{ + debian-openssl-issue + Memcheck:Value8 + ... + fun:sss_password_encrypt + ... +} + +{ + debian-openssl-issue + Memcheck:Cond + ... + fun:sss_decrypt + ... +} + +{ + debian-openssl-issue + Memcheck:Cond + fun:test_sss_encrypt_decrypt + ... +} From cfbae4c7c9bf1e50131ac701bd4f8d43a0a2b6d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20B=C5=99ezina?= <[email protected]> Date: Fri, 9 Aug 2019 12:49:58 +0200 Subject: [PATCH 3/3] ci: add Debian 10 --- Jenkinsfile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 75ae3fb8d0..90a636da62 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -267,6 +267,15 @@ pipeline { aborted { CI_Aborted() } } } + stage('Test on Debian 10') { + agent {label "sssd-ci"} + environment { TEST_SYSTEM = "debian10" } + steps { CI_RunTests() } + post { + always { CI_Post() } + aborted { CI_Aborted() } + } + } } } }
_______________________________________________ sssd-devel mailing list -- [email protected] To unsubscribe send an email to [email protected] Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedorahosted.org/archives/list/[email protected]
