This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 79406 - Test failure without any given reasons
Summary: Test failure without any given reasons
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: David Simonek
URL: http://ffjqa.czech/automatedtests/xte...
Keywords: TEST
Depends on:
Blocks: 73955
  Show dependency tree
 
Reported: 2006-06-29 09:46 UTC by Jaroslav Tulach
Modified: 2008-12-22 17:45 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
The failure report (4.46 KB, text/html)
2006-06-29 09:47 UTC, Jaroslav Tulach
Details
Thread dump. (7.14 KB, text/plain)
2006-07-04 11:10 UTC, Jiri Skrivanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2006-06-29 09:46:47 UTC
InitJobTest is failing for no reason and there is no way to investigate what 
is wrong. Please find the root cause of the failure
Comment 1 Jaroslav Tulach 2006-06-29 09:47:09 UTC
Created attachment 31499 [details]
The failure report
Comment 2 ehucka 2006-06-30 10:37:49 UTC
I have no idea what the tests do. Could you add some debug messages to the test?
Where is posting the error message - 'Did not finish'? I did not find it in the
test source.
Is it failing only on one machine or on all machines? 
Comment 3 Jaroslav Tulach 2006-06-30 10:56:23 UTC
"Could you add some debug messages to the test?" - there are debug messages.
"I have no idea what the tests do" - I have no idea what your infrastructure 
does. That is no excuse. The test works on my computer and very likely on 
yours if you run it. So the infrastructure around is the primary suspect. 
'Did not finish' - The test is not printing that message. It is from the 
infrastructure.
"Is it failing only on one machine or on all machines?" - you do not know? I 
thought that you run the tests and you upload the results somewhere! Anyway it 
see: http://beetle.czech:8080/unittest/TestCase.jsp?issues=3688
Comment 4 ehucka 2006-06-30 12:40:50 UTC
The tests were started with selected JDK, using selected ANT version, selected
version of test sources and ide build. Tests did run and finished. Their results
were sent to database. So my infrastructure works correctly :).
FYI The infrastrucure is autonomous it executes daily about 10000 tests. I
cannot solve problems of each failing test.
Comment 5 Jiri Skrivanek 2006-07-04 11:09:34 UTC
The InitJobTest is failing only on windows. I will attach a thread dump. It runs
in AWT event queue (NbTestCase.runInEQ() return true) but it gets stuck even if
it doesn't run in EQ.
Comment 6 Jiri Skrivanek 2006-07-04 11:10:16 UTC
Created attachment 31617 [details]
Thread dump.
Comment 7 Jaroslav Tulach 2006-07-10 16:43:49 UTC
Dafe, this is your test and moreover you have windows, can you please find out 
what is wrong? Feel free to ask for help if you need one.
Comment 8 David Simonek 2006-12-01 16:11:39 UTC
*** Issue 87001 has been marked as a duplicate of this issue. ***
Comment 9 David Simonek 2006-12-05 10:57:36 UTC
fixed in main trunk:
Checking in src/org/openide/util/AsyncInitSupport.java;
/cvs/openide/util/src/org/openide/util/AsyncInitSupport.java,v  <-- 
AsyncInitSupport.java
new revision: 1.4; previous revision: 1.3
done
Checking in test/unit/src/org/openide/util/InitJobTest.java;
/cvs/openide/util/test/unit/src/org/openide/util/InitJobTest.java,v  <-- 
InitJobTest.java
new revision: 1.3; previous revision: 1.2
done