Bug 2069077

Summary: krb5 upstream api tests failed [fedora35]
Product: [Fedora] Fedora Reporter: Julien Rische <jrische>
Component: krb5Assignee: Alexander Bokovoy <abokovoy>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 35CC: abokovoy, antorres, dpal, fdc, fdvorak, ftrivino, j, npmccallum, sbose, ssorce
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: krb5-1.19.2-4.fc35 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2053133 Environment:
Last Closed: 2022-04-03 02:04:40 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: 2053133, 2070879    
Bug Blocks:    

Description Julien Rische 2022-03-28 08:22:13 UTC
+++ This bug was initially created as a clone of Bug #2053133 +++

Description of problem:
krb5 upstream API tests failed.

Version-Release number of selected component (if applicable):
krb5-server-1.19.1-13.el9.x86_64
RHEL-9.0.0-20220127.4

Steps to Reproduce:
1. rpmbuild -bc $BUILDDIR/SPECS/krb5.spec
2. make check -C /root/rpmbuild/BUILD/krb5-1.19.1/src

Actual results:
...
making check in lib/kadm5/unit-test...
make[4]: Entering directory '/root/rpmbuild/BUILD/krb5-1.19.1/src/lib/kadm5/unit-test'
../../../kadmin/testing/scripts/env-setup.sh  ../../../kadmin/testing/scripts/start_servers
../../../kadmin/testing/scripts/env-setup.sh  ./init-test
../../../kadmin/testing/scripts/env-setup.sh  ./destroy-test
../../../kadmin/testing/scripts/env-setup.sh  ./client-handle-test
../../../kadmin/testing/scripts/env-setup.sh  ./client-setkey-test testkeys admin admin
+ Test 0:
+   enctype 17
+ Test 1:
+   enctype 17
+ Test 2:
+   enctype 17
../../../kadmin/testing/scripts/env-setup.sh runtest --debug --srcdir . --host x86_64-redhat-linux-gnu --tool api RPC=1 API=../../../kadmin/testing/util/kadm5_clnt_tcl \
        KINIT=../../../clients/kinit/kinit \
        KDESTROY=../../../clients/kdestroy/kdestroy \
        KADMIN_LOCAL=../../../kadmin/cli/kadmin.local \
        PRIOCNTL_HACK=0 VALGRIND="" \

WARNING: Couldn't find the global config file.
WARNING: Couldn't find tool init file
Test run by root on Thu Feb 10 14:10:47 2022
Native configuration is x86_64-redhat-linux-gnu

                === api tests ===

Schedule of variations:
    unix

Running target unix
Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target.
Using /usr/share/dejagnu/config/unix.exp as generic interface file for target.
WARNING: Couldn't find tool config file for unix, using default.
WARNING: could not find testsuite; trying ..
Running ./api.2/crte-policy.exp ...
ERROR: Couldn't find library file lib.t.
make[4]: *** [Makefile:758: unit-test-client-body] Error 1
make[4]: Leaving directory '/root/rpmbuild/BUILD/krb5-1.19.1/src/lib/kadm5/unit-test'
make[3]: *** [Makefile:1115: check-recurse] Error 1
make[3]: Leaving directory '/root/rpmbuild/BUILD/krb5-1.19.1/src/lib/kadm5'
make[2]: *** [Makefile:1006: check-recurse] Error 1
make[2]: Leaving directory '/root/rpmbuild/BUILD/krb5-1.19.1/src/lib'
make[1]: *** [Makefile:1553: check-recurse] Error 1
make[1]: Leaving directory '/root/rpmbuild/BUILD/krb5-1.19.1/src'

Expected results:
upstream api tests should pass.

Additional info:
- tests passed with RHEL-9.0.0-20220111.1 but failed in RHEL-9.0.0-20220127.4

--- Additional comment from Julien Rische on 2022-03-03 17:14:28 UTC ---

Upstream tests are passing if run with dejagnu-1.6.1-13. The 1.6.3 rebase probably introduced some breaking changes:

https://gitlab.com/redhat/centos-stream/rpms/dejagnu/-/commit/8e2e7164870bee8489522cb17b840beb93c6fcab

Comment 1 Fedora Update System 2022-03-31 09:01:18 UTC
FEDORA-2022-5ec9b50ced has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2022-5ec9b50ced

Comment 2 Fedora Update System 2022-04-01 17:33:05 UTC
FEDORA-2022-5ec9b50ced has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-5ec9b50ced`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-5ec9b50ced

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 3 Fedora Update System 2022-04-03 02:04:40 UTC
FEDORA-2022-5ec9b50ced has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.