adoptium / adoptium/aqa-tests

openliberty_microprofile_tck failed with jdk17

Open
#3,381 14 comments 0 reactions 0 assignees View on GitHub
canosp test excluded
Dominant language
HTML
Stars
155
Forks
346
Avg merge
2d 9h
Merged PRs (30d)
36

Description

https://ci.adoptopenjdk.net/view/work-in-progress/job/grinder_sandbox_new/442/console

openliberty_microprofile_tck_0 failed with jdk17.

```
20:00:41 Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8 -Djava.security.egd=file:/dev/./urandom
20:00:57 java.lang.NoClassDefFoundError: Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7
20:00:57 at org.codehaus.groovy.vmplugin.VMPluginFactory.(VMPluginFactory.java:43)
20:00:57 at org.codehaus.groovy.reflection.GroovyClassValueFactory.(GroovyClassValueFactory.java:35)
20:00:57 at org.codehaus.groovy.reflection.ClassInfo.(ClassInfo.java:107)
20:00:57 at org.codehaus.groovy.reflection.ReflectionCache.getCachedClass(ReflectionCache.java:95)
20:00:57 at org.codehaus.groovy.reflection.ReflectionCache.(ReflectionCache.java:39)
20:00:57 at org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.registerMethods(MetaClassRegistryImpl.java:210)
...
20:00:57 FAILURE: Build failed with an exception.
20:00:57
20:00:57 * What went wrong:
20:00:57 Could not initialize class org.codehaus.groovy.reflection.ReflectionCache
20:00:57
20:00:57 * Try:
20:00:57 Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
20:00:57
20:00:57 * Get more help at https://help.gradle.org/
20:00:57
20:00:57 BUILD FAILED in 14s
20:00:57
20:00:57 openliberty_microprofile_tck_0_FAILED
```

Contributor guide

Open the contributing guide

Research direction

Start with the linked grinder_sandbox_new/442 console output and the openliberty_microprofile_tck_0 job entry. Trace the Groovy initialization failure under JDK 17 and run the affected TCK job with stacktrace output. Done means the job completes successfully on JDK 17 without the NoClassDefFoundError.

Written by the indexing model from the issue text.

Assessment

Tech stack
groovy, java
Domain
build-system, testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.