URL:
https://github.com/SSSD/sssd/pull/766
Title: #766: TESTS: Test kvno correctly displays vesion numbers of principals
mrniranjan commented:
"""
Ran the kcm tests on (unpatched version) sssd-1.16.0-4.el8+5.s390x .
```
test_kcm.py::TestSanityKCM::test_kinit_kcm
test_kcm.py::TestSanityKCM::Run kinit with KRB5CCNAME=KCM: FAILED
[ 16%]
test_kcm.py::TestSanityKCM::test_ssh_login_kcm
test_kcm.py::TestSanityKCM::Verify ssh logins are successuful with kcm as default PASSED
[ 33%]
test_kcm.py::TestSanityKCM::test_kcm_debug_level_set
test_kcm.py::TestSanityKCM::Test that just adding a [kcm] section and restarting the kcm
FAILED
[ 50%]
test_kcm.py::TestSanityKCM::test_kdestroy_retval
test_kcm.py::TestSanityKCM::Test that destroying an empty cache does not return a non-zero
FAILED
[ 66%]
test_kcm.py::TestSanityKCM::test_ssh_forward_creds
test_kcm.py::TestSanityKCM::Test that SSH can forward credentials with KCM FAILED
[ 83%]
test_kcm.py::TestSanityKCM::test_kvno_display
test_kcm.py::TestSanityKCM::Test kvno correctly displays vesion numbers of principals
FAILED
```
kvno command failed on s390x with below errors:
```
[root@ibm-z-127 db]# kvno host/ibm-z-127.rhts.eng.bos.redhat.com(a)EXAMPLE.TEST
kvno: Matching credential not found while getting credentials for
host/ibm-z-127.rhts.eng.bos.redhat.com(a)EXAMPLE.TEST
``````
[root@ibm-z-127 db]# KRB5_TRACE=/dev/stderr kvno
host/ibm-z-127.rhts.eng.bos.redhat.com(a)EXAMPLE.TEST
[29908] 1559635067.105027: Getting credentials @EXAMPLE.TEST ->
host/ibm-z-127.rhts.eng.bos.redhat.com(a)EXAMPLE.TEST using ccache KCM:0
[29908] 1559635067.105028: Retrieving @EXAMPLE.TEST ->
host/ibm-z-127.rhts.eng.bos.redhat.com(a)EXAMPLE.TEST from KCM:0 with result:
-1765328243/Matching credential not found
[29908] 1559635067.105029: Retrieving @EXAMPLE.TEST -> krbtgt/EXAMPLE.TEST(a)EXAMPLE.TEST
from KCM:0 with result: -1765328243/Matching credential not found
kvno: Matching credential not found while getting credentials for
host/ibm-z-127.rhts.eng.bos.redhat.com(a)EXAMPLE.TEST
```
"""
See the full comment at
https://github.com/SSSD/sssd/pull/766#issuecomment-498603837