Closed Kortanul closed 5 years ago
Based on these attempted fixes at this issue downstream in the Open Identity Platform project, it appears that the SecureCsvWriter
might be getting blocked waiting on a lock that doesn't get released until after the test has already finished:
Neither of the attempted fixes seem to address the root cause; they appear to be working around it. One of the fixes avoids signing the log line if the lock can't be obtained (this seems bad). The other delays rotation retention checking for 5 minutes, up from the default of 5 seconds (this seems like a kludge).
I am not sure why rotation retention checking should affect CSV signing unless the two functions are sharing a lock and/or the signing should be more aggressive about acquiring the lock.
Affected Versions
sustaining/20.0.0
throughmaster
Build Environment
Steps to Reproduce
sustaining/
branch for any of the following versions:mvn clean test -Dignore-artifact-sigs -rf :forgerock-audit-handler-csv
.Expected Results
Actual Results
The project compiles successfully but fails with the following test failures: