| Summary: | [tests] Java 15 based LeakTestCase failing on I-builds | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Carsten Hammer <carsten.hammer> |
| Component: | UI | Assignee: | Noopur Gupta <noopur_gupta> |
| Status: | VERIFIED FIXED | QA Contact: | Kalyan Prasad Tatavarthi <kalyan_prasad> |
| Severity: | normal | ||
| Priority: | P3 | CC: | akurtako, akurtakov, kalyan_prasad, mistria, noopur_gupta, rgrunber, sravankumarl |
| Version: | 4.18 | ||
| Target Milestone: | 4.18 M3 | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: |
https://git.eclipse.org/r/c/jdt/eclipse.jdt.ui/+/170457 https://git.eclipse.org/r/c/jdt/eclipse.jdt.ui/+/170762 https://git.eclipse.org/c/jdt/eclipse.jdt.ui.git/commit/?id=e53366492e039bee555632159876bdc59b51842a https://git.eclipse.org/r/c/jdt/eclipse.jdt.ui/+/170812 https://git.eclipse.org/c/jdt/eclipse.jdt.ui.git/commit/?id=cfaf35630d32d457e9dae29765bf43f46b9eedfc https://git.eclipse.org/r/c/jdt/eclipse.jdt.ui/+/170981 https://git.eclipse.org/c/jdt/eclipse.jdt.ui.git/commit/?id=edbced81df31299896d62ae86e851a7e7e559440 |
||
| Whiteboard: | 4.18 M2 | ||
|
Description
Carsten Hammer
Kalyan was looking into these failures. Kalyan, any progress here? Please check regarding java.base/jdk.internal.icu.text module as suggested by Carsten. New Gerrit change created: https://git.eclipse.org/r/c/jdt/eclipse.jdt.ui/+/170762 (In reply to Eclipse Genie from comment #2) > New Gerrit change created: > https://git.eclipse.org/r/c/jdt/eclipse.jdt.ui/+/170762 It needs two new entries with Java 15: jdk.internal.icu.impl jdk.internal.icu.text Gerrit change https://git.eclipse.org/r/c/jdt/eclipse.jdt.ui/+/170762 was merged to [master]. Commit: http://git.eclipse.org/c/jdt/eclipse.jdt.ui.git/commit/?id=e53366492e039bee555632159876bdc59b51842a To be verified in the next I-build. Reopening as tests failed again in the build I20201014-1800 Can others here confirm if the tests pass locally on their systems after adding the following to VM arguments in the test launch configuration? --add-modules ALL-SYSTEM --add-opens java.base/jdk.internal.loader=ALL-UNNAMED --add-opens jdk.localedata/sun.util.resources.cldr.provider=ALL-UNNAMED --add-opens jdk.localedata/sun.util.resources.provider=ALL-UNNAMED --add-opens java.base/jdk.internal.module=ALL-UNNAMED --add-opens java.base/java.lang.module=ALL-UNNAMED --add-opens java.base/jdk.internal.reflect=ALL-UNNAMED --add-opens java.base/jdk.internal.ref=ALL-UNNAMED --add-opens java.base/jdk.internal.math=ALL-UNNAMED --add-opens java.base/jdk.internal.misc=ALL-UNNAMED --add-opens java.base/jdk.internal.icu.impl=ALL-UNNAMED --add-opens java.base/jdk.internal.icu.text=ALL-UNNAMED (In reply to Noopur Gupta from comment #7) > Can others here confirm if the tests pass locally on their systems after > adding the following to VM arguments in the test launch configuration? > > --add-modules ALL-SYSTEM --add-opens > java.base/jdk.internal.loader=ALL-UNNAMED --add-opens > jdk.localedata/sun.util.resources.cldr.provider=ALL-UNNAMED --add-opens > jdk.localedata/sun.util.resources.provider=ALL-UNNAMED --add-opens > java.base/jdk.internal.module=ALL-UNNAMED --add-opens > java.base/java.lang.module=ALL-UNNAMED --add-opens > java.base/jdk.internal.reflect=ALL-UNNAMED --add-opens > java.base/jdk.internal.ref=ALL-UNNAMED --add-opens > java.base/jdk.internal.math=ALL-UNNAMED --add-opens > java.base/jdk.internal.misc=ALL-UNNAMED --add-opens > java.base/jdk.internal.icu.impl=ALL-UNNAMED --add-opens > java.base/jdk.internal.icu.text=ALL-UNNAMED Please run the tests with Java 15 on "Main" tab of the launch config. Since these tests pass locally for me now, adding Alex, Mickael and Roland in cc (ref. bug 565411) to check if they have any idea why these are still failing on the build machine. New Gerrit change created: https://git.eclipse.org/r/c/jdt/eclipse.jdt.ui/+/170812 Gerrit change https://git.eclipse.org/r/c/jdt/eclipse.jdt.ui/+/170812 was merged to [master]. Commit: http://git.eclipse.org/c/jdt/eclipse.jdt.ui.git/commit/?id=cfaf35630d32d457e9dae29765bf43f46b9eedfc Checked with Sravan: for I-builds, test.xml needs to be updated and for Gerrit builds, pom.xml update is required. Updated test.xml. To be verified with the next I-build. Verified in I20201018-1800 test results. This failed running tests with: "You must nest a condition into <condition> " visible in https://download.eclipse.org/eclipse/downloads/drops4/I20201019-1800/testresults/consolelogs/ep418I-unit-cen64-gtk3-java11_linux.gtk.x86_64_11_consolelog.txt It seems to be the removed "<javaversion atleast="9"/>" in <javaversion atleast="9"/> https://git.eclipse.org/c/jdt/eclipse.jdt.ui.git/commit/?id=cfaf35630d32d457e9dae29765bf43f46b9eedfc New Gerrit change created: https://git.eclipse.org/r/c/jdt/eclipse.jdt.ui/+/170981 Gerrit change https://git.eclipse.org/r/c/jdt/eclipse.jdt.ui/+/170981 was merged to [master]. Commit: http://git.eclipse.org/c/jdt/eclipse.jdt.ui.git/commit/?id=edbced81df31299896d62ae86e851a7e7e559440 Thanks, Alex. It was removed as we don't run tests below 9 now. But it seems that the condition is required. I have released your patch. Verified in I20201116-0600. |