-
Bug
-
Resolution: Unresolved
-
Major
-
3.27.2.GA, 3.27.2.CR1
-
False
-
-
False
-
-
---
-
-
During the testing of 3.27.2.CR1, one of our tests UniFailureCacheIT.testConcurrentAccessAndRecovery is failing in native mode with error:
AssertionFailedError: Cache lock should prevent excessive calls. Expected <= 2, but was 3
This is a known upstream Quarkus issue where @CacheResult annotation does not properly synchronize concurrent access whe the first Uni fails.
Upstream issue: https://github.com/quarkusio/quarkus/issues/51928#issuecomment-3776949738
There is a fix PR here: https://github.com/quarkusio/quarkus/pull/52150 (milestone 3.32) but was not backported to 3.27 branch.
I hit this failure in our native Jenkins job (but it's not exclusive occurs on native) :
https://jenkins-csb-quarkusqe-main.dno.corp.redhat.com/view/rhbq-3.27-general/job/rhbq-3.27-rhel8-jdk21-baremetal-ts-native/jdk=openjdk-21,label=RHEL8%20&&%20xlarge%20&&%20docker,scenario=misc/lastCompletedBuild/testReport/