I am having the same error locally right now. Someone broke the unit tests, they should get fixed sooner or later. For now just skip the tests when building with -DskipTests

 

On Wednesday, April 17, 2013 11:44:04 PM 李强 wrote:

HI:All


This is my logs, thanks,


==========================================================

-------------------------------------------------------

 T E S T S

-------------------------------------------------------

Forking command line: /bin/sh -c cd /home/liqiang/ovirt-engine/backend/manager/modules/dal && /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.17.x86_64/jre/bin/java -jar /home/liqiang/ovirt-engine/backend/manager/modules/dal/target/surefire/surefirebooter4261523418572089603.jar /home/liqiang/ovirt-engine/backend/manager/modules/dal/target/surefire/surefire7472834543455719312tmp /home/liqiang/ovirt-engine/backend/manager/modules/dal/target/surefire/surefire5281802986683589703tmp

Running org.ovirt.engine.core.dao.DaoFactoryTest

Tests run: 24, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.262 sec

Running org.ovirt.engine.core.dal.job.ExecutionMessageDirectorTest

23:39:49,030 INFO  [ExecutionMessageDirector] Start initializing ExecutionMessageDirector

23:39:49,032 ERROR [ExecutionMessageDirector] Message key job.AddDiskToVm is not valid for enum VdcActionType

23:39:49,033 INFO  [ExecutionMessageDirector] Finished initializing ExecutionMessageDirector

23:39:49,033 INFO  [ExecutionMessageDirector] Start initializing ExecutionMessageDirector

23:39:49,034 ERROR [ExecutionMessageDirector] Message key job.AddDiskToVm is not valid for enum VdcActionType

23:39:49,034 INFO  [ExecutionMessageDirector] Finished initializing ExecutionMessageDirector

23:39:49,034 WARN  [ExecutionMessageDirector] The message key Unknown is missing from bundles/ExecutionMessages

23:39:49,035 INFO  [ExecutionMessageDirector] Start initializing ExecutionMessageDirector

23:39:49,036 ERROR [ExecutionMessageDirector] The message key XXX cannot be categorized since not started with job. nor step.

23:39:49,037 INFO  [ExecutionMessageDirector] Finished initializing ExecutionMessageDirector

23:39:49,037 INFO  [ExecutionMessageDirector] Start initializing ExecutionMessageDirector

23:39:49,039 ERROR [ExecutionMessageDirector] Message key job.ABC is not valid for enum VdcActionType

23:39:49,040 INFO  [ExecutionMessageDirector] Finished initializing ExecutionMessageDirector

23:39:49,042 INFO  [ExecutionMessageDirector] Start initializing ExecutionMessageDirector

23:39:49,044 ERROR [ExecutionMessageDirector] Message key step.XYZ is not valid for enum StepEnum

23:39:49,044 INFO  [ExecutionMessageDirector] Finished initializing ExecutionMessageDirector

Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.021 sec

Running org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtilsTest

23:39:49,431 WARN  [LocalConfig] The file "/usr/share/ovirt-engine/conf/engine.conf.defaults" doesn't exist or isn't readable. Will return an empty set of properties.

23:39:49,431 WARN  [LocalConfig] The file "/etc/ovirt-engine/engine.conf" doesn't exist or isn't readable. Will return an empty set of properties.

23:39:49,432 ERROR [LocalConfig] The property "ENGINE_DB_CONNECTION_TIMEOUT" doesn't have a value.

23:39:49,433 WARN  [DbFacadeLocator] Can't load connection checking parameters of DB facade, will continue using the default values.

java.lang.IllegalArgumentException: The property "ENGINE_DB_CONNECTION_TIMEOUT" doesn't have a value.

        at org.ovirt.engine.core.utils.LocalConfig.getProperty(LocalConfig.java:234)

        at org.ovirt.engine.core.utils.LocalConfig.getInteger(LocalConfig.java:293)

        at org.ovirt.engine.core.dal.dbbroker.DbFacadeLocator.loadDbFacadeConfig(DbFacadeLocator.java:177)

        at org.ovirt.engine.core.dal.dbbroker.DbFacadeLocator.createDbFacade(DbFacadeLocator.java:62)

        at org.ovirt.engine.core.dal.dbbroker.DbFacadeLocator.getDbFacade(DbFacadeLocator.java:47)

        at org.ovirt.engine.core.dao.BaseDAOTestCase.initTestCase(BaseDAOTestCase.java:66)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:601)

        at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)

        at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)

        at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)

        at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)

        at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)

        at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71)

        at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:47)

        at org.junit.rules.RunRules.evaluate(RunRules.java:18)

        at org.junit.runners.ParentRunner.run(ParentRunner.java:300)

        at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:174)

        at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)

        at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123)

        at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:601)

        at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164)

        at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110)

        at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175)

        at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107)

        at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68)

