[Engine-devel] How get all language WebAdm ?

HI:All I install ovirt engine and open IE9 to manage. But I select Chinese language UI to display and failed. The UI's language always is Englisth and covers to Other language failed. OS:federa 18. Ovirt-Engine:3.2 MEM Size:4G DIsk:60G CPU:intel i7 Manage OS:Win7 Sp1 Manage IE:9 Can you help me? Thanks,

You need to compile GWT with the appropriate language profile. If you want to compile with all languages make sure to include the all-langs profile in your maven build command. for instance: mvn clean install -Pdep,gwt-user,gwt-admin,all-langs Be aware that compiling all languages will take a long time ~30 minutes on my machine. You can specify particular languages to cut down on compile time. Alexander On Wednesday, April 17, 2013 09:27:25 PM 李强 wrote: HI:All I install ovirt engine and open IE9 to manage. But I select Chinese language UI to display and failed. The UI's language always is Englisth and covers to Other language failed. OS:federa 18. Ovirt-Engine:3.2 MEM Size:4G DIsk:60G CPU:intel i7 Manage OS:Win7 Sp1 Manage IE:9 Can you help me? Thanks,

Thanks your answer,thanks. I install it from link: http://wiki.ovirt.org/Quick_Start_Guide I am compiling the source and USE COMMAND:mvn clean install -Pdep,gwt-user,gwt-admin,all-langs But if have not "-Dskiptest=true" and complie failed. The KEY error info: org.apache.maven.plugin.MojoFailureException: There are test failures. How can I repair the error? Now I complie COMMAND: mvn clean install -Pdep,gwt-user,gwt-admin,all-langs -Dskipte=true that OK? HI:All 见信平安, --- 有问题请通知我,谢谢, 李强 ------------------------------------------------------------------------------ + 太初有道,道与神同在,道就是神。(约翰福音1:1) + ------------------------------------------------------------------------------ 2013/4/17 Alexander Wels <awels@redhat.com>
**
You need to compile GWT with the appropriate language profile. If you want to compile with all languages make sure to include the all-langs profile in your maven build command. for instance:
mvn clean install -Pdep,gwt-user,gwt-admin,all-langs
Be aware that compiling all languages will take a long time ~30 minutes on my machine. You can specify particular languages to cut down on compile time.
Alexander
On Wednesday, April 17, 2013 09:27:25 PM 李强 wrote:
HI:All
I install ovirt engine and open IE9 to manage.
But I select Chinese language UI to display and failed.
The UI's language always is Englisth and covers to Other language failed.
OS:federa 18.
Ovirt-Engine:3.2
MEM Size:4G
DIsk:60G
CPU:intel i7
Manage OS:Win7 Sp1
Manage IE:9
Can you help me?
Thanks,
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel

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]$ ==========================================================

HI:All But my db config from link: http://wiki.ovirt.org/Installing_PostgreSQL_DB and this title: Connecting to the database I follow this and edit the file:/var/lib/pgsql/data/pg_hba.conf local all all trust host all all 127.0.0.1/32 trust host all all ::1/128 trust HI:All 见信平安, --- 有问题请通知我,谢谢, 李强 ------------------------------------------------------------------------------ + 太初有道,道与神同在,道就是神。(约翰福音1:1) + ------------------------------------------------------------------------------ 2013/4/17 李强 <liqiang.net@gmail.com>
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]$ ==========================================================

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/surefirebooter42615234185720 89603.jar /home/liqiang/ovirt- engine/backend/manager/modules/dal/target/surefire/surefire7472834543455719312t mp /home/liqiang/ovirt- engine/backend/manager/modules/dal/target/surefire/surefire5281802986683589703t mp 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(DbFacadeLo cator.java:177) at org.ovirt.engine.core.dal.dbbroker.DbFacadeLocator.createDbFacade(DbFacadeLocato r.java:62) at org.ovirt.engine.core.dal.dbbroker.DbFacadeLocator.getDbFacade(DbFacadeLocator.ja va: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.jav a: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:4 2) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.eval uate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evalua te(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(SpringJUnit4Clas sRunner.java:174) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:12 3) 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.jav a:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.ja va:164) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFacto ry.java:110)

We should submit the bug to ovirt ? I think that maybe is config file error but I not be sure. HI:All 见信平安, --- 有问题请通知我,谢谢, 李强 ------------------------------------------------------------------------------ + 太初有道,道与神同在,道就是神。(约翰福音1:1) + ------------------------------------------------------------------------------ 2013/4/17 Alexander Wels <awels@redhat.com>
**
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]$
==========================================================
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel

----- Original Message -----
From: "李强" <liqiang.net@gmail.com> To: awels@redhat.com Cc: engine-devel@ovirt.org Sent: Wednesday, April 17, 2013 5:57:36 PM Subject: Re: [Engine-devel] How get all language WebAdm ?
We should submit the bug to ovirt ?
I think that maybe is config file error but I not be sure.
Hi, No, it is maven-related. Maven ignores tests with -DskipTests but not with "-Dskipte=true" and then you do not have a test environment set up. It looks like a typo, not a bug :)
HI:All
见信平安,
--- 有问题请通知我,谢谢, 李强
------------------------------------------------------------------------------
+ 太初有道,道与神同在,道就是神。(约翰福音1:1) + ------------------------------------------------------------------------------
2013/4/17 Alexander Wels < awels@redhat.com >
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]$
==========================================================
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel

HI:All I am Sorry that "-Dskipte=true" is my input error, Sorry to all. Thank to Alexander Wels. I git fetch and I have complie the source and success. thanks to all, thank, liqiang HI:All 见信平安, --- 有问题请通知我,谢谢, 李强 ------------------------------------------------------------------------------ + 太初有道,道与神同在,道就是神。(约翰福音1:1) + ------------------------------------------------------------------------------ 2013/4/18 Laszlo Hornyak <lhornyak@redhat.com>
----- Original Message -----
From: "李强" <liqiang.net@gmail.com> To: awels@redhat.com Cc: engine-devel@ovirt.org Sent: Wednesday, April 17, 2013 5:57:36 PM Subject: Re: [Engine-devel] How get all language WebAdm ?
We should submit the bug to ovirt ?
I think that maybe is config file error but I not be sure.
Hi,
No, it is maven-related. Maven ignores tests with -DskipTests but not with "-Dskipte=true" and then you do not have a test environment set up. It looks like a typo, not a bug :)
HI:All
见信平安,
--- 有问题请通知我,谢谢, 李强
------------------------------------------------------------------------------
+ 太初有道,道与神同在,道就是神。(约翰福音1:1) +
------------------------------------------------------------------------------
2013/4/17 Alexander Wels < awels@redhat.com >
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
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
job.AddDiskToVm is 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]$
==========================================================
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel

