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 208442 - JDK 7u4 specific failures (unit tests)
Summary: JDK 7u4 specific failures (unit tests)
Status: CLOSED FIXED
Alias: None
Product: qa
Classification: Unclassified
Component: Tests (show other bugs)
Version: 7.0.1
Hardware: PC Linux
: P1 normal (vote)
Assignee: Jiri Skrivanek
URL:
Keywords: TEST
Depends on: 208907 208909 208911
Blocks:
  Show dependency tree
 
Reported: 2012-02-15 10:52 UTC by taras.ledkov
Modified: 2012-03-22 10:51 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Unit tests results of the jdk 7u4 specific failures (17.76 KB, application/x-gzip)
2012-02-15 10:52 UTC, taras.ledkov
Details
html tests results (819.20 KB, application/x-gzip)
2012-02-15 13:00 UTC, taras.ledkov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description taras.ledkov 2012-02-15 10:52:38 UTC
Created attachment 115742 [details]
Unit tests results of the jdk 7u4 specific failures

I've compared the unit tests result of binary test distribution on JDK 7u2 & JDK 7u4-b11.

Please take a look on the difference (jdk 7u4 specific failures):
ArtifactProviderTest.testBuildArtifact
JavaActionsTest.testAddBinding
JavaActionsTest.testCreateAntElem
JavaActionsTest.testCreateCompileSingleTarget
JavaActionsTest.testCreateDebugSingleTargetElem
JavaActionsTest.testCreateDebugTargetFromScratch
JavaActionsTest.testCreateDebugTargetFromTemplate
JavaActionsTest.testCreatePathLikeElem
JavaActionsTest.testCreateRunSingleTargetElem
JavaActionsTest.testEnsureImports
JavaActionsTest.testEnsurePropertiesCopied
JavaActionsTest.testFindLine
JavaActionsTest.testGetPathFromCU
JavaActionsTest.testReadWriteCustomScript
JavaProjectNatureTest.testUpgradeSchema1to2
JavaProjectNatureTest.testUpgradeSchema1to3
JavaProjectNatureTest.testUpgradeSchema2to3
ProcessorTest.testFailTwice
WebProjectNatureTest.testUpgradeSchema

I need any help or suggestions to discover reasons of this failures.
The main question is: "Are bugs in JDK causes of these falls?"


System Info:

Operating System Name: Linux
Operating System Version: ubuntu 11.04
System Architecture: x86
Java Version:    1.7.0_04-b11
Java Vendor:    Oracle corp
User Language:    en
Comment 1 Marian Mirilovic 2012-02-15 11:27:48 UTC
Ok, we will look at this now.

Taras, 
could you please send as a link to the hudson job where these tests were running? We need to go through log files and do first evaluation ?

Jirka, 
could you please try to run the tests on JDK7u4 (the same build if possible) locally in our environment ?

Thanks in advance.
Comment 2 taras.ledkov 2012-02-15 11:39:39 UTC
Marian, thanks for your attention.
I run this test manually. Please specify what additional information you need. Tests run output, if i understood correctly?
Comment 3 Marian Mirilovic 2012-02-15 11:57:49 UTC
We need log files + scrrenshot (depends on logs).
Comment 4 taras.ledkov 2012-02-15 13:00:25 UTC
Created attachment 115749 [details]
html tests results

I also attach html tests results (as like as linked bug: #208445).
I'm sorry, but I do not know about any log files you mean.
Do you mean log files from unit/work/<module-name> directories? But there is no such file for each test. 
e.g.: test: org.netbeans.modules.ant.freeform.ArtifactProviderTest
directory tree: unit/work/org-netbeans-modules-ant-freeform doesn't contain any *.log file.

Please explain where I can find the logs that interest you.
(in case i use binary test distribution & runs its manually)

See all results of unit tests on linux jdk 7u4 (not only jdk7u4 specific!) in
attach
Comment 5 Marian Mirilovic 2012-02-27 14:40:11 UTC
Jirka, could you also please look at this issue and divide into pieces reported against appropriate modules ? Thanks in advance.
Comment 6 Jiri Skrivanek 2012-03-05 10:00:30 UTC
Filed JDK bug 7150637 related to bug 208909. Otherwise tests were fixed.
Comment 7 Marian Mirilovic 2012-03-22 10:51:25 UTC
closing