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 217903 - Fix failing tests after easel merge
Summary: Fix failing tests after easel merge
Status: VERIFIED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P1 normal (vote)
Assignee: Marek Fukala
URL:
Keywords: TEST
Depends on:
Blocks:
 
Reported: 2012-09-05 14:10 UTC by Jiri Skrivanek
Modified: 2013-02-27 08:12 UTC (History)
1 user (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 Jiri Skrivanek 2012-09-05 14:10:06 UTC
Please, fix tests which started to fail after easel merge.

org.netbeans.modules.html.editor.lib.XmlSyntaxTreeBuilderTest.testIssue197608
org.netbeans.modules.html.editor.lib.XmlSyntaxTreeBuilderTest.testNodesHasParentsSet

http://hudson4qe.cz.oracle.com/view/Trunk-QE/job/StableBTD-7.3/2/jdk=JDK%207,label=Ubuntu-slave3/testReport/org.netbeans.modules.html.editor.lib/XmlSyntaxTreeBuilderTest/testNodesHasParentsSet/
Comment 1 Marek Fukala 2012-09-13 13:49:16 UTC
tests passes on my machine, please re-run and possibly let me know so we can figure out what's the difference. Thanks.
Comment 2 Jiri Skrivanek 2012-09-17 08:03:19 UTC
Reproduced when running from binary test distribution:

cd hg/main
ant build-test-dist -Dallmodules=html.editor.lib
cd nbbuild/build/testdist
ant -Dnetbeans.dest.dir=D:/hg/main/nbbuild/netbeans -Dtest.config=stableBTD -Dtest.types=unit -Dtest-sys-prop.ignore.random.failures=true -Dmodules.list=ide/org-netbeans-modules-html-editor-lib
export ANT_OPTS=-Xmx1024m
ant generate-html-results -f all-tests.xml -Dtest.results.dir=unit/results

browse file:///D:/hg/main/nbbuild/build/testdist/unit/results/html/index.html
Comment 3 Jiri Skrivanek 2012-10-15 09:38:39 UTC
Still failing and blocks stable test distribution stabilization.
Comment 4 Marek Fukala 2012-10-15 14:31:05 UTC
can this wait till tomorrow as I'll be in the Prague's office and you can help me with the reproducing?
Comment 5 Marek Fukala 2012-10-15 14:45:27 UTC
fixed in web-main#db4add298f95

But surprisingly the test run fails with following message even if all the tests passed and the generated output file shows 100% success rate:

generate-html-results:
[junitreport] Processing /Volumes/Mercurial/web-main/nbbuild/build/testdist/unit/results/TESTS-TestSuites.xml to /var/folders/z_/rst9n1r12rbgq71hhn9lvzz80000gn/T/null1297252009
[junitreport] Loading stylesheet jar:file:/usr/share/ant/lib/ant-junit.jar!/org/apache/tools/ant/taskdefs/optional/junit/xsl/junit-frames.xsl
[junitreport] Transform time: 1119ms
[junitreport] Deleting: /var/folders/z_/rst9n1r12rbgq71hhn9lvzz80000gn/T/null1297252009
     [echo] Report is available at /Volumes/Mercurial/web-main/nbbuild/build/testdist/unit/results/html/index.html

failtests:

BUILD FAILED
/Volumes/Mercurial/web-main/nbbuild/build/testdist/build.xml:53: The following error occurred while executing this line:
/Volumes/Mercurial/web-main/nbbuild/build/testdist/all-tests.xml:80: Some tests failed; see details above.
Comment 6 Quality Engineering 2012-10-16 02:04:06 UTC
Integrated into 'main-golden', will be available in build *201210160002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/db4add298f95
User: Marek Fukala <mfukala@netbeans.org>
Log: #217903 - Fix failing tests after easel merge