23:39:49,830 WARN  [SQLErrorCodesFactory] Error while extracting database product name - falling back to empty error codes

org.springframework.jdbc.support.MetaDataAccessException: Could not get Connection for extracting meta data; nested exception is org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is org.postgresql.util.PSQLException: FATAL: database "engine_test" does not exist

        at org.springframework.jdbc.support.JdbcUtils.extractDatabaseMetaData(JdbcUtils.java:293)

        at org.springframework.jdbc.support.JdbcUtils.extractDatabaseMetaData(JdbcUtils.java:320)

        at org.springframework.jdbc.support.SQLErrorCodesFactory.getErrorCodes(SQLErrorCodesFactory.java:214)

        at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.setDataSource(SQLErrorCodeSQLExceptionTranslator.java:141)

        at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.<init>(SQLErrorCodeSQLExceptionTranslator.java:104)

        at org.ovirt.engine.core.dal.dbbroker.CustomSQLErrorCodeSQLExceptionTranslator.<init>(CustomSQLErrorCodeSQLExceptionTranslator.java:10)

        at org.ovirt.engine.core.dal.dbbroker.DbFacadeLocator.createDbFacade(DbFacadeLocator.java:79)

        at org.ovirt.engine.core.dal.dbbroker.DbFacadeLocator.getDbFacade(DbFacadeLocator.java:47)

        at org.ovirt.engine.core.dao.BaseDAOTestCase.initTestCase(BaseDAOTestCase.java:66)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:601)

        at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)

        at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)

        at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)

        at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)

        at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)

        at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71)

        at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:47)

        at org.junit.rules.RunRules.evaluate(RunRules.java:18)

        at org.junit.runners.ParentRunner.run(ParentRunner.java:300)

        at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:174)

        at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)

        at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123)

        at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:601)

        at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164)

        at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110)

        at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175)

        at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107)

        at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68)

Caused by: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is org.postgresql.util.PSQLException: FATAL: database "engine_test" does not exist

        at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:80)

        at org.springframework.jdbc.support.JdbcUtils.extractDatabaseMetaData(JdbcUtils.java:280)

        ... 34 more

Caused by: org.postgresql.util.PSQLException: FATAL: database "engine_test" does not exist

        at org.postgresql.core.v3.ConnectionFactoryImpl.readStartupMessages(ConnectionFactoryImpl.java:471)

        at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:112)

        at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:66)

        at org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.java:125)

        at org.postgresql.jdbc3.AbstractJdbc3Connection.<init>(AbstractJdbc3Connection.java:30)

        at org.postgresql.jdbc3g.AbstractJdbc3gConnection.<init>(AbstractJdbc3gConnection.java:22)

        at org.postgresql.jdbc4.AbstractJdbc4Connection.<init>(AbstractJdbc4Connection.java:32)

        at org.postgresql.jdbc4.Jdbc4Connection.<init>(Jdbc4Connection.java:24)

        at org.postgresql.Driver.makeConnection(Driver.java:393)

        at org.postgresql.Driver.connect(Driver.java:267)

        at java.sql.DriverManager.getConnection(DriverManager.java:579)

        at java.sql.DriverManager.getConnection(DriverManager.java:190)

        at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriverManager(DriverManagerDataSource.java:173)

        at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriver(DriverManagerDataSource.java:164)

        at org.springframework.jdbc.datasource.AbstractDriverBasedDataSource.getConnectionFromDriver(AbstractDriverBasedDataSource.java:149)

        at org.springframework.jdbc.datasource.SingleConnectionDataSource.initConnection(SingleConnectionDataSource.java:244)

        at org.springframework.jdbc.datasource.SingleConnectionDataSource.getConnection(SingleConnectionDataSource.java:186)

        at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:111)

        at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:77)

        ... 35 more

Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.804 sec <<< FAILURE!

