-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nightly test failure with @pki/master copr repo #4710
Comments
The test is failing in the step requesting a RA certificate. ipa-server-install is using certmonger to get the RA cert (see ipaserver-install.log):
PKI correctly processes the cert request, adds the cert request to the LDAP database (from /var/log/pki/pki-tomcat/ca/debug.2024-04-01.log):
but when the cert is issued, PKI tries to write the cert to the LDAP database with an already existing serial number:
|
@edewata could you have a look at this regression in the nightly builds? |
@rcritten @tbordaz I think this is the issue I mentioned to you a few days ago. In upstream PKI CI we're only observing this issue in IPA tests which use sequential serial numbers (instead of RSNv3) which still depends on VLV. Was there any VLV-related change in DS recently that might have caused this? @amore17 @flo-renaud Is it possible to test IPA with RSNv3 enabled by default to isolate the issue? @fmarco76 We might need to prioritize VLV removal in this area. |
@tbordaz Thanks for the info. |
@edewata you can get the list of packages from the report url: http://freeipa-org-pr-ci.s3-website.eu-central-1.amazonaws.com/jobs/c570a07c-f06c-11ee-b706-fa163e8e2127/installed_packages/installed_packages_master.log.gz |
@flo-renaud Thanks. In that case I would suggest switching to DS 3.0 as @tbordaz suggested. From PKI side it might be possible to change the sequential serial numbers to use paged results instead of VLV, but the performance might downgrade significantly. @fmarco76 might have better idea about this. |
@flo-renaud @edewata if update DS is possible and it resolves the problem I think it will be faster. |
FYI: According to git log and git blame, There are no changes in vlv code in 2.x branches for the last two years That is true that while fixing the vlv issues on lmdb, I noticed a suspicious thing about vlv that could impact online import /bulk import (and maybe reindex) if there are vlv with ONELEVEL search scope (as it is the case with freeipa) but this issue exists for decades, so why are we seeing it now ?) |
Just FYI, I checked PKI CI execution history, here's the last commit where IPA installation was still successful (although there was a subsequent test failure): Then here is the next commit where IPA installation failure was first observed: As you can see, the changes in PKI do not seem to be related at all to IPA, KRA, pkispawn, VLV, simple paged results, or sequential serial numbers. So I'm still thinking that the issue was caused by changes in another package that was pushed to Fedora 39 around the beginning of April. |
FYI, recently @fmarco76 managed to drop VLV dependency from the code that we use to access the cert records in DS: With this change at least IPA installation was able to complete successfully: There are still some occasional test failures, but they happen after installation so they seem to be unrelated and will be investigated separately. @amore17 @flo-renaud Please verify IPA installation with the latest PKI COPR build. Thanks! |
@edewata on our last run (with dogtag-pki-base-11.6.0-0.1.alpha1.20240510195204UTC.078a33ca.fc39.noarch) we now see 19 failing tests (link) instead of 54 the previous week. There is definitely an improvement but we still see some installation issues.
|
Could we close this ticket and create new tickets for those issues? We will need more specific steps to reproduce and logs too. |
For the externally signed CA I opened this ticket: #4745 In the meantime I agree, we can close this ticket as the problem described here does not happen any more. |
For the install / uninstall / re-install scneario: ticket #4746 |
Thanks! |
FreeIPA nightly tests is failing with the copr repo @pki/master. The test is installing IPA server
See PR #freeipa-pr-ci2/freeipa#3540, with the following report and logs:
The text was updated successfully, but these errors were encountered: