adoptium / adoptium/aqa-tests

jdk8 alpine x64 - tools/launcher/ExecutionEnvironment.java failed with `java.lang.reflect.InvocationTargetException`

Open
#5,894 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
155
Forks
346
Avg merge
2d 9h
Merged PRs (30d)
36

Description

jdk8 alpine x64 - tools/launcher/ExecutionEnvironment.java failed with `java.lang.reflect.InvocationTargetException`

```
17:19:34 Test void ExecutionEnvironment.testEcoFriendly() failed: java.lang.reflect.InvocationTargetException
17:19:34 ----begin detailed exceptions----
17:19:34 java.lang.reflect.InvocationTargetException
17:19:34 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
17:19:34 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
17:19:34 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
17:19:34 at java.lang.reflect.Method.invoke(Method.java:498)
17:19:34 at TestHelper.run(TestHelper.java:214)
17:19:34 at ExecutionEnvironment.main(ExecutionEnvironment.java:343)
17:19:34 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
17:19:34 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
17:19:34 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
17:19:34 at java.lang.reflect.Method.invoke(Method.java:498)
17:19:34 at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
17:19:34 at java.lang.Thread.run(Thread.java:750)
17:19:34 Caused by: java.lang.RuntimeException: FAIL: did not get
17:19:34 at ExecutionEnvironment.flagError(ExecutionEnvironment.java:124)
17:19:34 at ExecutionEnvironment.testEcoFriendly(ExecutionEnvironment.java:160)

```
https://ci.adoptium.net/view/Test_grinder/job/Grinder/12415/console

Contributor guide

Open the contributing guide

Research direction

Start with tools/launcher/ExecutionEnvironment.java, especially testEcoFriendly, and compare the failure with the linked Grinder 12415 console log. The work is done when the JDK 8 Alpine x64 run completes without InvocationTargetException and testEcoFriendly receives the expected LD_LIBRARY_PATH value.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.