Running org.ovirt.engine.core.dal.dbbroker.generic.DomainsPasswordMapTest

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.219 sec

Running org.ovirt.engine.core.dal.dbbroker.auditloghandling.TimeoutBaseTest

Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec

Running org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirectorTest

23:39:50,102 INFO  [AuditLogDirector] AuditLogType: UNASSIGNED not exist in string table

23:39:50,103 INFO  [AuditLogDirector] AuditLogType: USER_RUN_UNLOCK_ENTITY_SCRIPT not exist in string table

23:39:50,103 INFO  [AuditLogDirector] AuditLogType: VDS_NETWORK_MTU_DIFFER_FROM_LOGICAL_NETWORK not exist in string table

23:39:50,103 INFO  [AuditLogDirector] AuditLogType: STORAGE_ACTIVATE_ASYNC not exist in string table

23:39:50,103 INFO  [AuditLogDirector] AuditLogType: DWH_STOPPED not exist in string table

23:39:50,104 INFO  [AuditLogDirector] AuditLogType: DWH_STARTED not exist in string table

23:39:50,104 INFO  [AuditLogDirector] AuditLogType: DWH_ERROR not exist in string table

23:39:50,104 INFO  [AuditLogDirector] AuditLogType: EXTERNAL_EVENT_NORMAL not exist in string table

23:39:50,104 INFO  [AuditLogDirector] AuditLogType: EXTERNAL_EVENT_WARNING not exist in string table

23:39:50,104 INFO  [AuditLogDirector] AuditLogType: EXTERNAL_EVENT_ERROR not exist in string table

23:39:50,104 INFO  [AuditLogDirector] AuditLogType: EXTERNAL_ALERT not exist in string table

23:39:50,109 WARN  [AuditLogDirector] AuditLogType: USER_ATTACH_DISK_TO_VM not have severity. Assumed Normal

23:39:50,109 WARN  [AuditLogDirector] AuditLogType: USER_DETACH_DISK_FROM_VM not have severity. Assumed Normal

23:39:50,109 WARN  [AuditLogDirector] AuditLogType: USER_FAILED_DETACH_DISK_FROM_VM not have severity. Assumed Normal

23:39:50,109 WARN  [AuditLogDirector] AuditLogType: USER_RUN_UNLOCK_ENTITY_SCRIPT not have severity. Assumed Normal

23:39:50,110 WARN  [AuditLogDirector] AuditLogType: GLUSTER_VOLUME_OPTION_CHANGED_FROM_CLI not have severity. Assumed Normal

23:39:50,110 WARN  [AuditLogDirector] AuditLogType: VM_MIGRATION_START_SYSTEM_INITIATED not have severity. Assumed Normal

23:39:50,110 WARN  [AuditLogDirector] AuditLogType: VDS_NETWORK_MTU_DIFFER_FROM_LOGICAL_NETWORK not have severity. Assumed Normal

23:39:50,110 WARN  [AuditLogDirector] AuditLogType: NETWORK_UPDATE_VM_INTERFACE_LINK_UP not have severity. Assumed Normal

23:39:50,111 WARN  [AuditLogDirector] AuditLogType: NETWORK_UPDATE_VM_INTERFACE_LINK_DOWN not have severity. Assumed Normal

Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.103 sec

Running org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogableBaseTest

23:39:50,289 INFO  [AuditLogableBase] Failed to get vds 11111111-1111-1111-1111-111111111113

null

23:39:50,293 INFO  [AuditLogableBase] Failed to get vds 11111111-1111-1111-1111-111111111113

null

23:39:50,311 INFO  [AuditLogableBase] Failed to get vm 11111111-1111-1111-1111-111111111113

Tests run: 113, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.145 sec

Running org.ovirt.engine.core.dal.dbbroker.CustomMapSqlParameterSourceTest

Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec

Running org.ovirt.engine.core.DuplicateKeysTest

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec


Results :


Tests in error: 

  org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtilsTest: FATAL: database "engine_test" does not exist


Tests run: 168, Failures: 0, Errors: 1, Skipped: 0


[INFO] ------------------------------------------------------------------------

[INFO] Reactor Summary:

[INFO] 

[INFO] ovirt-root ........................................ SUCCESS [0.672s]

[INFO] oVirt Build Tools root ............................ SUCCESS [0.062s]

