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 255500 - org.netbeans.spi.project.support.ant.GlobFileBuiltQueryTest.testExternalSourceRoots fails
Summary: org.netbeans.spi.project.support.ant.GlobFileBuiltQueryTest.testExternalSourc...
Status: VERIFIED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Ant Project (show other bugs)
Version: 8.1
Hardware: PC Linux
: P1 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords: 81_HR_FIX, REGRESSION, TEST
Depends on:
Blocks:
 
Reported: 2015-09-23 05:52 UTC by Jaroslav Tulach
Modified: 2015-10-02 14:50 UTC (History)
2 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 2015-09-23 05:52:40 UTC
There is 20 failures in a row of this test in
http://deadlock.netbeans.org/job/ergonomics/6002/testReport/
and it is blocking integration of my other changes

org.netbeans.spi.project.support.ant.GlobFileBuiltQueryTest.testExternalSourceRoots
Failing for the past 20 builds (Since #5983 )
Took 11 sec.
Error Message

Did not get event: got change

Stacktrace

junit.framework.AssertionFailedError: Did not get event: got change
	at org.openide.util.test.MockChangeListener.expectEvent(MockChangeListener.java:135)
	at org.netbeans.spi.project.support.ant.GlobFileBuiltQueryTest.testExternalSourceRoots(GlobFileBuiltQueryTest.java:266)
	at org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:102)
	at org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:478)
	at org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:404)
	at java.lang.Thread.run(Thread.java:724)
Comment 1 Quality Engineering 2015-09-24 01:29:51 UTC
Integrated into 'main-silver', will be available in build *201509240002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/71090a915b01
User: Jaroslav Tulach <jtulach@netbeans.org>
Log: #255500: Marking the test as @RandomlyFailing to not block propagation of other changes through builders
Comment 2 Tomas Stupka 2015-09-30 15:24:40 UTC
fixed in http://hg.netbeans.org/ergonomics/rev/fa07046032a5
Comment 3 Tomas Stupka 2015-10-01 09:07:15 UTC
the reported problem from http://deadlock.netbeans.org/job/ergonomics is gone

a weaklistener wasn't created properly, got collected and some messages weren't propageted properly
the fix is trivial and uncontroversial

in case nobody objects i will also integrate into release81 branch
Comment 4 Jiri Kovalsky 2015-10-01 09:14:49 UTC
Agreed. Please integrate the fix Tomasi.
Comment 5 Tomas Stupka 2015-10-01 13:49:15 UTC
fixed in releases81 #be48724de91f
Comment 6 Quality Engineering 2015-10-02 01:37:38 UTC
Integrated into 'main-silver', will be available in build *201510020002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/fa07046032a5
User: Tomas Stupka <tstupka@netbeans.org>
Log: Issue #255500 - org.netbeans.spi.project.support.ant.GlobFileBuiltQueryTest.testExternalSourceRoots fails
Comment 7 Jaroslav Tulach 2015-10-02 14:50:18 UTC
Since the fix the ergonomics build succeeded five times and failed just once, but due to unrelated error. I consider the problem fixed.