Open bbrockbernd opened 1 month ago
Hi @bbrockbernd ! Thank you for the bug report!
We sometimes observe similar problems on CI (NoClassDefFoundError
).
We suspect it can be related to dynamic java agent attachment and class re-transformation process.
But because the issue does not reproduce stably on CI, it is very hard to debug it.
Does the issue reproduces stably on your test, or is it a flaky test too?
Hi @eupp ! AFAIK, for me this specific test and DS consistently end up with this error message.
I have prepared a repo for you that works for me: https://github.com/bbrockbernd/lincheck-noclassdeffound
Some additional info: Project and gradle JVM are 17-corretto Gradle version 8.8 Lincheck version 2.34 Running on Mac M2 Max, MacOS 15.0 (24A335)
Let me know if you need anything else!
The same bug is now occurring (consistently) on a different project as well that I am testing with lincheck. If you still have troubles reproducing, I could provide some examples from that as well.
Hi @bbrockbernd !
I've investigated this issue. I have a quick (and a bit hacky) fix for this issue, which I am going to publish soon.
However, in general, the problem behind this is more serious, I described it here: #419
CC @ndkoval
Hi! When I used lincheck to test a (faulty) concurrent hash table i got the following error:
I have the following hash table implementation:
And the following test implementation. NOTE: when I don't use inheritance here, the test works as expected and gives me the trace of the concurrent execution. The same holds for the sequential specification.