[INFO] oVirt checkstyle .................................. SUCCESS [2.132s]

[INFO] oVirt JBoss Modules Maven Plugin .................. SUCCESS [51.899s]

[INFO] oVirt Checkstyle Checks ........................... SUCCESS [1.420s]

[INFO] oVirt Modules - backend ........................... SUCCESS [0.019s]

[INFO] oVirt Manager ..................................... SUCCESS [0.015s]

[INFO] oVirt DB Scripts .................................. SUCCESS [0.316s]

[INFO] oVirt Engine dependencies ......................... SUCCESS [4.173s]

[INFO] oVirt Modules - manager ........................... SUCCESS [1.352s]

[INFO] CSharp Compatibility .............................. SUCCESS [3.588s]

[INFO] Common Code ....................................... SUCCESS [13.706s]

[INFO] Common utilities .................................. SUCCESS [17.133s]

[INFO] Data Access Layer ................................. FAILURE [8.885s]

[INFO] engine scheduler bean ............................. SKIPPED

[INFO] Vds broker ........................................ SKIPPED

[INFO] Search Backend .................................... SKIPPED

[INFO] Backend Logic @Service bean ....................... SKIPPED

[INFO] oVirt RESTful API Backend Integration ............. SKIPPED

[INFO] oVirt RESTful API interface ....................... SKIPPED

[INFO] oVirt Engine API Definition ....................... SKIPPED

[INFO] oVirt Engine API Commom Parent POM ................ SKIPPED

[INFO] oVirt Engine API Common JAX-RS .................... SKIPPED

[INFO] oVirt RESTful API Backend Integration Type Mappers  SKIPPED

[INFO] oVirt RESTful API Backend Integration JAX-RS Resources  SKIPPED

[INFO] oVirt RESTful API Backend Integration Webapp ...... SKIPPED

[INFO] oVirt Engine Web Root ............................. SKIPPED

[INFO] oVirt Engine Tools ................................ SKIPPED

[INFO] oVirt Modules :: Frontend ......................... SKIPPED

[INFO] oVirt Modules :: Webadmin ......................... SKIPPED

[INFO] oVirt Modules - ui ................................ SKIPPED

[INFO] Extensions for GWT ................................ SKIPPED

[INFO] UI Utils Compatibility (for UICommon) ............. SKIPPED

[INFO] Frontend for GWT UI Projects ...................... SKIPPED

[INFO] UICommonWeb ....................................... SKIPPED

[INFO] oVirt GWT UI common infrastructure ................ SKIPPED

[INFO] WebAdmin .......................................... SKIPPED

[INFO] UserPortal ........................................ SKIPPED

[INFO] oVirt Server EAR .................................. SKIPPED

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 1:47.204s

[INFO] Finished at: Wed Apr 17 23:39:50 CST 2013

[INFO] Final Memory: 70M/291M

[INFO] ------------------------------------------------------------------------

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.10:test (default-test) on project dal: There are test failures.

[ERROR] 

[ERROR] Please refer to /home/liqiang/ovirt-engine/backend/manager/modules/dal/target/surefire-reports for the individual test results.

[ERROR] -> [Help 1]

org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.10:test (default-test) on project dal: There are test failures.


Please refer to /home/liqiang/ovirt-engine/backend/manager/modules/dal/target/surefire-reports for the individual test results.

        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)

        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)

        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)

        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)

        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)

        at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)

        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)

        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)

        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:158)

        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)

        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)

        at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:601)

        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)

        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)

        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)

        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)

Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures.


Please refer to /home/liqiang/ovirt-engine/backend/manager/modules/dal/target/surefire-reports for the individual test results.

        at org.apache.maven.plugin.surefire.SurefireHelper.reportExecution(SurefireHelper.java:87)

        at org.apache.maven.plugin.surefire.SurefirePlugin.writeSummary(SurefirePlugin.java:641)

        at org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary(SurefirePlugin.java:615)

        at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:137)

        at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:98)

        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)

        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)

        ... 19 more

[ERROR] 

[ERROR] 

[ERROR] For more information about the errors and possible solutions, please read the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

[ERROR] 

[ERROR] After correcting the problems, you can resume the build with the command

[ERROR]   mvn <goals> -rf :dal

[liqiang@localhost ovirt-engine]$ 

==========================================================