Bug 407255 - [Tests] Transient failure in LineTrackerTests.testSimpleLineCounter
Summary: [Tests] Transient failure in LineTrackerTests.testSimpleLineCounter
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 4.3   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 4.17   Edit
Assignee: Sarika Sinha CLA
QA Contact:
URL:
Whiteboard:
Keywords: test
Depends on:
Blocks:
 
Reported: 2013-05-06 04:31 EDT by Dani Megert CLA
Modified: 2020-09-01 06:09 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dani Megert CLA 2013-05-06 04:31:07 EDT
I20130503-2000.

The underlying problem in either the code or test does not yet seem to be properly fixed (see bug 78422 and bug 252609).


http://download.eclipse.org/eclipse/downloads/drops4/I20130503-2000/testresults/html/org.eclipse.jdt.debug.tests_win32.win32.x86_7.0.html


Wrong number of lines output expected:<11> but was:<0>

junit.framework.AssertionFailedError: Wrong number of lines output expected:<11> but was:<0>
at org.eclipse.jdt.debug.tests.core.LineTrackerTests.testSimpleLineCounter(LineTrackerTests.java:96)
at org.eclipse.jdt.debug.tests.AbstractDebugTest.runBare(AbstractDebugTest.java:2378)
at org.eclipse.jdt.debug.tests.DebugSuite$1.run(DebugSuite.java:55)
at java.lang.Thread.run(Thread.java:722)
Comment 1 Dani Megert CLA 2014-10-15 03:56:28 EDT
Failed again in N20141014-2000:

Wrong number of lines output expected:<11> but was:<0>

junit.framework.AssertionFailedError: Wrong number of lines output expected:<11> but was:<0>
at org.eclipse.jdt.debug.tests.core.LineTrackerTests.testSimpleLineCounter(LineTrackerTests.java:96)
at org.eclipse.jdt.debug.tests.AbstractDebugTest.runBare(AbstractDebugTest.java:2458)
at org.eclipse.jdt.debug.tests.DebugSuite$1.run(DebugSuite.java:55)
at java.lang.Thread.run(Thread.java:744)
Comment 2 Sarika Sinha CLA 2015-07-21 05:48:32 EDT
Failed again
http://download.eclipse.org/eclipse/downloads/drops4/N20150717-2000/testresults/html/org.eclipse.jdt.debug.tests_win32.win32.x86_7.0.html
testSimpleLineCounter	Failure	Wrong number of lines output expected:<11> but was:<0>

junit.framework.AssertionFailedError: Wrong number of lines output expected:<11> but was:<0>
at org.eclipse.jdt.debug.tests.core.LineTrackerTests.testSimpleLineCounter(LineTrackerTests.java:96)
at org.eclipse.jdt.debug.tests.AbstractDebugTest.runBare(AbstractDebugTest.java:2466)
at org.eclipse.jdt.debug.tests.DebugSuite$1.run(DebugSuite.java:57)
at java.lang.Thread.run(Thread.java:744)
Comment 5 pasam soujanya CLA 2016-06-10 03:01:21 EDT
I'm seeing this error with IBM SDK with the below java version.
Java version:
--------------------
java version "1.8.0"
Java(TM) SE Runtime Environment (build pwa6480sr4-20160608_04(SR4))
IBM J9 VM (build 2.8, JRE 1.8.0 Windows Server 2008 R2 amd64-64 Compressed References 20160607_306990 (JIT enabled, AOT enabled)
J9VM - R28_20160607_0202_B306990
JIT  - tr.r14.java.green_20160606_118883
GC   - R28_20160607_0202_B306990_CMPRSS
J9CL - 20160607_306990)
JCL - 20160529_01 based on Oracle jdk8u91-b14

Error seen:
----------------------
ECL (eclipse) recordError type=AssertionFailed org.eclipse.jdt.debug.tests.core.LineTrackerTests testSimpleLineCounter Wrong number of lines output expected:<11> but was:<0>
ECL (eclipse) junit.framework.AssertionFailedError: Wrong number of lines output expected:<11> but was:<0>
ECL 	at org.eclipse.jdt.debug.tests.core.LineTrackerTests.testSimpleLineCounter(LineTrackerTests.java:96)
ECL 	at org.eclipse.jdt.debug.tests.AbstractDebugTest.runBare(AbstractDebugTest.java:2466)
ECL 	at org.eclipse.jdt.debug.tests.DebugSuite$1.run(DebugSuite.java:57)
ECL 	at java.lang.Thread.run(Thread.java:785)
ECL
Comment 6 Dani Megert CLA 2016-08-25 05:05:48 EDT
When I only run that test (or the test class) on Windows, it always fails with:
junit.framework.AssertionFailedError: Never received 'stopped' notification

Sarika, it looks like you also see this. Please take a look for M2.
Comment 7 Sarika Sinha CLA 2016-09-12 02:48:50 EDT
Will look at it in M3.
Comment 8 Sarika Sinha CLA 2016-10-21 06:06:23 EDT
Moving it out of M3 as it needs more time to understand the problem. findings till now -
1. Tests run locally when run as part of AutomatedSuite (even if other test suites are moved out)
2. When Test suite is run individually as plugin test, all the tests in the suite fail to receive the stop notification which is the notification sent by console on close.
3. No notification for console line append happens, so number of reads is always 0
4. It works when run in debug mode
Comment 9 Sarika Sinha CLA 2018-08-28 02:44:02 EDT
Not seen it recently.
Comment 10 Eclipse Genie CLA 2020-09-01 03:48:04 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.
Comment 11 Sarika Sinha CLA 2020-09-01 06:09:16 EDT
Not seen since long.