Bug 1661589
Summary: | mod_auth_gssapi: python3 test suite | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Robbie Harwood <rharwood> | ||||
Component: | mod_auth_gssapi | Assignee: | Robbie Harwood <rharwood> | ||||
Status: | CLOSED ERRATA | QA Contact: | anuja <amore> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 8.1 | CC: | amore, bnater | ||||
Target Milestone: | rc | ||||||
Target Release: | 8.1 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
URL: | https://github.com/modauthgssapi/mod_auth_gssapi/pull/193 | ||||||
Whiteboard: | |||||||
Fixed In Version: | mod_auth_gssapi-1.6.1-3.el8 | Doc Type: | No Doc Update | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2019-11-05 20:41:33 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | 1682259, 1690074 | ||||||
Bug Blocks: | |||||||
Attachments: |
|
Description
Robbie Harwood
2018-12-21 17:00:37 UTC
Verified using : --------------------------------------------------- Modified mod_auth_gssapi/Sanity/upstream/runtest.sh [root@vm-idm-003 upstream]# diff runtest.sh /tmp/runtest.sh < PYTHON=${PYTHON:-python} --- > PYTHON=${PYTHON:-python3} 52,54c52,55 < # change shebang to use /usr/bin/python2 < for test in tests/t_*; do sed -i 's#/usr/bin/env python#/usr/bin/python2#' $test; done < rlRun "pip2 install requests_gssapi" 0 --- > # change shebang to use /usr/bin/python3 > for test in tests/t_*; do sed -i 's#/usr/bin/env python#/usr/bin/python3#' $test; done > rlRun "dnf install -y python3-gssapi" 0 > rlRun "pip3 install --user requests_gssapi enum34" 0 65c66 < rlRun "pip2 uninstall -y requests_gssapi gssapi decorator enum34" 0 --- > rlRun "pip3 uninstall -y requests_gssapi gssapi decorator enum34" 0 ------------------------------------------------------------------------------------------ [root@vm-idm-003 upstream]# rpm -qa mod_auth_gssapi mod_auth_gssapi-1.6.1-6.el8.x86_64 [root@vm-idm-003 upstream]# :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Test :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 12:01:32 ] :: [ BEGIN ] :: Running upstream test suite :: actually running '/usr/bin/python3 tests/magtests.py --so-dir /usr/lib64/httpd/modules/' SPNEGO: SUCCESS SPNEGO Proxy Auth: SUCCESS SPNEGO No Auth: SUCCESS SPNEGO Rewrite: SUCCESS SPNEGO Negotiate Once: SUCCESS HOSTNAME ACCEPTOR: SUCCESS BAD ACCEPTOR: SUCCESS Required Name Attr: SUCCESS BASIC-AUTH: SUCCESS BASIC-AUTH Two Users: SUCCESS BASIC Fail Second User: SUCCESS BASIC Proxy Auth: SUCCESS NO Negotiate: SUCCESS :: [ 12:01:45 ] :: [ PASS ] :: Running upstream test suite (Expected 0, got 0) :: [ 12:01:45 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.4uTK0kM2' should contain 'SUCCESS' :: [ 12:01:45 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.4uTK0kM2' should not contain 'FAILED' :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 13s :: Assertions: 3 good, 0 bad :: RESULT: PASS (Test) Created attachment 1592758 [details]
test console logs
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:3324 |