------=_Part_2287857_1629321233.1366272582896 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable This test failure is a bug.=20 I merged a fix yesterday ( http://gerrit.ovirt.org/#/c/14004/ ), so if you = fetch and rebase you should be able to overcome it.=20 ----- Original Message -----
From: "=E6=9D=8E=E5=BC=BA" <liqiang.net@gmail.com> Cc: engine-devel@ovirt.org Sent: Wednesday, April 17, 2013 6:44:04 PM Subject: Re: [Engine-devel] How get all language WebAdm ?
HI:All
This is my logs, thanks,
Caused by: org.springframework.jdbc.CannotGetJdbcConnectionException: Cou= ld 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(DataSou= rceUtils.java:80) at org.springframework.jdbc.support.JdbcUtils.extractDatabaseMetaData(JdbcUt= ils.java:280) ... 34 more Caused by: org.postgresql.util.PSQLException: FATAL: database "engine_tes= t" does not exist at org.postgresql.core.v3.ConnectionFactoryImpl.readStartupMessages(Connecti= onFactoryImpl.java:471) at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(Connectio= nFactoryImpl.java:112) at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.ja= va:66) at org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connecti= on.java:125) at org.postgresql.jdbc3.AbstractJdbc3Connection.<init>(AbstractJdbc3Connecti= on.java:30) at org.postgresql.jdbc3g.AbstractJdbc3gConnection.<init>(AbstractJdbc3gConne= ction.java:22) at org.postgresql.jdbc4.AbstractJdbc4Connection.<init>(AbstractJdbc4Connecti= on.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.getConnection= FromDriverManager(DriverManagerDataSource.java:173) at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnection= FromDriver(DriverManagerDataSource.java:164) at org.springframework.jdbc.datasource.AbstractDriverBasedDataSource.getConn= ectionFromDriver(AbstractDriverBasedDataSource.java:149) at org.springframework.jdbc.datasource.SingleConnectionDataSource.initConnec= tion(SingleConnectionDataSource.java:244) at org.springframework.jdbc.datasource.SingleConnectionDataSource.getConnect= ion(SingleConnectionDataSource.java:186) at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataS= ourceUtils.java:111) at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSou= rceUtils.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.TimeoutBaseTe= st Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 se= c Running org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirectorTest 23:39:50,102 INFO [AuditLogDirector] AuditLogType: UNASSIGNED not exist i= n 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 n= ot exist in string table 23:39:50,104 INFO [AuditLogDirector] AuditLogType: EXTERNAL_ALERT not exi= st 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 s= ec Running org.ovirt.engine.core.dal.dbbroker.CustomMapSqlParameterSourceTes= t 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
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(JdbcUt= ils.java:293) at org.springframework.jdbc.support.JdbcUtils.extractDatabaseMetaData(JdbcUt= ils.java:320) at org.springframework.jdbc.support.SQLErrorCodesFactory.getErrorCodes(SQLEr= rorCodesFactory.java:214) at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.setDa= taSource(SQLErrorCodeSQLExceptionTranslator.java:141) at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.<init= (SQLErrorCodeSQLExceptionTranslator.java:104) at org.ovirt.engine.core.dal.dbbroker.CustomSQLErrorCodeSQLExceptionTranslat= or.<init>(CustomSQLErrorCodeSQLExceptionTranslator.java:10) at org.ovirt.engine.core.dal.dbbroker.DbFacadeLocator.createDbFacade(DbFacad= eLocator.java:79) at org.ovirt.engine.core.dal.dbbroker.DbFacadeLocator.getDbFacade(DbFacadeLo= cator.java:47) at org.ovirt.engine.core.dao.BaseDAOTestCase.initTestCase(BaseDAOTestCase.ja= va:66) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java= :57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI= mpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMeth= od.java:45) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallabl= e.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.RunBeforeTestClassCall= backs.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallb= acks.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(Sprin= gJUnit4ClassRunner.java:174) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java= :53) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Prov= ider.java:123) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.jav= a:104) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java= :57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI= mpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(Refl= ectionUtils.java:164) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(Pro= viderFactory.java:110) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireS= tarter.java:175) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenFo= rked(SurefireStarter.java:107) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:6=
at org.ovirt.engine.core.dal.dbbroker.DbFacadeLocator.loadDbFacadeConfig(DbF= acadeLocator.java:177) at org.ovirt.engine.core.dal.dbbroker.DbFacadeLocator.createDbFacade(DbFacad= eLocator.java:62) at org.ovirt.engine.core.dal.dbbroker.DbFacadeLocator.getDbFacade(DbFacadeLo= cator.java:47) at org.ovirt.engine.core.dao.BaseDAOTestCase.initTestCase(BaseDAOTestCase.ja= va:66) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java= :57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI= mpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMeth= od.java:45) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallabl= e.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.RunBeforeTestClassCall= backs.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallb= acks.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(Sprin= gJUnit4ClassRunner.java:174) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java= :53) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Prov= ider.java:123) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.jav= a:104) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java= :57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI= mpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(Refl= ectionUtils.java:164) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(Pro= viderFactory.java:110) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireS= tarter.java:175) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenFo= rked(SurefireStarter.java:107) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:6=
at org.ovirt.engine.core.utils.LocalConfig.getInteger(LocalConfig.java:29=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D ------------------------------------------------------- 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/su= refirebooter4261523418572089603.jar /home/liqiang/ovirt-engine/backend/manager/modules/dal/target/surefire/su= refire7472834543455719312tmp /home/liqiang/ovirt-engine/backend/manager/modules/dal/target/surefire/su= refire5281802986683589703tmp Running org.ovirt.engine.core.dao.DaoFactoryTest Tests run: 24, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.262 se= c 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_TIMEO= UT" doesn't have a value. 23:39:49,433 WARN [DbFacadeLocator] Can't load connection checking parame= ters 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:2=
Results :
Tests in error: org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtilsTest: FATAL: data= base "engine_test" does not exist
Tests run: 168, Failures: 0, Errors: 1, Skipped: 0
[INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] ovirt-root ........................................ SUCCESS [0.672= s] [INFO] oVirt Build Tools root ............................ SUCCESS [0.062= s] [INFO] oVirt checkstyle .................................. SUCCESS [2.132= s] [INFO] oVirt JBoss Modules Maven Plugin .................. SUCCESS [51.89= 9s] [INFO] oVirt Checkstyle Checks ........................... SUCCESS [1.420= s] [INFO] oVirt Modules - backend ........................... SUCCESS [0.019= s] [INFO] oVirt Manager ..................................... SUCCESS [0.015= s] [INFO] oVirt DB Scripts .................................. SUCCESS [0.316= s] [INFO] oVirt Engine dependencies ......................... SUCCESS [4.173= s] [INFO] oVirt Modules - manager ........................... SUCCESS [1.352= s] [INFO] CSharp Compatibility .............................. SUCCESS [3.588= s] [INFO] Common Code ....................................... SUCCESS [13.70= 6s] [INFO] Common utilities .................................. SUCCESS [17.13= 3s] [INFO] Data Access Layer ................................. FAILURE [8.885= s] [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) o= n project dal: There are test failures. [ERROR] [ERROR] Please refer to /home/liqiang/ovirt-engine/backend/manager/modules/dal/target/surefire-re= ports 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-te= st) on project dal: There are test failures.
Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures.
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launch= er.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:3=
Please refer to /home/liqiang/ovirt-engine/backend/manager/modules/dal/target/surefire-re= ports for the individual test results. at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.jav= a:213) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.jav= a:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.jav= a:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(L= ifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(L= ifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(= LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleSta= rter.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(DelegatingMethodAccessorI= mpl.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:23=
Please refer to /home/liqiang/ovirt-engine/backend/manager/modules/dal/target/surefire-re= ports for the individual test results. at org.apache.maven.plugin.surefire.SurefireHelper.reportExecution(SurefireH= elper.java:87) at org.apache.maven.plugin.surefire.SurefirePlugin.writeSummary(SurefirePlug= in.java:641) at org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary(SurefirePlu= gin.java:615) at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPrecond= itionsChecked(AbstractSurefireMojo.java:137) at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSur= efireMojo.java:98) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuil= dPluginManager.java:101) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.jav= a:209) ... 19 more [ERROR] [ERROR] [ERROR] For more information about the errors and possible solutions, ple= ase 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]$ =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
------=_Part_2287857_1629321233.1366272582896 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <html><body><div style=3D"font-family: times new roman, new york, times, se= rif; font-size: 12pt; color: #000000"><div>This test failure is a bug.</div=
<div>I merged a fix yesterday (<a href=3D"http://gerrit.ovirt.org/#/c/1400= 4/" data-mce-href=3D"http://gerrit.ovirt.org/#/c/14004/">http://gerrit.ovir= t.org/#/c/14004/</a>), so if you fetch and rebase you should be able to ove= rcome it.</div><div><br></div><hr id=3D"zwchr"><blockquote style=3D"border-= left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-wei= ght:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Ari= al,sans-serif;font-size:12pt;"><b>From: </b>"=E6=9D=8E=E5=BC=BA" <liqian= g.net@gmail.com><br><b>Cc: </b>engine-devel@ovirt.org<br><b>Sent: </b>We= dnesday, April 17, 2013 6:44:04 PM<br><b>Subject: </b>Re: [Engine-devel] Ho= w get all language WebAdm ?<br><div><br></div><div dir=3D"ltr"><div><div cl= ass=3D"gmail_extra" style=3D"font-family:arial,sans-serif;font-size:14px">H= I:All</div><div class=3D"gmail_extra" style=3D"font-family:arial,sans-serif= ;font-size:14px"><br></div><div class=3D"gmail_extra" style=3D"font-family:= arial,sans-serif;font-size:14px">
This is my logs, thanks,</div><div class=3D"gmail_extra" style=3D"font-fami= ly:arial,sans-serif;font-size:14px"><br></div><div class=3D"gmail_extra" st= yle=3D"font-family:arial,sans-serif;font-size:14px">=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D</div> <div class=3D"gmail_extra" style=3D"font-family:arial,sans-serif;font-size:= 14px"><div class=3D"gmail_extra">------------------------------------------= -------------</div><div class=3D"gmail_extra"> T E S T S</div><div cla= ss=3D"gmail_extra"> -------------------------------------------------------</div><div class=3D"= gmail_extra">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/m= odules/dal/target/surefire/surefirebooter4261523418572089603.jar /home/liqi= ang/ovirt-engine/backend/manager/modules/dal/target/surefire/surefire747283= 4543455719312tmp /home/liqiang/ovirt-engine/backend/manager/modules/dal/tar= get/surefire/surefire5281802986683589703tmp</div> <div class=3D"gmail_extra">Running org.ovirt.engine.core.dao.DaoFactoryTest= </div><div class=3D"gmail_extra">Tests run: 24, Failures: 0, Errors: 0, Ski= pped: 0, Time elapsed: 0.262 sec</div><div class=3D"gmail_extra">Running or= g.ovirt.engine.core.dal.job.ExecutionMessageDirectorTest</div> <div class=3D"gmail_extra">23:39:49,030 INFO [ExecutionMessageDirecto= r] Start initializing ExecutionMessageDirector</div><div class=3D"gmail_ext= ra">23:39:49,032 ERROR [ExecutionMessageDirector] Message key job.AddDiskTo= Vm is not valid for enum VdcActionType</div> <div class=3D"gmail_extra">23:39:49,033 INFO [ExecutionMessageDirecto= r] Finished initializing ExecutionMessageDirector</div><div class=3D"gmail_= extra">23:39:49,033 INFO [ExecutionMessageDirector] Start initializin= g ExecutionMessageDirector</div> <div class=3D"gmail_extra">23:39:49,034 ERROR [ExecutionMessageDirector] Me= ssage key job.AddDiskToVm is not valid for enum VdcActionType</div><div cla= ss=3D"gmail_extra">23:39:49,034 INFO [ExecutionMessageDirector] Finis= hed initializing ExecutionMessageDirector</div> <div class=3D"gmail_extra">23:39:49,034 WARN [ExecutionMessageDirecto= r] The message key Unknown is missing from bundles/ExecutionMessages</div><= div class=3D"gmail_extra">23:39:49,035 INFO [ExecutionMessageDirector= ] Start initializing ExecutionMessageDirector</div> <div class=3D"gmail_extra">23:39:49,036 ERROR [ExecutionMessageDirector] Th= e message key XXX cannot be categorized since not started with job. nor ste= p.</div><div class=3D"gmail_extra">23:39:49,037 INFO [ExecutionMessag= eDirector] Finished initializing ExecutionMessageDirector</div> <div class=3D"gmail_extra">23:39:49,037 INFO [ExecutionMessageDirecto= r] Start initializing ExecutionMessageDirector</div><div class=3D"gmail_ext= ra">23:39:49,039 ERROR [ExecutionMessageDirector] Message key job.ABC is no= t valid for enum VdcActionType</div> <div class=3D"gmail_extra">23:39:49,040 INFO [ExecutionMessageDirecto= r] Finished initializing ExecutionMessageDirector</div><div class=3D"gmail_= extra">23:39:49,042 INFO [ExecutionMessageDirector] Start initializin= g ExecutionMessageDirector</div> <div class=3D"gmail_extra">23:39:49,044 ERROR [ExecutionMessageDirector] Me= ssage key step.XYZ is not valid for enum StepEnum</div><div class=3D"gmail_= extra">23:39:49,044 INFO [ExecutionMessageDirector] Finished initiali= zing ExecutionMessageDirector</div> <div class=3D"gmail_extra">Tests run: 6, Failures: 0, Errors: 0, Skipped: 0= , Time elapsed: 0.021 sec</div><div class=3D"gmail_extra">Running org.ovirt= .engine.core.dal.dbbroker.generic.DBConfigUtilsTest</div><div class=3D"gmai= l_extra"> 23:39:49,431 WARN [LocalConfig] The file "/usr/share/ovirt-engine/con= f/engine.conf.defaults" doesn't exist or isn't readable. Will return an emp= ty set of properties.</div><div class=3D"gmail_extra">23:39:49,431 WARN &nb= sp;[LocalConfig] The file "/etc/ovirt-engine/engine.conf" doesn't exist or = isn't readable. Will return an empty set of properties.</div> <div class=3D"gmail_extra">23:39:49,432 ERROR [LocalConfig] The property "E= NGINE_DB_CONNECTION_TIMEOUT" doesn't have a value.</div><div class=3D"gmail= _extra">23:39:49,433 WARN [DbFacadeLocator] Can't load connection che= cking parameters of DB facade, will continue using the default values.</div=
<div class=3D"gmail_extra">java.lang.IllegalArgumentException: The property= "ENGINE_DB_CONNECTION_TIMEOUT" doesn't have a value.</div><div class=3D"gm= ail_extra"> at org.ovirt.engine.core.utils.Local= Config.getProperty(LocalConfig.java:234)</div> <div class=3D"gmail_extra"> at org.ovirt.engine.= core.utils.LocalConfig.getInteger(LocalConfig.java:293)</div><div class=3D"= gmail_extra"> at org.ovirt.engine.core.dal.dbbro= ker.DbFacadeLocator.loadDbFacadeConfig(DbFacadeLocator.java:177)</div> <div class=3D"gmail_extra"> at org.ovirt.engine.= core.dal.dbbroker.DbFacadeLocator.createDbFacade(DbFacadeLocator.java:62)</= div><div class=3D"gmail_extra"> at org.ovirt.eng= ine.core.dal.dbbroker.DbFacadeLocator.getDbFacade(DbFacadeLocator.java:47)<= /div> <div class=3D"gmail_extra"> at org.ovirt.engine.= core.dao.BaseDAOTestCase.initTestCase(BaseDAOTestCase.java:66)</div><div cl= ass=3D"gmail_extra"> at sun.reflect.NativeMethod= AccessorImpl.invoke0(Native Method)</div> <div class=3D"gmail_extra"> at sun.reflect.Nativ= eMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)</div><div clas= s=3D"gmail_extra"> at sun.reflect.DelegatingMeth= odAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)</div> <div class=3D"gmail_extra"> at java.lang.reflect= .Method.invoke(Method.java:601)</div><div class=3D"gmail_extra"> &nbs= p; at org.junit.runners.model.FrameworkMethod$1.runReflective= Call(FrameworkMethod.java:45)</div><div class=3D"gmail_extra"> at org.junit.internal.runners.model.ReflectiveC= allable.run(ReflectiveCallable.java:15)</div><div class=3D"gmail_extra">&nb= sp; at org.junit.runners.model.FrameworkMethod.invokeE= xplosively(FrameworkMethod.java:42)</div> <div class=3D"gmail_extra"> at org.junit.interna= l.runners.statements.RunBefores.evaluate(RunBefores.java:27)</div><div clas= s=3D"gmail_extra"> at org.springframework.test.c= ontext.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTest= ClassCallbacks.java:61)</div> <div class=3D"gmail_extra"> at org.springframewo= rk.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAf= terTestClassCallbacks.java:71)</div><div class=3D"gmail_extra">  = ; at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:= 47)</div> <div class=3D"gmail_extra"> at org.junit.rules.R= unRules.evaluate(RunRules.java:18)</div><div class=3D"gmail_extra"> &= nbsp; at org.junit.runners.ParentRunner.run(ParentRunner.java= :300)</div><div class=3D"gmail_extra"> at org.sp= ringframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4C= lassRunner.java:174)</div> <div class=3D"gmail_extra"> at org.apache.maven.= surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)</div><div clas= s=3D"gmail_extra"> at org.apache.maven.surefire.= junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123)</div> <div class=3D"gmail_extra"> at org.apache.maven.= surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104)</div><div cl= ass=3D"gmail_extra"> at sun.reflect.NativeMethod= AccessorImpl.invoke0(Native Method)</div> <div class=3D"gmail_extra"> at sun.reflect.Nativ= eMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)</div><div clas= s=3D"gmail_extra"> at sun.reflect.DelegatingMeth= odAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)</div> <div class=3D"gmail_extra"> at java.lang.reflect= .Method.invoke(Method.java:601)</div><div class=3D"gmail_extra"> &nbs= p; at org.apache.maven.surefire.util.ReflectionUtils.invokeMe= thodWithArray(ReflectionUtils.java:164)</div> <div class=3D"gmail_extra"> at org.apache.maven.= surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:1= 10)</div><div class=3D"gmail_extra"> at org.apac= he.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.jav= a:175)</div> <div class=3D"gmail_extra"> at org.apache.maven.= surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarte= r.java:107)</div><div class=3D"gmail_extra"> at = org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68)</d= iv> <div class=3D"gmail_extra">23:39:49,830 WARN [SQLErrorCodesFactory] E= rror while extracting database product name - falling back to empty error c= odes</div><div class=3D"gmail_extra">org.springframework.jdbc.support.MetaD= ataAccessException: Could not get Connection for extracting meta data; nest= ed exception is org.springframework.jdbc.CannotGetJdbcConnectionException: = Could not get JDBC Connection; nested exception is org.postgresql.util.PSQL= Exception: FATAL: database "engine_test" does not exist</div> <div class=3D"gmail_extra"> at org.springframewo= rk.jdbc.support.JdbcUtils.extractDatabaseMetaData(JdbcUtils.java:293)</div>= <div class=3D"gmail_extra"> at org.springframewo= rk.jdbc.support.JdbcUtils.extractDatabaseMetaData(JdbcUtils.java:320)</div> <div class=3D"gmail_extra"> at org.springframewo= rk.jdbc.support.SQLErrorCodesFactory.getErrorCodes(SQLErrorCodesFactory.jav= a:214)</div><div class=3D"gmail_extra"> at org.s= pringframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.setDataSourc= e(SQLErrorCodeSQLExceptionTranslator.java:141)</div> <div class=3D"gmail_extra"> at org.springframewo= rk.jdbc.support.SQLErrorCodeSQLExceptionTranslator.<init>(SQLErrorCod= eSQLExceptionTranslator.java:104)</div><div class=3D"gmail_extra"> &n= bsp; at org.ovirt.engine.core.dal.dbbroker.CustomSQLErrorCode= SQLExceptionTranslator.<init>(CustomSQLErrorCodeSQLExceptionTranslato= r.java:10)</div> <div class=3D"gmail_extra"> at org.ovirt.engine.= core.dal.dbbroker.DbFacadeLocator.createDbFacade(DbFacadeLocator.java:79)</= div><div class=3D"gmail_extra"> at org.ovirt.eng= ine.core.dal.dbbroker.DbFacadeLocator.getDbFacade(DbFacadeLocator.java:47)<= /div> <div class=3D"gmail_extra"> at org.ovirt.engine.= core.dao.BaseDAOTestCase.initTestCase(BaseDAOTestCase.java:66)</div><div cl= ass=3D"gmail_extra"> at sun.reflect.NativeMethod= AccessorImpl.invoke0(Native Method)</div> <div class=3D"gmail_extra"> at sun.reflect.Nativ= eMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)</div><div clas= s=3D"gmail_extra"> at sun.reflect.DelegatingMeth= odAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)</div> <div class=3D"gmail_extra"> at java.lang.reflect= .Method.invoke(Method.java:601)</div><div class=3D"gmail_extra"> &nbs= p; at org.junit.runners.model.FrameworkMethod$1.runReflective= Call(FrameworkMethod.java:45)</div><div class=3D"gmail_extra"> at org.junit.internal.runners.model.ReflectiveC= allable.run(ReflectiveCallable.java:15)</div><div class=3D"gmail_extra">&nb= sp; at org.junit.runners.model.FrameworkMethod.invokeE= xplosively(FrameworkMethod.java:42)</div> <div class=3D"gmail_extra"> at org.junit.interna= l.runners.statements.RunBefores.evaluate(RunBefores.java:27)</div><div clas= s=3D"gmail_extra"> at org.springframework.test.c= ontext.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTest= ClassCallbacks.java:61)</div> <div class=3D"gmail_extra"> at org.springframewo= rk.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAf= terTestClassCallbacks.java:71)</div><div class=3D"gmail_extra">  = ; at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:= 47)</div> <div class=3D"gmail_extra"> at org.junit.rules.R= unRules.evaluate(RunRules.java:18)</div><div class=3D"gmail_extra"> &= nbsp; at org.junit.runners.ParentRunner.run(ParentRunner.java= :300)</div><div class=3D"gmail_extra"> at org.sp= ringframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4C= lassRunner.java:174)</div> <div class=3D"gmail_extra"> at org.apache.maven.= surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)</div><div clas= s=3D"gmail_extra"> at org.apache.maven.surefire.= junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123)</div> <div class=3D"gmail_extra"> at org.apache.maven.= surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104)</div><div cl= ass=3D"gmail_extra"> at sun.reflect.NativeMethod= AccessorImpl.invoke0(Native Method)</div> <div class=3D"gmail_extra"> at sun.reflect.Nativ= eMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)</div><div clas= s=3D"gmail_extra"> at sun.reflect.DelegatingMeth= odAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)</div> <div class=3D"gmail_extra"> at java.lang.reflect= .Method.invoke(Method.java:601)</div><div class=3D"gmail_extra"> &nbs= p; at org.apache.maven.surefire.util.ReflectionUtils.invokeMe= thodWithArray(ReflectionUtils.java:164)</div> <div class=3D"gmail_extra"> at org.apache.maven.= surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:1= 10)</div><div class=3D"gmail_extra"> at org.apac= he.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.jav= a:175)</div> <div class=3D"gmail_extra"> at org.apache.maven.= surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarte= r.java:107)</div><div class=3D"gmail_extra"> at = org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68)</d= iv> <div class=3D"gmail_extra">Caused by: org.springframework.jdbc.CannotGetJdb= cConnectionException: Could not get JDBC Connection; nested exception is or= g.postgresql.util.PSQLException: FATAL: database "engine_test" does not exi= st</div> <div class=3D"gmail_extra"> at org.springframewo= rk.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:80)</= div><div class=3D"gmail_extra"> at org.springfra= mework.jdbc.support.JdbcUtils.extractDatabaseMetaData(JdbcUtils.java:280)</= div> <div class=3D"gmail_extra"> ... 34 more</div><di= v class=3D"gmail_extra">Caused by: org.postgresql.util.PSQLException: FATAL= : database "engine_test" does not exist</div><div class=3D"gmail_extra">&nb= sp; at org.postgresql.core.v3.ConnectionFactoryImpl.re= adStartupMessages(ConnectionFactoryImpl.java:471)</div> <div class=3D"gmail_extra"> at org.postgresql.co= re.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:1= 12)</div><div class=3D"gmail_extra"> at org.post= gresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:66)</di= v> <div class=3D"gmail_extra"> at org.postgresql.jd= bc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.java:125)<= /div><div class=3D"gmail_extra"> at org.postgres= ql.jdbc3.AbstractJdbc3Connection.<init>(AbstractJdbc3Connection.java:= 30)</div> <div class=3D"gmail_extra"> at org.postgresql.jd= bc3g.AbstractJdbc3gConnection.<init>(AbstractJdbc3gConnection.java:22= )</div><div class=3D"gmail_extra"> at org.postgr= esql.jdbc4.AbstractJdbc4Connection.<init>(AbstractJdbc4Connection.jav= a:32)</div> <div class=3D"gmail_extra"> at org.postgresql.jd= bc4.Jdbc4Connection.<init>(Jdbc4Connection.java:24)</div><div class= =3D"gmail_extra"> at org.postgresql.Driver.makeC= onnection(Driver.java:393)</div><div class=3D"gmail_extra"> at org.postgresql.Driver.connect(Driver.java:26= 7)</div><div class=3D"gmail_extra"> at java.sql.= DriverManager.getConnection(DriverManager.java:579)</div><div class=3D"gmai= l_extra"> at java.sql.DriverManager.getConnectio= n(DriverManager.java:190)</div> <div class=3D"gmail_extra"> at org.springframewo= rk.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriverManager(D= riverManagerDataSource.java:173)</div><div class=3D"gmail_extra"> &nb= sp; at org.springframework.jdbc.datasource.DriverManagerDataS= ource.getConnectionFromDriver(DriverManagerDataSource.java:164)</div> <div class=3D"gmail_extra"> at org.springframewo= rk.jdbc.datasource.AbstractDriverBasedDataSource.getConnectionFromDriver(Ab= stractDriverBasedDataSource.java:149)</div><div class=3D"gmail_extra"> = ; at org.springframework.jdbc.datasource.SingleConnect= ionDataSource.initConnection(SingleConnectionDataSource.java:244)</div> <div class=3D"gmail_extra"> at org.springframewo= rk.jdbc.datasource.SingleConnectionDataSource.getConnection(SingleConnectio= nDataSource.java:186)</div><div class=3D"gmail_extra"> = at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnecti= on(DataSourceUtils.java:111)</div> <div class=3D"gmail_extra"> at org.springframewo= rk.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:77)</= div><div class=3D"gmail_extra"> ... 35 more</div=
<div class=3D"gmail_extra">Tests run: 1, Failures: 0, Errors: 1, Skipped: = 0, Time elapsed: 0.804 sec <<< FAILURE!</div>
<div class=3D"gmail_extra">Running org.ovirt.engine.core.dal.dbbroker.gener= ic.DomainsPasswordMapTest</div><div class=3D"gmail_extra">Tests run: 1, Fai= lures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.219 sec</div><div class=3D= "gmail_extra"> Running org.ovirt.engine.core.dal.dbbroker.auditloghandling.TimeoutBaseTest= </div><div class=3D"gmail_extra">Tests run: 12, Failures: 0, Errors: 0, Ski= pped: 0, Time elapsed: 0.007 sec</div><div class=3D"gmail_extra">Running or= g.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirectorTest</div=
<div class=3D"gmail_extra">23:39:50,102 INFO [AuditLogDirector] Audit= LogType: UNASSIGNED not exist in string table</div><div class=3D"gmail_extr= a">23:39:50,103 INFO [AuditLogDirector] AuditLogType: USER_RUN_UNLOCK= _ENTITY_SCRIPT not exist in string table</div> <div class=3D"gmail_extra">23:39:50,103 INFO [AuditLogDirector] Audit= LogType: VDS_NETWORK_MTU_DIFFER_FROM_LOGICAL_NETWORK not exist in string ta= ble</div><div class=3D"gmail_extra">23:39:50,103 INFO [AuditLogDirect= or] AuditLogType: STORAGE_ACTIVATE_ASYNC not exist in string table</div> <div class=3D"gmail_extra">23:39:50,103 INFO [AuditLogDirector] Audit= LogType: DWH_STOPPED not exist in string table</div><div class=3D"gmail_ext= ra">23:39:50,104 INFO [AuditLogDirector] AuditLogType: DWH_STARTED no= t exist in string table</div> <div class=3D"gmail_extra">23:39:50,104 INFO [AuditLogDirector] Audit= LogType: DWH_ERROR not exist in string table</div><div class=3D"gmail_extra= ">23:39:50,104 INFO [AuditLogDirector] AuditLogType: EXTERNAL_EVENT_N= ORMAL not exist in string table</div> <div class=3D"gmail_extra">23:39:50,104 INFO [AuditLogDirector] Audit= LogType: EXTERNAL_EVENT_WARNING not exist in string table</div><div class= =3D"gmail_extra">23:39:50,104 INFO [AuditLogDirector] AuditLogType: E= XTERNAL_EVENT_ERROR not exist in string table</div> <div class=3D"gmail_extra">23:39:50,104 INFO [AuditLogDirector] Audit= LogType: EXTERNAL_ALERT not exist in string table</div><div class=3D"gmail_= extra">23:39:50,109 WARN [AuditLogDirector] AuditLogType: USER_ATTACH= _DISK_TO_VM not have severity. Assumed Normal</div> <div class=3D"gmail_extra">23:39:50,109 WARN [AuditLogDirector] Audit= LogType: USER_DETACH_DISK_FROM_VM not have severity. Assumed Normal</div><d= iv class=3D"gmail_extra">23:39:50,109 WARN [AuditLogDirector] AuditLo= gType: USER_FAILED_DETACH_DISK_FROM_VM not have severity. Assumed Normal</d= iv> <div class=3D"gmail_extra">23:39:50,109 WARN [AuditLogDirector] Audit= LogType: USER_RUN_UNLOCK_ENTITY_SCRIPT not have severity. Assumed Normal</d= iv><div class=3D"gmail_extra">23:39:50,110 WARN [AuditLogDirector] Au= ditLogType: GLUSTER_VOLUME_OPTION_CHANGED_FROM_CLI not have severity. Assum= ed Normal</div> <div class=3D"gmail_extra">23:39:50,110 WARN [AuditLogDirector] Audit= LogType: VM_MIGRATION_START_SYSTEM_INITIATED not have severity. Assumed Nor= mal</div><div class=3D"gmail_extra">23:39:50,110 WARN [AuditLogDirect= or] AuditLogType: VDS_NETWORK_MTU_DIFFER_FROM_LOGICAL_NETWORK not have seve= rity. Assumed Normal</div> <div class=3D"gmail_extra">23:39:50,110 WARN [AuditLogDirector] Audit= LogType: NETWORK_UPDATE_VM_INTERFACE_LINK_UP not have severity. Assumed Nor= mal</div><div class=3D"gmail_extra">23:39:50,111 WARN [AuditLogDirect= or] AuditLogType: NETWORK_UPDATE_VM_INTERFACE_LINK_DOWN not have severity. = Assumed Normal</div> <div class=3D"gmail_extra">Tests run: 4, Failures: 0, Errors: 0, Skipped: 0= , Time elapsed: 0.103 sec</div><div class=3D"gmail_extra">Running org.ovirt= .engine.core.dal.dbbroker.auditloghandling.AuditLogableBaseTest</div><div c= lass=3D"gmail_extra"> 23:39:50,289 INFO [AuditLogableBase] Failed to get vds 11111111-1111-= 1111-1111-111111111113</div><div class=3D"gmail_extra">null</div><div class= =3D"gmail_extra">23:39:50,293 INFO [AuditLogableBase] Failed to get v= ds 11111111-1111-1111-1111-111111111113</div> <div class=3D"gmail_extra">null</div><div class=3D"gmail_extra">23:39:50,31= 1 INFO [AuditLogableBase] Failed to get vm 11111111-1111-1111-1111-11= 1111111113</div><div class=3D"gmail_extra">Tests run: 113, Failures: 0, Err= ors: 0, Skipped: 0, Time elapsed: 0.145 sec</div> <div class=3D"gmail_extra">Running org.ovirt.engine.core.dal.dbbroker.Custo= mMapSqlParameterSourceTest</div><div class=3D"gmail_extra">Tests run: 6, Fa= ilures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec</div><div class= =3D"gmail_extra"> Running org.ovirt.engine.core.DuplicateKeysTest</div><div class=3D"gmail_ex= tra">Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 s= ec</div><div class=3D"gmail_extra"><br></div><div class=3D"gmail_extra">Res= ults :</div> <div class=3D"gmail_extra"><br></div><div class=3D"gmail_extra">Tests in er= ror: </div><div class=3D"gmail_extra"> org.ovirt.engine.core.dal= .dbbroker.generic.DBConfigUtilsTest: FATAL: database "engine_test" does not= exist</div> <div class=3D"gmail_extra"><br></div><div class=3D"gmail_extra">Tests run: = 168, Failures: 0, Errors: 1, Skipped: 0</div><div class=3D"gmail_extra"><br=
</div><div class=3D"gmail_extra">[INFO] ----------------------------------= --------------------------------------</div>
<div class=3D"gmail_extra">[INFO] Reactor Summary:</div><div class=3D"gmail= _extra">[INFO] </div><div class=3D"gmail_extra">[INFO] ovirt-root ....= .................................... SUCCESS [0.672s]</div><div class=3D"gm= ail_extra"> [INFO] oVirt Build Tools root ............................ SUCCESS [0.062s]= </div><div class=3D"gmail_extra">[INFO] oVirt checkstyle ..................= ................ SUCCESS [2.132s]</div><div class=3D"gmail_extra">[INFO] oV= irt JBoss Modules Maven Plugin .................. SUCCESS [51.899s]</div> <div class=3D"gmail_extra">[INFO] oVirt Checkstyle Checks .................= .......... SUCCESS [1.420s]</div><div class=3D"gmail_extra">[INFO] oVirt Mo= dules - backend ........................... SUCCESS [0.019s]</div><div clas= s=3D"gmail_extra"> [INFO] oVirt Manager ..................................... SUCCESS [0.015s]= </div><div class=3D"gmail_extra">[INFO] oVirt DB Scripts ..................= ................ SUCCESS [0.316s]</div><div class=3D"gmail_extra">[INFO] oV= irt Engine dependencies ......................... SUCCESS [4.173s]</div> <div class=3D"gmail_extra">[INFO] oVirt Modules - manager .................= .......... SUCCESS [1.352s]</div><div class=3D"gmail_extra">[INFO] CSharp C= ompatibility .............................. SUCCESS [3.588s]</div><div clas= s=3D"gmail_extra"> [INFO] Common Code ....................................... SUCCESS [13.706s= ]</div><div class=3D"gmail_extra">[INFO] Common utilities .................= ................. SUCCESS [17.133s]</div><div class=3D"gmail_extra">[INFO] = Data Access Layer ................................. FAILURE [8.885s]</div> <div class=3D"gmail_extra">[INFO] engine scheduler bean ...................= .......... SKIPPED</div><div class=3D"gmail_extra">[INFO] Vds broker ......= .................................. SKIPPED</div><div class=3D"gmail_extra">= [INFO] Search Backend .................................... SKIPPED</div> <div class=3D"gmail_extra">[INFO] Backend Logic @Service bean .............= .......... SKIPPED</div><div class=3D"gmail_extra">[INFO] oVirt RESTful API= Backend Integration ............. SKIPPED</div><div class=3D"gmail_extra">= [INFO] oVirt RESTful API interface ....................... SKIPPED</div> <div class=3D"gmail_extra">[INFO] oVirt Engine API Definition .............= .......... SKIPPED</div><div class=3D"gmail_extra">[INFO] oVirt Engine API = Commom Parent POM ................ SKIPPED</div><div class=3D"gmail_extra">= [INFO] oVirt Engine API Common JAX-RS .................... SKIPPED</div> <div class=3D"gmail_extra">[INFO] oVirt RESTful API Backend Integration Typ= e Mappers SKIPPED</div><div class=3D"gmail_extra">[INFO] oVirt RESTfu= l API Backend Integration JAX-RS Resources SKIPPED</div><div class=3D= "gmail_extra"> [INFO] oVirt RESTful API Backend Integration Webapp ...... SKIPPED</div><di= v class=3D"gmail_extra">[INFO] oVirt Engine Web Root ......................= ....... SKIPPED</div><div class=3D"gmail_extra">[INFO] oVirt Engine Tools .= ............................... SKIPPED</div> <div class=3D"gmail_extra">[INFO] oVirt Modules :: Frontend ...............= .......... SKIPPED</div><div class=3D"gmail_extra">[INFO] oVirt Modules :: = Webadmin ......................... SKIPPED</div><div class=3D"gmail_extra">= [INFO] oVirt Modules - ui ................................ SKIPPED</div> <div class=3D"gmail_extra">[INFO] Extensions for GWT ......................= .......... SKIPPED</div><div class=3D"gmail_extra">[INFO] UI Utils Compatib= ility (for UICommon) ............. SKIPPED</div><div class=3D"gmail_extra">= [INFO] Frontend for GWT UI Projects ...................... SKIPPED</div> <div class=3D"gmail_extra">[INFO] UICommonWeb .............................= .......... SKIPPED</div><div class=3D"gmail_extra">[INFO] oVirt GWT UI comm= on infrastructure ................ SKIPPED</div><div class=3D"gmail_extra">= [INFO] WebAdmin .......................................... SKIPPED</div> <div class=3D"gmail_extra">[INFO] UserPortal ..............................= .......... SKIPPED</div><div class=3D"gmail_extra">[INFO] oVirt Server EAR = .................................. SKIPPED</div><div class=3D"gmail_extra">= [INFO] --------------------------------------------------------------------= ----</div> <div class=3D"gmail_extra">[INFO] BUILD FAILURE</div><div class=3D"gmail_ex= tra">[INFO] ---------------------------------------------------------------= ---------</div><div class=3D"gmail_extra">[INFO] Total time: 1:47.204s</div=
<div class=3D"gmail_extra"> [INFO] Finished at: Wed Apr 17 23:39:50 CST 2013</div><div class=3D"gmail_e= xtra">[INFO] Final Memory: 70M/291M</div><div class=3D"gmail_extra">[INFO] = ------------------------------------------------------------------------</d= iv> <div class=3D"gmail_extra">[ERROR] Failed to execute goal org.apache.maven.= plugins:maven-surefire-plugin:2.10:test (default-test) on project dal: Ther= e are test failures.</div><div class=3D"gmail_extra">[ERROR] </div><di= v class=3D"gmail_extra"> [ERROR] Please refer to /home/liqiang/ovirt-engine/backend/manager/modules/= dal/target/surefire-reports for the individual test results.</div><div clas= s=3D"gmail_extra">[ERROR] -> [Help 1]</div><div class=3D"gmail_extra">or= g.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goa= l org.apache.maven.plugins:maven-surefire-plugin:2.10:test (default-test) o= n project dal: There are test failures.</div> <div class=3D"gmail_extra"><br></div><div class=3D"gmail_extra">Please refe= r to /home/liqiang/ovirt-engine/backend/manager/modules/dal/target/surefire= -reports for the individual test results.</div><div class=3D"gmail_extra">&= nbsp; at org.apache.maven.lifecycle.internal.MojoExecu= tor.execute(MojoExecutor.java:213)</div> <div class=3D"gmail_extra"> at org.apache.maven.= lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)</div><div cl= ass=3D"gmail_extra"> at org.apache.maven.lifecyc= le.internal.MojoExecutor.execute(MojoExecutor.java:145)</div> <div class=3D"gmail_extra"> at org.apache.maven.= lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuild= er.java:84)</div><div class=3D"gmail_extra"> at = org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(Lif= ecycleModuleBuilder.java:59)</div> <div class=3D"gmail_extra"> at org.apache.maven.= lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.ja= va:183)</div><div class=3D"gmail_extra"> at org.= apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.j= ava:161)</div> <div class=3D"gmail_extra"> at org.apache.maven.= DefaultMaven.doExecute(DefaultMaven.java:322)</div><div class=3D"gmail_extr= a"> at org.apache.maven.DefaultMaven.execute(Def= aultMaven.java:158)</div><div class=3D"gmail_extra"> at org.apache.maven.cli.MavenCli.execute(MavenC= li.java:537)</div><div class=3D"gmail_extra"> at= org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)</div><div class=3D= "gmail_extra"> at org.apache.maven.cli.MavenCli.= main(MavenCli.java:141)</div> <div class=3D"gmail_extra"> at sun.reflect.Nativ= eMethodAccessorImpl.invoke0(Native Method)</div><div class=3D"gmail_extra">= at sun.reflect.NativeMethodAccessorImpl.invoke(= NativeMethodAccessorImpl.java:57)</div> <div class=3D"gmail_extra"> at sun.reflect.DelegatingMethodAccessorImpl.inv= oke(DelegatingMethodAccessorImpl.java:43)</div><div class=3D"gmail_extra">&= nbsp; at java.lang.reflect.Method.invoke(Method.java:6= 01)</div><div class=3D"gmail_extra"> at org.code= haus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)= </div> <div class=3D"gmail_extra"> at org.codehaus.plex= us.classworlds.launcher.Launcher.launch(Launcher.java:230)</div><div class= =3D"gmail_extra"> at org.codehaus.plexus.classwo= rlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)</div> <div class=3D"gmail_extra"> at org.codehaus.plex= us.classworlds.launcher.Launcher.main(Launcher.java:352)</div><div class=3D= "gmail_extra">Caused by: org.apache.maven.plugin.MojoFailureException: Ther= e are test failures.</div> <div class=3D"gmail_extra"><br></div><div class=3D"gmail_extra">Please refe= r to /home/liqiang/ovirt-engine/backend/manager/modules/dal/target/surefire= -reports for the individual test results.</div><div class=3D"gmail_extra">&= nbsp; at org.apache.maven.plugin.surefire.SurefireHelp= er.reportExecution(SurefireHelper.java:87)</div> <div class=3D"gmail_extra"> at org.apache.maven.= plugin.surefire.SurefirePlugin.writeSummary(SurefirePlugin.java:641)</div><= div class=3D"gmail_extra"> at org.apache.maven.p= lugin.surefire.SurefirePlugin.handleSummary(SurefirePlugin.java:615)</div> <div class=3D"gmail_extra"> at org.apache.maven.= plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(Abstr= actSurefireMojo.java:137)</div><div class=3D"gmail_extra"> &nb= sp; at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute= (AbstractSurefireMojo.java:98)</div> <div class=3D"gmail_extra"> at org.apache.maven.= plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java= :101)</div><div class=3D"gmail_extra"> at org.ap= ache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)</= div> <div class=3D"gmail_extra"> ... 19 more</div><di= v class=3D"gmail_extra">[ERROR] </div><div class=3D"gmail_extra">[ERRO= R] </div><div class=3D"gmail_extra">[ERROR] For more information about= the errors and possible solutions, please read the following articles:</di= v> <div class=3D"gmail_extra">[ERROR] [Help 1] <a href=3D"http://cwiki.ap= ache.org/confluence/display/MAVEN/MojoFailureException" target=3D"_blank">h= ttp://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException</a></d= iv><div class=3D"gmail_extra"> [ERROR] </div><div class=3D"gmail_extra">[ERROR] After correcting the = problems, you can resume the build with the command</div><div class=3D"gmai= l_extra">[ERROR] mvn <goals> -rf :dal</div><div class=3D"gmail= _extra">[liqiang@localhost ovirt-engine]$ </div> </div><div class=3D"gmail_extra" style=3D"font-family:arial,sans-serif;font= -size:14px">=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</div></div></div> <br>_______________________________________________<br>Engine-devel mailing= list<br>Engine-devel@ovirt.org<br>http://lists.ovirt.org/mailman/listinfo/= engine-devel<br></blockquote><div><br></div></div></body></html> ------=_Part_2287857_1629321233.1366272582896--

Hi, are you talking about the rpm or a compiled version? Ofri ----- Original Message -----
From: "李强" <liqiang.net@gmail.com> To: engine-devel@ovirt.org Sent: Wednesday, April 17, 2013 4:27:25 PM Subject: [Engine-devel] How get all language WebAdm ?
HI:All
I install ovirt engine and open IE9 to manage. But I select Chinese language UI to display and failed. The UI's language always is Englisth and covers to Other language failed.
OS:federa 18. Ovirt-Engine:3.2 MEM Size:4G DIsk:60G CPU:intel i7
Manage OS:Win7 Sp1 Manage IE:9
Can you help me? Thanks,
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
participants (5)
-
Alexander Wels
-
Allon Mureinik
-
Laszlo Hornyak
-
Ofri Masad
-
李强