8299602 - Error encountered while building and testing JDK11U-DEV code
Severin Gehwolf
sgehwolf at redhat.com
Fri Feb 10 17:25:10 UTC 2023
On Fri, 2023-02-10 at 15:07 +0000, Henry GALVEZ wrote:
> Dear Severin,
>
> I hope this email finds you well. I am reaching out because I am encountering an error while building and testing the JDK11U-DEV repository code. I have taken the following steps to address the issue:
>
> Downloaded the repository code
> Attempted to build and run tests without making any modifications
> Validated that I have all the necessary requirements
> Unfortunately, I am still encountering an error when running the tier1 tests. I have done some research by reviewing the archive of the mailing list, the documentation, and online resources, but I have been unable to find a solution to the issue.
>
> I would greatly appreciate your advice on how to correct this error or information on which mailing list I should ask for help.
>
> Here is a summarized output of my last test:
>
>
>
> Running test 'jtreg:test/hotspot/jtreg:tier1'
> Error: Unexpected exception occurred! java.lang.IllegalArgumentException: 6+1
> java.lang.IllegalArgumentException: 6+1
> at com.sun.javatest.regtest.tool.Version.<init>(Version.java:80)
> at com.sun.javatest.regtest.config.TestProperties$Cache$Entry.initAllowSmartActionArgs(TestProperties.java:452)
> at com.sun.javatest.regtest.config.TestProperties$Cache$Entry.<init>(TestProperties.java:262)
> at com.sun.javatest.regtest.config.TestProperties$Cache.getEntryInternal(TestProperties.java:509)
> at com.sun.javatest.regtest.config.TestProperties$Cache.getEntry(TestProperties.java:500)
> at com.sun.javatest.regtest.config.TestProperties.<init>(TestProperties.java:57)
> at com.sun.javatest.regtest.config.RegressionTestSuite.<init>(RegressionTestSuite.java:80)
> at com.sun.javatest.regtest.config.RegressionTestSuite.open(RegressionTestSuite.java:65)
> at com.sun.javatest.regtest.config.TestManager.getTestSuites(TestManager.java:165)
> at com.sun.javatest.regtest.tool.Tool.run(Tool.java:1124)
> at com.sun.javatest.regtest.tool.Tool.run(Tool.java:1075)
> at com.sun.javatest.regtest.tool.Tool.main(Tool.java:147)
> at com.sun.javatest.regtest.Main.main(Main.java:58)
> Finished running test 'jtreg:test/hotspot/jtreg:tier1'
> Test report is stored in build/linux-x86_64-normal-server-release/test-results/jtreg_test_hotspot_jtreg_tier1
Looks like wrong version of jtreg. Where did you get it from? Did you
build from source? How does the MANIFEST.MF of jtreg.jar look like?
Mine has:
Manifest-Version: 1.0
jtreg-VersionString: 6-dev+0
jtreg-BuildDate: June 23, 2021
jtreg-Milestone: dev
jtreg-Version: 6
jtreg-Name: jtreg
Class-Path: javatest.jar asmtools.jar
jtreg-Build: 0
jtreg-BuildJavaVersion: Java(TM) 2 SDK, Version 1.8.0_292-b10
Created-By: 1.8.0_292 (Red Hat, Inc.)
Main-class: com.sun.javatest.regtest.Main
And that works.
Or consider downloading from here:
https://ci.adoptopenjdk.net/view/Dependencies/job/dependency_pipeline/lastSuccessfulBuild/artifact/jtreg/
HTH.
Thanks,
Severin
More information about the jdk-updates-dev
mailing list