Bug 574262 - [test] org.eclipse.jdt.apt.tests.MirrorUtilTests.testMirrorUtils fails
Summary: [test] org.eclipse.jdt.apt.tests.MirrorUtilTests.testMirrorUtils fails
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: APT (show other bugs)
Version: 4.21   Edit
Hardware: PC Windows 10
: P3 trivial (vote)
Target Milestone: ---   Edit
Assignee: Generic inbox for the JDT-APT component CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-17 06:26 EDT by Jörg Kubitz CLA
Modified: 2023-06-13 10:06 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jörg Kubitz CLA 2021-06-17 06:26:01 EDT
org.eclipse.jdt.apt.tests.MirrorUtilTests.testMirrorUtils fails locally reproducible (windows) - while i have not seen such error on gerrit.

it logs:

!ENTRY org.eclipse.jdt.apt.core 2 1 2021-06-17 12:21:02.314
!MESSAGE Unexpected failure running APT on the file(s): DeclarationsTestClass.java
!STACK 0
java.lang.IllegalStateException: Failed during test: apt.tests.annotations.mirrortest.cpvarFile was not found
	at org.eclipse.jdt.apt.tests.annotations.ProcessorTestStatus.fail(ProcessorTestStatus.java:106)
	at org.eclipse.jdt.apt.tests.annotations.ProcessorTestStatus.assertTrue(ProcessorTestStatus.java:101)
	at org.eclipse.jdt.apt.tests.annotations.mirrortest.MirrorUtilTestAnnotationProcessor.testEnvOptions(MirrorUtilTestAnnotationProcessor.java:173)
	at org.eclipse.jdt.apt.tests.annotations.mirrortest.MirrorUtilTestAnnotationProcessor.process(MirrorUtilTestAnnotationProcessor.java:87)
	at org.eclipse.jdt.apt.core.internal.APTDispatchRunnable.dispatchToFileBasedProcessor(APTDispatchRunnable.java:668)
...
Comment 1 Jörg Kubitz CLA 2021-06-17 07:59:15 EDT
In MirrorUtilTestAnnotationProcessor.ENV_VALUES "%ECLIPSE_HOME%" is referenced. Which is resolved locally to 
"C:\Users\JKubitz\eclipseDev\jdt\ws\.metadata\.plugins\org.eclipse.pde.core\.install_folders\1616437549004"

But that folder contains no "configuration/config.ini" file but only this files:
 "readme/readme_eclipse.html"
 ".eclipseproduct"
 "eclipsec.exe"
 "launcher.exe"
Comment 2 Eclipse Genie CLA 2021-06-17 08:03:15 EDT
New Gerrit change created: https://git.eclipse.org/r/c/jdt/eclipse.jdt.core/+/182113
Comment 3 Jörg Kubitz CLA 2021-06-21 04:07:31 EDT
(In reply to Jörg Kubitz from comment #1)
>  "readme/readme_eclipse.html"

On gerrit builds on the other hand this file does not exist.

Do NOT assign to me. I have no idea how to fix it (why these files do / not exist on)
Help Needed (but not important issue).
Comment 4 Eclipse Genie CLA 2023-06-13 10:06:50 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.