Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 324500 - DBWS tests do not run out of the box - WIKI requires quickstart section in event of CB failure
Summary: DBWS tests do not run out of the box - WIKI requires quickstart section in ev...
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Mike Norman CLA
QA Contact:
URL: http://wiki.eclipse.org/EclipseLink/D...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-03 20:00 EDT by Michael OBrien CLA
Modified: 2022-06-09 10:08 EDT (History)
2 users (show)

See Also:
michael.f.obrien: documentation+
michael.f.obrien: indigo-


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael OBrien CLA 2010-09-03 20:00:01 EDT
>The DBWS page mentions that it is part of the CB/Nightly build - however there are no clear instructions on running the dbws-srg
If developers are responsible for broken builds involving DBWS CB and Nightly test failures then we need clear instructions on how to configure the ant tests to verify the SRG.
>    Specifically the section on running the ant tests - it requires one example and results
http://wiki.eclipse.org/EclipseLink/Development/Testing/DBWS#Test_Automation

    When I try to run the full SRG I also get the following error after the SDO tests run fine
 
    [junit] Tests run: 120, Failures: 0, Errors: 0, Time elapsed: 4.773 sec
[junitreport] Processing F:\view_w35_212\2.1\sdo\eclipselink.sdo.test\reports\srg\true\TESTS-TestSuites.xml to F:\view_w35_212\2.1\sdo\eclipselink.sdo.test\reports\srg\true\junit-noframes.html
[junitreport] Loading stylesheet jar:file:/C:/opt/ant/lib/ant-junit.jar!/org/apache/tools/ant/taskdefs/optional/junit/xsl/junit-noframes.xsl
[junitreport] Transform time: 47ms
   [delete] Deleting directory F:\view_w35_212\2.1\sdo\eclipselink.sdo.test\resource\tmp

test-dbws-srg:
     [echo] java.version='1.6.0_17'
Trying to override old definition of task javac

compile-common:

run-tests:

test:

>When I run the test-dbws-srg target directly - I get nothing
F:\view_w35_212\2.1>ant test-dbws-srg
Buildfile: build.xml
     [echo] trunk.build.location = 'F:/view_w35_212/2.1'
     [echo] env.CLASSPATH        = '${env.CLASSPATH}'
     [echo] java.class.path      = 'c:\opt\ant\bin\..\lib\ant-launcher.jar;C:\opt\ant\lib\ant-antlr.jar;C:\opt\ant\lib\
nt-apache-bcel.jar;C:\opt\ant\lib\ant-apache-bsf.jar;C:\opt\ant\lib\ant-apache-log4j.jar;C:\opt\ant\lib\ant-apache-oro.
ar;C:\opt\ant\lib\ant-apache-regexp.jar;C:\opt\ant\lib\ant-apache-resolver.jar;C:\opt\ant\lib\ant-commons-logging.jar;C
\opt\ant\lib\ant-commons-net.jar;C:\opt\ant\lib\ant-jai.jar;C:\opt\ant\lib\ant-javamail.jar;C:\opt\ant\lib\ant-jdepend.
ar;C:\opt\ant\lib\ant-jmf.jar;C:\opt\ant\lib\ant-jsch.jar;C:\opt\ant\lib\ant-junit.jar;C:\opt\ant\lib\ant-launcher.jar;
:\opt\ant\lib\ant-netrexx.jar;C:\opt\ant\lib\ant-nodeps.jar;C:\opt\ant\lib\ant-starteam.jar;C:\opt\ant\lib\ant-styleboo
.jar;C:\opt\ant\lib\ant-swing.jar;C:\opt\ant\lib\ant-testutil.jar;C:\opt\ant\lib\ant-trax.jar;C:\opt\ant\lib\ant-weblog
c.jar;C:\opt\ant\lib\ant.jar;C:\opt\ant\lib\junit-4.1.jar;C:\opt\ant\lib\junit-4.2.jar;C:\opt\ant\lib\junit-4.3.1.jar;C
\opt\ant\lib\junit-4.5.jar;C:\opt\ant\lib\junit-4.5_old.jar;C:\opt\ant\lib\junit-4.7.jar;C:\opt\ant\lib\junit-ext-param
jar;C:\opt\ant\lib\junit.jar;C:\opt\ant\lib\junit4-ext-param.jar;C:\opt\ant\lib\junit4-ext-pb4.jar;C:\opt\ant\lib\xerce
Impl.jar;C:\opt\ant\lib\xml-apis.jar;C:\jdk1.6.0_32bit\lib\tools.jar'
     [echo] user.home            = 'C:\Users\hidden'
     [echo] Loading user properties from: 'C:\Users\hidden/build.properties'
     [echo] oracle.extensions.depend.dir = 'extension.oracle.lib.external'
     [echo] extensions.depend.dir        = 'f:/view_libs/extension.lib.external'
     [echo] junit.lib = 'c:/opt/ant/lib/junit-4.5.jar' (if not set tests may not compile; let alone run)
     [echo] Loading default properties from: 'F:/view_w35_212/2.1/build.properties'
     [echo] java.version='1.6.0_17'
     [echo] jdbc.driver.jar='${jdbc.driver.jar}'

test-dbws-srg:
     [echo] java.version='1.6.0_17'
Trying to override old definition of task javac

compile-common:

run-tests:

test:

BUILD SUCCESSFUL
Total time: 0 seconds

>But the current continuous build runs fine with 1 error
What are the configuration settings missing?

TEST-DBWS-SRG
  Tests run:17 Failures:0 Errors:1
Comment 1 Mike Norman CLA 2010-09-13 11:04:48 EDT
I've updated the page - is it sufficient?
Comment 2 Mike Norman CLA 2010-09-13 11:43:57 EDT
reviewed with Mike
Comment 3 Eclipse Webmaster CLA 2022-06-09 10:08:26 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink