Bug 549176

Summary: [test] InclusionPatternsTests.testCreateIncludedPackage failing
Product: [Eclipse Project] JDT Reporter: Jay Arthanareeswaran <jarthana>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: manoj.palat
Version: 4.13   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard: stalebug
Bug Depends on:    
Bug Blocks: 565083    

Description Jay Arthanareeswaran CLA 2019-07-11 08:05:00 EDT
Test InclusionPatternsTests.testCreateIncludedPackage is failing with the latest build:

https://download.eclipse.org/eclipse/downloads/drops4/I20190710-1800/testresults/html/org.eclipse.jdt.core.tests.model_ep413I-unit-win32-java8_win32.win32.x86_64_8.0.html

With the following stack:

junit.framework.ComparisonFailure: Unexpected deltas.
----------- Expected ------------
P[*]: {CHILDREN}\n
src[*]: {CHILDREN}\n
p[+]: {}
------------ but was ------------
P[*]: {CHILDREN | CONTENT | RAW CLASSPATH CHANGED | RESOLVED CLASSPATH CHANGED}\n
src[*]: {ADDED TO CLASSPATH | REMOVED FROM CLASSPATH}\n
ResourceDelta(/P/.classpath)[*]\n
\n
P[*]: {CHILDREN}\n
src[*]: {CHILDREN}\n
p[+]: {}
--------- Difference is ----------
expected:<P[*]: {CHILDREN[]}\n
src[*]: {CHILDR...> but was:<P[*]: {CHILDREN[ | CONTENT | RAW CLASSPATH CHANGED | RESOLVED CLASSPATH CHANGED}\n
src[*]: {ADDED TO CLASSPATH | REMOVED FROM CLASSPATH}\n
ResourceDelta(/P/.classpath)[*]\n
\n
P[*]: {CHILDREN]}\n
src[*]: {CHILDR...>
at org.eclipse.jdt.core.tests.junit.extension.TestCase.assertStringEquals(TestCase.java:266)
at org.eclipse.jdt.core.tests.junit.extension.TestCase.assertEquals(TestCase.java:242)
at org.eclipse.jdt.core.tests.model.AbstractJavaModelTests.assertDeltas(AbstractJavaModelTests.java:1173)
at org.eclipse.jdt.core.tests.model.AbstractJavaModelTests.assertDeltas(AbstractJavaModelTests.java:1163)
at org.eclipse.jdt.core.tests.model.InclusionPatternsTests.testCreateIncludedPackage(InclusionPatternsTests.java:226)

Not reproducible locally.
Comment 2 Eclipse Genie CLA 2023-05-28 01:55:17 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.