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 61336 - Arch test is failing for no apparent reason
Summary: Arch test is failing for no apparent reason
Status: RESOLVED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-25 10:25 UTC by Jaroslav Tulach
Modified: 2005-09-12 10:58 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2005-07-25 10:25:38 UTC
org.netbeans.nbbuild.ArchQuestionsTest are now failing and I cannot find out 
why. They used to work on 200507181000 but the next day they started to fail 
200507191800. 
 
I cannot find any strange commit to the tests or code itself, has not 
something strange happened with the infrastructure? Please help me to find 
this out.
Comment 1 Jiri Skrivanek 2005-08-02 15:32:59 UTC
I am not aware of change in infrastructure which can be related. When I looked
at tests history matrices I found out the following:

- the test passes until 200507191800
- in build 200507211800 it started to fail on all platforms
http://www.netbeans.org/download/4_2/daily/200507211800/b15336d392e609a0009fa5c15c61f220/netbeans-4_2-daily-log-200507211800-changelog-21_Jul_2005_1800.html

- in build 200507261800 it started to pass again on Windows and Linux
http://www.netbeans.org/download/4_2/daily/200507261800/fc1d39fdc396252aafa5b0ee02e2f75b/netbeans-4_2-daily-log-200507261800-changelog-26_Jul_2005_1800.html

- on Solaris it fails constantly

Please, look at change logs for suspicious commits or run the test on Solaris. I
don't understand fail messages.
Comment 2 Jaroslav Tulach 2005-08-11 11:02:03 UTC
Seems to work again. Let's wait for next round of failures... 
Comment 3 Jaroslav Tulach 2005-08-19 15:32:10 UTC
Fails once again and all the time: 
 
estGenerateArchFileWhenEmptyWithDefaultAnswerForNbDepsQuestion: 
 
  
      java.net.MalformedURLException: no protocol: 
${nbroot}/nbbuild/antsrc/org/netbeans/nbbuild/Arch.dtd 
        at java.net.URL.<init>(URL.java:567) 
        at java.net.URL.<init>(URL.java:464) 
        at java.net.URL.<init>(URL.java:413) 
        at 
com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:968) 
        at 
com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(XMLEntityManager.java:905) 
        at 
com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDTDEntity(XMLEntityManager.java:872) 
        at 
com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.setInputSource(XMLDTDScannerImpl.java:282) 
        at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(XMLDocumentScannerImpl.java:1021) 
        at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368) 
        at 
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834) 
        at 
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764) 
        at 
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148) 
        at 
com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:250) 
        at 
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:292) 
        at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:172) 
        at 
org.netbeans.nbbuild.ArchQuestionsTest.testGenerateArchFileWhenEmptyWithDefaultAnswerForNbDepsQuestion(ArchQuestionsTest.java:80) 
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
        at java.lang.reflect.Method.invoke(Method.java:585) 
        at junit.framework.TestCase.runTest(TestCase.java:154) 
        at org.netbeans.junit.NbTestCase.runBare(NbTestCase.java:135) 
        at junit.framework.TestResult$1.protect(TestResult.java:106) 
        at junit.framework.TestResult.runProtected(TestResult.java:124) 
        at junit.framework.TestResult.run(TestResult.java:109) 
        at junit.framework.TestCase.run(TestCase.java:118) 
        at org.netbeans.junit.NbTestCase.run(NbTestCase.java:122) 
        at junit.framework.TestSuite.runTest(TestSuite.java:208) 
        at junit.framework.TestSuite.run(TestSuite.java:203) 
        at 
org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:167) 
        at 
org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:118) 
        at 
org.netbeans.xtest.plugin.jvm.JUnitTestRunnerLauncher.main(JUnitTestRunnerLauncher.java:41) 
 
    
Comment 4 Jaroslav Tulach 2005-09-12 10:58:48 UTC
cvs -q ci -m "#61336: Trying really hard to create non-parsing DOM parser" 
 
Checking in test/unit/src/org/netbeans/nbbuild/ArchQuestionsTest.java; 
/cvs/nbbuild/test/unit/src/org/netbeans/nbbuild/ArchQuestionsTest.java,v  <--  
ArchQuestionsTest.java 
new revision: 1.6; previous revision: 1.5