Bug 541443 - [test] JavaElementDeltaTests#testAddExternalLibFolder1 and testAddExternalLibFolder2 fails
Summary: [test] JavaElementDeltaTests#testAddExternalLibFolder1 and testAddExternalLib...
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 4.9   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Jay Arthanareeswaran CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks: 565083
  Show dependency tree
 
Reported: 2018-11-22 06:02 EST by Jay Arthanareeswaran CLA
Modified: 2023-08-09 17:55 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jay Arthanareeswaran CLA 2018-11-22 06:02:23 EST
The two tests failed in the latest I build:

http://download.eclipse.org/eclipse/downloads/drops4/I20181121-1800/testresults/html/org.eclipse.jdt.core.tests.model_ep410I-unit-mac64_macosx.cocoa.x86_64_8.0.html

They run fine on my Mac machine locally. The difference of the failures:

P[*]: {CHILDREN | CONTENT | RAW CLASSPATH CHANGED | RESOLVED CLASSPATH CHANGED}\n
<project root>[*]: {REMOVED FROM CLASSPATH}\n
/Users/genie.releng/ci/workspace/ep410I-unit-mac64/workarea/I20181121-1800/eclipse-testing/test-eclipse/Eclipse.app/Contents/Eclipse/jdt_model_folder/externalLib[*]: {ADDED TO CLASSPATH}\n
/Users/genie.releng/ci/workspace/ep410I-unit-mac64/workarea/I20181121-1800/eclipse-testing/test-eclipse/Eclipse.app/Contents/Eclipse/jdt_model_folder/jclMin.jar[*]: {REMOVED FROM CLASSPATH}\n
ResourceDelta(/P/.classpath)[*]
------------ but was ------------
P[*]: {CHILDREN | CONTENT | RAW CLASSPATH CHANGED | RESOLVED CLASSPATH CHANGED}\n
<project root>[*]: {REMOVED FROM CLASSPATH}\n
/Users/genie.releng/ci/workspace/ep410I-unit-mac64/workarea/I20181121-1800/eclipse-testing/test-eclipse/Eclipse.app/Contents/Eclipse/jdt_model_folder/externalLib[+]: {}\n
/Users/genie.releng/ci/workspace/ep410I-unit-mac64/workarea/I20181121-1800/eclipse-testing/test-eclipse/Eclipse.app/Contents/Eclipse/jdt_model_folder/jclMin.jar[*]: {REMOVED FROM CLASSPATH}\n
ResourceDelta(/P/.classpath)[*]



P[*]: {CHILDREN | CONTENT | RAW CLASSPATH CHANGED | RESOLVED CLASSPATH CHANGED}\n
<project root>[*]: {REMOVED FROM CLASSPATH}\n
/Users/genie.releng/ci/workspace/ep410I-unit-mac64/workarea/I20181121-1800/eclipse-testing/test-eclipse/Eclipse.app/Contents/Eclipse/jdt_model_folder/jclMin.jar[*]: {REMOVED FROM CLASSPATH}\n
ResourceDelta(/P/.classpath)[*]
------------ but was ------------
P[*]: {CHILDREN | CONTENT | RAW CLASSPATH CHANGED | RESOLVED CLASSPATH CHANGED}\n
<project root>[*]: {REMOVED FROM CLASSPATH}\n
/Users/genie.releng/ci/workspace/ep410I-unit-mac64/workarea/I20181121-1800/eclipse-testing/test-eclipse/Eclipse.app/Contents/Eclipse/jdt_model_folder/externalLib[+]: {}\n
/Users/genie.releng/ci/workspace/ep410I-unit-mac64/workarea/I20181121-1800/eclipse-testing/test-eclipse/Eclipse.app/Contents/Eclipse/jdt_model_folder/jclMin.jar[*]: {REMOVED FROM CLASSPATH}\n
ResourceDelta(/P/.classpath)[*]
Comment 2 Jay Arthanareeswaran CLA 2019-11-13 11:31:28 EST
Haven't failed since. Still keeping it open.
Comment 6 Manoj N Palat CLA 2020-11-06 00:52:07 EST
These run fine locally on my machine (Mac) too as Jay mentioned in comment 0. However, we are having failures quite frequently in gerrit - eg https://ci.eclipse.org/jdt/job/eclipse.jdt.core-Gerrit/3809/testReport/junit/org.eclipse.jdt.core.tests.model/AllJavaModelTestsTracing/testAddExternalLibFolder1/ for a very recent (at the time of writing this comment) failure. I have kept https://ci.eclipse.org/jdt/job/eclipse.jdt.core-Gerrit/3809/ "forever" for reference. At this point, would like to disable these tests to allow other unrelated gerrits to go ahead atleast temporarily
Comment 7 Eclipse Genie CLA 2020-11-06 00:55:57 EST
New Gerrit change created: https://git.eclipse.org/r/c/jdt/eclipse.jdt.core/+/171876
Comment 9 Manoj N Palat CLA 2020-11-06 01:48:05 EST
(In reply to Eclipse Genie from comment #8)
> Gerrit change https://git.eclipse.org/r/c/jdt/eclipse.jdt.core/+/171876 was
> merged to [master].
> Commit:
> http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/commit/
> ?id=255920cc96c6f9c8e6b88b7bf2651c07ba217d62

Note: Please enable these tests after the fix
Comment 10 Eclipse Genie CLA 2020-11-18 02:32:57 EST
New Gerrit change created: https://git.eclipse.org/r/c/jdt/eclipse.jdt.core/+/172399
Comment 11 Jay Arthanareeswaran CLA 2020-11-18 02:37:59 EST
(In reply to Eclipse Genie from comment #10)
> New Gerrit change created:
> https://git.eclipse.org/r/c/jdt/eclipse.jdt.core/+/172399

My theory is that the mentioned tests (and perhaps few others too) are stepping on each others' toes. As an experiment, I have changed the name of the resources and enabled the tests back. Will keep the gerrit around, run from time to time and see how the tests go.
Comment 12 Eclipse Genie CLA 2020-12-01 22:44:57 EST
New Gerrit change created: https://git.eclipse.org/r/c/jdt/eclipse.jdt.core/+/173190
Comment 13 Jay Arthanareeswaran CLA 2021-03-02 03:30:18 EST
No progress made. Moving out.
Comment 14 Manoj N Palat CLA 2021-05-21 00:13:49 EDT
Bulk move out of 4.20
Comment 15 Jay Arthanareeswaran CLA 2021-08-18 23:32:36 EDT
I believe Andrey is also doing some work in this area and possibly made more progress than I have. For the moment, I will remove the target and once we confirm the transient failures are gone, we can close this one too.
Comment 16 Eclipse Genie CLA 2023-08-09 17:55:47 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.