Details
-
Bug
-
Resolution: Unresolved
-
Neutral
-
None
-
None
-
None
-
None
-
-
Empty show more show less
Description
Steps to reproduce
- Use non-oracle Java, e.g. AdoptOpenJDK, easily installed with e.g. sdkman.io.
- Checkout release/6.1
- Run mvn verify (-Pstaging if necessary)
Expected results
Test pass
Actual results
A lot of tests fail with NoClassDefFound errors.
Check as an example log
from attachments.
Workaround
Install Oracle JDK
Development notes
- Seems to only happen in release 6.1 for CE and dx-core. 6.2.6 does not seem affected.
- Some discussion here: https://magnolia-cms.slack.com/archives/CG7BJ1XQV/p1607092283006800?thread_ts=1607091702.003900&cid=CG7BJ1XQV
- This has affected running recent releases, where -Pstaging,skipTests was used. Tests were run first on machines with Oracle JDK to check validity.
- In CE the first test to fail, fails with
Caused by: java.lang.IllegalStateException: Can not connect to Ryuk- this lead to this link, but doesn't seem like a plausible hypothesis as a cause https://github.com/testcontainers/testcontainers-java/issues/1623
- had the same issue with 5.7.9 CE release + ppom 40 + JDK 8 from Oracle (resorted to skipping tests)
Checklists
Acceptance criteria