| Summary: | [11] 3 CompilerToolJava9Tests.test*LocationForModule* tests fail | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Andrey Loskutov <loskutov> |
| Component: | Core | Assignee: | Andrey Loskutov <loskutov> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | jarthana |
| Version: | 4.11 | ||
| Target Milestone: | 4.11 M3 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| See Also: |
https://git.eclipse.org/r/134863 https://git.eclipse.org/c/jdt/eclipse.jdt.core.git/commit/?id=afbdd69b75f4a965f05e986955f7dc51cce4230f https://git.eclipse.org/r/134988 https://git.eclipse.org/c/jdt/eclipse.jdt.core.git/commit/?id=cec4302b5cafc054b1f595979702a95b0b5af1c5 |
||
| Whiteboard: | |||
|
Description
Andrey Loskutov
The tests do *not* fail locally in the IDE (at least not on my Windows notebook). New Gerrit change created: https://git.eclipse.org/r/134863 Gerrit change https://git.eclipse.org/r/134863 was merged to [master]. Commit: http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/commit/?id=afbdd69b75f4a965f05e986955f7dc51cce4230f (In reply to Eclipse Genie from comment #2) > New Gerrit change created: https://git.eclipse.org/r/134863 File should exist: /home/cbi/genie.releng/workspace/ep411I-unit-cen64-gtk3-java11/workarea/I20190111-1800/eclipse-testing/test-eclipse/eclipse/plugins/org.eclipse.jdt.compiler.tool.tests_1.2.500.v20190109-2229/resources/module_locations/source/SimpleModules/module.one/module-info.java junit.framework.AssertionFailedError: File should exist: /home/cbi/genie.releng/workspace/ep411I-unit-cen64-gtk3-java11/workarea/I20190111-1800/eclipse-testing/test-eclipse/eclipse/plugins/org.eclipse.jdt.compiler.tool.tests_1.2.500.v20190109-2229/resources/module_locations/source/SimpleModules/module.one/module-info.java at junit.framework.Assert.fail(Assert.java:57) at junit.framework.Assert.assertTrue(Assert.java:22) at junit.framework.TestCase.assertTrue(TestCase.java:192) at org.eclipse.jdt.compiler.tool.tests.CompilerToolJava9Tests.initializeLocations(CompilerToolJava9Tests.java:134) at org.eclipse.jdt.compiler.tool.tests.CompilerToolJava9Tests.setUp(CompilerToolJava9Tests.java:100) Cool. On java 11 we have now 18 tests failing (== all tests in CompilerToolJava9Tests), because I've added an assert in the setup that the resources/module_locations/source/SimpleModules/module.one/module-info.java should exist in the bundle /resources directory - this was the problem with the three failing tests before. Means, for some reasons we can't read files under Platform.getBundle("org.eclipse.jdt.compiler.tool.tests").getEntry("/")? I'm looking into it. New Gerrit change created: https://git.eclipse.org/r/134988 Gerrit change https://git.eclipse.org/r/134988 was merged to [master]. Commit: http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/commit/?id=cec4302b5cafc054b1f595979702a95b0b5af1c5 (In reply to Andrey Loskutov from comment #7) > No fails in > https://download.eclipse.org/eclipse/downloads/drops4/I20190112-1800/testResults.php > Verified for 4.11 M3 with build I20190112-1800. Thanks Andrey! |