Bug 579439 - LineTrackerTests.testFlood fails since I20220326-1800
Summary: LineTrackerTests.testFlood fails since I20220326-1800
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 4.23   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: 4.24 M1   Edit
Assignee: Jörg Kubitz CLA
QA Contact:
URL:
Whiteboard:
Keywords: regression
Depends on:
Blocks: 575275
  Show dependency tree
 
Reported: 2022-03-28 04:00 EDT by Andrey Loskutov CLA
Modified: 2022-03-29 02:44 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 Andrey Loskutov CLA 2022-03-28 04:00:37 EDT
https://download.eclipse.org/eclipse/downloads/drops4/I20220327-1800/testresults/html/org.eclipse.jdt.debug.tests_ep424I-unit-cen64-gtk3-java11_linux.gtk.x86_64_11.html

LineTrackerTests	testFlood	Failure	Wrong number of lines expected:<10000> but was:<5740>

junit.framework.AssertionFailedError: Wrong number of lines expected:<10000> but was:<5740>
at junit.framework.Assert.fail(Assert.java:57)
at junit.framework.Assert.failNotEquals(Assert.java:329)
at junit.framework.Assert.assertEquals(Assert.java:78)
at junit.framework.Assert.assertEquals(Assert.java:234)
at junit.framework.TestCase.assertEquals(TestCase.java:377)
at org.eclipse.jdt.debug.tests.core.LineTrackerTests.testFlood(LineTrackerTests.java:170)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at junit.framework.TestCase.runTest(TestCase.java:177)
at junit.framework.TestCase.runBare(TestCase.java:142)
at org.eclipse.jdt.debug.tests.AbstractDebugTest.runBare(AbstractDebugTest.java:2679)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at org.eclipse.jdt.debug.tests.DebugSuite$1.run(DebugSuite.java:61)
at java.base/java.lang.Thread.run(Thread.java:829)

Interestingly, I'm unable to execute testst locally, the launch config in the test doesn't start at all.
Comment 1 Sarika Sinha CLA 2022-03-28 05:44:49 EDT
It is failing for me locally.
Comment 2 Andrey Loskutov CLA 2022-03-28 05:49:46 EDT
(In reply to Andrey Loskutov from comment #0)
> Interestingly, I'm unable to execute tests locally, the launch config in
> the test doesn't start at all.

OK, the tests should NOT run in UI thread.

Regression from bug 575275, reverting commit a31baf97eda1ae062ead1db1215742e2be6b51e0 fixes the test.

Jörg, please investigate.
Comment 3 Eclipse Genie CLA 2022-03-28 07:38:31 EDT
New Gerrit change created: https://git.eclipse.org/r/c/jdt/eclipse.jdt.debug/+/192281
Comment 5 Andrey Loskutov CLA 2022-03-29 02:44:56 EDT
Works in I20220328-1800.