use_pty:FALSE /usr/share/restraint/plugins/run_task_plugins bash ./runtest.sh :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Setup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: httpd-2.4.53-9.el9.s390x :: [ 17:12:05 ] :: [ PASS ] :: Checking for the presence of httpd rpm :: [ 17:12:05 ] :: [ LOG ] :: Package versions: :: [ 17:12:05 ] :: [ LOG ] :: httpd-2.4.53-9.el9.s390x :: [ 17:12:05 ] :: [ BEGIN ] :: Creating tmp directory :: actually running 'TmpDir=$(mktemp -d)' :: [ 17:12:05 ] :: [ PASS ] :: Creating tmp directory (Expected 0, got 0) :: [ 17:12:05 ] :: [ BEGIN ] :: Running 'rlImport httpd/http' :: [ 17:12:06 ] :: [ INFO ] :: rlImport: Found 'httpd/http' during upwards traversal :: [ 17:12:06 ] :: [ INFO ] :: rlImport: Will try to import httpd/http from /mnt/tests/gitlab.com/redhat/centos-stream/tests/kernel/kernel-tests/-/archive/main/kernel-tests-main.zip/packages/httpd/Library/http/lib.sh :: [ 17:12:06 ] :: [ BEGIN ] :: httpd/http: importing openssl library :: actually running 'rlImport openssl/certgen' :: [ 17:12:06 ] :: [ INFO ] :: rlImport: Found 'openssl/certgen' during upwards traversal :: [ 17:12:06 ] :: [ INFO ] :: rlImport: Will try to import openssl/certgen from /mnt/tests/gitlab.com/redhat/centos-stream/tests/kernel/kernel-tests/-/archive/main/kernel-tests-main.zip/packages/openssl/Library/certgen/lib.sh :: [ 17:12:06 ] :: [ PASS ] :: httpd/http: importing openssl library (Expected 0, got 0) :: [ 17:12:06 ] :: [ BEGIN ] :: checking httpd rpm :: actually running 'rpm -q httpd' httpd-2.4.53-9.el9.s390x :: [ 17:12:06 ] :: [ PASS ] :: checking httpd rpm (Expected 0, got 0) :: [ 17:12:06 ] :: [ BEGIN ] :: setup httpROOTDIR :: actually running 'httpROOTDIR=$(grep '^DocumentRoot' /etc/httpd/conf/httpd.conf| awk '{print $2}'|sed -e 's/"//g')' :: [ 17:12:06 ] :: [ PASS ] :: setup httpROOTDIR (Expected 0, got 0) :: [ 17:12:06 ] :: [ BEGIN ] :: parsing prefix from httpROOTDIR :: actually running 'httpROOTPREFIX=$(echo /var/www/html|sed -e 's/\/var.*//')' :: [ 17:12:06 ] :: [ PASS ] :: parsing prefix from httpROOTDIR (Expected 0, got 0) :: [ 17:12:06 ] :: [ PASS ] :: Directory /var/www/html should exist :: [ 17:12:06 ] :: [ BEGIN ] :: following posible symlink of /etc/pki/tls/certs/localhost.crt :: actually running 'httpSSL_CRT=$(readlink -f /etc/pki/tls/certs/localhost.crt)' :: [ 17:12:06 ] :: [ PASS ] :: following posible symlink of /etc/pki/tls/certs/localhost.crt (Expected 0, got 0) :: [ 17:12:06 ] :: [ BEGIN ] :: following posible symlink of /etc/pki/tls/private/localhost.key :: actually running 'httpSSL_KEY=$(readlink -f /etc/pki/tls/private/localhost.key)' :: [ 17:12:06 ] :: [ PASS ] :: following posible symlink of /etc/pki/tls/private/localhost.key (Expected 0, got 0) :: [ 17:12:06 ] :: [ BEGIN ] :: following posible symlink of /etc/pki/tls/cert.pem :: actually running 'httpSSL_PEM=$(readlink -f /etc/pki/tls/cert.pem)' :: [ 17:12:06 ] :: [ PASS ] :: following posible symlink of /etc/pki/tls/cert.pem (Expected 0, got 0) :: [ 17:12:06 ] :: [ INFO ] :: COLLECTIONS= :: [ 17:12:06 ] :: [ INFO ] :: httpCOLLECTION=0 :: [ 17:12:06 ] :: [ INFO ] :: httpCOLLECTION_NAME= :: [ 17:12:06 ] :: [ INFO ] :: httpHTTPD=httpd :: [ 17:12:06 ] :: [ INFO ] :: httpROOTDIR=/var/www/html :: [ 17:12:06 ] :: [ INFO ] :: httpROOTPREFIX= :: [ 17:12:06 ] :: [ INFO ] :: httpCONFDIR=/etc/httpd :: [ 17:12:06 ] :: [ INFO ] :: httpLOGDIR=/var/log/httpd :: [ 17:12:06 ] :: [ INFO ] :: httpSSL_CRT=/etc/pki/tls/certs/localhost.crt :: [ 17:12:06 ] :: [ INFO ] :: httpSSL_KEY=/etc/pki/tls/private/localhost.key :: [ 17:12:06 ] :: [ INFO ] :: httpSSL_PEM=/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem :: [ 17:12:06 ] :: [ INFO ] :: httpSSL_O=s390x-kvm-041.lab.eng.rdu2.redhat.com :: [ 17:12:06 ] :: [ INFO ] :: httpSSL_CN=s390x-kvm-041.lab.eng.rdu2.redhat.com mod_ssl-2.4.53-9.el9.s390x package mod_nss is not installed httpd-2.4.53-9.el9.s390x :: [ 17:12:06 ] :: [ PASS ] :: Checking for the presence of httpd rpm :: [ 17:12:06 ] :: [ LOG ] :: Package versions: :: [ 17:12:06 ] :: [ LOG ] :: httpd-2.4.53-9.el9.s390x :: [ 17:12:06 ] :: [ PASS ] :: Command 'rlImport httpd/http' (Expected 0, got 0) :: [ 17:12:06 ] :: [ INFO ] :: using '/var/tmp/beakerlib-32/backup-mod_ssl_smoke' as backup destination :: [ 17:12:06 ] :: [ ERROR ] :: rlFileBackup: File /etc/pki/tls/certs/localhost.crt does not exist. :: [ 17:12:06 ] :: [ INFO ] :: using '/var/tmp/beakerlib-32/backup-mod_ssl_smoke' as backup destination :: [ 17:12:06 ] :: [ ERROR ] :: rlFileBackup: File /etc/pki/tls/private/localhost.key does not exist. :: [ 17:12:06 ] :: [ INFO ] :: using '/var/tmp/beakerlib-32/backup-mod_ssl_smoke' as backup destination :: [ 17:12:06 ] :: [ ERROR ] :: rlFileBackup: File /var/log/httpd/error_log does not exist. :: [ 17:12:06 ] :: [ BEGIN ] :: Running 'rm -f /var/log/httpd/error_log' :: [ 17:12:06 ] :: [ PASS ] :: Command 'rm -f /var/log/httpd/error_log' (Expected 0, got 0) :: [ 17:12:06 ] :: [ BEGIN ] :: Running 'rm -f /etc/pki/tls/certs/localhost.crt' :: [ 17:12:06 ] :: [ PASS ] :: Command 'rm -f /etc/pki/tls/certs/localhost.crt' (Expected 0, got 0) :: [ 17:12:06 ] :: [ BEGIN ] :: Running 'rm -f /etc/pki/tls/private/localhost.key' :: [ 17:12:06 ] :: [ PASS ] :: Command 'rm -f /etc/pki/tls/private/localhost.key' (Expected 0, got 0) :: [ 17:12:06 ] :: [ BEGIN ] :: Running 'cp run_postinstall_script.py /tmp/tmp.EKap3kpLla' :: [ 17:12:06 ] :: [ PASS ] :: Command 'cp run_postinstall_script.py /tmp/tmp.EKap3kpLla' (Expected 0, got 0) :: [ 17:12:06 ] :: [ BEGIN ] :: Running 'chmod +x /tmp/tmp.EKap3kpLla/run_postinstall_script.py' :: [ 17:12:06 ] :: [ PASS ] :: Command 'chmod +x /tmp/tmp.EKap3kpLla/run_postinstall_script.py' (Expected 0, got 0) :: [ 17:12:06 ] :: [ BEGIN ] :: Running 'pushd /tmp/tmp.EKap3kpLla' /tmp/tmp.EKap3kpLla /mnt/tests/gitlab.com/redhat/centos-stream/tests/kernel/kernel-tests/-/archive/main/kernel-tests-main.zip/packages/httpd/mod_ssl-smoke :: [ 17:12:06 ] :: [ PASS ] :: Command 'pushd /tmp/tmp.EKap3kpLla' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Assertions: 18 good, 0 bad :: RESULT: PASS (Setup) ** Setup PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Test :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 17:12:07 ] :: [ BEGIN ] :: Running 'rpm -q mod_ssl' mod_ssl-2.4.53-9.el9.s390x :: [ 17:12:07 ] :: [ PASS ] :: Command 'rpm -q mod_ssl' (Expected 0, got 0) :: [ 17:12:07 ] :: [ BEGIN ] :: Running 'rpm -q --scripts mod_ssl| /usr/bin/python run_postinstall_script.py' ================================================ no postinstall scripts found... :: [ 17:12:07 ] :: [ PASS ] :: Command 'rpm -q --scripts mod_ssl| /usr/bin/python run_postinstall_script.py' (Expected 0, got 0) :: [ 17:12:07 ] :: [ BEGIN ] :: starting httpd service :: actually running 'rlServiceStart httpd' Redirecting to /bin/systemctl status httpd.service Redirecting to /bin/systemctl start httpd.service :: [ 17:12:17 ] :: [ LOG ] :: rlServiceStart: Service httpd started successfully :: [ 17:12:17 ] :: [ PASS ] :: starting httpd service (Expected 0, got 0) :: [ 17:12:17 ] :: [ BEGIN ] :: stopping httpd service :: actually running 'rlServiceStop httpd' Redirecting to /bin/systemctl status httpd.service Redirecting to /bin/systemctl stop httpd.service :: [ 17:12:18 ] :: [ PASS ] :: stopping httpd service (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 11s :: Assertions: 4 good, 0 bad :: RESULT: PASS (Test) ** Test PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 17:12:19 ] :: [ ERROR ] :: rlFileRestore: no files were actually restored as there were no files backed up to /var/tmp/beakerlib-32/backup-mod_ssl_smoke :: [ 17:12:19 ] :: [ BEGIN ] :: Running 'popd' /mnt/tests/gitlab.com/redhat/centos-stream/tests/kernel/kernel-tests/-/archive/main/kernel-tests-main.zip/packages/httpd/mod_ssl-smoke :: [ 17:12:19 ] :: [ PASS ] :: Command 'popd' (Expected 0, got 0) :: [ 17:12:19 ] :: [ BEGIN ] :: Removing tmp directory :: actually running 'rm -r /tmp/tmp.EKap3kpLla' :: [ 17:12:19 ] :: [ PASS ] :: Removing tmp directory (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 2 good, 0 bad :: RESULT: PASS (Cleanup) ** Cleanup PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: TEST PROTOCOL :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Test run ID : 32 Package : httpd Installed : httpd-2.4.53-9.el9.s390x beakerlib RPM : beakerlib-1.29.2-2.el9.noarch bl-redhat RPM : beakerlib-redhat-1-33.el9.noarch Test name : unknown Test started : 2023-01-26 17:12:05 EST Test finished : 2023-01-26 17:12:19 EST (still running) Test duration : 14 seconds Distro : CentOS Stream release 9 Hostname : s390x-kvm-041.lab.eng.rdu2.redhat.com Architecture : s390x CPUs : 0 x RAM size : 7517 MB HDD size : 111.96 GB :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Test description :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: PURPOSE of /CoreOS/httpd/Sanity/mod_ssl-smoke Description: try to reinstall mod_ssl and run httpd with mod_ssl This test is ready for rhscl. Author: Ondrej Ptak :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Setup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 17:12:05 ] :: [ PASS ] :: Checking for the presence of httpd rpm :: [ 17:12:05 ] :: [ LOG ] :: Package versions: :: [ 17:12:05 ] :: [ LOG ] :: httpd-2.4.53-9.el9.s390x :: [ 17:12:05 ] :: [ PASS ] :: Creating tmp directory (Expected 0, got 0) :: [ 17:12:06 ] :: [ INFO ] :: rlImport: Found 'httpd/http' during upwards traversal :: [ 17:12:06 ] :: [ INFO ] :: rlImport: Will try to import httpd/http from /mnt/tests/gitlab.com/redhat/centos-stream/tests/kernel/kernel-tests/-/archive/main/kernel-tests-main.zip/packages/httpd/Library/http/lib.sh :: [ 17:12:06 ] :: [ INFO ] :: rlImport: Found 'openssl/certgen' during upwards traversal :: [ 17:12:06 ] :: [ INFO ] :: rlImport: Will try to import openssl/certgen from /mnt/tests/gitlab.com/redhat/centos-stream/tests/kernel/kernel-tests/-/archive/main/kernel-tests-main.zip/packages/openssl/Library/certgen/lib.sh :: [ 17:12:06 ] :: [ PASS ] :: httpd/http: importing openssl library (Expected 0, got 0) :: [ 17:12:06 ] :: [ PASS ] :: checking httpd rpm (Expected 0, got 0) :: [ 17:12:06 ] :: [ PASS ] :: setup httpROOTDIR (Expected 0, got 0) :: [ 17:12:06 ] :: [ PASS ] :: parsing prefix from httpROOTDIR (Expected 0, got 0) :: [ 17:12:06 ] :: [ PASS ] :: Directory /var/www/html should exist :: [ 17:12:06 ] :: [ PASS ] :: following posible symlink of /etc/pki/tls/certs/localhost.crt (Expected 0, got 0) :: [ 17:12:06 ] :: [ PASS ] :: following posible symlink of /etc/pki/tls/private/localhost.key (Expected 0, got 0) :: [ 17:12:06 ] :: [ PASS ] :: following posible symlink of /etc/pki/tls/cert.pem (Expected 0, got 0) :: [ 17:12:06 ] :: [ INFO ] :: COLLECTIONS= :: [ 17:12:06 ] :: [ INFO ] :: httpCOLLECTION=0 :: [ 17:12:06 ] :: [ INFO ] :: httpCOLLECTION_NAME= :: [ 17:12:06 ] :: [ INFO ] :: httpHTTPD=httpd :: [ 17:12:06 ] :: [ INFO ] :: httpROOTDIR=/var/www/html :: [ 17:12:06 ] :: [ INFO ] :: httpROOTPREFIX= :: [ 17:12:06 ] :: [ INFO ] :: httpCONFDIR=/etc/httpd :: [ 17:12:06 ] :: [ INFO ] :: httpLOGDIR=/var/log/httpd :: [ 17:12:06 ] :: [ INFO ] :: httpSSL_CRT=/etc/pki/tls/certs/localhost.crt :: [ 17:12:06 ] :: [ INFO ] :: httpSSL_KEY=/etc/pki/tls/private/localhost.key :: [ 17:12:06 ] :: [ INFO ] :: httpSSL_PEM=/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem :: [ 17:12:06 ] :: [ INFO ] :: httpSSL_O=s390x-kvm-041.lab.eng.rdu2.redhat.com :: [ 17:12:06 ] :: [ INFO ] :: httpSSL_CN=s390x-kvm-041.lab.eng.rdu2.redhat.com :: [ 17:12:06 ] :: [ PASS ] :: Checking for the presence of httpd rpm :: [ 17:12:06 ] :: [ LOG ] :: Package versions: :: [ 17:12:06 ] :: [ LOG ] :: httpd-2.4.53-9.el9.s390x :: [ 17:12:06 ] :: [ PASS ] :: Command 'rlImport httpd/http' (Expected 0, got 0) :: [ 17:12:06 ] :: [ INFO ] :: using '/var/tmp/beakerlib-32/backup-mod_ssl_smoke' as backup destination :: [ 17:12:06 ] :: [ ERROR ] :: rlFileBackup: File /etc/pki/tls/certs/localhost.crt does not exist. :: [ 17:12:06 ] :: [ INFO ] :: using '/var/tmp/beakerlib-32/backup-mod_ssl_smoke' as backup destination :: [ 17:12:06 ] :: [ ERROR ] :: rlFileBackup: File /etc/pki/tls/private/localhost.key does not exist. :: [ 17:12:06 ] :: [ INFO ] :: using '/var/tmp/beakerlib-32/backup-mod_ssl_smoke' as backup destination :: [ 17:12:06 ] :: [ ERROR ] :: rlFileBackup: File /var/log/httpd/error_log does not exist. :: [ 17:12:06 ] :: [ PASS ] :: Command 'rm -f /var/log/httpd/error_log' (Expected 0, got 0) :: [ 17:12:06 ] :: [ PASS ] :: Command 'rm -f /etc/pki/tls/certs/localhost.crt' (Expected 0, got 0) :: [ 17:12:06 ] :: [ PASS ] :: Command 'rm -f /etc/pki/tls/private/localhost.key' (Expected 0, got 0) :: [ 17:12:06 ] :: [ PASS ] :: Command 'cp run_postinstall_script.py /tmp/tmp.EKap3kpLla' (Expected 0, got 0) :: [ 17:12:06 ] :: [ PASS ] :: Command 'chmod +x /tmp/tmp.EKap3kpLla/run_postinstall_script.py' (Expected 0, got 0) :: [ 17:12:06 ] :: [ PASS ] :: Command 'pushd /tmp/tmp.EKap3kpLla' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Assertions: 18 good, 0 bad :: RESULT: PASS (Setup) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Test :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 17:12:07 ] :: [ PASS ] :: Command 'rpm -q mod_ssl' (Expected 0, got 0) :: [ 17:12:07 ] :: [ PASS ] :: Command 'rpm -q --scripts mod_ssl| /usr/bin/python run_postinstall_script.py' (Expected 0, got 0) :: [ 17:12:17 ] :: [ LOG ] :: rlServiceStart: Service httpd started successfully :: [ 17:12:17 ] :: [ PASS ] :: starting httpd service (Expected 0, got 0) :: [ 17:12:18 ] :: [ PASS ] :: stopping httpd service (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 11s :: Assertions: 4 good, 0 bad :: RESULT: PASS (Test) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 17:12:19 ] :: [ ERROR ] :: rlFileRestore: no files were actually restored as there were no files backed up to /var/tmp/beakerlib-32/backup-mod_ssl_smoke :: [ 17:12:19 ] :: [ PASS ] :: Command 'popd' (Expected 0, got 0) :: [ 17:12:19 ] :: [ PASS ] :: Removing tmp directory (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 2 good, 0 bad :: RESULT: PASS (Cleanup) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: unknown :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 17:12:19 ] :: [ LOG ] :: Phases fingerprint: GpTeNtEf :: [ 17:12:19 ] :: [ LOG ] :: Asserts fingerprint: hbBXme7J Uploading journal.xml .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 14s :: Phases: 3 good, 0 bad :: OVERALL RESULT: PASS (unknown)