Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 311654 - Dali test changes causing test phase to fail
Summary: Dali test changes causing test phase to fail
Status: VERIFIED FIXED
Alias: None
Product: Dali JPA Tools
Classification: WebTools
Component: General (show other bugs)
Version: 2.3   Edit
Hardware: PC Windows 7
: P3 blocker (vote)
Target Milestone: 2.3 RC1   Edit
Assignee: Tran Le CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-05 01:03 EDT by David Williams CLA
Modified: 2010-05-06 16:02 EDT (History)
2 users (show)

See Also:


Attachments
proposed patch against head (8.08 KB, patch)
2010-05-05 10:36 EDT, Karen Butzke CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Williams CLA 2010-05-05 01:03:07 EDT
Did you think all those green builds mean everything was ok? (That's another bug). But this is a report of Dali bug. 


I've not looked at your test changes ... but, the wtp tests are not running at all ... partially because "jpt tests" come first :) ... and mostly because those tests "fail hard" and the whole script stops, with nothing "published" to website ... so, you have to look on server for results and error logs. 

In the ...results/fullOutput.txt file, you can see several "invocation exceptions" followed by more details, such as 

     79 Caused by: /shared/webtools/tests/wtp-R3.2.0-I/test.xml:100: The following error occurred while executing this line:
     80 /shared/webtools/tests/wtp-R3.2.0-I/eclipse/plugins/org.eclipse.jpt.core.tests_2.3.0.v201005040000/test.xml:38: The following error occurred while executing this line:
     81 Target "core-utility-jdt-test" does not exist in the project "JUnit tests".


So ... was this a "small" problem? Need help getting your tests to run more separately?
Comment 1 Karen Butzke CLA 2010-05-05 09:53:19 EDT
I was wondering if we had caused the tests not to run. I tried looking at the huge build log but thought the jpt tests were running fine.  I will take a look and see what I can figure out. The changes I made were to o.e.jpt.core.tests/test.xml and o.e.jpt.eclipselink.core.tests/text.xml.  I attempted to run the 4 tests suites that are inside of JptCoreTests, to help with our DNFs (bug 311221).

At least it's nice having the build finish quickly (is 5 hours quick? :))
Comment 2 Karen Butzke CLA 2010-05-05 10:36:15 EDT
Created attachment 167147 [details]
proposed patch against head

I screwed up the ant-targets in my attempt to run multiple test suites.  I did not realize that core-test and ui-test were my only options for those names and 
made them all different.

<ant target="core-utility-jdt-test" 
is now:
<ant target="core-test"
Comment 3 Karen Butzke CLA 2010-05-05 10:49:54 EDT
Checked in and being released now
Comment 4 Karen Butzke CLA 2010-05-06 16:02:14 EDT
verified the tests are running correctly in the build now