Hi Binh, Please post the contents of scheduler-simple/target/surefire-reports/TEST-org.apache.ode.scheduler.simple.SchedulerThreadTest.xml so we can see more details about the error. I've just updated to the latest from http://svn.apache.org/repos/asf/ode/trunk and the unit tests pass for me, but this isn't helpful for you...
You can skip tests by running: mvn *-Dmaven.test.skip=true* install (You might find the Maven FAQ<http://maven.apache.org/general.html#skip-test>useful for this and other Maven-related questions.) Regards, Terry On 2 April 2010 23:51, Bi Be <[email protected]> wrote: > Hi all, > > When I am using mvn and Java 1.6 to build the source of the current ODE 2, > the following error occurs: > > ... > [INFO] Building ODE :: BPEL Scheduler Simple > [INFO] task-segment: [install] > [INFO] > ------------------------------------------------------------------------ > [INFO] [resources:resources {execution: default-resources}] > [WARNING] Using platform encoding (UTF-8 actually) to copy filtered > resources, i.e. build is platform dependent! > [INFO] Copying 1 resource > [INFO] [compiler:compile {execution: default-compile}] > [INFO] Nothing to compile - all classes are up to date > [INFO] [resources:testResources {execution: default-testResources}] > [WARNING] Using platform encoding (UTF-8 actually) to copy filtered > resources, i.e. build is platform dependent! > [INFO] Copying 7 resources > [INFO] [compiler:testCompile {execution: default-testCompile}] > [INFO] Nothing to compile - all classes are up to date > [INFO] [surefire:test {execution: default-test}] > [INFO] Surefire report directory: > > /home/binh/.local/share/Trash/files/ode-source-1.3.x/scheduler-simple/target/surefire-reports > > ------------------------------------------------------- > T E S T S > ------------------------------------------------------- > Running org.apache.ode.scheduler.simple.SchedulerThreadTest > Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 3.373 sec > <<< FAILURE! > Running org.apache.ode.scheduler.simple.SimpleSchedulerTest > Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.373 sec > Running org.apache.ode.scheduler.simple.RetriesTest > DEBUG - GeronimoLog.debug(66) | retrying 1 > ERROR - GeronimoLog.error(104) | Error while processing transaction, > retrying in 1s > DEBUG - GeronimoLog.debug(66) | retrying 2 > ERROR - GeronimoLog.error(104) | Error while processing transaction, > retrying in 5s > DEBUG - GeronimoLog.debug(66) | completing 3 > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.058 sec > Running org.apache.ode.scheduler.simple.JdbcDelegateTest > Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.51 sec > > Results : > > Failed tests: > testParallelEnqueue(org.apache.ode.scheduler.simple.SchedulerThreadTest) > > Tests run: 19, Failures: 1, Errors: 0, Skipped: 0 > > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] There are test failures. > ... > > Could any one show me the reasons of this error, and how TESTS step can be > skipped when using mvn? > > Thank you. > Regards, > Binh. >
