eclipse-jdt / eclipse.jdt.debug

Eclipse Public License 2.0
16 stars 49 forks source link

LongClassPathTests issues #504

Closed jukzi closed 1 month ago

jukzi commented 1 month ago

I-Builds longest logfile https://download.eclipse.org/eclipse/downloads/drops4/I20240918-2220/testresults/ep434I-unit-cen64-gtk3-java17_linux.gtk.x86_64_17/org.eclipse.jdt.debug.tests.AutomatedSuite.txt

contains 4326 times

Java Model Exception: Error in Java Model (code 969): testVeryLongClasspathWithArgumentFile does not exist

May be some missing cleanup? locally the tests passes but takes long time: image

logging

!MESSAGE [Creating project: test ä VeryLongClasspathWithClasspathOnlyJar] Some job is still running or waiting to run: 
'Java indexing... 2 files to index (C:\java\jdk-17.0.7.7-hotspot^\lib\jrt-fs.jar)(289)'/org.eclipse.jdt.internal.core.search.processing.JobManager$1ProgressJob
thread info: "Worker-5: Java indexing... " prio=5 Id=57 TIMED_WAITING on org.eclipse.jdt.internal.core.search.indexing.IndexManager@1b6441c9
    at java.base@17.0.7/java.lang.Object.wait(Native Method)
    -  waiting on org.eclipse.jdt.internal.core.search.indexing.IndexManager@1b6441c9
    at org.eclipse.jdt.internal.core.search.processing.JobManager$1ProgressJob.run(JobManager.java:472)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

, 
UI thread info: "main" prio=6 Id=1 RUNNABLE
    at java.management@17.0.7/sun.management.ThreadImpl.dumpThreads0(Native Method)
    at java.management@17.0.7/sun.management.ThreadImpl.getThreadInfo(ThreadImpl.java:485)
    at org.eclipse.jdt.debug.tests.TestUtil.dumpRunningOrWaitingJobs(TestUtil.java:214)
    at org.eclipse.jdt.debug.tests.TestUtil.dumpRunningOrWaitingJobs(TestUtil.java:188)
    at org.eclipse.jdt.debug.tests.TestUtil.waitForJobs(TestUtil.java:169)
    at org.eclipse.jdt.debug.tests.TestUtil.waitForJobs(TestUtil.java:117)
    at org.eclipse.jdt.debug.tests.AbstractDebugTest.createJavaProjectClone(AbstractDebugTest.java:1102)
    at org.eclipse.jdt.debug.tests.launching.LongClassPathTests.testVeryLongClasspathWithClasspathOnlyJar(LongClassPathTests.java:105)
    ...

@HannesWell may that relate to the long filename changes you have recently done?

HannesWell commented 1 month ago

@HannesWell may that relate to the long filename changes you have recently done?

You are referring to https://github.com/eclipse-platform/eclipse.platform/pull/1477, aren't you? I would be surprised if that has an effect here since it should only be relevant on Windows and was submitted over a month ago.

jukzi commented 1 month ago

@SougandhS can you work on this?

SougandhS commented 1 month ago

@SougandhS can you work on this? Will try to fix this

jukzi commented 1 month ago

works, thanks @SougandhS