Cloudeploy/packet-service/logging.log

2612 lines
307 KiB
Plaintext

2016-06-27 15:10:48 main INFO XmlBeanDefinitionReader:316 - Loading XML bean definitions from class path resource [application_context.xml]
2016-06-27 15:10:50 main INFO GenericApplicationContext:513 - Refreshing org.springframework.context.support.GenericApplicationContext@602f958: startup date [Mon Jun 27 15:10:50 CST 2016]; root of context hierarchy
2016-06-27 15:10:50 main INFO PropertySourcesPlaceholderConfigurer:172 - Loading properties file from URL [file:/F:/project/Cloudeploy2.0/packet-service/target/test-classes/application.properties]
2016-06-27 15:10:50 main INFO AutowiredAnnotationBeanPostProcessor:141 - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2016-06-27 15:10:50 main INFO LocalContainerEntityManagerFactoryBean:332 - Building JPA container EntityManagerFactory for persistence unit 'default'
2016-06-27 15:10:50 main INFO LogHelper:46 - HHH000204: Processing PersistenceUnitInfo [
name: default
...]
2016-06-27 15:10:51 main INFO Version:54 - HHH000412: Hibernate Core {4.3.6.Final}
2016-06-27 15:10:51 main INFO Environment:239 - HHH000206: hibernate.properties not found
2016-06-27 15:10:51 main INFO Environment:346 - HHH000021: Bytecode provider name : javassist
2016-06-27 15:10:51 main INFO Version:66 - HCANN000001: Hibernate Commons Annotations {4.0.5.Final}
2016-06-27 15:10:51 main INFO Dialect:145 - HHH000400: Using dialect: org.hibernate.dialect.MySQL5InnoDBDialect
2016-06-27 15:10:51 main INFO ASTQueryTranslatorFactory:47 - HHH000397: Using ASTQueryTranslatorFactory
2016-06-27 15:10:52 main INFO SchemaUpdate:182 - HHH000228: Running hbm2ddl schema update
2016-06-27 15:10:52 main INFO SchemaUpdate:193 - HHH000102: Fetching database metadata
2016-06-27 15:10:52 main INFO SchemaUpdate:205 - HHH000396: Updating schema
2016-06-27 15:10:52 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_action
2016-06-27 15:10:52 main INFO TableMetadata:67 - HHH000037: Columns: [id, display_name, component_id, update_time, define_file_key, name, create_time, show_in_resource_view]
2016-06-27 15:10:52 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_a99udcuan9eruccys7d25rnhc]
2016-06-27 15:10:52 main INFO TableMetadata:70 - HHH000126: Indexes: [primary, fk_a99udcuan9eruccys7d25rnhc]
2016-06-27 15:10:52 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_action_param
2016-06-27 15:10:52 main INFO TableMetadata:67 - HHH000037: Columns: [action_id, id, update_time, view_type, param_type, description, default_value, create_time, param_key]
2016-06-27 15:10:52 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_6kkb3r9gbedbd486rigqqt8c1]
2016-06-27 15:10:52 main INFO TableMetadata:70 - HHH000126: Indexes: [primary, fk_6kkb3r9gbedbd486rigqqt8c1]
2016-06-27 15:10:52 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_component
2016-06-27 15:10:52 main INFO TableMetadata:67 - HHH000037: Columns: [id, display_name, update_time, define_file_key, identifiers, repeatable, name, create_time, component_type_id, user_id]
2016-06-27 15:10:52 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_tjhc4icodgip93w688ucnvkv6]
2016-06-27 15:10:52 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_tjhc4icodgip93w688ucnvkv6, primary]
2016-06-27 15:10:52 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_component_type
2016-06-27 15:10:52 main INFO TableMetadata:67 - HHH000037: Columns: [id, display_name, update_time, name, create_time, user_id]
2016-06-27 15:10:52 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-06-27 15:10:52 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-06-27 15:10:52 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_file_source
2016-06-27 15:10:52 main INFO TableMetadata:67 - HHH000037: Columns: [id, update_time, md5, create_time, typ, credential]
2016-06-27 15:10:52 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-06-27 15:10:52 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-06-27 15:10:52 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_host
2016-06-27 15:10:52 main INFO TableMetadata:67 - HHH000037: Columns: [id, update_time, create_time, user_id, host_name, hostip]
2016-06-27 15:10:52 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_lc94tvqarqloffdnt1ok5m36n]
2016-06-27 15:10:52 main INFO TableMetadata:70 - HHH000126: Indexes: [primary, fk_lc94tvqarqloffdnt1ok5m36n]
2016-06-27 15:10:52 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_import_action
2016-06-27 15:10:52 main INFO TableMetadata:67 - HHH000037: Columns: [action_id, id, update_time, create_time, imported_action_id]
2016-06-27 15:10:52 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_ahxgi5qs1gwdrmt5054qkr13k, fk_hbf42r1yvbcv4btlacud0e4am]
2016-06-27 15:10:52 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_ahxgi5qs1gwdrmt5054qkr13k, fk_hbf42r1yvbcv4btlacud0e4am, primary]
2016-06-27 15:10:52 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_temp_file
2016-06-27 15:10:52 main INFO TableMetadata:67 - HHH000037: Columns: [id, update_time, link, create_time, time_to_live, access_key]
2016-06-27 15:10:52 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-06-27 15:10:52 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-06-27 15:10:52 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_type_implemention
2016-06-27 15:10:52 main INFO TableMetadata:67 - HHH000037: Columns: [id, meta_json, update_time, interface_filename, create_time, interface_name, defined_file, startegy, node_type]
2016-06-27 15:10:52 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-06-27 15:10:52 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-06-27 15:10:52 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_user
2016-06-27 15:10:52 main INFO TableMetadata:67 - HHH000037: Columns: [id, update_time, email, name, create_time, role, password, salt]
2016-06-27 15:10:52 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-06-27 15:10:52 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-06-27 15:10:52 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_user_token
2016-06-27 15:10:52 main INFO TableMetadata:67 - HHH000037: Columns: [content, id, update_time, create_time, user_id]
2016-06-27 15:10:52 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_qwolew1b7wi7grpe277mh3wdy]
2016-06-27 15:10:52 main INFO TableMetadata:70 - HHH000126: Indexes: [primary, fk_qwolew1b7wi7grpe277mh3wdy, uk_cwclph8msoe4sgov2nd5a8d6b]
2016-06-27 15:10:54 main ERROR SchemaUpdate:236 - HHH000388: Unsuccessful: alter table d_import_action add constraint FK_2egc8j6tor7sl2pqv6stf5sja foreign key (id) references d_import_action (id)
2016-06-27 15:10:54 main ERROR SchemaUpdate:237 - Error on rename of './cloudeploy2/#sql-13b1_107' to './cloudeploy2/d_import_action' (errno: 150 - Foreign key constraint is incorrectly formed)
2016-06-27 15:10:54 main INFO SchemaUpdate:242 - HHH000232: Schema update complete
2016-06-27 15:10:55 main INFO PropertiesFactoryBean:172 - Loading properties file from class path resource [application.properties]
2016-06-27 15:10:57 Thread-2 INFO GenericApplicationContext:873 - Closing org.springframework.context.support.GenericApplicationContext@602f958: startup date [Mon Jun 27 15:10:50 CST 2016]; root of context hierarchy
2016-06-27 15:10:57 Thread-2 INFO LocalContainerEntityManagerFactoryBean:462 - Closing JPA EntityManagerFactory for persistence unit 'default'
2016-06-27 15:12:08 main INFO XmlBeanDefinitionReader:316 - Loading XML bean definitions from class path resource [application_context.xml]
2016-06-27 15:12:09 main INFO GenericApplicationContext:513 - Refreshing org.springframework.context.support.GenericApplicationContext@4acc70e8: startup date [Mon Jun 27 15:12:09 CST 2016]; root of context hierarchy
2016-06-27 15:12:09 main INFO PropertySourcesPlaceholderConfigurer:172 - Loading properties file from URL [file:/F:/project/Cloudeploy2.0/packet-service/target/test-classes/application.properties]
2016-06-27 15:12:09 main INFO AutowiredAnnotationBeanPostProcessor:141 - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2016-06-27 15:12:10 main INFO LocalContainerEntityManagerFactoryBean:332 - Building JPA container EntityManagerFactory for persistence unit 'default'
2016-06-27 15:12:10 main INFO LogHelper:46 - HHH000204: Processing PersistenceUnitInfo [
name: default
...]
2016-06-27 15:12:10 main INFO Version:54 - HHH000412: Hibernate Core {4.3.6.Final}
2016-06-27 15:12:10 main INFO Environment:239 - HHH000206: hibernate.properties not found
2016-06-27 15:12:10 main INFO Environment:346 - HHH000021: Bytecode provider name : javassist
2016-06-27 15:12:10 main INFO Version:66 - HCANN000001: Hibernate Commons Annotations {4.0.5.Final}
2016-06-27 15:12:10 main INFO Dialect:145 - HHH000400: Using dialect: org.hibernate.dialect.MySQL5InnoDBDialect
2016-06-27 15:12:10 main INFO ASTQueryTranslatorFactory:47 - HHH000397: Using ASTQueryTranslatorFactory
2016-06-27 15:12:11 main INFO SchemaUpdate:182 - HHH000228: Running hbm2ddl schema update
2016-06-27 15:12:11 main INFO SchemaUpdate:193 - HHH000102: Fetching database metadata
2016-06-27 15:12:11 main INFO SchemaUpdate:205 - HHH000396: Updating schema
2016-06-27 15:12:11 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_action
2016-06-27 15:12:11 main INFO TableMetadata:67 - HHH000037: Columns: [id, display_name, component_id, update_time, define_file_key, name, create_time, show_in_resource_view]
2016-06-27 15:12:11 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_a99udcuan9eruccys7d25rnhc]
2016-06-27 15:12:11 main INFO TableMetadata:70 - HHH000126: Indexes: [primary, fk_a99udcuan9eruccys7d25rnhc]
2016-06-27 15:12:11 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_action_param
2016-06-27 15:12:11 main INFO TableMetadata:67 - HHH000037: Columns: [action_id, id, update_time, view_type, param_type, description, default_value, create_time, param_key]
2016-06-27 15:12:11 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_6kkb3r9gbedbd486rigqqt8c1]
2016-06-27 15:12:11 main INFO TableMetadata:70 - HHH000126: Indexes: [primary, fk_6kkb3r9gbedbd486rigqqt8c1]
2016-06-27 15:12:11 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_component
2016-06-27 15:12:11 main INFO TableMetadata:67 - HHH000037: Columns: [id, display_name, update_time, define_file_key, identifiers, repeatable, name, create_time, component_type_id, user_id]
2016-06-27 15:12:11 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_tjhc4icodgip93w688ucnvkv6]
2016-06-27 15:12:11 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_tjhc4icodgip93w688ucnvkv6, primary]
2016-06-27 15:12:11 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_component_type
2016-06-27 15:12:11 main INFO TableMetadata:67 - HHH000037: Columns: [id, display_name, update_time, name, create_time, user_id]
2016-06-27 15:12:11 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-06-27 15:12:11 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-06-27 15:12:11 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_file_source
2016-06-27 15:12:11 main INFO TableMetadata:67 - HHH000037: Columns: [id, update_time, md5, create_time, typ, credential]
2016-06-27 15:12:11 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-06-27 15:12:11 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-06-27 15:12:11 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_host
2016-06-27 15:12:11 main INFO TableMetadata:67 - HHH000037: Columns: [id, update_time, create_time, user_id, host_name, hostip]
2016-06-27 15:12:11 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_lc94tvqarqloffdnt1ok5m36n]
2016-06-27 15:12:11 main INFO TableMetadata:70 - HHH000126: Indexes: [primary, fk_lc94tvqarqloffdnt1ok5m36n]
2016-06-27 15:12:11 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_import_action
2016-06-27 15:12:11 main INFO TableMetadata:67 - HHH000037: Columns: [action_id, id, update_time, create_time, imported_action_id]
2016-06-27 15:12:11 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_ahxgi5qs1gwdrmt5054qkr13k, fk_hbf42r1yvbcv4btlacud0e4am]
2016-06-27 15:12:11 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_ahxgi5qs1gwdrmt5054qkr13k, fk_hbf42r1yvbcv4btlacud0e4am, primary]
2016-06-27 15:12:11 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_temp_file
2016-06-27 15:12:11 main INFO TableMetadata:67 - HHH000037: Columns: [id, update_time, link, create_time, time_to_live, access_key]
2016-06-27 15:12:11 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-06-27 15:12:11 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-06-27 15:12:11 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_type_implemention
2016-06-27 15:12:11 main INFO TableMetadata:67 - HHH000037: Columns: [id, meta_json, update_time, interface_filename, create_time, interface_name, defined_file, startegy, node_type]
2016-06-27 15:12:11 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-06-27 15:12:11 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-06-27 15:12:11 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_user
2016-06-27 15:12:11 main INFO TableMetadata:67 - HHH000037: Columns: [id, update_time, email, name, create_time, role, password, salt]
2016-06-27 15:12:11 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-06-27 15:12:11 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-06-27 15:12:11 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_user_token
2016-06-27 15:12:11 main INFO TableMetadata:67 - HHH000037: Columns: [content, id, update_time, create_time, user_id]
2016-06-27 15:12:11 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_qwolew1b7wi7grpe277mh3wdy]
2016-06-27 15:12:11 main INFO TableMetadata:70 - HHH000126: Indexes: [primary, fk_qwolew1b7wi7grpe277mh3wdy, uk_cwclph8msoe4sgov2nd5a8d6b]
2016-06-27 15:12:12 main ERROR SchemaUpdate:236 - HHH000388: Unsuccessful: alter table d_import_action add constraint FK_2egc8j6tor7sl2pqv6stf5sja foreign key (id) references d_import_action (id)
2016-06-27 15:12:12 main ERROR SchemaUpdate:237 - Error on rename of './cloudeploy2/#sql-13b1_109' to './cloudeploy2/d_import_action' (errno: 150 - Foreign key constraint is incorrectly formed)
2016-06-27 15:12:12 main INFO SchemaUpdate:242 - HHH000232: Schema update complete
2016-06-27 15:12:13 main INFO PropertiesFactoryBean:172 - Loading properties file from class path resource [application.properties]
2016-06-27 15:12:14 Thread-2 INFO GenericApplicationContext:873 - Closing org.springframework.context.support.GenericApplicationContext@4acc70e8: startup date [Mon Jun 27 15:12:09 CST 2016]; root of context hierarchy
2016-06-27 15:12:14 Thread-2 INFO LocalContainerEntityManagerFactoryBean:462 - Closing JPA EntityManagerFactory for persistence unit 'default'
2016-06-28 09:46:34 main INFO XmlBeanDefinitionReader:316 - Loading XML bean definitions from class path resource [application_context.xml]
2016-06-28 09:46:35 main INFO GenericApplicationContext:513 - Refreshing org.springframework.context.support.GenericApplicationContext@4acc70e8: startup date [Tue Jun 28 09:46:35 CST 2016]; root of context hierarchy
2016-06-28 09:46:36 main INFO PropertySourcesPlaceholderConfigurer:172 - Loading properties file from URL [file:/F:/project/Cloudeploy2.0/packet-service/target/test-classes/application.properties]
2016-06-28 09:46:36 main INFO AutowiredAnnotationBeanPostProcessor:141 - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2016-06-28 09:46:36 main INFO LocalContainerEntityManagerFactoryBean:332 - Building JPA container EntityManagerFactory for persistence unit 'default'
2016-06-28 09:46:36 main INFO LogHelper:46 - HHH000204: Processing PersistenceUnitInfo [
name: default
...]
2016-06-28 09:46:36 main INFO Version:54 - HHH000412: Hibernate Core {4.3.6.Final}
2016-06-28 09:46:36 main INFO Environment:239 - HHH000206: hibernate.properties not found
2016-06-28 09:46:36 main INFO Environment:346 - HHH000021: Bytecode provider name : javassist
2016-06-28 09:46:37 main INFO Version:66 - HCANN000001: Hibernate Commons Annotations {4.0.5.Final}
2016-06-28 09:46:37 main INFO Dialect:145 - HHH000400: Using dialect: org.hibernate.dialect.MySQL5InnoDBDialect
2016-06-28 09:46:37 main INFO ASTQueryTranslatorFactory:47 - HHH000397: Using ASTQueryTranslatorFactory
2016-06-28 09:46:37 main INFO SchemaUpdate:182 - HHH000228: Running hbm2ddl schema update
2016-06-28 09:46:37 main INFO SchemaUpdate:193 - HHH000102: Fetching database metadata
2016-06-28 09:46:37 main INFO SchemaUpdate:205 - HHH000396: Updating schema
2016-06-28 09:46:37 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_action
2016-06-28 09:46:37 main INFO TableMetadata:67 - HHH000037: Columns: [id, display_name, component_id, update_time, define_file_key, name, create_time, show_in_resource_view]
2016-06-28 09:46:37 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_a99udcuan9eruccys7d25rnhc]
2016-06-28 09:46:37 main INFO TableMetadata:70 - HHH000126: Indexes: [primary, fk_a99udcuan9eruccys7d25rnhc]
2016-06-28 09:46:37 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_action_param
2016-06-28 09:46:37 main INFO TableMetadata:67 - HHH000037: Columns: [action_id, id, update_time, view_type, param_type, description, default_value, create_time, param_key]
2016-06-28 09:46:37 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_6kkb3r9gbedbd486rigqqt8c1]
2016-06-28 09:46:37 main INFO TableMetadata:70 - HHH000126: Indexes: [primary, fk_6kkb3r9gbedbd486rigqqt8c1]
2016-06-28 09:46:37 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_component
2016-06-28 09:46:37 main INFO TableMetadata:67 - HHH000037: Columns: [id, display_name, update_time, define_file_key, identifiers, repeatable, name, create_time, component_type_id, user_id]
2016-06-28 09:46:37 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_tjhc4icodgip93w688ucnvkv6]
2016-06-28 09:46:37 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_tjhc4icodgip93w688ucnvkv6, primary]
2016-06-28 09:46:37 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_component_type
2016-06-28 09:46:37 main INFO TableMetadata:67 - HHH000037: Columns: [id, display_name, update_time, name, create_time, user_id]
2016-06-28 09:46:37 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-06-28 09:46:37 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-06-28 09:46:37 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_file_source
2016-06-28 09:46:37 main INFO TableMetadata:67 - HHH000037: Columns: [id, update_time, md5, create_time, typ, credential]
2016-06-28 09:46:37 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-06-28 09:46:37 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-06-28 09:46:37 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_host
2016-06-28 09:46:37 main INFO TableMetadata:67 - HHH000037: Columns: [id, update_time, create_time, user_id, host_name, hostip]
2016-06-28 09:46:37 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_lc94tvqarqloffdnt1ok5m36n]
2016-06-28 09:46:37 main INFO TableMetadata:70 - HHH000126: Indexes: [primary, fk_lc94tvqarqloffdnt1ok5m36n]
2016-06-28 09:46:37 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_import_action
2016-06-28 09:46:37 main INFO TableMetadata:67 - HHH000037: Columns: [action_id, id, update_time, create_time, imported_action_id]
2016-06-28 09:46:37 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_ahxgi5qs1gwdrmt5054qkr13k, fk_hbf42r1yvbcv4btlacud0e4am]
2016-06-28 09:46:37 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_ahxgi5qs1gwdrmt5054qkr13k, fk_hbf42r1yvbcv4btlacud0e4am, primary]
2016-06-28 09:46:37 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_temp_file
2016-06-28 09:46:37 main INFO TableMetadata:67 - HHH000037: Columns: [id, update_time, link, create_time, time_to_live, access_key]
2016-06-28 09:46:37 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-06-28 09:46:37 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-06-28 09:46:37 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_type_implemention
2016-06-28 09:46:37 main INFO TableMetadata:67 - HHH000037: Columns: [id, meta_json, update_time, interface_filename, create_time, interface_name, defined_file, startegy, node_type]
2016-06-28 09:46:37 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-06-28 09:46:37 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-06-28 09:46:37 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_user
2016-06-28 09:46:37 main INFO TableMetadata:67 - HHH000037: Columns: [id, update_time, email, name, create_time, role, password, salt]
2016-06-28 09:46:37 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-06-28 09:46:37 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-06-28 09:46:37 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_user_token
2016-06-28 09:46:37 main INFO TableMetadata:67 - HHH000037: Columns: [content, id, update_time, create_time, user_id]
2016-06-28 09:46:37 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_qwolew1b7wi7grpe277mh3wdy]
2016-06-28 09:46:37 main INFO TableMetadata:70 - HHH000126: Indexes: [primary, fk_qwolew1b7wi7grpe277mh3wdy, uk_cwclph8msoe4sgov2nd5a8d6b]
2016-06-28 09:46:39 main ERROR SchemaUpdate:236 - HHH000388: Unsuccessful: alter table d_import_action add constraint FK_2egc8j6tor7sl2pqv6stf5sja foreign key (id) references d_import_action (id)
2016-06-28 09:46:39 main ERROR SchemaUpdate:237 - Error on rename of './cloudeploy2/#sql-13b1_148' to './cloudeploy2/d_import_action' (errno: 150 - Foreign key constraint is incorrectly formed)
2016-06-28 09:46:39 main INFO SchemaUpdate:242 - HHH000232: Schema update complete
2016-06-28 09:46:40 main INFO PropertiesFactoryBean:172 - Loading properties file from class path resource [application.properties]
2016-06-28 09:46:42 Thread-2 INFO GenericApplicationContext:873 - Closing org.springframework.context.support.GenericApplicationContext@4acc70e8: startup date [Tue Jun 28 09:46:35 CST 2016]; root of context hierarchy
2016-06-28 09:46:42 Thread-2 INFO LocalContainerEntityManagerFactoryBean:462 - Closing JPA EntityManagerFactory for persistence unit 'default'
2016-06-28 09:48:50 main INFO XmlBeanDefinitionReader:316 - Loading XML bean definitions from class path resource [application_context.xml]
2016-06-28 09:48:51 main INFO GenericApplicationContext:513 - Refreshing org.springframework.context.support.GenericApplicationContext@3408b5b5: startup date [Tue Jun 28 09:48:51 CST 2016]; root of context hierarchy
2016-06-28 09:48:51 main INFO PropertySourcesPlaceholderConfigurer:172 - Loading properties file from URL [file:/F:/project/Cloudeploy2.0/packet-service/target/test-classes/application.properties]
2016-06-28 09:48:51 main INFO AutowiredAnnotationBeanPostProcessor:141 - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2016-06-28 09:48:51 main INFO LocalContainerEntityManagerFactoryBean:332 - Building JPA container EntityManagerFactory for persistence unit 'default'
2016-06-28 09:48:51 main INFO LogHelper:46 - HHH000204: Processing PersistenceUnitInfo [
name: default
...]
2016-06-28 09:48:51 main INFO Version:54 - HHH000412: Hibernate Core {4.3.6.Final}
2016-06-28 09:48:51 main INFO Environment:239 - HHH000206: hibernate.properties not found
2016-06-28 09:48:51 main INFO Environment:346 - HHH000021: Bytecode provider name : javassist
2016-06-28 09:48:52 main INFO Version:66 - HCANN000001: Hibernate Commons Annotations {4.0.5.Final}
2016-06-28 09:48:52 main INFO Dialect:145 - HHH000400: Using dialect: org.hibernate.dialect.MySQL5InnoDBDialect
2016-06-28 09:48:52 main INFO ASTQueryTranslatorFactory:47 - HHH000397: Using ASTQueryTranslatorFactory
2016-06-28 09:48:52 main INFO SchemaUpdate:182 - HHH000228: Running hbm2ddl schema update
2016-06-28 09:48:52 main INFO SchemaUpdate:193 - HHH000102: Fetching database metadata
2016-06-28 09:48:52 main INFO SchemaUpdate:205 - HHH000396: Updating schema
2016-06-28 09:48:52 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_action
2016-06-28 09:48:52 main INFO TableMetadata:67 - HHH000037: Columns: [id, display_name, component_id, update_time, define_file_key, name, create_time, show_in_resource_view]
2016-06-28 09:48:52 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_a99udcuan9eruccys7d25rnhc]
2016-06-28 09:48:52 main INFO TableMetadata:70 - HHH000126: Indexes: [primary, fk_a99udcuan9eruccys7d25rnhc]
2016-06-28 09:48:52 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_action_param
2016-06-28 09:48:52 main INFO TableMetadata:67 - HHH000037: Columns: [action_id, id, update_time, view_type, param_type, description, default_value, create_time, param_key]
2016-06-28 09:48:52 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_6kkb3r9gbedbd486rigqqt8c1]
2016-06-28 09:48:52 main INFO TableMetadata:70 - HHH000126: Indexes: [primary, fk_6kkb3r9gbedbd486rigqqt8c1]
2016-06-28 09:48:52 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_component
2016-06-28 09:48:52 main INFO TableMetadata:67 - HHH000037: Columns: [id, display_name, update_time, define_file_key, identifiers, repeatable, name, create_time, component_type_id, user_id]
2016-06-28 09:48:52 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_tjhc4icodgip93w688ucnvkv6]
2016-06-28 09:48:52 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_tjhc4icodgip93w688ucnvkv6, primary]
2016-06-28 09:48:52 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_component_type
2016-06-28 09:48:52 main INFO TableMetadata:67 - HHH000037: Columns: [id, display_name, update_time, name, create_time, user_id]
2016-06-28 09:48:52 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-06-28 09:48:52 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-06-28 09:48:52 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_file_source
2016-06-28 09:48:52 main INFO TableMetadata:67 - HHH000037: Columns: [id, update_time, md5, create_time, typ, credential]
2016-06-28 09:48:52 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-06-28 09:48:52 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-06-28 09:48:52 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_host
2016-06-28 09:48:52 main INFO TableMetadata:67 - HHH000037: Columns: [id, update_time, create_time, user_id, host_name, hostip]
2016-06-28 09:48:52 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_lc94tvqarqloffdnt1ok5m36n]
2016-06-28 09:48:52 main INFO TableMetadata:70 - HHH000126: Indexes: [primary, fk_lc94tvqarqloffdnt1ok5m36n]
2016-06-28 09:48:52 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_import_action
2016-06-28 09:48:52 main INFO TableMetadata:67 - HHH000037: Columns: [action_id, id, update_time, create_time, imported_action_id]
2016-06-28 09:48:52 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_ahxgi5qs1gwdrmt5054qkr13k, fk_hbf42r1yvbcv4btlacud0e4am]
2016-06-28 09:48:52 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_ahxgi5qs1gwdrmt5054qkr13k, fk_hbf42r1yvbcv4btlacud0e4am, primary]
2016-06-28 09:48:53 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_temp_file
2016-06-28 09:48:53 main INFO TableMetadata:67 - HHH000037: Columns: [id, update_time, link, create_time, time_to_live, access_key]
2016-06-28 09:48:53 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-06-28 09:48:53 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-06-28 09:48:53 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_type_implemention
2016-06-28 09:48:53 main INFO TableMetadata:67 - HHH000037: Columns: [id, meta_json, update_time, interface_filename, create_time, interface_name, defined_file, startegy, node_type]
2016-06-28 09:48:53 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-06-28 09:48:53 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-06-28 09:48:53 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_user
2016-06-28 09:48:53 main INFO TableMetadata:67 - HHH000037: Columns: [id, update_time, email, name, create_time, role, password, salt]
2016-06-28 09:48:53 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-06-28 09:48:53 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-06-28 09:48:53 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_user_token
2016-06-28 09:48:53 main INFO TableMetadata:67 - HHH000037: Columns: [content, id, update_time, create_time, user_id]
2016-06-28 09:48:53 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_qwolew1b7wi7grpe277mh3wdy]
2016-06-28 09:48:53 main INFO TableMetadata:70 - HHH000126: Indexes: [primary, fk_qwolew1b7wi7grpe277mh3wdy, uk_cwclph8msoe4sgov2nd5a8d6b]
2016-06-28 09:48:54 main ERROR SchemaUpdate:236 - HHH000388: Unsuccessful: alter table d_import_action add constraint FK_2egc8j6tor7sl2pqv6stf5sja foreign key (id) references d_import_action (id)
2016-06-28 09:48:54 main ERROR SchemaUpdate:237 - Error on rename of './cloudeploy2/#sql-13b1_14d' to './cloudeploy2/d_import_action' (errno: 150 - Foreign key constraint is incorrectly formed)
2016-06-28 09:48:54 main INFO SchemaUpdate:242 - HHH000232: Schema update complete
2016-06-28 09:48:55 main INFO PropertiesFactoryBean:172 - Loading properties file from class path resource [application.properties]
2016-06-28 09:48:56 Thread-2 INFO GenericApplicationContext:873 - Closing org.springframework.context.support.GenericApplicationContext@3408b5b5: startup date [Tue Jun 28 09:48:51 CST 2016]; root of context hierarchy
2016-06-28 09:48:56 Thread-2 INFO LocalContainerEntityManagerFactoryBean:462 - Closing JPA EntityManagerFactory for persistence unit 'default'
2016-08-29 20:17:47 main INFO XmlBeanDefinitionReader:316 - Loading XML bean definitions from class path resource [application_context.xml]
2016-08-29 20:17:49 main INFO GenericApplicationContext:513 - Refreshing org.springframework.context.support.GenericApplicationContext@29ca901e: startup date [Mon Aug 29 20:17:49 CST 2016]; root of context hierarchy
2016-08-29 20:17:49 main INFO PropertySourcesPlaceholderConfigurer:172 - Loading properties file from URL [file:/F:/Cloudeploy/packet-service/target/test-classes/application.properties]
2016-08-29 20:17:49 main INFO AutowiredAnnotationBeanPostProcessor:141 - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2016-08-29 20:17:51 main INFO LocalContainerEntityManagerFactoryBean:332 - Building JPA container EntityManagerFactory for persistence unit 'default'
2016-08-29 20:17:51 main INFO LogHelper:46 - HHH000204: Processing PersistenceUnitInfo [
name: default
...]
2016-08-29 20:17:51 main INFO Version:54 - HHH000412: Hibernate Core {4.3.6.Final}
2016-08-29 20:17:51 main INFO Environment:239 - HHH000206: hibernate.properties not found
2016-08-29 20:17:51 main INFO Environment:346 - HHH000021: Bytecode provider name : javassist
2016-08-29 20:17:51 main INFO Version:66 - HCANN000001: Hibernate Commons Annotations {4.0.5.Final}
2016-08-29 20:17:51 main INFO Dialect:145 - HHH000400: Using dialect: org.hibernate.dialect.MySQL5InnoDBDialect
2016-08-29 20:17:51 main INFO ASTQueryTranslatorFactory:47 - HHH000397: Using ASTQueryTranslatorFactory
2016-08-29 20:17:52 main INFO SchemaUpdate:182 - HHH000228: Running hbm2ddl schema update
2016-08-29 20:17:52 main INFO SchemaUpdate:193 - HHH000102: Fetching database metadata
2016-08-29 20:17:52 main INFO SchemaUpdate:205 - HHH000396: Updating schema
2016-08-29 20:17:52 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_action
2016-08-29 20:17:52 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, component_id, show_in_resource_view, create_time, name, define_file_key, id, display_name]
2016-08-29 20:17:52 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_a99udcuan9eruccys7d25rnhc]
2016-08-29 20:17:52 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_a99udcuan9eruccys7d25rnhc, primary]
2016-08-29 20:17:52 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_action_param
2016-08-29 20:17:52 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, action_id, param_key, description, view_type, default_value, id, param_type]
2016-08-29 20:17:52 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_6kkb3r9gbedbd486rigqqt8c1]
2016-08-29 20:17:52 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_6kkb3r9gbedbd486rigqqt8c1, primary]
2016-08-29 20:17:52 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_component
2016-08-29 20:17:52 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, component_type_id, user_id, identifiers, repeatable, name, define_file_key, id, display_name]
2016-08-29 20:17:52 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_tjhc4icodgip93w688ucnvkv6]
2016-08-29 20:17:52 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_tjhc4icodgip93w688ucnvkv6, primary]
2016-08-29 20:17:52 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_component_type
2016-08-29 20:17:52 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, user_id, name, id, display_name]
2016-08-29 20:17:52 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-08-29 20:17:52 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-08-29 20:17:52 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_file_source
2016-08-29 20:17:52 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, credential, typ, id, md5]
2016-08-29 20:17:52 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-08-29 20:17:52 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-08-29 20:17:52 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_host
2016-08-29 20:17:52 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, user_id, hostip, id, host_name]
2016-08-29 20:17:52 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_lc94tvqarqloffdnt1ok5m36n]
2016-08-29 20:17:52 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_lc94tvqarqloffdnt1ok5m36n, primary]
2016-08-29 20:17:52 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_import_action
2016-08-29 20:17:52 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, action_id, imported_action_id, id]
2016-08-29 20:17:52 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_ahxgi5qs1gwdrmt5054qkr13k, fk_hbf42r1yvbcv4btlacud0e4am]
2016-08-29 20:17:52 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_ahxgi5qs1gwdrmt5054qkr13k, fk_hbf42r1yvbcv4btlacud0e4am, primary]
2016-08-29 20:17:52 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_temp_file
2016-08-29 20:17:52 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, time_to_live, access_key, link, id]
2016-08-29 20:17:52 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-08-29 20:17:52 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-08-29 20:17:52 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_type_implemention
2016-08-29 20:17:52 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, node_type, create_time, interface_filename, interface_name, startegy, id, defined_file, meta_json]
2016-08-29 20:17:52 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-08-29 20:17:52 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-08-29 20:17:52 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_user
2016-08-29 20:17:52 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, password, salt, role, create_time, name, id, email]
2016-08-29 20:17:52 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-08-29 20:17:52 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-08-29 20:17:52 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_user_token
2016-08-29 20:17:52 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, user_id, id, content]
2016-08-29 20:17:52 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_qwolew1b7wi7grpe277mh3wdy]
2016-08-29 20:17:52 main INFO TableMetadata:70 - HHH000126: Indexes: [uk_cwclph8msoe4sgov2nd5a8d6b, fk_qwolew1b7wi7grpe277mh3wdy, primary]
2016-08-29 20:17:54 main ERROR SchemaUpdate:236 - HHH000388: Unsuccessful: alter table d_import_action add constraint FK_2egc8j6tor7sl2pqv6stf5sja foreign key (id) references d_import_action (id)
2016-08-29 20:17:54 main ERROR SchemaUpdate:237 - Error on rename of './cloudeploy2/#sql-13b1_e58' to './cloudeploy2/d_import_action' (errno: 150 - Foreign key constraint is incorrectly formed)
2016-08-29 20:17:54 main INFO SchemaUpdate:242 - HHH000232: Schema update complete
2016-08-29 20:17:55 main INFO PropertiesFactoryBean:172 - Loading properties file from class path resource [application.properties]
2016-08-29 20:17:56 main WARN AutowiredAnnotationBeanPostProcessor:364 - Autowired annotation should be used on methods with actual parameters: public void cn.ac.iscas.cloudeploy.v2.packet.type.docker.TypeImpleInstaller.addTomcatTypeImpl() throws com.spotify.docker.client.DockerException,java.lang.InterruptedException,com.fasterxml.jackson.core.JsonProcessingException
2016-08-29 20:18:02 main ERROR TestContextManager:334 - Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@61ecbee9] to prepare test instance [cn.ac.iscas.cloudeploy.v2.packet.type.docker.TypeImpleInstaller@1bb740f2]
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cn.ac.iscas.cloudeploy.v2.packet.type.docker.TypeImpleInstaller': Injection of autowired dependencies failed; nested exception is com.spotify.docker.client.DockerTimeoutException: Timeout: GET http://133.133.134.103:2375/v1.12/images/341e9c72c19d/json
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:292)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1185)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireBeanProperties(AbstractAutowireCapableBeanFactory.java:384)
at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:110)
at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75)
at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:331)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:213)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:290)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:292)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:233)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:87)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
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.runners.ParentRunner.run(ParentRunner.java:363)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:176)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
Caused by: com.spotify.docker.client.DockerTimeoutException: Timeout: GET http://133.133.134.103:2375/v1.12/images/341e9c72c19d/json
at com.spotify.docker.client.DefaultDockerClient.propagate(DefaultDockerClient.java:1065)
at com.spotify.docker.client.DefaultDockerClient.request(DefaultDockerClient.java:999)
at com.spotify.docker.client.DefaultDockerClient.inspectImage(DefaultDockerClient.java:809)
at cn.ac.iscas.cloudeploy.v2.packet.type.docker.TypeImpleInstaller.addTomcatTypeImpl(TypeImpleInstaller.java:37)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:589)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:289)
... 26 more
Caused by: java.util.concurrent.ExecutionException: javax.ws.rs.ProcessingException: org.apache.http.conn.ConnectTimeoutException: Connect to 133.133.134.103:2375 [/133.133.134.103] failed: connect timed out
at jersey.repackaged.com.google.common.util.concurrent.AbstractFuture$Sync.getValue(AbstractFuture.java:306)
at jersey.repackaged.com.google.common.util.concurrent.AbstractFuture$Sync.get(AbstractFuture.java:293)
at jersey.repackaged.com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:116)
at com.spotify.docker.client.DefaultDockerClient.request(DefaultDockerClient.java:997)
... 35 more
Caused by: javax.ws.rs.ProcessingException: org.apache.http.conn.ConnectTimeoutException: Connect to 133.133.134.103:2375 [/133.133.134.103] failed: connect timed out
at org.glassfish.jersey.apache.connector.ApacheConnector.apply(ApacheConnector.java:517)
at org.glassfish.jersey.apache.connector.ApacheConnector$1.run(ApacheConnector.java:527)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at jersey.repackaged.com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:293)
at jersey.repackaged.com.google.common.util.concurrent.AbstractListeningExecutorService.submit(AbstractListeningExecutorService.java:49)
at jersey.repackaged.com.google.common.util.concurrent.AbstractListeningExecutorService.submit(AbstractListeningExecutorService.java:45)
at org.glassfish.jersey.apache.connector.ApacheConnector.apply(ApacheConnector.java:523)
at org.glassfish.jersey.client.ClientRuntime$1.run(ClientRuntime.java:169)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)
at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
at org.glassfish.jersey.internal.Errors.process(Errors.java:267)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:320)
at org.glassfish.jersey.client.ClientRuntime$2.run(ClientRuntime.java:201)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: org.apache.http.conn.ConnectTimeoutException: Connect to 133.133.134.103:2375 [/133.133.134.103] failed: connect timed out
at org.apache.http.impl.conn.HttpClientConnectionOperator.connect(HttpClientConnectionOperator.java:132)
at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:318)
at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:363)
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:219)
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:195)
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:86)
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:108)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:72)
at org.glassfish.jersey.apache.connector.ApacheConnector.apply(ApacheConnector.java:469)
... 20 more
Caused by: java.net.SocketTimeoutException: connect timed out
at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at org.apache.http.conn.socket.PlainConnectionSocketFactory.connectSocket(PlainConnectionSocketFactory.java:72)
at org.apache.http.impl.conn.HttpClientConnectionOperator.connect(HttpClientConnectionOperator.java:123)
... 29 more
2016-08-29 20:18:02 Thread-2 INFO GenericApplicationContext:873 - Closing org.springframework.context.support.GenericApplicationContext@29ca901e: startup date [Mon Aug 29 20:17:49 CST 2016]; root of context hierarchy
2016-08-29 20:18:02 Thread-2 INFO LocalContainerEntityManagerFactoryBean:462 - Closing JPA EntityManagerFactory for persistence unit 'default'
2016-08-29 20:18:33 main INFO XmlBeanDefinitionReader:316 - Loading XML bean definitions from class path resource [application_context.xml]
2016-08-29 20:18:34 main INFO GenericApplicationContext:513 - Refreshing org.springframework.context.support.GenericApplicationContext@29ca901e: startup date [Mon Aug 29 20:18:34 CST 2016]; root of context hierarchy
2016-08-29 20:18:34 main INFO PropertySourcesPlaceholderConfigurer:172 - Loading properties file from URL [file:/F:/Cloudeploy/packet-service/target/test-classes/application.properties]
2016-08-29 20:18:34 main INFO AutowiredAnnotationBeanPostProcessor:141 - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2016-08-29 20:18:34 main INFO LocalContainerEntityManagerFactoryBean:332 - Building JPA container EntityManagerFactory for persistence unit 'default'
2016-08-29 20:18:34 main INFO LogHelper:46 - HHH000204: Processing PersistenceUnitInfo [
name: default
...]
2016-08-29 20:18:34 main INFO Version:54 - HHH000412: Hibernate Core {4.3.6.Final}
2016-08-29 20:18:34 main INFO Environment:239 - HHH000206: hibernate.properties not found
2016-08-29 20:18:34 main INFO Environment:346 - HHH000021: Bytecode provider name : javassist
2016-08-29 20:18:35 main INFO Version:66 - HCANN000001: Hibernate Commons Annotations {4.0.5.Final}
2016-08-29 20:18:35 main INFO Dialect:145 - HHH000400: Using dialect: org.hibernate.dialect.MySQL5InnoDBDialect
2016-08-29 20:18:35 main INFO ASTQueryTranslatorFactory:47 - HHH000397: Using ASTQueryTranslatorFactory
2016-08-29 20:18:35 main INFO SchemaUpdate:182 - HHH000228: Running hbm2ddl schema update
2016-08-29 20:18:35 main INFO SchemaUpdate:193 - HHH000102: Fetching database metadata
2016-08-29 20:18:35 main INFO SchemaUpdate:205 - HHH000396: Updating schema
2016-08-29 20:18:35 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_action
2016-08-29 20:18:35 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, component_id, show_in_resource_view, create_time, name, define_file_key, id, display_name]
2016-08-29 20:18:35 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_a99udcuan9eruccys7d25rnhc]
2016-08-29 20:18:35 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_a99udcuan9eruccys7d25rnhc, primary]
2016-08-29 20:18:35 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_action_param
2016-08-29 20:18:35 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, action_id, param_key, description, view_type, default_value, id, param_type]
2016-08-29 20:18:35 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_6kkb3r9gbedbd486rigqqt8c1]
2016-08-29 20:18:35 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_6kkb3r9gbedbd486rigqqt8c1, primary]
2016-08-29 20:18:35 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_component
2016-08-29 20:18:35 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, component_type_id, user_id, identifiers, repeatable, name, define_file_key, id, display_name]
2016-08-29 20:18:35 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_tjhc4icodgip93w688ucnvkv6]
2016-08-29 20:18:35 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_tjhc4icodgip93w688ucnvkv6, primary]
2016-08-29 20:18:35 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_component_type
2016-08-29 20:18:35 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, user_id, name, id, display_name]
2016-08-29 20:18:35 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-08-29 20:18:35 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-08-29 20:18:35 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_file_source
2016-08-29 20:18:35 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, credential, typ, id, md5]
2016-08-29 20:18:35 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-08-29 20:18:35 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-08-29 20:18:35 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_host
2016-08-29 20:18:35 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, user_id, hostip, id, host_name]
2016-08-29 20:18:35 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_lc94tvqarqloffdnt1ok5m36n]
2016-08-29 20:18:35 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_lc94tvqarqloffdnt1ok5m36n, primary]
2016-08-29 20:18:35 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_import_action
2016-08-29 20:18:35 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, action_id, imported_action_id, id]
2016-08-29 20:18:35 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_ahxgi5qs1gwdrmt5054qkr13k, fk_hbf42r1yvbcv4btlacud0e4am]
2016-08-29 20:18:35 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_ahxgi5qs1gwdrmt5054qkr13k, fk_hbf42r1yvbcv4btlacud0e4am, primary]
2016-08-29 20:18:35 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_temp_file
2016-08-29 20:18:35 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, time_to_live, access_key, link, id]
2016-08-29 20:18:35 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-08-29 20:18:35 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-08-29 20:18:35 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_type_implemention
2016-08-29 20:18:35 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, node_type, create_time, interface_filename, interface_name, startegy, id, defined_file, meta_json]
2016-08-29 20:18:35 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-08-29 20:18:35 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-08-29 20:18:35 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_user
2016-08-29 20:18:35 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, password, salt, role, create_time, name, id, email]
2016-08-29 20:18:35 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-08-29 20:18:35 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-08-29 20:18:35 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_user_token
2016-08-29 20:18:35 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, user_id, id, content]
2016-08-29 20:18:35 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_qwolew1b7wi7grpe277mh3wdy]
2016-08-29 20:18:35 main INFO TableMetadata:70 - HHH000126: Indexes: [uk_cwclph8msoe4sgov2nd5a8d6b, fk_qwolew1b7wi7grpe277mh3wdy, primary]
2016-08-29 20:18:38 main ERROR SchemaUpdate:236 - HHH000388: Unsuccessful: alter table d_import_action add constraint FK_2egc8j6tor7sl2pqv6stf5sja foreign key (id) references d_import_action (id)
2016-08-29 20:18:38 main ERROR SchemaUpdate:237 - Error on rename of './cloudeploy2/#sql-13b1_e5a' to './cloudeploy2/d_import_action' (errno: 150 - Foreign key constraint is incorrectly formed)
2016-08-29 20:18:38 main INFO SchemaUpdate:242 - HHH000232: Schema update complete
2016-08-29 20:18:38 main INFO PropertiesFactoryBean:172 - Loading properties file from class path resource [application.properties]
2016-08-29 20:18:44 Thread-2 INFO GenericApplicationContext:873 - Closing org.springframework.context.support.GenericApplicationContext@29ca901e: startup date [Mon Aug 29 20:18:34 CST 2016]; root of context hierarchy
2016-08-29 20:18:44 Thread-2 INFO LocalContainerEntityManagerFactoryBean:462 - Closing JPA EntityManagerFactory for persistence unit 'default'
2016-08-29 20:20:13 main INFO XmlBeanDefinitionReader:316 - Loading XML bean definitions from class path resource [application_context.xml]
2016-08-29 20:20:14 main INFO GenericApplicationContext:513 - Refreshing org.springframework.context.support.GenericApplicationContext@29ca901e: startup date [Mon Aug 29 20:20:14 CST 2016]; root of context hierarchy
2016-08-29 20:20:15 main INFO PropertySourcesPlaceholderConfigurer:172 - Loading properties file from URL [file:/F:/Cloudeploy/packet-service/target/test-classes/application.properties]
2016-08-29 20:20:15 main INFO AutowiredAnnotationBeanPostProcessor:141 - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2016-08-29 20:20:15 main INFO LocalContainerEntityManagerFactoryBean:332 - Building JPA container EntityManagerFactory for persistence unit 'default'
2016-08-29 20:20:15 main INFO LogHelper:46 - HHH000204: Processing PersistenceUnitInfo [
name: default
...]
2016-08-29 20:20:15 main INFO Version:54 - HHH000412: Hibernate Core {4.3.6.Final}
2016-08-29 20:20:15 main INFO Environment:239 - HHH000206: hibernate.properties not found
2016-08-29 20:20:15 main INFO Environment:346 - HHH000021: Bytecode provider name : javassist
2016-08-29 20:20:15 main INFO Version:66 - HCANN000001: Hibernate Commons Annotations {4.0.5.Final}
2016-08-29 20:20:15 main INFO Dialect:145 - HHH000400: Using dialect: org.hibernate.dialect.MySQL5InnoDBDialect
2016-08-29 20:20:16 main INFO ASTQueryTranslatorFactory:47 - HHH000397: Using ASTQueryTranslatorFactory
2016-08-29 20:20:16 main INFO SchemaUpdate:182 - HHH000228: Running hbm2ddl schema update
2016-08-29 20:20:16 main INFO SchemaUpdate:193 - HHH000102: Fetching database metadata
2016-08-29 20:20:16 main INFO SchemaUpdate:205 - HHH000396: Updating schema
2016-08-29 20:20:16 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_action
2016-08-29 20:20:16 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, component_id, show_in_resource_view, create_time, name, define_file_key, id, display_name]
2016-08-29 20:20:16 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_a99udcuan9eruccys7d25rnhc]
2016-08-29 20:20:16 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_a99udcuan9eruccys7d25rnhc, primary]
2016-08-29 20:20:16 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_action_param
2016-08-29 20:20:16 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, action_id, param_key, description, view_type, default_value, id, param_type]
2016-08-29 20:20:16 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_6kkb3r9gbedbd486rigqqt8c1]
2016-08-29 20:20:16 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_6kkb3r9gbedbd486rigqqt8c1, primary]
2016-08-29 20:20:16 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_component
2016-08-29 20:20:16 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, component_type_id, user_id, identifiers, repeatable, name, define_file_key, id, display_name]
2016-08-29 20:20:16 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_tjhc4icodgip93w688ucnvkv6]
2016-08-29 20:20:16 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_tjhc4icodgip93w688ucnvkv6, primary]
2016-08-29 20:20:16 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_component_type
2016-08-29 20:20:16 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, user_id, name, id, display_name]
2016-08-29 20:20:16 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-08-29 20:20:16 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-08-29 20:20:16 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_file_source
2016-08-29 20:20:16 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, credential, typ, id, md5]
2016-08-29 20:20:16 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-08-29 20:20:16 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-08-29 20:20:16 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_host
2016-08-29 20:20:16 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, user_id, hostip, id, host_name]
2016-08-29 20:20:16 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_lc94tvqarqloffdnt1ok5m36n]
2016-08-29 20:20:16 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_lc94tvqarqloffdnt1ok5m36n, primary]
2016-08-29 20:20:16 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_import_action
2016-08-29 20:20:16 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, action_id, imported_action_id, id]
2016-08-29 20:20:16 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_ahxgi5qs1gwdrmt5054qkr13k, fk_hbf42r1yvbcv4btlacud0e4am]
2016-08-29 20:20:16 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_ahxgi5qs1gwdrmt5054qkr13k, fk_hbf42r1yvbcv4btlacud0e4am, primary]
2016-08-29 20:20:16 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_temp_file
2016-08-29 20:20:16 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, time_to_live, access_key, link, id]
2016-08-29 20:20:16 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-08-29 20:20:16 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-08-29 20:20:16 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_type_implemention
2016-08-29 20:20:16 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, node_type, create_time, interface_filename, interface_name, startegy, id, defined_file, meta_json]
2016-08-29 20:20:16 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-08-29 20:20:16 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-08-29 20:20:16 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_user
2016-08-29 20:20:16 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, password, salt, role, create_time, name, id, email]
2016-08-29 20:20:16 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-08-29 20:20:16 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-08-29 20:20:16 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_user_token
2016-08-29 20:20:16 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, user_id, id, content]
2016-08-29 20:20:16 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_qwolew1b7wi7grpe277mh3wdy]
2016-08-29 20:20:16 main INFO TableMetadata:70 - HHH000126: Indexes: [uk_cwclph8msoe4sgov2nd5a8d6b, fk_qwolew1b7wi7grpe277mh3wdy, primary]
2016-08-29 20:20:18 main ERROR SchemaUpdate:236 - HHH000388: Unsuccessful: alter table d_import_action add constraint FK_2egc8j6tor7sl2pqv6stf5sja foreign key (id) references d_import_action (id)
2016-08-29 20:20:18 main ERROR SchemaUpdate:237 - Error on rename of './cloudeploy2/#sql-13b1_e5c' to './cloudeploy2/d_import_action' (errno: 150 - Foreign key constraint is incorrectly formed)
2016-08-29 20:20:18 main INFO SchemaUpdate:242 - HHH000232: Schema update complete
2016-08-29 20:20:19 main INFO PropertiesFactoryBean:172 - Loading properties file from class path resource [application.properties]
2016-08-29 20:20:25 Thread-2 INFO GenericApplicationContext:873 - Closing org.springframework.context.support.GenericApplicationContext@29ca901e: startup date [Mon Aug 29 20:20:14 CST 2016]; root of context hierarchy
2016-08-29 20:20:25 Thread-2 INFO LocalContainerEntityManagerFactoryBean:462 - Closing JPA EntityManagerFactory for persistence unit 'default'
2016-08-29 20:29:11 main INFO XmlBeanDefinitionReader:316 - Loading XML bean definitions from class path resource [application_context.xml]
2016-08-29 20:29:12 main INFO GenericApplicationContext:513 - Refreshing org.springframework.context.support.GenericApplicationContext@7adda9cc: startup date [Mon Aug 29 20:29:12 CST 2016]; root of context hierarchy
2016-08-29 20:29:12 main INFO PropertySourcesPlaceholderConfigurer:172 - Loading properties file from URL [file:/F:/Cloudeploy/packet-service/target/test-classes/application.properties]
2016-08-29 20:29:12 main INFO AutowiredAnnotationBeanPostProcessor:141 - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2016-08-29 20:29:13 main INFO LocalContainerEntityManagerFactoryBean:332 - Building JPA container EntityManagerFactory for persistence unit 'default'
2016-08-29 20:29:13 main INFO LogHelper:46 - HHH000204: Processing PersistenceUnitInfo [
name: default
...]
2016-08-29 20:29:13 main INFO Version:54 - HHH000412: Hibernate Core {4.3.6.Final}
2016-08-29 20:29:13 main INFO Environment:239 - HHH000206: hibernate.properties not found
2016-08-29 20:29:13 main INFO Environment:346 - HHH000021: Bytecode provider name : javassist
2016-08-29 20:29:13 main INFO Version:66 - HCANN000001: Hibernate Commons Annotations {4.0.5.Final}
2016-08-29 20:29:13 main INFO Dialect:145 - HHH000400: Using dialect: org.hibernate.dialect.MySQL5InnoDBDialect
2016-08-29 20:29:13 main INFO ASTQueryTranslatorFactory:47 - HHH000397: Using ASTQueryTranslatorFactory
2016-08-29 20:29:14 main INFO SchemaUpdate:182 - HHH000228: Running hbm2ddl schema update
2016-08-29 20:29:14 main INFO SchemaUpdate:193 - HHH000102: Fetching database metadata
2016-08-29 20:29:14 main INFO SchemaUpdate:205 - HHH000396: Updating schema
2016-08-29 20:29:14 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_action
2016-08-29 20:29:14 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, component_id, show_in_resource_view, create_time, name, define_file_key, id, display_name]
2016-08-29 20:29:14 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_a99udcuan9eruccys7d25rnhc]
2016-08-29 20:29:14 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_a99udcuan9eruccys7d25rnhc, primary]
2016-08-29 20:29:14 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_action_param
2016-08-29 20:29:14 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, action_id, param_key, description, view_type, default_value, id, param_type]
2016-08-29 20:29:14 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_6kkb3r9gbedbd486rigqqt8c1]
2016-08-29 20:29:14 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_6kkb3r9gbedbd486rigqqt8c1, primary]
2016-08-29 20:29:14 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_component
2016-08-29 20:29:14 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, component_type_id, user_id, identifiers, repeatable, name, define_file_key, id, display_name]
2016-08-29 20:29:14 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_tjhc4icodgip93w688ucnvkv6]
2016-08-29 20:29:14 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_tjhc4icodgip93w688ucnvkv6, primary]
2016-08-29 20:29:14 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_component_type
2016-08-29 20:29:14 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, user_id, name, id, display_name]
2016-08-29 20:29:14 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-08-29 20:29:14 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-08-29 20:29:14 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_file_source
2016-08-29 20:29:14 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, credential, typ, id, md5]
2016-08-29 20:29:14 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-08-29 20:29:14 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-08-29 20:29:14 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_host
2016-08-29 20:29:14 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, user_id, hostip, id, host_name]
2016-08-29 20:29:14 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_lc94tvqarqloffdnt1ok5m36n]
2016-08-29 20:29:14 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_lc94tvqarqloffdnt1ok5m36n, primary]
2016-08-29 20:29:14 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_import_action
2016-08-29 20:29:14 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, action_id, imported_action_id, id]
2016-08-29 20:29:14 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_ahxgi5qs1gwdrmt5054qkr13k, fk_hbf42r1yvbcv4btlacud0e4am]
2016-08-29 20:29:14 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_ahxgi5qs1gwdrmt5054qkr13k, fk_hbf42r1yvbcv4btlacud0e4am, primary]
2016-08-29 20:29:14 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_temp_file
2016-08-29 20:29:14 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, time_to_live, access_key, link, id]
2016-08-29 20:29:14 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-08-29 20:29:14 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-08-29 20:29:14 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_type_implemention
2016-08-29 20:29:14 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, node_type, create_time, interface_filename, interface_name, startegy, id, defined_file, meta_json]
2016-08-29 20:29:14 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-08-29 20:29:14 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-08-29 20:29:14 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_user
2016-08-29 20:29:14 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, password, salt, role, create_time, name, id, email]
2016-08-29 20:29:14 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-08-29 20:29:14 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-08-29 20:29:14 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_user_token
2016-08-29 20:29:14 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, user_id, id, content]
2016-08-29 20:29:14 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_qwolew1b7wi7grpe277mh3wdy]
2016-08-29 20:29:14 main INFO TableMetadata:70 - HHH000126: Indexes: [uk_cwclph8msoe4sgov2nd5a8d6b, fk_qwolew1b7wi7grpe277mh3wdy, primary]
2016-08-29 20:29:16 main ERROR SchemaUpdate:236 - HHH000388: Unsuccessful: alter table d_import_action add constraint FK_2egc8j6tor7sl2pqv6stf5sja foreign key (id) references d_import_action (id)
2016-08-29 20:29:16 main ERROR SchemaUpdate:237 - Error on rename of './cloudeploy2/#sql-13b1_e5e' to './cloudeploy2/d_import_action' (errno: 150 - Foreign key constraint is incorrectly formed)
2016-08-29 20:29:16 main INFO SchemaUpdate:242 - HHH000232: Schema update complete
2016-08-29 20:29:16 main INFO PropertiesFactoryBean:172 - Loading properties file from class path resource [application.properties]
2016-08-29 20:31:09 main INFO XmlBeanDefinitionReader:316 - Loading XML bean definitions from class path resource [application_context.xml]
2016-08-29 20:31:09 main INFO GenericApplicationContext:513 - Refreshing org.springframework.context.support.GenericApplicationContext@7f552bd3: startup date [Mon Aug 29 20:31:09 CST 2016]; root of context hierarchy
2016-08-29 20:31:10 main INFO PropertySourcesPlaceholderConfigurer:172 - Loading properties file from URL [file:/F:/Cloudeploy/packet-service/target/test-classes/application.properties]
2016-08-29 20:31:10 main INFO AutowiredAnnotationBeanPostProcessor:141 - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2016-08-29 20:31:10 main INFO LocalContainerEntityManagerFactoryBean:332 - Building JPA container EntityManagerFactory for persistence unit 'default'
2016-08-29 20:31:10 main INFO LogHelper:46 - HHH000204: Processing PersistenceUnitInfo [
name: default
...]
2016-08-29 20:31:10 main INFO Version:54 - HHH000412: Hibernate Core {4.3.6.Final}
2016-08-29 20:31:10 main INFO Environment:239 - HHH000206: hibernate.properties not found
2016-08-29 20:31:10 main INFO Environment:346 - HHH000021: Bytecode provider name : javassist
2016-08-29 20:31:11 main INFO Version:66 - HCANN000001: Hibernate Commons Annotations {4.0.5.Final}
2016-08-29 20:31:11 main INFO Dialect:145 - HHH000400: Using dialect: org.hibernate.dialect.MySQL5InnoDBDialect
2016-08-29 20:31:11 main INFO ASTQueryTranslatorFactory:47 - HHH000397: Using ASTQueryTranslatorFactory
2016-08-29 20:31:11 main INFO SchemaUpdate:182 - HHH000228: Running hbm2ddl schema update
2016-08-29 20:31:11 main INFO SchemaUpdate:193 - HHH000102: Fetching database metadata
2016-08-29 20:31:11 main INFO SchemaUpdate:205 - HHH000396: Updating schema
2016-08-29 20:31:11 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_action
2016-08-29 20:31:11 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, component_id, show_in_resource_view, create_time, name, define_file_key, id, display_name]
2016-08-29 20:31:11 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_a99udcuan9eruccys7d25rnhc]
2016-08-29 20:31:11 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_a99udcuan9eruccys7d25rnhc, primary]
2016-08-29 20:31:11 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_action_param
2016-08-29 20:31:11 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, action_id, param_key, description, view_type, default_value, id, param_type]
2016-08-29 20:31:11 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_6kkb3r9gbedbd486rigqqt8c1]
2016-08-29 20:31:11 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_6kkb3r9gbedbd486rigqqt8c1, primary]
2016-08-29 20:31:11 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_component
2016-08-29 20:31:11 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, component_type_id, user_id, identifiers, repeatable, name, define_file_key, id, display_name]
2016-08-29 20:31:11 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_tjhc4icodgip93w688ucnvkv6]
2016-08-29 20:31:11 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_tjhc4icodgip93w688ucnvkv6, primary]
2016-08-29 20:31:11 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_component_type
2016-08-29 20:31:11 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, user_id, name, id, display_name]
2016-08-29 20:31:11 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-08-29 20:31:11 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-08-29 20:31:11 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_file_source
2016-08-29 20:31:11 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, credential, typ, id, md5]
2016-08-29 20:31:11 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-08-29 20:31:11 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-08-29 20:31:11 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_host
2016-08-29 20:31:11 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, user_id, hostip, id, host_name]
2016-08-29 20:31:11 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_lc94tvqarqloffdnt1ok5m36n]
2016-08-29 20:31:11 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_lc94tvqarqloffdnt1ok5m36n, primary]
2016-08-29 20:31:11 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_import_action
2016-08-29 20:31:11 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, action_id, imported_action_id, id]
2016-08-29 20:31:11 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_ahxgi5qs1gwdrmt5054qkr13k, fk_hbf42r1yvbcv4btlacud0e4am]
2016-08-29 20:31:11 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_ahxgi5qs1gwdrmt5054qkr13k, fk_hbf42r1yvbcv4btlacud0e4am, primary]
2016-08-29 20:31:12 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_temp_file
2016-08-29 20:31:12 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, time_to_live, access_key, link, id]
2016-08-29 20:31:12 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-08-29 20:31:12 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-08-29 20:31:12 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_type_implemention
2016-08-29 20:31:12 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, node_type, create_time, interface_filename, interface_name, startegy, id, defined_file, meta_json]
2016-08-29 20:31:12 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-08-29 20:31:12 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-08-29 20:31:12 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_user
2016-08-29 20:31:12 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, password, salt, role, create_time, name, id, email]
2016-08-29 20:31:12 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-08-29 20:31:12 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-08-29 20:31:12 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_user_token
2016-08-29 20:31:12 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, user_id, id, content]
2016-08-29 20:31:12 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_qwolew1b7wi7grpe277mh3wdy]
2016-08-29 20:31:12 main INFO TableMetadata:70 - HHH000126: Indexes: [uk_cwclph8msoe4sgov2nd5a8d6b, fk_qwolew1b7wi7grpe277mh3wdy, primary]
2016-08-29 20:31:13 main ERROR SchemaUpdate:236 - HHH000388: Unsuccessful: alter table d_import_action add constraint FK_2egc8j6tor7sl2pqv6stf5sja foreign key (id) references d_import_action (id)
2016-08-29 20:31:13 main ERROR SchemaUpdate:237 - Error on rename of './cloudeploy2/#sql-13b1_e60' to './cloudeploy2/d_import_action' (errno: 150 - Foreign key constraint is incorrectly formed)
2016-08-29 20:31:13 main INFO SchemaUpdate:242 - HHH000232: Schema update complete
2016-08-29 20:31:14 main INFO PropertiesFactoryBean:172 - Loading properties file from class path resource [application.properties]
2016-08-29 20:32:19 main INFO XmlBeanDefinitionReader:316 - Loading XML bean definitions from class path resource [application_context.xml]
2016-08-29 20:32:19 main INFO GenericApplicationContext:513 - Refreshing org.springframework.context.support.GenericApplicationContext@29ca901e: startup date [Mon Aug 29 20:32:19 CST 2016]; root of context hierarchy
2016-08-29 20:32:20 main INFO PropertySourcesPlaceholderConfigurer:172 - Loading properties file from URL [file:/F:/Cloudeploy/packet-service/target/test-classes/application.properties]
2016-08-29 20:32:20 main INFO AutowiredAnnotationBeanPostProcessor:141 - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2016-08-29 20:32:20 main INFO LocalContainerEntityManagerFactoryBean:332 - Building JPA container EntityManagerFactory for persistence unit 'default'
2016-08-29 20:32:20 main INFO LogHelper:46 - HHH000204: Processing PersistenceUnitInfo [
name: default
...]
2016-08-29 20:32:20 main INFO Version:54 - HHH000412: Hibernate Core {4.3.6.Final}
2016-08-29 20:32:20 main INFO Environment:239 - HHH000206: hibernate.properties not found
2016-08-29 20:32:20 main INFO Environment:346 - HHH000021: Bytecode provider name : javassist
2016-08-29 20:32:20 main INFO Version:66 - HCANN000001: Hibernate Commons Annotations {4.0.5.Final}
2016-08-29 20:32:21 main INFO Dialect:145 - HHH000400: Using dialect: org.hibernate.dialect.MySQL5InnoDBDialect
2016-08-29 20:32:21 main INFO ASTQueryTranslatorFactory:47 - HHH000397: Using ASTQueryTranslatorFactory
2016-08-29 20:32:21 main INFO SchemaUpdate:182 - HHH000228: Running hbm2ddl schema update
2016-08-29 20:32:21 main INFO SchemaUpdate:193 - HHH000102: Fetching database metadata
2016-08-29 20:32:21 main INFO SchemaUpdate:205 - HHH000396: Updating schema
2016-08-29 20:32:21 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_action
2016-08-29 20:32:21 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, component_id, show_in_resource_view, create_time, name, define_file_key, id, display_name]
2016-08-29 20:32:21 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_a99udcuan9eruccys7d25rnhc]
2016-08-29 20:32:21 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_a99udcuan9eruccys7d25rnhc, primary]
2016-08-29 20:32:21 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_action_param
2016-08-29 20:32:21 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, action_id, param_key, description, view_type, default_value, id, param_type]
2016-08-29 20:32:21 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_6kkb3r9gbedbd486rigqqt8c1]
2016-08-29 20:32:21 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_6kkb3r9gbedbd486rigqqt8c1, primary]
2016-08-29 20:32:21 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_component
2016-08-29 20:32:21 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, component_type_id, user_id, identifiers, repeatable, name, define_file_key, id, display_name]
2016-08-29 20:32:21 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_tjhc4icodgip93w688ucnvkv6]
2016-08-29 20:32:21 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_tjhc4icodgip93w688ucnvkv6, primary]
2016-08-29 20:32:21 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_component_type
2016-08-29 20:32:21 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, user_id, name, id, display_name]
2016-08-29 20:32:21 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-08-29 20:32:21 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-08-29 20:32:21 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_file_source
2016-08-29 20:32:21 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, credential, typ, id, md5]
2016-08-29 20:32:21 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-08-29 20:32:21 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-08-29 20:32:21 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_host
2016-08-29 20:32:21 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, user_id, hostip, id, host_name]
2016-08-29 20:32:21 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_lc94tvqarqloffdnt1ok5m36n]
2016-08-29 20:32:21 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_lc94tvqarqloffdnt1ok5m36n, primary]
2016-08-29 20:32:21 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_import_action
2016-08-29 20:32:21 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, action_id, imported_action_id, id]
2016-08-29 20:32:21 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_ahxgi5qs1gwdrmt5054qkr13k, fk_hbf42r1yvbcv4btlacud0e4am]
2016-08-29 20:32:21 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_ahxgi5qs1gwdrmt5054qkr13k, fk_hbf42r1yvbcv4btlacud0e4am, primary]
2016-08-29 20:32:21 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_temp_file
2016-08-29 20:32:21 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, time_to_live, access_key, link, id]
2016-08-29 20:32:21 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-08-29 20:32:21 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-08-29 20:32:21 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_type_implemention
2016-08-29 20:32:21 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, node_type, create_time, interface_filename, interface_name, startegy, id, defined_file, meta_json]
2016-08-29 20:32:21 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-08-29 20:32:21 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-08-29 20:32:21 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_user
2016-08-29 20:32:21 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, password, salt, role, create_time, name, id, email]
2016-08-29 20:32:21 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-08-29 20:32:21 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-08-29 20:32:21 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_user_token
2016-08-29 20:32:21 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, user_id, id, content]
2016-08-29 20:32:21 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_qwolew1b7wi7grpe277mh3wdy]
2016-08-29 20:32:21 main INFO TableMetadata:70 - HHH000126: Indexes: [uk_cwclph8msoe4sgov2nd5a8d6b, fk_qwolew1b7wi7grpe277mh3wdy, primary]
2016-08-29 20:32:23 main ERROR SchemaUpdate:236 - HHH000388: Unsuccessful: alter table d_import_action add constraint FK_2egc8j6tor7sl2pqv6stf5sja foreign key (id) references d_import_action (id)
2016-08-29 20:32:23 main ERROR SchemaUpdate:237 - Error on rename of './cloudeploy2/#sql-13b1_e62' to './cloudeploy2/d_import_action' (errno: 150 - Foreign key constraint is incorrectly formed)
2016-08-29 20:32:23 main INFO SchemaUpdate:242 - HHH000232: Schema update complete
2016-08-29 20:32:23 main INFO PropertiesFactoryBean:172 - Loading properties file from class path resource [application.properties]
2016-08-29 20:32:26 Thread-2 INFO GenericApplicationContext:873 - Closing org.springframework.context.support.GenericApplicationContext@29ca901e: startup date [Mon Aug 29 20:32:19 CST 2016]; root of context hierarchy
2016-08-29 20:32:26 Thread-2 INFO LocalContainerEntityManagerFactoryBean:462 - Closing JPA EntityManagerFactory for persistence unit 'default'
2016-08-29 20:33:14 main INFO XmlBeanDefinitionReader:316 - Loading XML bean definitions from class path resource [application_context.xml]
2016-08-29 20:33:14 main INFO GenericApplicationContext:513 - Refreshing org.springframework.context.support.GenericApplicationContext@7f552bd3: startup date [Mon Aug 29 20:33:14 CST 2016]; root of context hierarchy
2016-08-29 20:33:15 main INFO PropertySourcesPlaceholderConfigurer:172 - Loading properties file from URL [file:/F:/Cloudeploy/packet-service/target/test-classes/application.properties]
2016-08-29 20:33:15 main INFO AutowiredAnnotationBeanPostProcessor:141 - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2016-08-29 20:33:15 main INFO LocalContainerEntityManagerFactoryBean:332 - Building JPA container EntityManagerFactory for persistence unit 'default'
2016-08-29 20:33:15 main INFO LogHelper:46 - HHH000204: Processing PersistenceUnitInfo [
name: default
...]
2016-08-29 20:33:15 main INFO Version:54 - HHH000412: Hibernate Core {4.3.6.Final}
2016-08-29 20:33:15 main INFO Environment:239 - HHH000206: hibernate.properties not found
2016-08-29 20:33:15 main INFO Environment:346 - HHH000021: Bytecode provider name : javassist
2016-08-29 20:33:16 main INFO Version:66 - HCANN000001: Hibernate Commons Annotations {4.0.5.Final}
2016-08-29 20:33:16 main INFO Dialect:145 - HHH000400: Using dialect: org.hibernate.dialect.MySQL5InnoDBDialect
2016-08-29 20:33:16 main INFO ASTQueryTranslatorFactory:47 - HHH000397: Using ASTQueryTranslatorFactory
2016-08-29 20:33:16 main INFO SchemaUpdate:182 - HHH000228: Running hbm2ddl schema update
2016-08-29 20:33:16 main INFO SchemaUpdate:193 - HHH000102: Fetching database metadata
2016-08-29 20:33:17 main INFO SchemaUpdate:205 - HHH000396: Updating schema
2016-08-29 20:33:17 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_action
2016-08-29 20:33:17 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, component_id, show_in_resource_view, create_time, name, define_file_key, id, display_name]
2016-08-29 20:33:17 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_a99udcuan9eruccys7d25rnhc]
2016-08-29 20:33:17 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_a99udcuan9eruccys7d25rnhc, primary]
2016-08-29 20:33:17 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_action_param
2016-08-29 20:33:17 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, action_id, param_key, description, view_type, default_value, id, param_type]
2016-08-29 20:33:17 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_6kkb3r9gbedbd486rigqqt8c1]
2016-08-29 20:33:17 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_6kkb3r9gbedbd486rigqqt8c1, primary]
2016-08-29 20:33:17 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_component
2016-08-29 20:33:17 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, component_type_id, user_id, identifiers, repeatable, name, define_file_key, id, display_name]
2016-08-29 20:33:17 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_tjhc4icodgip93w688ucnvkv6]
2016-08-29 20:33:17 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_tjhc4icodgip93w688ucnvkv6, primary]
2016-08-29 20:33:17 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_component_type
2016-08-29 20:33:17 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, user_id, name, id, display_name]
2016-08-29 20:33:17 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-08-29 20:33:17 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-08-29 20:33:17 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_file_source
2016-08-29 20:33:17 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, credential, typ, id, md5]
2016-08-29 20:33:17 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-08-29 20:33:17 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-08-29 20:33:17 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_host
2016-08-29 20:33:17 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, user_id, hostip, id, host_name]
2016-08-29 20:33:17 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_lc94tvqarqloffdnt1ok5m36n]
2016-08-29 20:33:17 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_lc94tvqarqloffdnt1ok5m36n, primary]
2016-08-29 20:33:17 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_import_action
2016-08-29 20:33:17 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, action_id, imported_action_id, id]
2016-08-29 20:33:17 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_ahxgi5qs1gwdrmt5054qkr13k, fk_hbf42r1yvbcv4btlacud0e4am]
2016-08-29 20:33:17 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_ahxgi5qs1gwdrmt5054qkr13k, fk_hbf42r1yvbcv4btlacud0e4am, primary]
2016-08-29 20:33:17 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_temp_file
2016-08-29 20:33:17 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, time_to_live, access_key, link, id]
2016-08-29 20:33:17 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-08-29 20:33:17 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-08-29 20:33:17 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_type_implemention
2016-08-29 20:33:17 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, node_type, create_time, interface_filename, interface_name, startegy, id, defined_file, meta_json]
2016-08-29 20:33:17 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-08-29 20:33:17 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-08-29 20:33:17 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_user
2016-08-29 20:33:17 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, password, salt, role, create_time, name, id, email]
2016-08-29 20:33:17 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-08-29 20:33:17 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-08-29 20:33:17 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_user_token
2016-08-29 20:33:17 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, user_id, id, content]
2016-08-29 20:33:17 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_qwolew1b7wi7grpe277mh3wdy]
2016-08-29 20:33:17 main INFO TableMetadata:70 - HHH000126: Indexes: [uk_cwclph8msoe4sgov2nd5a8d6b, fk_qwolew1b7wi7grpe277mh3wdy, primary]
2016-08-29 20:33:18 main ERROR SchemaUpdate:236 - HHH000388: Unsuccessful: alter table d_import_action add constraint FK_2egc8j6tor7sl2pqv6stf5sja foreign key (id) references d_import_action (id)
2016-08-29 20:33:18 main ERROR SchemaUpdate:237 - Error on rename of './cloudeploy2/#sql-13b1_e64' to './cloudeploy2/d_import_action' (errno: 150 - Foreign key constraint is incorrectly formed)
2016-08-29 20:33:18 main INFO SchemaUpdate:242 - HHH000232: Schema update complete
2016-08-29 20:33:19 main INFO PropertiesFactoryBean:172 - Loading properties file from class path resource [application.properties]
2016-08-29 20:33:25 Thread-2 INFO GenericApplicationContext:873 - Closing org.springframework.context.support.GenericApplicationContext@7f552bd3: startup date [Mon Aug 29 20:33:14 CST 2016]; root of context hierarchy
2016-08-29 20:33:25 Thread-2 INFO LocalContainerEntityManagerFactoryBean:462 - Closing JPA EntityManagerFactory for persistence unit 'default'
2016-09-18 15:03:01 main INFO XmlBeanDefinitionReader:316 - Loading XML bean definitions from class path resource [application_context.xml]
2016-09-18 15:03:02 main INFO GenericApplicationContext:513 - Refreshing org.springframework.context.support.GenericApplicationContext@71bbf57e: startup date [Sun Sep 18 15:03:02 CST 2016]; root of context hierarchy
2016-09-18 15:03:02 main INFO PropertySourcesPlaceholderConfigurer:172 - Loading properties file from URL [file:/F:/Cloudeploy/packet-service/target/test-classes/application.properties]
2016-09-18 15:03:02 main INFO AutowiredAnnotationBeanPostProcessor:141 - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2016-09-18 15:03:03 main INFO LocalContainerEntityManagerFactoryBean:332 - Building JPA container EntityManagerFactory for persistence unit 'default'
2016-09-18 15:03:03 main INFO LogHelper:46 - HHH000204: Processing PersistenceUnitInfo [
name: default
...]
2016-09-18 15:03:03 main INFO Version:54 - HHH000412: Hibernate Core {4.3.6.Final}
2016-09-18 15:03:03 main INFO Environment:239 - HHH000206: hibernate.properties not found
2016-09-18 15:03:03 main INFO Environment:346 - HHH000021: Bytecode provider name : javassist
2016-09-18 15:03:04 main INFO Version:66 - HCANN000001: Hibernate Commons Annotations {4.0.5.Final}
2016-09-18 15:03:04 main INFO Dialect:145 - HHH000400: Using dialect: org.hibernate.dialect.MySQL5InnoDBDialect
2016-09-18 15:03:04 main INFO ASTQueryTranslatorFactory:47 - HHH000397: Using ASTQueryTranslatorFactory
2016-09-18 15:03:05 main INFO SchemaUpdate:182 - HHH000228: Running hbm2ddl schema update
2016-09-18 15:03:05 main INFO SchemaUpdate:193 - HHH000102: Fetching database metadata
2016-09-18 15:03:05 main INFO SchemaUpdate:205 - HHH000396: Updating schema
2016-09-18 15:03:05 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_action
2016-09-18 15:03:05 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, component_id, show_in_resource_view, create_time, name, define_file_key, id, display_name]
2016-09-18 15:03:05 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_a99udcuan9eruccys7d25rnhc]
2016-09-18 15:03:05 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_a99udcuan9eruccys7d25rnhc, primary]
2016-09-18 15:03:05 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_action_param
2016-09-18 15:03:05 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, action_id, param_key, description, view_type, default_value, id, param_type]
2016-09-18 15:03:05 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_6kkb3r9gbedbd486rigqqt8c1]
2016-09-18 15:03:05 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_6kkb3r9gbedbd486rigqqt8c1, primary]
2016-09-18 15:03:05 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_component
2016-09-18 15:03:05 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, component_type_id, user_id, identifiers, repeatable, name, define_file_key, id, display_name]
2016-09-18 15:03:05 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_tjhc4icodgip93w688ucnvkv6]
2016-09-18 15:03:05 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_tjhc4icodgip93w688ucnvkv6, primary]
2016-09-18 15:03:05 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_component_type
2016-09-18 15:03:05 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, user_id, name, id, display_name]
2016-09-18 15:03:05 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-09-18 15:03:05 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-09-18 15:03:05 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_file_source
2016-09-18 15:03:05 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, credential, typ, id, md5]
2016-09-18 15:03:05 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-09-18 15:03:05 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-09-18 15:03:05 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_host
2016-09-18 15:03:05 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, user_id, hostip, id, host_name]
2016-09-18 15:03:05 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_lc94tvqarqloffdnt1ok5m36n]
2016-09-18 15:03:05 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_lc94tvqarqloffdnt1ok5m36n, primary]
2016-09-18 15:03:05 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_import_action
2016-09-18 15:03:05 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, action_id, imported_action_id, id]
2016-09-18 15:03:05 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_ahxgi5qs1gwdrmt5054qkr13k, fk_hbf42r1yvbcv4btlacud0e4am]
2016-09-18 15:03:05 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_ahxgi5qs1gwdrmt5054qkr13k, fk_hbf42r1yvbcv4btlacud0e4am, primary]
2016-09-18 15:03:05 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_temp_file
2016-09-18 15:03:05 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, time_to_live, access_key, link, id]
2016-09-18 15:03:05 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-09-18 15:03:05 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-09-18 15:03:05 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_type_implemention
2016-09-18 15:03:05 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, node_type, create_time, interface_filename, interface_name, startegy, id, defined_file, meta_json]
2016-09-18 15:03:05 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-09-18 15:03:05 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-09-18 15:03:05 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_user
2016-09-18 15:03:05 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, password, salt, role, create_time, name, id, email]
2016-09-18 15:03:05 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-09-18 15:03:05 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-09-18 15:03:05 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_user_token
2016-09-18 15:03:05 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, user_id, id, content]
2016-09-18 15:03:05 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_qwolew1b7wi7grpe277mh3wdy]
2016-09-18 15:03:05 main INFO TableMetadata:70 - HHH000126: Indexes: [uk_cwclph8msoe4sgov2nd5a8d6b, fk_qwolew1b7wi7grpe277mh3wdy, primary]
2016-09-18 15:03:06 main ERROR SchemaUpdate:236 - HHH000388: Unsuccessful: alter table d_import_action add constraint FK_2egc8j6tor7sl2pqv6stf5sja foreign key (id) references d_import_action (id)
2016-09-18 15:03:06 main ERROR SchemaUpdate:237 - Error on rename of './cloudeploy2/#sql-13b1_1239' to './cloudeploy2/d_import_action' (errno: 150 - Foreign key constraint is incorrectly formed)
2016-09-18 15:03:06 main INFO SchemaUpdate:242 - HHH000232: Schema update complete
2016-09-18 15:03:08 main INFO PropertiesFactoryBean:172 - Loading properties file from class path resource [application.properties]
2016-09-18 15:03:08 main INFO TransactionalTestExecutionListener:276 - Began transaction (1) for test context [DefaultTestContext@75181b50 testClass = DockerTransferTest, testInstance = cn.ac.iscas.cloudeploy.v2.packet.type.docker.DockerTransferTest@2d64160c, testMethod = testGetImageInfo@DockerTransferTest, testException = [null], mergedContextConfiguration = [MergedContextConfiguration@5f254608 testClass = DockerTransferTest, locations = '{classpath:/application_context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{dev}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]]; transaction manager [org.springframework.orm.jpa.JpaTransactionManager@2eeb0f9b]; rollback [true]
2016-09-18 15:03:09 main INFO TransactionalTestExecutionListener:298 - Rolled back transaction after test execution for test context [DefaultTestContext@75181b50 testClass = DockerTransferTest, testInstance = cn.ac.iscas.cloudeploy.v2.packet.type.docker.DockerTransferTest@2d64160c, testMethod = testGetImageInfo@DockerTransferTest, testException = [null], mergedContextConfiguration = [MergedContextConfiguration@5f254608 testClass = DockerTransferTest, locations = '{classpath:/application_context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{dev}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]]
2016-09-18 15:03:09 main INFO TransactionalTestExecutionListener:276 - Began transaction (2) for test context [DefaultTestContext@75181b50 testClass = DockerTransferTest, testInstance = cn.ac.iscas.cloudeploy.v2.packet.type.docker.DockerTransferTest@1d6d1d42, testMethod = testGetImplementions@DockerTransferTest, testException = [null], mergedContextConfiguration = [MergedContextConfiguration@5f254608 testClass = DockerTransferTest, locations = '{classpath:/application_context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{dev}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]]; transaction manager [org.springframework.orm.jpa.JpaTransactionManager@2eeb0f9b]; rollback [true]
2016-09-18 15:03:09 main INFO TransactionalTestExecutionListener:298 - Rolled back transaction after test execution for test context [DefaultTestContext@75181b50 testClass = DockerTransferTest, testInstance = cn.ac.iscas.cloudeploy.v2.packet.type.docker.DockerTransferTest@1d6d1d42, testMethod = testGetImplementions@DockerTransferTest, testException = [null], mergedContextConfiguration = [MergedContextConfiguration@5f254608 testClass = DockerTransferTest, locations = '{classpath:/application_context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{dev}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]]
2016-09-18 15:03:09 main INFO TransactionalTestExecutionListener:276 - Began transaction (3) for test context [DefaultTestContext@75181b50 testClass = DockerTransferTest, testInstance = cn.ac.iscas.cloudeploy.v2.packet.type.docker.DockerTransferTest@41184371, testMethod = testGetTypeImplementions@DockerTransferTest, testException = [null], mergedContextConfiguration = [MergedContextConfiguration@5f254608 testClass = DockerTransferTest, locations = '{classpath:/application_context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{dev}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]]; transaction manager [org.springframework.orm.jpa.JpaTransactionManager@2eeb0f9b]; rollback [true]
2016-09-18 15:03:09 main INFO TransactionalTestExecutionListener:298 - Rolled back transaction after test execution for test context [DefaultTestContext@75181b50 testClass = DockerTransferTest, testInstance = cn.ac.iscas.cloudeploy.v2.packet.type.docker.DockerTransferTest@41184371, testMethod = testGetTypeImplementions@DockerTransferTest, testException = [null], mergedContextConfiguration = [MergedContextConfiguration@5f254608 testClass = DockerTransferTest, locations = '{classpath:/application_context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{dev}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]]
2016-09-18 15:03:09 Thread-2 INFO GenericApplicationContext:873 - Closing org.springframework.context.support.GenericApplicationContext@71bbf57e: startup date [Sun Sep 18 15:03:02 CST 2016]; root of context hierarchy
2016-09-18 15:03:09 Thread-2 INFO LocalContainerEntityManagerFactoryBean:462 - Closing JPA EntityManagerFactory for persistence unit 'default'
2016-09-18 15:26:47 main INFO XmlBeanDefinitionReader:316 - Loading XML bean definitions from class path resource [application_context.xml]
2016-09-18 15:26:48 main INFO GenericApplicationContext:513 - Refreshing org.springframework.context.support.GenericApplicationContext@71bbf57e: startup date [Sun Sep 18 15:26:48 CST 2016]; root of context hierarchy
2016-09-18 15:26:48 main INFO PropertySourcesPlaceholderConfigurer:172 - Loading properties file from URL [file:/F:/Cloudeploy/packet-service/target/test-classes/application.properties]
2016-09-18 15:26:48 main INFO AutowiredAnnotationBeanPostProcessor:141 - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2016-09-18 15:26:48 main INFO LocalContainerEntityManagerFactoryBean:332 - Building JPA container EntityManagerFactory for persistence unit 'default'
2016-09-18 15:26:48 main INFO LogHelper:46 - HHH000204: Processing PersistenceUnitInfo [
name: default
...]
2016-09-18 15:26:48 main INFO Version:54 - HHH000412: Hibernate Core {4.3.6.Final}
2016-09-18 15:26:48 main INFO Environment:239 - HHH000206: hibernate.properties not found
2016-09-18 15:26:48 main INFO Environment:346 - HHH000021: Bytecode provider name : javassist
2016-09-18 15:26:49 main INFO Version:66 - HCANN000001: Hibernate Commons Annotations {4.0.5.Final}
2016-09-18 15:26:49 main INFO Dialect:145 - HHH000400: Using dialect: org.hibernate.dialect.MySQL5InnoDBDialect
2016-09-18 15:26:49 main INFO ASTQueryTranslatorFactory:47 - HHH000397: Using ASTQueryTranslatorFactory
2016-09-18 15:26:49 main INFO SchemaUpdate:182 - HHH000228: Running hbm2ddl schema update
2016-09-18 15:26:49 main INFO SchemaUpdate:193 - HHH000102: Fetching database metadata
2016-09-18 15:26:49 main INFO SchemaUpdate:205 - HHH000396: Updating schema
2016-09-18 15:26:49 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_action
2016-09-18 15:26:49 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, component_id, show_in_resource_view, create_time, name, define_file_key, id, display_name]
2016-09-18 15:26:49 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_a99udcuan9eruccys7d25rnhc]
2016-09-18 15:26:49 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_a99udcuan9eruccys7d25rnhc, primary]
2016-09-18 15:26:49 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_action_param
2016-09-18 15:26:49 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, action_id, param_key, description, view_type, default_value, id, param_type]
2016-09-18 15:26:49 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_6kkb3r9gbedbd486rigqqt8c1]
2016-09-18 15:26:49 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_6kkb3r9gbedbd486rigqqt8c1, primary]
2016-09-18 15:26:49 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_component
2016-09-18 15:26:49 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, component_type_id, user_id, identifiers, repeatable, name, define_file_key, id, display_name]
2016-09-18 15:26:49 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_tjhc4icodgip93w688ucnvkv6]
2016-09-18 15:26:49 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_tjhc4icodgip93w688ucnvkv6, primary]
2016-09-18 15:26:49 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_component_type
2016-09-18 15:26:49 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, user_id, name, id, display_name]
2016-09-18 15:26:49 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-09-18 15:26:49 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-09-18 15:26:49 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_file_source
2016-09-18 15:26:49 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, credential, typ, id, md5]
2016-09-18 15:26:49 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-09-18 15:26:49 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-09-18 15:26:49 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_host
2016-09-18 15:26:49 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, user_id, hostip, id, host_name]
2016-09-18 15:26:49 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_lc94tvqarqloffdnt1ok5m36n]
2016-09-18 15:26:49 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_lc94tvqarqloffdnt1ok5m36n, primary]
2016-09-18 15:26:49 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_import_action
2016-09-18 15:26:49 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, action_id, imported_action_id, id]
2016-09-18 15:26:49 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_ahxgi5qs1gwdrmt5054qkr13k, fk_hbf42r1yvbcv4btlacud0e4am]
2016-09-18 15:26:49 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_ahxgi5qs1gwdrmt5054qkr13k, fk_hbf42r1yvbcv4btlacud0e4am, primary]
2016-09-18 15:26:49 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_temp_file
2016-09-18 15:26:49 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, time_to_live, access_key, link, id]
2016-09-18 15:26:49 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-09-18 15:26:49 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-09-18 15:26:49 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_type_implemention
2016-09-18 15:26:49 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, node_type, create_time, interface_filename, interface_name, startegy, id, defined_file, meta_json]
2016-09-18 15:26:49 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-09-18 15:26:49 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-09-18 15:26:49 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_user
2016-09-18 15:26:49 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, password, salt, role, create_time, name, id, email]
2016-09-18 15:26:49 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-09-18 15:26:49 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-09-18 15:26:49 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_user_token
2016-09-18 15:26:49 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, user_id, id, content]
2016-09-18 15:26:49 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_qwolew1b7wi7grpe277mh3wdy]
2016-09-18 15:26:49 main INFO TableMetadata:70 - HHH000126: Indexes: [uk_cwclph8msoe4sgov2nd5a8d6b, fk_qwolew1b7wi7grpe277mh3wdy, primary]
2016-09-18 15:26:51 main ERROR SchemaUpdate:236 - HHH000388: Unsuccessful: alter table d_import_action add constraint FK_2egc8j6tor7sl2pqv6stf5sja foreign key (id) references d_import_action (id)
2016-09-18 15:26:51 main ERROR SchemaUpdate:237 - Error on rename of './cloudeploy2/#sql-13b1_123c' to './cloudeploy2/d_import_action' (errno: 150 - Foreign key constraint is incorrectly formed)
2016-09-18 15:26:51 main INFO SchemaUpdate:242 - HHH000232: Schema update complete
2016-09-18 15:26:52 main INFO PropertiesFactoryBean:172 - Loading properties file from class path resource [application.properties]
2016-09-18 15:26:52 main INFO TransactionalTestExecutionListener:276 - Began transaction (1) for test context [DefaultTestContext@75181b50 testClass = DockerTransferTest, testInstance = cn.ac.iscas.cloudeploy.v2.packet.type.docker.DockerTransferTest@2d64160c, testMethod = testGetImageInfo@DockerTransferTest, testException = [null], mergedContextConfiguration = [MergedContextConfiguration@5f254608 testClass = DockerTransferTest, locations = '{classpath:/application_context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{dev}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]]; transaction manager [org.springframework.orm.jpa.JpaTransactionManager@2eeb0f9b]; rollback [true]
2016-09-18 15:26:52 main INFO TransactionalTestExecutionListener:298 - Rolled back transaction after test execution for test context [DefaultTestContext@75181b50 testClass = DockerTransferTest, testInstance = cn.ac.iscas.cloudeploy.v2.packet.type.docker.DockerTransferTest@2d64160c, testMethod = testGetImageInfo@DockerTransferTest, testException = [null], mergedContextConfiguration = [MergedContextConfiguration@5f254608 testClass = DockerTransferTest, locations = '{classpath:/application_context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{dev}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]]
2016-09-18 15:26:52 main INFO TransactionalTestExecutionListener:276 - Began transaction (2) for test context [DefaultTestContext@75181b50 testClass = DockerTransferTest, testInstance = cn.ac.iscas.cloudeploy.v2.packet.type.docker.DockerTransferTest@1d6d1d42, testMethod = testGetImplementions@DockerTransferTest, testException = [null], mergedContextConfiguration = [MergedContextConfiguration@5f254608 testClass = DockerTransferTest, locations = '{classpath:/application_context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{dev}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]]; transaction manager [org.springframework.orm.jpa.JpaTransactionManager@2eeb0f9b]; rollback [true]
2016-09-18 15:26:52 main INFO TransactionalTestExecutionListener:298 - Rolled back transaction after test execution for test context [DefaultTestContext@75181b50 testClass = DockerTransferTest, testInstance = cn.ac.iscas.cloudeploy.v2.packet.type.docker.DockerTransferTest@1d6d1d42, testMethod = testGetImplementions@DockerTransferTest, testException = [null], mergedContextConfiguration = [MergedContextConfiguration@5f254608 testClass = DockerTransferTest, locations = '{classpath:/application_context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{dev}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]]
2016-09-18 15:26:52 main INFO TransactionalTestExecutionListener:276 - Began transaction (3) for test context [DefaultTestContext@75181b50 testClass = DockerTransferTest, testInstance = cn.ac.iscas.cloudeploy.v2.packet.type.docker.DockerTransferTest@41184371, testMethod = testGetTypeImplementions@DockerTransferTest, testException = [null], mergedContextConfiguration = [MergedContextConfiguration@5f254608 testClass = DockerTransferTest, locations = '{classpath:/application_context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{dev}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]]; transaction manager [org.springframework.orm.jpa.JpaTransactionManager@2eeb0f9b]; rollback [true]
2016-09-18 15:26:52 main INFO TransactionalTestExecutionListener:298 - Rolled back transaction after test execution for test context [DefaultTestContext@75181b50 testClass = DockerTransferTest, testInstance = cn.ac.iscas.cloudeploy.v2.packet.type.docker.DockerTransferTest@41184371, testMethod = testGetTypeImplementions@DockerTransferTest, testException = [null], mergedContextConfiguration = [MergedContextConfiguration@5f254608 testClass = DockerTransferTest, locations = '{classpath:/application_context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{dev}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]]
2016-09-18 15:26:52 Thread-2 INFO GenericApplicationContext:873 - Closing org.springframework.context.support.GenericApplicationContext@71bbf57e: startup date [Sun Sep 18 15:26:48 CST 2016]; root of context hierarchy
2016-09-18 15:26:52 Thread-2 INFO LocalContainerEntityManagerFactoryBean:462 - Closing JPA EntityManagerFactory for persistence unit 'default'
2016-10-08 21:03:27 main INFO XmlBeanDefinitionReader:316 - Loading XML bean definitions from class path resource [application_context.xml]
2016-10-08 21:03:29 main INFO GenericApplicationContext:513 - Refreshing org.springframework.context.support.GenericApplicationContext@29ca901e: startup date [Sat Oct 08 21:03:29 CST 2016]; root of context hierarchy
2016-10-08 21:03:29 main INFO PropertySourcesPlaceholderConfigurer:172 - Loading properties file from URL [file:/F:/Cloudeploy/packet-service/target/test-classes/application.properties]
2016-10-08 21:03:29 main INFO AutowiredAnnotationBeanPostProcessor:141 - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2016-10-08 21:04:59 main INFO XmlBeanDefinitionReader:316 - Loading XML bean definitions from class path resource [application_context.xml]
2016-10-08 21:05:00 main INFO GenericApplicationContext:513 - Refreshing org.springframework.context.support.GenericApplicationContext@7f552bd3: startup date [Sat Oct 08 21:05:00 CST 2016]; root of context hierarchy
2016-10-08 21:05:00 main INFO PropertySourcesPlaceholderConfigurer:172 - Loading properties file from URL [file:/F:/Cloudeploy/packet-service/target/test-classes/application.properties]
2016-10-08 21:05:00 main INFO AutowiredAnnotationBeanPostProcessor:141 - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2016-10-08 21:05:02 main INFO LocalContainerEntityManagerFactoryBean:332 - Building JPA container EntityManagerFactory for persistence unit 'default'
2016-10-08 21:05:02 main INFO LogHelper:46 - HHH000204: Processing PersistenceUnitInfo [
name: default
...]
2016-10-08 21:05:02 main INFO Version:54 - HHH000412: Hibernate Core {4.3.6.Final}
2016-10-08 21:05:02 main INFO Environment:239 - HHH000206: hibernate.properties not found
2016-10-08 21:05:02 main INFO Environment:346 - HHH000021: Bytecode provider name : javassist
2016-10-08 21:05:03 main INFO Version:66 - HCANN000001: Hibernate Commons Annotations {4.0.5.Final}
2016-10-08 21:05:03 main INFO Dialect:145 - HHH000400: Using dialect: org.hibernate.dialect.MySQL5InnoDBDialect
2016-10-08 21:05:03 main INFO ASTQueryTranslatorFactory:47 - HHH000397: Using ASTQueryTranslatorFactory
2016-10-08 21:05:04 main INFO SchemaUpdate:182 - HHH000228: Running hbm2ddl schema update
2016-10-08 21:05:04 main INFO SchemaUpdate:193 - HHH000102: Fetching database metadata
2016-10-08 21:05:04 main INFO SchemaUpdate:205 - HHH000396: Updating schema
2016-10-08 21:05:04 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_action
2016-10-08 21:05:04 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, component_id, show_in_resource_view, create_time, name, define_file_key, id, display_name]
2016-10-08 21:05:04 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_a99udcuan9eruccys7d25rnhc]
2016-10-08 21:05:04 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_a99udcuan9eruccys7d25rnhc, primary]
2016-10-08 21:05:04 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_action_param
2016-10-08 21:05:04 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, action_id, param_key, description, view_type, default_value, id, param_type]
2016-10-08 21:05:04 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_6kkb3r9gbedbd486rigqqt8c1]
2016-10-08 21:05:04 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_6kkb3r9gbedbd486rigqqt8c1, primary]
2016-10-08 21:05:05 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_component
2016-10-08 21:05:05 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, component_type_id, user_id, identifiers, repeatable, name, define_file_key, id, display_name]
2016-10-08 21:05:05 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_tjhc4icodgip93w688ucnvkv6]
2016-10-08 21:05:05 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_tjhc4icodgip93w688ucnvkv6, primary]
2016-10-08 21:05:05 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_component_type
2016-10-08 21:05:05 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, user_id, name, id, display_name]
2016-10-08 21:05:05 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-10-08 21:05:05 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-10-08 21:05:05 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_file_source
2016-10-08 21:05:05 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, credential, typ, id, md5]
2016-10-08 21:05:05 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-10-08 21:05:05 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-10-08 21:05:06 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_host
2016-10-08 21:05:06 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, user_id, hostip, id, host_name]
2016-10-08 21:05:06 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_lc94tvqarqloffdnt1ok5m36n]
2016-10-08 21:05:06 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_lc94tvqarqloffdnt1ok5m36n, primary]
2016-10-08 21:05:06 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_import_action
2016-10-08 21:05:06 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, action_id, imported_action_id, id]
2016-10-08 21:05:06 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_ahxgi5qs1gwdrmt5054qkr13k, fk_hbf42r1yvbcv4btlacud0e4am]
2016-10-08 21:05:06 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_ahxgi5qs1gwdrmt5054qkr13k, fk_hbf42r1yvbcv4btlacud0e4am, primary]
2016-10-08 21:05:06 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_temp_file
2016-10-08 21:05:06 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, time_to_live, access_key, link, id]
2016-10-08 21:05:06 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-10-08 21:05:06 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-10-08 21:05:07 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_type_implemention
2016-10-08 21:05:07 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, node_type, create_time, interface_filename, interface_name, startegy, id, defined_file, meta_json]
2016-10-08 21:05:07 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-10-08 21:05:07 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-10-08 21:05:07 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_user
2016-10-08 21:05:07 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, password, salt, role, create_time, name, id, email]
2016-10-08 21:05:07 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-10-08 21:05:07 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-10-08 21:05:07 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_user_token
2016-10-08 21:05:07 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, user_id, id, content]
2016-10-08 21:05:07 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_qwolew1b7wi7grpe277mh3wdy]
2016-10-08 21:05:07 main INFO TableMetadata:70 - HHH000126: Indexes: [uk_cwclph8msoe4sgov2nd5a8d6b, fk_qwolew1b7wi7grpe277mh3wdy, primary]
2016-10-08 21:05:07 main ERROR SchemaUpdate:236 - HHH000388: Unsuccessful: alter table d_import_action add constraint FK_2egc8j6tor7sl2pqv6stf5sja foreign key (id) references d_import_action (id)
2016-10-08 21:05:07 main ERROR SchemaUpdate:237 - Error on rename of './cloudeploy2/#sql-725d_7' to './cloudeploy2/d_import_action' (errno: 150 - Foreign key constraint is incorrectly formed)
2016-10-08 21:05:07 main INFO SchemaUpdate:242 - HHH000232: Schema update complete
2016-10-08 21:05:08 main INFO PropertiesFactoryBean:172 - Loading properties file from class path resource [application.properties]
2016-10-08 21:05:16 Thread-2 INFO GenericApplicationContext:873 - Closing org.springframework.context.support.GenericApplicationContext@7f552bd3: startup date [Sat Oct 08 21:05:00 CST 2016]; root of context hierarchy
2016-10-08 21:05:16 Thread-2 INFO LocalContainerEntityManagerFactoryBean:462 - Closing JPA EntityManagerFactory for persistence unit 'default'
2016-10-08 21:06:50 main INFO XmlBeanDefinitionReader:316 - Loading XML bean definitions from class path resource [application_context.xml]
2016-10-08 21:06:50 main INFO GenericApplicationContext:513 - Refreshing org.springframework.context.support.GenericApplicationContext@73846619: startup date [Sat Oct 08 21:06:50 CST 2016]; root of context hierarchy
2016-10-08 21:06:50 main INFO PropertySourcesPlaceholderConfigurer:172 - Loading properties file from URL [file:/F:/Cloudeploy/packet-service/target/test-classes/application.properties]
2016-10-08 21:06:50 main INFO AutowiredAnnotationBeanPostProcessor:141 - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2016-10-08 21:06:52 main INFO LocalContainerEntityManagerFactoryBean:332 - Building JPA container EntityManagerFactory for persistence unit 'default'
2016-10-08 21:06:52 main INFO LogHelper:46 - HHH000204: Processing PersistenceUnitInfo [
name: default
...]
2016-10-08 21:06:53 main INFO Version:54 - HHH000412: Hibernate Core {4.3.6.Final}
2016-10-08 21:06:53 main INFO Environment:239 - HHH000206: hibernate.properties not found
2016-10-08 21:06:53 main INFO Environment:346 - HHH000021: Bytecode provider name : javassist
2016-10-08 21:06:53 main INFO Version:66 - HCANN000001: Hibernate Commons Annotations {4.0.5.Final}
2016-10-08 21:06:53 main INFO Dialect:145 - HHH000400: Using dialect: org.hibernate.dialect.MySQL5InnoDBDialect
2016-10-08 21:06:53 main INFO ASTQueryTranslatorFactory:47 - HHH000397: Using ASTQueryTranslatorFactory
2016-10-08 21:06:54 main INFO SchemaUpdate:182 - HHH000228: Running hbm2ddl schema update
2016-10-08 21:06:54 main INFO SchemaUpdate:193 - HHH000102: Fetching database metadata
2016-10-08 21:06:54 main INFO SchemaUpdate:205 - HHH000396: Updating schema
2016-10-08 21:06:54 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_action
2016-10-08 21:06:54 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, component_id, show_in_resource_view, create_time, name, define_file_key, id, display_name]
2016-10-08 21:06:54 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_a99udcuan9eruccys7d25rnhc]
2016-10-08 21:06:54 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_a99udcuan9eruccys7d25rnhc, primary]
2016-10-08 21:06:54 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_action_param
2016-10-08 21:06:54 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, action_id, param_key, description, view_type, default_value, id, param_type]
2016-10-08 21:06:54 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_6kkb3r9gbedbd486rigqqt8c1]
2016-10-08 21:06:54 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_6kkb3r9gbedbd486rigqqt8c1, primary]
2016-10-08 21:06:55 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_component
2016-10-08 21:06:55 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, component_type_id, user_id, identifiers, repeatable, name, define_file_key, id, display_name]
2016-10-08 21:06:55 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_tjhc4icodgip93w688ucnvkv6]
2016-10-08 21:06:55 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_tjhc4icodgip93w688ucnvkv6, primary]
2016-10-08 21:06:55 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_component_type
2016-10-08 21:06:55 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, user_id, name, id, display_name]
2016-10-08 21:06:55 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-10-08 21:06:55 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-10-08 21:06:55 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_file_source
2016-10-08 21:06:55 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, credential, typ, id, md5]
2016-10-08 21:06:55 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-10-08 21:06:55 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-10-08 21:06:56 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_host
2016-10-08 21:06:56 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, user_id, hostip, id, host_name]
2016-10-08 21:06:56 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_lc94tvqarqloffdnt1ok5m36n]
2016-10-08 21:06:56 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_lc94tvqarqloffdnt1ok5m36n, primary]
2016-10-08 21:06:56 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_import_action
2016-10-08 21:06:56 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, action_id, imported_action_id, id]
2016-10-08 21:06:56 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_ahxgi5qs1gwdrmt5054qkr13k, fk_hbf42r1yvbcv4btlacud0e4am]
2016-10-08 21:06:56 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_ahxgi5qs1gwdrmt5054qkr13k, fk_hbf42r1yvbcv4btlacud0e4am, primary]
2016-10-08 21:06:56 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_temp_file
2016-10-08 21:06:56 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, time_to_live, access_key, link, id]
2016-10-08 21:06:56 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-10-08 21:06:56 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-10-08 21:06:56 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_type_implemention
2016-10-08 21:06:56 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, node_type, create_time, interface_filename, interface_name, startegy, id, defined_file, meta_json]
2016-10-08 21:06:56 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-10-08 21:06:56 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-10-08 21:06:57 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_user
2016-10-08 21:06:57 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, password, salt, role, create_time, name, id, email]
2016-10-08 21:06:57 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-10-08 21:06:57 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-10-08 21:06:57 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_user_token
2016-10-08 21:06:57 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, user_id, id, content]
2016-10-08 21:06:57 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_qwolew1b7wi7grpe277mh3wdy]
2016-10-08 21:06:57 main INFO TableMetadata:70 - HHH000126: Indexes: [uk_cwclph8msoe4sgov2nd5a8d6b, fk_qwolew1b7wi7grpe277mh3wdy, primary]
2016-10-08 21:06:57 main ERROR SchemaUpdate:236 - HHH000388: Unsuccessful: alter table d_import_action add constraint FK_2egc8j6tor7sl2pqv6stf5sja foreign key (id) references d_import_action (id)
2016-10-08 21:06:57 main ERROR SchemaUpdate:237 - Error on rename of './cloudeploy2/#sql-725d_a' to './cloudeploy2/d_import_action' (errno: 150 - Foreign key constraint is incorrectly formed)
2016-10-08 21:06:57 main INFO SchemaUpdate:242 - HHH000232: Schema update complete
2016-10-08 21:06:58 main INFO PropertiesFactoryBean:172 - Loading properties file from class path resource [application.properties]
2016-10-08 21:07:00 Thread-2 INFO GenericApplicationContext:873 - Closing org.springframework.context.support.GenericApplicationContext@73846619: startup date [Sat Oct 08 21:06:50 CST 2016]; root of context hierarchy
2016-10-08 21:07:00 Thread-2 INFO LocalContainerEntityManagerFactoryBean:462 - Closing JPA EntityManagerFactory for persistence unit 'default'
2016-10-12 20:38:46 main INFO XmlBeanDefinitionReader:316 - Loading XML bean definitions from class path resource [application_context.xml]
2016-10-12 20:38:49 main INFO GenericApplicationContext:513 - Refreshing org.springframework.context.support.GenericApplicationContext@73846619: startup date [Wed Oct 12 20:38:49 CST 2016]; root of context hierarchy
2016-10-12 20:38:49 main INFO PropertySourcesPlaceholderConfigurer:172 - Loading properties file from URL [file:/F:/Cloudeploy/packet-service/target/test-classes/application.properties]
2016-10-12 20:38:49 main INFO AutowiredAnnotationBeanPostProcessor:141 - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2016-10-12 20:38:52 main INFO LocalContainerEntityManagerFactoryBean:332 - Building JPA container EntityManagerFactory for persistence unit 'default'
2016-10-12 20:38:52 main INFO LogHelper:46 - HHH000204: Processing PersistenceUnitInfo [
name: default
...]
2016-10-12 20:38:52 main INFO Version:54 - HHH000412: Hibernate Core {4.3.6.Final}
2016-10-12 20:38:52 main INFO Environment:239 - HHH000206: hibernate.properties not found
2016-10-12 20:38:52 main INFO Environment:346 - HHH000021: Bytecode provider name : javassist
2016-10-12 20:38:52 main INFO Version:66 - HCANN000001: Hibernate Commons Annotations {4.0.5.Final}
2016-10-12 20:38:52 main INFO Dialect:145 - HHH000400: Using dialect: org.hibernate.dialect.MySQL5InnoDBDialect
2016-10-12 20:38:53 main INFO ASTQueryTranslatorFactory:47 - HHH000397: Using ASTQueryTranslatorFactory
2016-10-12 20:38:53 main INFO SchemaUpdate:182 - HHH000228: Running hbm2ddl schema update
2016-10-12 20:38:53 main INFO SchemaUpdate:193 - HHH000102: Fetching database metadata
2016-10-12 20:38:53 main INFO SchemaUpdate:205 - HHH000396: Updating schema
2016-10-12 20:38:54 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_action
2016-10-12 20:38:54 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, component_id, show_in_resource_view, create_time, name, define_file_key, id, display_name]
2016-10-12 20:38:54 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_a99udcuan9eruccys7d25rnhc]
2016-10-12 20:38:54 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_a99udcuan9eruccys7d25rnhc, primary]
2016-10-12 20:38:54 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_action_param
2016-10-12 20:38:54 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, action_id, param_key, description, view_type, default_value, id, param_type]
2016-10-12 20:38:54 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_6kkb3r9gbedbd486rigqqt8c1]
2016-10-12 20:38:54 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_6kkb3r9gbedbd486rigqqt8c1, primary]
2016-10-12 20:38:54 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_component
2016-10-12 20:38:54 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, component_type_id, user_id, identifiers, repeatable, name, define_file_key, id, display_name]
2016-10-12 20:38:54 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_tjhc4icodgip93w688ucnvkv6]
2016-10-12 20:38:54 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_tjhc4icodgip93w688ucnvkv6, primary]
2016-10-12 20:38:55 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_component_type
2016-10-12 20:38:55 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, user_id, name, id, display_name]
2016-10-12 20:38:55 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-10-12 20:38:55 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-10-12 20:38:55 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_file_source
2016-10-12 20:38:55 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, credential, typ, id, md5]
2016-10-12 20:38:55 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-10-12 20:38:55 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-10-12 20:38:55 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_host
2016-10-12 20:38:55 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, user_id, hostip, id, host_name]
2016-10-12 20:38:55 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_lc94tvqarqloffdnt1ok5m36n]
2016-10-12 20:38:55 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_lc94tvqarqloffdnt1ok5m36n, primary]
2016-10-12 20:38:55 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_import_action
2016-10-12 20:38:55 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, action_id, imported_action_id, id]
2016-10-12 20:38:55 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_ahxgi5qs1gwdrmt5054qkr13k, fk_hbf42r1yvbcv4btlacud0e4am]
2016-10-12 20:38:55 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_ahxgi5qs1gwdrmt5054qkr13k, fk_hbf42r1yvbcv4btlacud0e4am, primary]
2016-10-12 20:38:56 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_temp_file
2016-10-12 20:38:56 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, time_to_live, access_key, link, id]
2016-10-12 20:38:56 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-10-12 20:38:56 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-10-12 20:38:56 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_type_implemention
2016-10-12 20:38:56 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, node_type, create_time, interface_filename, interface_name, startegy, id, defined_file, meta_json]
2016-10-12 20:38:56 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-10-12 20:38:56 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-10-12 20:38:56 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_user
2016-10-12 20:38:56 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, password, salt, role, create_time, name, id, email]
2016-10-12 20:38:56 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-10-12 20:38:56 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-10-12 20:38:57 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_user_token
2016-10-12 20:38:57 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, user_id, id, content]
2016-10-12 20:38:57 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_qwolew1b7wi7grpe277mh3wdy]
2016-10-12 20:38:57 main INFO TableMetadata:70 - HHH000126: Indexes: [uk_cwclph8msoe4sgov2nd5a8d6b, fk_qwolew1b7wi7grpe277mh3wdy, primary]
2016-10-12 20:38:57 main ERROR SchemaUpdate:236 - HHH000388: Unsuccessful: alter table d_import_action add constraint FK_2egc8j6tor7sl2pqv6stf5sja foreign key (id) references d_import_action (id)
2016-10-12 20:38:57 main ERROR SchemaUpdate:237 - Error on rename of './cloudeploy2/#sql-163d_10d' to './cloudeploy2/d_import_action' (errno: 150 - Foreign key constraint is incorrectly formed)
2016-10-12 20:38:57 main INFO SchemaUpdate:242 - HHH000232: Schema update complete
2016-10-12 20:38:58 main INFO PropertiesFactoryBean:172 - Loading properties file from class path resource [application.properties]
2016-10-12 20:39:01 Thread-2 INFO GenericApplicationContext:873 - Closing org.springframework.context.support.GenericApplicationContext@73846619: startup date [Wed Oct 12 20:38:49 CST 2016]; root of context hierarchy
2016-10-12 20:39:01 Thread-2 INFO LocalContainerEntityManagerFactoryBean:462 - Closing JPA EntityManagerFactory for persistence unit 'default'
2016-10-12 20:39:32 main INFO XmlBeanDefinitionReader:316 - Loading XML bean definitions from class path resource [application_context.xml]
2016-10-12 20:39:32 main INFO GenericApplicationContext:513 - Refreshing org.springframework.context.support.GenericApplicationContext@73846619: startup date [Wed Oct 12 20:39:32 CST 2016]; root of context hierarchy
2016-10-12 20:39:32 main INFO PropertySourcesPlaceholderConfigurer:172 - Loading properties file from URL [file:/F:/Cloudeploy/packet-service/target/test-classes/application.properties]
2016-10-12 20:39:32 main INFO AutowiredAnnotationBeanPostProcessor:141 - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2016-10-12 20:39:34 main INFO LocalContainerEntityManagerFactoryBean:332 - Building JPA container EntityManagerFactory for persistence unit 'default'
2016-10-12 20:39:34 main INFO LogHelper:46 - HHH000204: Processing PersistenceUnitInfo [
name: default
...]
2016-10-12 20:39:35 main INFO Version:54 - HHH000412: Hibernate Core {4.3.6.Final}
2016-10-12 20:39:35 main INFO Environment:239 - HHH000206: hibernate.properties not found
2016-10-12 20:39:35 main INFO Environment:346 - HHH000021: Bytecode provider name : javassist
2016-10-12 20:39:35 main INFO Version:66 - HCANN000001: Hibernate Commons Annotations {4.0.5.Final}
2016-10-12 20:39:35 main INFO Dialect:145 - HHH000400: Using dialect: org.hibernate.dialect.MySQL5InnoDBDialect
2016-10-12 20:39:35 main INFO ASTQueryTranslatorFactory:47 - HHH000397: Using ASTQueryTranslatorFactory
2016-10-12 20:39:36 main INFO SchemaUpdate:182 - HHH000228: Running hbm2ddl schema update
2016-10-12 20:39:36 main INFO SchemaUpdate:193 - HHH000102: Fetching database metadata
2016-10-12 20:39:36 main INFO SchemaUpdate:205 - HHH000396: Updating schema
2016-10-12 20:39:36 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_action
2016-10-12 20:39:36 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, component_id, show_in_resource_view, create_time, name, define_file_key, id, display_name]
2016-10-12 20:39:36 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_a99udcuan9eruccys7d25rnhc]
2016-10-12 20:39:36 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_a99udcuan9eruccys7d25rnhc, primary]
2016-10-12 20:39:36 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_action_param
2016-10-12 20:39:36 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, action_id, param_key, description, view_type, default_value, id, param_type]
2016-10-12 20:39:36 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_6kkb3r9gbedbd486rigqqt8c1]
2016-10-12 20:39:36 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_6kkb3r9gbedbd486rigqqt8c1, primary]
2016-10-12 20:39:37 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_component
2016-10-12 20:39:37 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, component_type_id, user_id, identifiers, repeatable, name, define_file_key, id, display_name]
2016-10-12 20:39:37 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_tjhc4icodgip93w688ucnvkv6]
2016-10-12 20:39:37 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_tjhc4icodgip93w688ucnvkv6, primary]
2016-10-12 20:39:37 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_component_type
2016-10-12 20:39:37 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, user_id, name, id, display_name]
2016-10-12 20:39:37 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-10-12 20:39:37 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-10-12 20:39:37 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_file_source
2016-10-12 20:39:37 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, credential, typ, id, md5]
2016-10-12 20:39:37 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-10-12 20:39:37 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-10-12 20:39:37 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_host
2016-10-12 20:39:37 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, user_id, hostip, id, host_name]
2016-10-12 20:39:37 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_lc94tvqarqloffdnt1ok5m36n]
2016-10-12 20:39:37 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_lc94tvqarqloffdnt1ok5m36n, primary]
2016-10-12 20:39:38 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_import_action
2016-10-12 20:39:38 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, action_id, imported_action_id, id]
2016-10-12 20:39:38 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_ahxgi5qs1gwdrmt5054qkr13k, fk_hbf42r1yvbcv4btlacud0e4am]
2016-10-12 20:39:38 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_ahxgi5qs1gwdrmt5054qkr13k, fk_hbf42r1yvbcv4btlacud0e4am, primary]
2016-10-12 20:39:38 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_temp_file
2016-10-12 20:39:38 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, time_to_live, access_key, link, id]
2016-10-12 20:39:38 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-10-12 20:39:38 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-10-12 20:39:38 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_type_implemention
2016-10-12 20:39:38 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, node_type, create_time, interface_filename, interface_name, startegy, id, defined_file, meta_json]
2016-10-12 20:39:38 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-10-12 20:39:38 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-10-12 20:39:39 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_user
2016-10-12 20:39:39 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, password, salt, role, create_time, name, id, email]
2016-10-12 20:39:39 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2016-10-12 20:39:39 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2016-10-12 20:39:39 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_user_token
2016-10-12 20:39:39 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, user_id, id, content]
2016-10-12 20:39:39 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_qwolew1b7wi7grpe277mh3wdy]
2016-10-12 20:39:39 main INFO TableMetadata:70 - HHH000126: Indexes: [uk_cwclph8msoe4sgov2nd5a8d6b, fk_qwolew1b7wi7grpe277mh3wdy, primary]
2016-10-12 20:39:39 main ERROR SchemaUpdate:236 - HHH000388: Unsuccessful: alter table d_import_action add constraint FK_2egc8j6tor7sl2pqv6stf5sja foreign key (id) references d_import_action (id)
2016-10-12 20:39:39 main ERROR SchemaUpdate:237 - Error on rename of './cloudeploy2/#sql-163d_110' to './cloudeploy2/d_import_action' (errno: 150 - Foreign key constraint is incorrectly formed)
2016-10-12 20:39:39 main INFO SchemaUpdate:242 - HHH000232: Schema update complete
2016-10-12 20:39:40 main INFO PropertiesFactoryBean:172 - Loading properties file from class path resource [application.properties]
2016-10-12 20:39:41 Thread-2 INFO GenericApplicationContext:873 - Closing org.springframework.context.support.GenericApplicationContext@73846619: startup date [Wed Oct 12 20:39:32 CST 2016]; root of context hierarchy
2016-10-12 20:39:41 Thread-2 INFO LocalContainerEntityManagerFactoryBean:462 - Closing JPA EntityManagerFactory for persistence unit 'default'
2017-02-13 21:44:44 main INFO XmlBeanDefinitionReader:316 - Loading XML bean definitions from class path resource [application_context.xml]
2017-02-13 21:44:46 main INFO GenericApplicationContext:513 - Refreshing org.springframework.context.support.GenericApplicationContext@29ca901e: startup date [Mon Feb 13 21:44:46 CST 2017]; root of context hierarchy
2017-02-13 21:44:46 main INFO PropertySourcesPlaceholderConfigurer:172 - Loading properties file from URL [file:/F:/Cloudeploy/packet-service/target/test-classes/application.properties]
2017-02-13 21:44:46 main INFO AutowiredAnnotationBeanPostProcessor:141 - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2017-02-13 21:45:54 main ERROR TestContextManager:334 - Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@76b1e9b8] to prepare test instance [cn.ac.iscas.cloudeploy.v2.packet.type.docker.TypeImpleInstaller@27406a17]
java.lang.IllegalStateException: Failed to load ApplicationContext
at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:99)
at org.springframework.test.context.DefaultTestContext.getApplicationContext(DefaultTestContext.java:101)
at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:109)
at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75)
at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:331)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:213)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:290)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:292)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:233)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:87)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
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.runners.ParentRunner.run(ParentRunner.java:363)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:176)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [application_context.xml]: Cannot resolve reference to bean 'hibernateJpaVendorAdapter' while setting bean property 'jpaVendorAdapter'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateJpaVendorAdapter' defined in class path resource [application_context.xml]: Cannot create inner bean 'org.springside.modules.persistence.Hibernates#5276e6b0' of type [org.springside.modules.persistence.Hibernates] while setting bean property 'databasePlatform'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springside.modules.persistence.Hibernates#5276e6b0' defined in class path resource [application_context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public static java.lang.String org.springside.modules.persistence.Hibernates.getDialect(javax.sql.DataSource)] threw exception; nested exception is java.lang.RuntimeException: Could not get database url
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:336)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1456)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1197)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:973)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:750)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482)
at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:125)
at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60)
at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:100)
at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:250)
at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContextInternal(CacheAwareContextLoaderDelegate.java:64)
at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:91)
... 25 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateJpaVendorAdapter' defined in class path resource [application_context.xml]: Cannot create inner bean 'org.springside.modules.persistence.Hibernates#5276e6b0' of type [org.springside.modules.persistence.Hibernates] while setting bean property 'databasePlatform'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springside.modules.persistence.Hibernates#5276e6b0' defined in class path resource [application_context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public static java.lang.String org.springside.modules.persistence.Hibernates.getDialect(javax.sql.DataSource)] threw exception; nested exception is java.lang.RuntimeException: Could not get database url
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:290)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:122)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1456)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1197)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
... 43 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springside.modules.persistence.Hibernates#5276e6b0' defined in class path resource [application_context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public static java.lang.String org.springside.modules.persistence.Hibernates.getDialect(javax.sql.DataSource)] threw exception; nested exception is java.lang.RuntimeException: Could not get database url
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:597)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1094)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:989)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:276)
... 53 more
Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public static java.lang.String org.springside.modules.persistence.Hibernates.getDialect(javax.sql.DataSource)] threw exception; nested exception is java.lang.RuntimeException: Could not get database url
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:188)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:586)
... 58 more
Caused by: java.lang.RuntimeException: Could not get database url
at org.springside.modules.persistence.Hibernates.getDialect(Hibernates.java:42)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:166)
... 59 more
Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Could not create connection to database server. Attempted reconnect 3 times. Giving up.)
at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1549)
at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388)
at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)
at org.springside.modules.persistence.Hibernates.getDialect(Hibernates.java:36)
... 64 more
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.Util.getInstance(Util.java:386)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1014)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:988)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:974)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:919)
at com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:2299)
at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2220)
at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:813)
at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:399)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:334)
at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38)
at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582)
at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556)
at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1545)
... 67 more
Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1117)
at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:350)
at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2393)
at com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:2238)
... 81 more
Caused by: java.net.ConnectException: Connection timed out: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:257)
at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:300)
... 83 more
2017-02-13 21:47:58 main INFO XmlBeanDefinitionReader:316 - Loading XML bean definitions from class path resource [application_context.xml]
2017-02-13 21:47:58 main INFO GenericApplicationContext:513 - Refreshing org.springframework.context.support.GenericApplicationContext@29ca901e: startup date [Mon Feb 13 21:47:58 CST 2017]; root of context hierarchy
2017-02-13 21:47:58 main INFO PropertySourcesPlaceholderConfigurer:172 - Loading properties file from URL [file:/F:/Cloudeploy/packet-service/target/test-classes/application.properties]
2017-02-13 21:47:58 main INFO AutowiredAnnotationBeanPostProcessor:141 - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2017-02-13 21:49:06 main ERROR TestContextManager:334 - Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@76b1e9b8] to prepare test instance [cn.ac.iscas.cloudeploy.v2.packet.type.docker.TypeImpleInstaller@27406a17]
java.lang.IllegalStateException: Failed to load ApplicationContext
at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:99)
at org.springframework.test.context.DefaultTestContext.getApplicationContext(DefaultTestContext.java:101)
at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:109)
at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75)
at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:331)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:213)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:290)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:292)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:233)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:87)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
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.runners.ParentRunner.run(ParentRunner.java:363)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:176)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [application_context.xml]: Cannot resolve reference to bean 'hibernateJpaVendorAdapter' while setting bean property 'jpaVendorAdapter'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateJpaVendorAdapter' defined in class path resource [application_context.xml]: Cannot create inner bean 'org.springside.modules.persistence.Hibernates#5276e6b0' of type [org.springside.modules.persistence.Hibernates] while setting bean property 'databasePlatform'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springside.modules.persistence.Hibernates#5276e6b0' defined in class path resource [application_context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public static java.lang.String org.springside.modules.persistence.Hibernates.getDialect(javax.sql.DataSource)] threw exception; nested exception is java.lang.RuntimeException: Could not get database url
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:336)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1456)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1197)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:973)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:750)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482)
at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:125)
at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60)
at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:100)
at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:250)
at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContextInternal(CacheAwareContextLoaderDelegate.java:64)
at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:91)
... 25 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateJpaVendorAdapter' defined in class path resource [application_context.xml]: Cannot create inner bean 'org.springside.modules.persistence.Hibernates#5276e6b0' of type [org.springside.modules.persistence.Hibernates] while setting bean property 'databasePlatform'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springside.modules.persistence.Hibernates#5276e6b0' defined in class path resource [application_context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public static java.lang.String org.springside.modules.persistence.Hibernates.getDialect(javax.sql.DataSource)] threw exception; nested exception is java.lang.RuntimeException: Could not get database url
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:290)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:122)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1456)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1197)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
... 43 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springside.modules.persistence.Hibernates#5276e6b0' defined in class path resource [application_context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public static java.lang.String org.springside.modules.persistence.Hibernates.getDialect(javax.sql.DataSource)] threw exception; nested exception is java.lang.RuntimeException: Could not get database url
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:597)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1094)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:989)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:276)
... 53 more
Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public static java.lang.String org.springside.modules.persistence.Hibernates.getDialect(javax.sql.DataSource)] threw exception; nested exception is java.lang.RuntimeException: Could not get database url
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:188)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:586)
... 58 more
Caused by: java.lang.RuntimeException: Could not get database url
at org.springside.modules.persistence.Hibernates.getDialect(Hibernates.java:42)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:166)
... 59 more
Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Could not create connection to database server. Attempted reconnect 3 times. Giving up.)
at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1549)
at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388)
at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)
at org.springside.modules.persistence.Hibernates.getDialect(Hibernates.java:36)
... 64 more
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.Util.getInstance(Util.java:386)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1014)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:988)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:974)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:919)
at com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:2299)
at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2220)
at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:813)
at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:399)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:334)
at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38)
at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582)
at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556)
at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1545)
... 67 more
Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1117)
at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:350)
at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2393)
at com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:2238)
... 81 more
Caused by: java.net.ConnectException: Connection timed out: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:257)
at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:300)
... 83 more
2017-02-13 21:51:35 main INFO XmlBeanDefinitionReader:316 - Loading XML bean definitions from class path resource [application_context.xml]
2017-02-13 21:51:35 main INFO GenericApplicationContext:513 - Refreshing org.springframework.context.support.GenericApplicationContext@29ca901e: startup date [Mon Feb 13 21:51:35 CST 2017]; root of context hierarchy
2017-02-13 21:51:35 main INFO PropertySourcesPlaceholderConfigurer:172 - Loading properties file from URL [file:/F:/Cloudeploy/packet-service/target/test-classes/application.properties]
2017-02-13 21:51:35 main INFO AutowiredAnnotationBeanPostProcessor:141 - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2017-02-13 21:52:43 main ERROR TestContextManager:334 - Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@76b1e9b8] to prepare test instance [cn.ac.iscas.cloudeploy.v2.packet.type.docker.TypeImpleInstaller@27406a17]
java.lang.IllegalStateException: Failed to load ApplicationContext
at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:99)
at org.springframework.test.context.DefaultTestContext.getApplicationContext(DefaultTestContext.java:101)
at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:109)
at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75)
at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:331)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:213)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:290)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:292)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:233)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:87)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
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.runners.ParentRunner.run(ParentRunner.java:363)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:176)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [application_context.xml]: Cannot resolve reference to bean 'hibernateJpaVendorAdapter' while setting bean property 'jpaVendorAdapter'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateJpaVendorAdapter' defined in class path resource [application_context.xml]: Cannot create inner bean 'org.springside.modules.persistence.Hibernates#5276e6b0' of type [org.springside.modules.persistence.Hibernates] while setting bean property 'databasePlatform'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springside.modules.persistence.Hibernates#5276e6b0' defined in class path resource [application_context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public static java.lang.String org.springside.modules.persistence.Hibernates.getDialect(javax.sql.DataSource)] threw exception; nested exception is java.lang.RuntimeException: Could not get database url
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:336)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1456)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1197)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:973)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:750)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482)
at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:125)
at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60)
at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:100)
at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:250)
at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContextInternal(CacheAwareContextLoaderDelegate.java:64)
at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:91)
... 25 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateJpaVendorAdapter' defined in class path resource [application_context.xml]: Cannot create inner bean 'org.springside.modules.persistence.Hibernates#5276e6b0' of type [org.springside.modules.persistence.Hibernates] while setting bean property 'databasePlatform'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springside.modules.persistence.Hibernates#5276e6b0' defined in class path resource [application_context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public static java.lang.String org.springside.modules.persistence.Hibernates.getDialect(javax.sql.DataSource)] threw exception; nested exception is java.lang.RuntimeException: Could not get database url
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:290)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:122)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1456)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1197)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
... 43 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springside.modules.persistence.Hibernates#5276e6b0' defined in class path resource [application_context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public static java.lang.String org.springside.modules.persistence.Hibernates.getDialect(javax.sql.DataSource)] threw exception; nested exception is java.lang.RuntimeException: Could not get database url
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:597)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1094)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:989)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:276)
... 53 more
Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public static java.lang.String org.springside.modules.persistence.Hibernates.getDialect(javax.sql.DataSource)] threw exception; nested exception is java.lang.RuntimeException: Could not get database url
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:188)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:586)
... 58 more
Caused by: java.lang.RuntimeException: Could not get database url
at org.springside.modules.persistence.Hibernates.getDialect(Hibernates.java:42)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:166)
... 59 more
Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Could not create connection to database server. Attempted reconnect 3 times. Giving up.)
at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1549)
at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388)
at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)
at org.springside.modules.persistence.Hibernates.getDialect(Hibernates.java:36)
... 64 more
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.Util.getInstance(Util.java:386)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1014)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:988)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:974)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:919)
at com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:2299)
at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2220)
at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:813)
at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:399)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:334)
at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38)
at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582)
at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556)
at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1545)
... 67 more
Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1117)
at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:350)
at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2393)
at com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:2238)
... 81 more
Caused by: java.net.ConnectException: Connection timed out: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:257)
at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:300)
... 83 more
2017-02-13 21:54:38 main INFO XmlBeanDefinitionReader:316 - Loading XML bean definitions from class path resource [application_context.xml]
2017-02-13 21:54:38 main INFO GenericApplicationContext:513 - Refreshing org.springframework.context.support.GenericApplicationContext@29ca901e: startup date [Mon Feb 13 21:54:38 CST 2017]; root of context hierarchy
2017-02-13 21:54:39 main INFO PropertySourcesPlaceholderConfigurer:172 - Loading properties file from URL [file:/F:/Cloudeploy/packet-service/target/test-classes/application.properties]
2017-02-13 21:54:39 main INFO AutowiredAnnotationBeanPostProcessor:141 - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2017-02-13 21:54:39 main INFO LocalContainerEntityManagerFactoryBean:332 - Building JPA container EntityManagerFactory for persistence unit 'default'
2017-02-13 21:54:39 main INFO LogHelper:46 - HHH000204: Processing PersistenceUnitInfo [
name: default
...]
2017-02-13 21:54:39 main INFO Version:54 - HHH000412: Hibernate Core {4.3.6.Final}
2017-02-13 21:54:39 main INFO Environment:239 - HHH000206: hibernate.properties not found
2017-02-13 21:54:39 main INFO Environment:346 - HHH000021: Bytecode provider name : javassist
2017-02-13 21:54:39 main INFO Version:66 - HCANN000001: Hibernate Commons Annotations {4.0.5.Final}
2017-02-13 21:54:39 main INFO Dialect:145 - HHH000400: Using dialect: org.hibernate.dialect.MySQL5InnoDBDialect
2017-02-13 21:54:40 main INFO ASTQueryTranslatorFactory:47 - HHH000397: Using ASTQueryTranslatorFactory
2017-02-13 21:54:40 main INFO SchemaUpdate:182 - HHH000228: Running hbm2ddl schema update
2017-02-13 21:54:40 main INFO SchemaUpdate:193 - HHH000102: Fetching database metadata
2017-02-13 21:54:40 main INFO SchemaUpdate:205 - HHH000396: Updating schema
2017-02-13 21:54:40 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_action
2017-02-13 21:54:40 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, component_id, show_in_resource_view, create_time, name, define_file_key, id, display_name]
2017-02-13 21:54:40 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_a99udcuan9eruccys7d25rnhc]
2017-02-13 21:54:40 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_a99udcuan9eruccys7d25rnhc, primary]
2017-02-13 21:54:40 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_action_param
2017-02-13 21:54:40 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, action_id, param_key, description, view_type, default_value, id, param_type]
2017-02-13 21:54:40 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_6kkb3r9gbedbd486rigqqt8c1]
2017-02-13 21:54:40 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_6kkb3r9gbedbd486rigqqt8c1, primary]
2017-02-13 21:54:40 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_component
2017-02-13 21:54:40 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, component_type_id, user_id, identifiers, repeatable, name, define_file_key, id, display_name]
2017-02-13 21:54:40 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_tjhc4icodgip93w688ucnvkv6]
2017-02-13 21:54:40 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_tjhc4icodgip93w688ucnvkv6, primary]
2017-02-13 21:54:40 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_component_type
2017-02-13 21:54:40 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, user_id, name, id, display_name]
2017-02-13 21:54:40 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2017-02-13 21:54:40 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2017-02-13 21:54:40 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_file_source
2017-02-13 21:54:40 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, credential, typ, id, md5]
2017-02-13 21:54:40 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2017-02-13 21:54:40 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2017-02-13 21:54:40 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_host
2017-02-13 21:54:40 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, user_id, hostip, id, host_name]
2017-02-13 21:54:40 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_lc94tvqarqloffdnt1ok5m36n]
2017-02-13 21:54:40 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_lc94tvqarqloffdnt1ok5m36n, primary]
2017-02-13 21:54:40 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_import_action
2017-02-13 21:54:40 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, action_id, imported_action_id, id]
2017-02-13 21:54:40 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_ahxgi5qs1gwdrmt5054qkr13k, fk_hbf42r1yvbcv4btlacud0e4am]
2017-02-13 21:54:40 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_ahxgi5qs1gwdrmt5054qkr13k, fk_hbf42r1yvbcv4btlacud0e4am, primary]
2017-02-13 21:54:40 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_temp_file
2017-02-13 21:54:40 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, time_to_live, access_key, link, id]
2017-02-13 21:54:40 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2017-02-13 21:54:40 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2017-02-13 21:54:40 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_type_implemention
2017-02-13 21:54:40 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, node_type, create_time, interface_filename, interface_name, startegy, id, defined_file, meta_json]
2017-02-13 21:54:40 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2017-02-13 21:54:40 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2017-02-13 21:54:40 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_user
2017-02-13 21:54:40 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, password, salt, role, create_time, name, id, email]
2017-02-13 21:54:40 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2017-02-13 21:54:40 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2017-02-13 21:54:40 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_user_token
2017-02-13 21:54:40 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, user_id, id, content]
2017-02-13 21:54:40 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_qwolew1b7wi7grpe277mh3wdy]
2017-02-13 21:54:40 main INFO TableMetadata:70 - HHH000126: Indexes: [uk_cwclph8msoe4sgov2nd5a8d6b, fk_qwolew1b7wi7grpe277mh3wdy, primary]
2017-02-13 21:54:40 main ERROR SchemaUpdate:236 - HHH000388: Unsuccessful: alter table d_import_action add constraint FK_2egc8j6tor7sl2pqv6stf5sja foreign key (id) references d_import_action (id)
2017-02-13 21:54:40 main ERROR SchemaUpdate:237 - Error on rename of './cloudeploy2/#sql-1c1_3' to './cloudeploy2/d_import_action' (errno: 150 - Foreign key constraint is incorrectly formed)
2017-02-13 21:54:40 main INFO SchemaUpdate:242 - HHH000232: Schema update complete
2017-02-13 21:54:41 main INFO PropertiesFactoryBean:172 - Loading properties file from class path resource [application.properties]
2017-02-13 21:54:43 Thread-2 INFO GenericApplicationContext:873 - Closing org.springframework.context.support.GenericApplicationContext@29ca901e: startup date [Mon Feb 13 21:54:38 CST 2017]; root of context hierarchy
2017-02-13 21:54:43 Thread-2 INFO LocalContainerEntityManagerFactoryBean:462 - Closing JPA EntityManagerFactory for persistence unit 'default'
2017-02-14 11:36:15 main INFO XmlBeanDefinitionReader:316 - Loading XML bean definitions from class path resource [application_context.xml]
2017-02-14 11:36:15 main INFO GenericApplicationContext:513 - Refreshing org.springframework.context.support.GenericApplicationContext@4386f16: startup date [Tue Feb 14 11:36:15 CST 2017]; root of context hierarchy
2017-02-14 11:36:15 main INFO PropertySourcesPlaceholderConfigurer:172 - Loading properties file from URL [file:/F:/Cloudeploy/packet-service/target/test-classes/application.properties]
2017-02-14 11:36:15 main INFO AutowiredAnnotationBeanPostProcessor:141 - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2017-02-14 11:36:16 main INFO LocalContainerEntityManagerFactoryBean:332 - Building JPA container EntityManagerFactory for persistence unit 'default'
2017-02-14 11:36:16 main INFO LogHelper:46 - HHH000204: Processing PersistenceUnitInfo [
name: default
...]
2017-02-14 11:36:16 main INFO Version:54 - HHH000412: Hibernate Core {4.3.6.Final}
2017-02-14 11:36:16 main INFO Environment:239 - HHH000206: hibernate.properties not found
2017-02-14 11:36:16 main INFO Environment:346 - HHH000021: Bytecode provider name : javassist
2017-02-14 11:36:17 main INFO Version:66 - HCANN000001: Hibernate Commons Annotations {4.0.5.Final}
2017-02-14 11:36:17 main INFO Dialect:145 - HHH000400: Using dialect: org.hibernate.dialect.MySQL5InnoDBDialect
2017-02-14 11:36:17 main INFO ASTQueryTranslatorFactory:47 - HHH000397: Using ASTQueryTranslatorFactory
2017-02-14 11:36:17 main INFO SchemaUpdate:182 - HHH000228: Running hbm2ddl schema update
2017-02-14 11:36:17 main INFO SchemaUpdate:193 - HHH000102: Fetching database metadata
2017-02-14 11:36:17 main INFO SchemaUpdate:205 - HHH000396: Updating schema
2017-02-14 11:36:17 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_action
2017-02-14 11:36:17 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, component_id, show_in_resource_view, create_time, name, define_file_key, id, display_name]
2017-02-14 11:36:17 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_a99udcuan9eruccys7d25rnhc]
2017-02-14 11:36:17 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_a99udcuan9eruccys7d25rnhc, primary]
2017-02-14 11:36:17 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_action_param
2017-02-14 11:36:17 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, action_id, param_key, description, view_type, default_value, id, param_type]
2017-02-14 11:36:17 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_6kkb3r9gbedbd486rigqqt8c1]
2017-02-14 11:36:17 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_6kkb3r9gbedbd486rigqqt8c1, primary]
2017-02-14 11:36:17 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_component
2017-02-14 11:36:17 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, component_type_id, user_id, identifiers, repeatable, name, define_file_key, id, display_name]
2017-02-14 11:36:17 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_tjhc4icodgip93w688ucnvkv6]
2017-02-14 11:36:17 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_tjhc4icodgip93w688ucnvkv6, primary]
2017-02-14 11:36:17 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_component_type
2017-02-14 11:36:17 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, user_id, name, id, display_name]
2017-02-14 11:36:17 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2017-02-14 11:36:17 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2017-02-14 11:36:17 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_file_source
2017-02-14 11:36:17 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, credential, typ, id, md5]
2017-02-14 11:36:17 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2017-02-14 11:36:17 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2017-02-14 11:36:17 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_host
2017-02-14 11:36:17 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, user_id, hostip, id, host_name]
2017-02-14 11:36:17 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_lc94tvqarqloffdnt1ok5m36n]
2017-02-14 11:36:17 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_lc94tvqarqloffdnt1ok5m36n, primary]
2017-02-14 11:36:18 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_import_action
2017-02-14 11:36:18 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, action_id, imported_action_id, id]
2017-02-14 11:36:18 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_ahxgi5qs1gwdrmt5054qkr13k, fk_hbf42r1yvbcv4btlacud0e4am]
2017-02-14 11:36:18 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_ahxgi5qs1gwdrmt5054qkr13k, fk_hbf42r1yvbcv4btlacud0e4am, primary]
2017-02-14 11:36:18 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_temp_file
2017-02-14 11:36:18 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, time_to_live, access_key, link, id]
2017-02-14 11:36:18 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2017-02-14 11:36:18 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2017-02-14 11:36:18 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_type_implemention
2017-02-14 11:36:18 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, node_type, create_time, interface_filename, interface_name, startegy, id, defined_file, meta_json]
2017-02-14 11:36:18 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2017-02-14 11:36:18 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2017-02-14 11:36:18 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_user
2017-02-14 11:36:18 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, password, salt, role, create_time, name, id, email]
2017-02-14 11:36:18 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2017-02-14 11:36:18 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2017-02-14 11:36:18 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_user_token
2017-02-14 11:36:18 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, user_id, id, content]
2017-02-14 11:36:18 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_qwolew1b7wi7grpe277mh3wdy]
2017-02-14 11:36:18 main INFO TableMetadata:70 - HHH000126: Indexes: [uk_cwclph8msoe4sgov2nd5a8d6b, fk_qwolew1b7wi7grpe277mh3wdy, primary]
2017-02-14 11:36:18 main ERROR SchemaUpdate:236 - HHH000388: Unsuccessful: alter table d_import_action add constraint FK_2egc8j6tor7sl2pqv6stf5sja foreign key (id) references d_import_action (id)
2017-02-14 11:36:18 main ERROR SchemaUpdate:237 - Error on rename of './cloudeploy2/#sql-1c1_3b' to './cloudeploy2/d_import_action' (errno: 150 - Foreign key constraint is incorrectly formed)
2017-02-14 11:36:18 main INFO SchemaUpdate:242 - HHH000232: Schema update complete
2017-02-14 11:36:19 main INFO PropertiesFactoryBean:172 - Loading properties file from class path resource [application.properties]
2017-02-14 11:36:21 Thread-2 INFO GenericApplicationContext:873 - Closing org.springframework.context.support.GenericApplicationContext@4386f16: startup date [Tue Feb 14 11:36:15 CST 2017]; root of context hierarchy
2017-02-14 11:36:21 Thread-2 INFO LocalContainerEntityManagerFactoryBean:462 - Closing JPA EntityManagerFactory for persistence unit 'default'
2017-03-02 16:14:35 main INFO XmlBeanDefinitionReader:316 - Loading XML bean definitions from class path resource [application_context.xml]
2017-03-02 16:14:39 main INFO GenericApplicationContext:513 - Refreshing org.springframework.context.support.GenericApplicationContext@3159c4b8: startup date [Thu Mar 02 16:14:39 CST 2017]; root of context hierarchy
2017-03-02 16:14:39 main INFO PropertySourcesPlaceholderConfigurer:172 - Loading properties file from URL [file:/F:/Cloudeploy/packet-service/target/test-classes/application.properties]
2017-03-02 16:14:39 main INFO AutowiredAnnotationBeanPostProcessor:141 - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2017-03-02 16:14:40 main INFO LocalContainerEntityManagerFactoryBean:332 - Building JPA container EntityManagerFactory for persistence unit 'default'
2017-03-02 16:14:40 main INFO LogHelper:46 - HHH000204: Processing PersistenceUnitInfo [
name: default
...]
2017-03-02 16:14:41 main INFO Version:54 - HHH000412: Hibernate Core {4.3.6.Final}
2017-03-02 16:14:41 main INFO Environment:239 - HHH000206: hibernate.properties not found
2017-03-02 16:14:41 main INFO Environment:346 - HHH000021: Bytecode provider name : javassist
2017-03-02 16:14:43 main INFO Version:66 - HCANN000001: Hibernate Commons Annotations {4.0.5.Final}
2017-03-02 16:14:43 main INFO Dialect:145 - HHH000400: Using dialect: org.hibernate.dialect.MySQL5InnoDBDialect
2017-03-02 16:14:43 main INFO ASTQueryTranslatorFactory:47 - HHH000397: Using ASTQueryTranslatorFactory
2017-03-02 16:14:45 main INFO SchemaUpdate:182 - HHH000228: Running hbm2ddl schema update
2017-03-02 16:14:45 main INFO SchemaUpdate:193 - HHH000102: Fetching database metadata
2017-03-02 16:14:45 main INFO SchemaUpdate:205 - HHH000396: Updating schema
2017-03-02 16:14:45 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_action
2017-03-02 16:14:45 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, component_id, show_in_resource_view, create_time, name, define_file_key, id, display_name]
2017-03-02 16:14:45 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_a99udcuan9eruccys7d25rnhc]
2017-03-02 16:14:45 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_a99udcuan9eruccys7d25rnhc, primary]
2017-03-02 16:14:45 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_action_param
2017-03-02 16:14:45 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, action_id, param_key, description, view_type, default_value, id, param_type]
2017-03-02 16:14:45 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_6kkb3r9gbedbd486rigqqt8c1]
2017-03-02 16:14:45 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_6kkb3r9gbedbd486rigqqt8c1, primary]
2017-03-02 16:14:45 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_component
2017-03-02 16:14:45 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, component_type_id, user_id, identifiers, repeatable, name, define_file_key, id, display_name]
2017-03-02 16:14:45 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_tjhc4icodgip93w688ucnvkv6]
2017-03-02 16:14:45 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_tjhc4icodgip93w688ucnvkv6, primary]
2017-03-02 16:14:45 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_component_type
2017-03-02 16:14:45 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, user_id, name, id, display_name]
2017-03-02 16:14:45 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2017-03-02 16:14:45 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2017-03-02 16:14:45 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_file_source
2017-03-02 16:14:45 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, credential, typ, id, md5]
2017-03-02 16:14:45 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2017-03-02 16:14:45 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2017-03-02 16:14:45 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_host
2017-03-02 16:14:45 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, user_id, hostip, id, host_name]
2017-03-02 16:14:45 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_lc94tvqarqloffdnt1ok5m36n]
2017-03-02 16:14:45 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_lc94tvqarqloffdnt1ok5m36n, primary]
2017-03-02 16:14:45 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_import_action
2017-03-02 16:14:45 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, action_id, imported_action_id, id]
2017-03-02 16:14:45 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_ahxgi5qs1gwdrmt5054qkr13k, fk_hbf42r1yvbcv4btlacud0e4am]
2017-03-02 16:14:45 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_ahxgi5qs1gwdrmt5054qkr13k, fk_hbf42r1yvbcv4btlacud0e4am, primary]
2017-03-02 16:14:45 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_temp_file
2017-03-02 16:14:45 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, time_to_live, access_key, link, id]
2017-03-02 16:14:45 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2017-03-02 16:14:45 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2017-03-02 16:14:45 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_type_implemention
2017-03-02 16:14:45 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, node_type, create_time, interface_filename, interface_name, startegy, id, defined_file, meta_json]
2017-03-02 16:14:45 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2017-03-02 16:14:45 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2017-03-02 16:14:45 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_user
2017-03-02 16:14:45 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, password, salt, role, create_time, name, id, email]
2017-03-02 16:14:45 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2017-03-02 16:14:45 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2017-03-02 16:14:45 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_user_token
2017-03-02 16:14:45 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, user_id, id, content]
2017-03-02 16:14:45 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_qwolew1b7wi7grpe277mh3wdy]
2017-03-02 16:14:45 main INFO TableMetadata:70 - HHH000126: Indexes: [uk_cwclph8msoe4sgov2nd5a8d6b, fk_qwolew1b7wi7grpe277mh3wdy, primary]
2017-03-02 16:14:46 main ERROR SchemaUpdate:236 - HHH000388: Unsuccessful: alter table d_import_action add constraint FK_2egc8j6tor7sl2pqv6stf5sja foreign key (id) references d_import_action (id)
2017-03-02 16:14:46 main ERROR SchemaUpdate:237 - Error on rename of './cloudeploy2/#sql-92d_14' to './cloudeploy2/d_import_action' (errno: 150 - Foreign key constraint is incorrectly formed)
2017-03-02 16:14:46 main INFO SchemaUpdate:242 - HHH000232: Schema update complete
2017-03-02 16:14:47 main INFO LocalContainerEntityManagerFactoryBean:462 - Closing JPA EntityManagerFactory for persistence unit 'default'
2017-03-02 16:14:47 main ERROR TestContextManager:334 - Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@4f824872] to prepare test instance [cn.ac.iscas.cloudeploy.v2.packet.type.docker.TypeImpleInstaller@b016b4e]
java.lang.IllegalStateException: Failed to load ApplicationContext
at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:99)
at org.springframework.test.context.DefaultTestContext.getApplicationContext(DefaultTestContext.java:101)
at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:109)
at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75)
at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:331)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:213)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:290)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:292)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:233)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:87)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
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.runners.ParentRunner.run(ParentRunner.java:363)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:176)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultPacketService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private cn.ac.iscas.cloudeploy.v2.packet.builder.docker.DockerPacketBuilder cn.ac.iscas.cloudeploy.v2.model.service.packet.DefaultPacketService.dockerBuilder; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dockerPacketBuilder': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private cn.ac.iscas.cloudeploy.v2.model.service.file.FileService cn.ac.iscas.cloudeploy.v2.packet.builder.docker.DockerPacketBuilder.fileService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultFileServiceImpl': Invocation of init method failed; nested exception is com.typesafe.config.ConfigException$Missing: No configuration setting found for key 'service'
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:292)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1185)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:703)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:760)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482)
at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:125)
at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60)
at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:100)
at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:250)
at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContextInternal(CacheAwareContextLoaderDelegate.java:64)
at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:91)
... 25 more
Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private cn.ac.iscas.cloudeploy.v2.packet.builder.docker.DockerPacketBuilder cn.ac.iscas.cloudeploy.v2.model.service.packet.DefaultPacketService.dockerBuilder; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dockerPacketBuilder': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private cn.ac.iscas.cloudeploy.v2.model.service.file.FileService cn.ac.iscas.cloudeploy.v2.packet.builder.docker.DockerPacketBuilder.fileService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultFileServiceImpl': Invocation of init method failed; nested exception is com.typesafe.config.ConfigException$Missing: No configuration setting found for key 'service'
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:508)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:289)
... 41 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dockerPacketBuilder': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private cn.ac.iscas.cloudeploy.v2.model.service.file.FileService cn.ac.iscas.cloudeploy.v2.packet.builder.docker.DockerPacketBuilder.fileService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultFileServiceImpl': Invocation of init method failed; nested exception is com.typesafe.config.ConfigException$Missing: No configuration setting found for key 'service'
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:292)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1185)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1017)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:960)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:858)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:480)
... 43 more
Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private cn.ac.iscas.cloudeploy.v2.model.service.file.FileService cn.ac.iscas.cloudeploy.v2.packet.builder.docker.DockerPacketBuilder.fileService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultFileServiceImpl': Invocation of init method failed; nested exception is com.typesafe.config.ConfigException$Missing: No configuration setting found for key 'service'
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:508)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:289)
... 54 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultFileServiceImpl': Invocation of init method failed; nested exception is com.typesafe.config.ConfigException$Missing: No configuration setting found for key 'service'
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:136)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:407)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1545)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1017)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:960)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:858)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:480)
... 56 more
Caused by: com.typesafe.config.ConfigException$Missing: No configuration setting found for key 'service'
at com.typesafe.config.impl.SimpleConfig.findKey(SimpleConfig.java:124)
at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:147)
at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:159)
at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:164)
at com.typesafe.config.impl.SimpleConfig.getString(SimpleConfig.java:206)
at cn.ac.iscas.cloudeploy.v2.config.DefaultConfigServiceImpl.getConfigAsString(DefaultConfigServiceImpl.java:33)
at cn.ac.iscas.cloudeploy.v2.model.service.file.DefaultFileServiceImpl.init(DefaultFileServiceImpl.java:54)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:349)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:300)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:133)
... 68 more
2017-03-02 16:14:47 main INFO XmlBeanDefinitionReader:316 - Loading XML bean definitions from class path resource [application_context.xml]
2017-03-02 16:14:48 main INFO GenericApplicationContext:513 - Refreshing org.springframework.context.support.GenericApplicationContext@4ba380c7: startup date [Thu Mar 02 16:14:48 CST 2017]; root of context hierarchy
2017-03-02 16:14:48 main INFO PropertySourcesPlaceholderConfigurer:172 - Loading properties file from URL [file:/F:/Cloudeploy/packet-service/target/test-classes/application.properties]
2017-03-02 16:14:48 main INFO AutowiredAnnotationBeanPostProcessor:141 - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2017-03-02 16:14:48 main INFO LocalContainerEntityManagerFactoryBean:332 - Building JPA container EntityManagerFactory for persistence unit 'default'
2017-03-02 16:14:48 main INFO LogHelper:46 - HHH000204: Processing PersistenceUnitInfo [
name: default
...]
2017-03-02 16:14:48 main INFO Dialect:145 - HHH000400: Using dialect: org.hibernate.dialect.MySQL5InnoDBDialect
2017-03-02 16:14:48 main INFO ASTQueryTranslatorFactory:47 - HHH000397: Using ASTQueryTranslatorFactory
2017-03-02 16:14:48 main INFO SchemaUpdate:182 - HHH000228: Running hbm2ddl schema update
2017-03-02 16:14:48 main INFO SchemaUpdate:193 - HHH000102: Fetching database metadata
2017-03-02 16:14:48 main INFO SchemaUpdate:205 - HHH000396: Updating schema
2017-03-02 16:14:48 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_action
2017-03-02 16:14:48 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, component_id, show_in_resource_view, create_time, name, define_file_key, id, display_name]
2017-03-02 16:14:48 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_a99udcuan9eruccys7d25rnhc]
2017-03-02 16:14:48 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_a99udcuan9eruccys7d25rnhc, primary]
2017-03-02 16:14:48 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_action_param
2017-03-02 16:14:48 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, action_id, param_key, description, view_type, default_value, id, param_type]
2017-03-02 16:14:48 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_6kkb3r9gbedbd486rigqqt8c1]
2017-03-02 16:14:48 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_6kkb3r9gbedbd486rigqqt8c1, primary]
2017-03-02 16:14:48 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_component
2017-03-02 16:14:48 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, component_type_id, user_id, identifiers, repeatable, name, define_file_key, id, display_name]
2017-03-02 16:14:48 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_tjhc4icodgip93w688ucnvkv6]
2017-03-02 16:14:48 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_tjhc4icodgip93w688ucnvkv6, primary]
2017-03-02 16:14:48 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_component_type
2017-03-02 16:14:48 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, user_id, name, id, display_name]
2017-03-02 16:14:48 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2017-03-02 16:14:48 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2017-03-02 16:14:48 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_file_source
2017-03-02 16:14:48 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, credential, typ, id, md5]
2017-03-02 16:14:48 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2017-03-02 16:14:48 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2017-03-02 16:14:48 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_host
2017-03-02 16:14:48 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, user_id, hostip, id, host_name]
2017-03-02 16:14:48 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_lc94tvqarqloffdnt1ok5m36n]
2017-03-02 16:14:48 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_lc94tvqarqloffdnt1ok5m36n, primary]
2017-03-02 16:14:48 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_import_action
2017-03-02 16:14:48 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, action_id, imported_action_id, id]
2017-03-02 16:14:48 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_ahxgi5qs1gwdrmt5054qkr13k, fk_hbf42r1yvbcv4btlacud0e4am]
2017-03-02 16:14:48 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_ahxgi5qs1gwdrmt5054qkr13k, fk_hbf42r1yvbcv4btlacud0e4am, primary]
2017-03-02 16:14:48 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_temp_file
2017-03-02 16:14:48 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, time_to_live, access_key, link, id]
2017-03-02 16:14:48 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2017-03-02 16:14:48 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2017-03-02 16:14:48 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_type_implemention
2017-03-02 16:14:48 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, node_type, create_time, interface_filename, interface_name, startegy, id, defined_file, meta_json]
2017-03-02 16:14:48 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2017-03-02 16:14:48 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2017-03-02 16:14:48 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_user
2017-03-02 16:14:48 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, password, salt, role, create_time, name, id, email]
2017-03-02 16:14:48 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2017-03-02 16:14:48 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2017-03-02 16:14:48 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_user_token
2017-03-02 16:14:48 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, user_id, id, content]
2017-03-02 16:14:48 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_qwolew1b7wi7grpe277mh3wdy]
2017-03-02 16:14:48 main INFO TableMetadata:70 - HHH000126: Indexes: [uk_cwclph8msoe4sgov2nd5a8d6b, fk_qwolew1b7wi7grpe277mh3wdy, primary]
2017-03-02 16:14:48 main ERROR SchemaUpdate:236 - HHH000388: Unsuccessful: alter table d_import_action add constraint FK_2egc8j6tor7sl2pqv6stf5sja foreign key (id) references d_import_action (id)
2017-03-02 16:14:48 main ERROR SchemaUpdate:237 - Error on rename of './cloudeploy2/#sql-92d_16' to './cloudeploy2/d_import_action' (errno: 150 - Foreign key constraint is incorrectly formed)
2017-03-02 16:14:48 main INFO SchemaUpdate:242 - HHH000232: Schema update complete
2017-03-02 16:14:48 main INFO LocalContainerEntityManagerFactoryBean:462 - Closing JPA EntityManagerFactory for persistence unit 'default'
2017-03-02 16:14:48 main ERROR TestContextManager:334 - Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@4f824872] to prepare test instance [cn.ac.iscas.cloudeploy.v2.packet.type.docker.TypeImpleInstaller@3eabe84a]
java.lang.IllegalStateException: Failed to load ApplicationContext
at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:99)
at org.springframework.test.context.DefaultTestContext.getApplicationContext(DefaultTestContext.java:101)
at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:109)
at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75)
at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:331)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:213)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:290)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:292)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:233)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:87)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
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.runners.ParentRunner.run(ParentRunner.java:363)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:176)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultPacketService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private cn.ac.iscas.cloudeploy.v2.packet.builder.docker.DockerPacketBuilder cn.ac.iscas.cloudeploy.v2.model.service.packet.DefaultPacketService.dockerBuilder; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dockerPacketBuilder': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private cn.ac.iscas.cloudeploy.v2.model.service.file.FileService cn.ac.iscas.cloudeploy.v2.packet.builder.docker.DockerPacketBuilder.fileService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultFileServiceImpl': Invocation of init method failed; nested exception is com.typesafe.config.ConfigException$Missing: No configuration setting found for key 'service'
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:292)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1185)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:703)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:760)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482)
at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:125)
at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60)
at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:100)
at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:250)
at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContextInternal(CacheAwareContextLoaderDelegate.java:64)
at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:91)
... 25 more
Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private cn.ac.iscas.cloudeploy.v2.packet.builder.docker.DockerPacketBuilder cn.ac.iscas.cloudeploy.v2.model.service.packet.DefaultPacketService.dockerBuilder; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dockerPacketBuilder': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private cn.ac.iscas.cloudeploy.v2.model.service.file.FileService cn.ac.iscas.cloudeploy.v2.packet.builder.docker.DockerPacketBuilder.fileService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultFileServiceImpl': Invocation of init method failed; nested exception is com.typesafe.config.ConfigException$Missing: No configuration setting found for key 'service'
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:508)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:289)
... 41 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dockerPacketBuilder': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private cn.ac.iscas.cloudeploy.v2.model.service.file.FileService cn.ac.iscas.cloudeploy.v2.packet.builder.docker.DockerPacketBuilder.fileService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultFileServiceImpl': Invocation of init method failed; nested exception is com.typesafe.config.ConfigException$Missing: No configuration setting found for key 'service'
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:292)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1185)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1017)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:960)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:858)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:480)
... 43 more
Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private cn.ac.iscas.cloudeploy.v2.model.service.file.FileService cn.ac.iscas.cloudeploy.v2.packet.builder.docker.DockerPacketBuilder.fileService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultFileServiceImpl': Invocation of init method failed; nested exception is com.typesafe.config.ConfigException$Missing: No configuration setting found for key 'service'
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:508)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:289)
... 54 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultFileServiceImpl': Invocation of init method failed; nested exception is com.typesafe.config.ConfigException$Missing: No configuration setting found for key 'service'
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:136)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:407)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1545)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1017)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:960)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:858)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:480)
... 56 more
Caused by: com.typesafe.config.ConfigException$Missing: No configuration setting found for key 'service'
at com.typesafe.config.impl.SimpleConfig.findKey(SimpleConfig.java:124)
at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:147)
at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:159)
at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:164)
at com.typesafe.config.impl.SimpleConfig.getString(SimpleConfig.java:206)
at cn.ac.iscas.cloudeploy.v2.config.DefaultConfigServiceImpl.getConfigAsString(DefaultConfigServiceImpl.java:33)
at cn.ac.iscas.cloudeploy.v2.model.service.file.DefaultFileServiceImpl.init(DefaultFileServiceImpl.java:54)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:349)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:300)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:133)
... 68 more
2017-03-02 16:14:48 main INFO XmlBeanDefinitionReader:316 - Loading XML bean definitions from class path resource [application_context.xml]
2017-03-02 16:14:48 main INFO GenericApplicationContext:513 - Refreshing org.springframework.context.support.GenericApplicationContext@1de0a46c: startup date [Thu Mar 02 16:14:48 CST 2017]; root of context hierarchy
2017-03-02 16:14:48 main INFO PropertySourcesPlaceholderConfigurer:172 - Loading properties file from URL [file:/F:/Cloudeploy/packet-service/target/test-classes/application.properties]
2017-03-02 16:14:48 main INFO AutowiredAnnotationBeanPostProcessor:141 - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2017-03-02 16:14:49 main INFO LocalContainerEntityManagerFactoryBean:332 - Building JPA container EntityManagerFactory for persistence unit 'default'
2017-03-02 16:14:49 main INFO LogHelper:46 - HHH000204: Processing PersistenceUnitInfo [
name: default
...]
2017-03-02 16:14:49 main INFO Dialect:145 - HHH000400: Using dialect: org.hibernate.dialect.MySQL5InnoDBDialect
2017-03-02 16:14:49 main INFO ASTQueryTranslatorFactory:47 - HHH000397: Using ASTQueryTranslatorFactory
2017-03-02 16:14:49 main INFO SchemaUpdate:182 - HHH000228: Running hbm2ddl schema update
2017-03-02 16:14:49 main INFO SchemaUpdate:193 - HHH000102: Fetching database metadata
2017-03-02 16:14:49 main INFO SchemaUpdate:205 - HHH000396: Updating schema
2017-03-02 16:14:49 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_action
2017-03-02 16:14:49 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, component_id, show_in_resource_view, create_time, name, define_file_key, id, display_name]
2017-03-02 16:14:49 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_a99udcuan9eruccys7d25rnhc]
2017-03-02 16:14:49 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_a99udcuan9eruccys7d25rnhc, primary]
2017-03-02 16:14:49 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_action_param
2017-03-02 16:14:49 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, action_id, param_key, description, view_type, default_value, id, param_type]
2017-03-02 16:14:49 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_6kkb3r9gbedbd486rigqqt8c1]
2017-03-02 16:14:49 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_6kkb3r9gbedbd486rigqqt8c1, primary]
2017-03-02 16:14:49 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_component
2017-03-02 16:14:49 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, component_type_id, user_id, identifiers, repeatable, name, define_file_key, id, display_name]
2017-03-02 16:14:49 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_tjhc4icodgip93w688ucnvkv6]
2017-03-02 16:14:49 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_tjhc4icodgip93w688ucnvkv6, primary]
2017-03-02 16:14:49 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_component_type
2017-03-02 16:14:49 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, user_id, name, id, display_name]
2017-03-02 16:14:49 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2017-03-02 16:14:49 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2017-03-02 16:14:49 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_file_source
2017-03-02 16:14:49 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, credential, typ, id, md5]
2017-03-02 16:14:49 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2017-03-02 16:14:49 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2017-03-02 16:14:49 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_host
2017-03-02 16:14:49 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, user_id, hostip, id, host_name]
2017-03-02 16:14:49 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_lc94tvqarqloffdnt1ok5m36n]
2017-03-02 16:14:49 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_lc94tvqarqloffdnt1ok5m36n, primary]
2017-03-02 16:14:49 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_import_action
2017-03-02 16:14:49 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, action_id, imported_action_id, id]
2017-03-02 16:14:49 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_ahxgi5qs1gwdrmt5054qkr13k, fk_hbf42r1yvbcv4btlacud0e4am]
2017-03-02 16:14:49 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_ahxgi5qs1gwdrmt5054qkr13k, fk_hbf42r1yvbcv4btlacud0e4am, primary]
2017-03-02 16:14:49 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_temp_file
2017-03-02 16:14:49 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, time_to_live, access_key, link, id]
2017-03-02 16:14:49 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2017-03-02 16:14:49 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2017-03-02 16:14:49 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_type_implemention
2017-03-02 16:14:49 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, node_type, create_time, interface_filename, interface_name, startegy, id, defined_file, meta_json]
2017-03-02 16:14:49 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2017-03-02 16:14:49 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2017-03-02 16:14:49 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_user
2017-03-02 16:14:49 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, password, salt, role, create_time, name, id, email]
2017-03-02 16:14:49 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2017-03-02 16:14:49 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2017-03-02 16:14:49 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_user_token
2017-03-02 16:14:49 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, user_id, id, content]
2017-03-02 16:14:49 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_qwolew1b7wi7grpe277mh3wdy]
2017-03-02 16:14:49 main INFO TableMetadata:70 - HHH000126: Indexes: [uk_cwclph8msoe4sgov2nd5a8d6b, fk_qwolew1b7wi7grpe277mh3wdy, primary]
2017-03-02 16:14:49 main ERROR SchemaUpdate:236 - HHH000388: Unsuccessful: alter table d_import_action add constraint FK_2egc8j6tor7sl2pqv6stf5sja foreign key (id) references d_import_action (id)
2017-03-02 16:14:49 main ERROR SchemaUpdate:237 - Error on rename of './cloudeploy2/#sql-92d_18' to './cloudeploy2/d_import_action' (errno: 150 - Foreign key constraint is incorrectly formed)
2017-03-02 16:14:49 main INFO SchemaUpdate:242 - HHH000232: Schema update complete
2017-03-02 16:14:49 main INFO LocalContainerEntityManagerFactoryBean:462 - Closing JPA EntityManagerFactory for persistence unit 'default'
2017-03-02 16:14:49 main ERROR TestContextManager:334 - Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@4f824872] to prepare test instance [cn.ac.iscas.cloudeploy.v2.packet.type.docker.TypeImpleInstaller@40e37b06]
java.lang.IllegalStateException: Failed to load ApplicationContext
at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:99)
at org.springframework.test.context.DefaultTestContext.getApplicationContext(DefaultTestContext.java:101)
at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:109)
at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75)
at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:331)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:213)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:290)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:292)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:233)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:87)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
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.runners.ParentRunner.run(ParentRunner.java:363)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:176)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultPacketService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private cn.ac.iscas.cloudeploy.v2.packet.builder.docker.DockerPacketBuilder cn.ac.iscas.cloudeploy.v2.model.service.packet.DefaultPacketService.dockerBuilder; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dockerPacketBuilder': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private cn.ac.iscas.cloudeploy.v2.model.service.file.FileService cn.ac.iscas.cloudeploy.v2.packet.builder.docker.DockerPacketBuilder.fileService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultFileServiceImpl': Invocation of init method failed; nested exception is com.typesafe.config.ConfigException$Missing: No configuration setting found for key 'service'
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:292)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1185)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:703)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:760)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482)
at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:125)
at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60)
at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:100)
at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:250)
at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContextInternal(CacheAwareContextLoaderDelegate.java:64)
at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:91)
... 25 more
Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private cn.ac.iscas.cloudeploy.v2.packet.builder.docker.DockerPacketBuilder cn.ac.iscas.cloudeploy.v2.model.service.packet.DefaultPacketService.dockerBuilder; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dockerPacketBuilder': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private cn.ac.iscas.cloudeploy.v2.model.service.file.FileService cn.ac.iscas.cloudeploy.v2.packet.builder.docker.DockerPacketBuilder.fileService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultFileServiceImpl': Invocation of init method failed; nested exception is com.typesafe.config.ConfigException$Missing: No configuration setting found for key 'service'
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:508)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:289)
... 41 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dockerPacketBuilder': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private cn.ac.iscas.cloudeploy.v2.model.service.file.FileService cn.ac.iscas.cloudeploy.v2.packet.builder.docker.DockerPacketBuilder.fileService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultFileServiceImpl': Invocation of init method failed; nested exception is com.typesafe.config.ConfigException$Missing: No configuration setting found for key 'service'
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:292)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1185)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1017)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:960)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:858)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:480)
... 43 more
Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private cn.ac.iscas.cloudeploy.v2.model.service.file.FileService cn.ac.iscas.cloudeploy.v2.packet.builder.docker.DockerPacketBuilder.fileService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultFileServiceImpl': Invocation of init method failed; nested exception is com.typesafe.config.ConfigException$Missing: No configuration setting found for key 'service'
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:508)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:289)
... 54 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultFileServiceImpl': Invocation of init method failed; nested exception is com.typesafe.config.ConfigException$Missing: No configuration setting found for key 'service'
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:136)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:407)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1545)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1017)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:960)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:858)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:480)
... 56 more
Caused by: com.typesafe.config.ConfigException$Missing: No configuration setting found for key 'service'
at com.typesafe.config.impl.SimpleConfig.findKey(SimpleConfig.java:124)
at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:147)
at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:159)
at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:164)
at com.typesafe.config.impl.SimpleConfig.getString(SimpleConfig.java:206)
at cn.ac.iscas.cloudeploy.v2.config.DefaultConfigServiceImpl.getConfigAsString(DefaultConfigServiceImpl.java:33)
at cn.ac.iscas.cloudeploy.v2.model.service.file.DefaultFileServiceImpl.init(DefaultFileServiceImpl.java:54)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:349)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:300)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:133)
... 68 more
2017-03-02 16:14:49 main INFO XmlBeanDefinitionReader:316 - Loading XML bean definitions from class path resource [application_context.xml]
2017-03-02 16:14:49 main INFO GenericApplicationContext:513 - Refreshing org.springframework.context.support.GenericApplicationContext@10f7c76: startup date [Thu Mar 02 16:14:49 CST 2017]; root of context hierarchy
2017-03-02 16:14:49 main INFO PropertySourcesPlaceholderConfigurer:172 - Loading properties file from URL [file:/F:/Cloudeploy/packet-service/target/test-classes/application.properties]
2017-03-02 16:14:49 main INFO AutowiredAnnotationBeanPostProcessor:141 - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2017-03-02 16:14:50 main INFO LocalContainerEntityManagerFactoryBean:332 - Building JPA container EntityManagerFactory for persistence unit 'default'
2017-03-02 16:14:50 main INFO LogHelper:46 - HHH000204: Processing PersistenceUnitInfo [
name: default
...]
2017-03-02 16:14:50 main INFO Dialect:145 - HHH000400: Using dialect: org.hibernate.dialect.MySQL5InnoDBDialect
2017-03-02 16:14:50 main INFO ASTQueryTranslatorFactory:47 - HHH000397: Using ASTQueryTranslatorFactory
2017-03-02 16:14:50 main INFO SchemaUpdate:182 - HHH000228: Running hbm2ddl schema update
2017-03-02 16:14:50 main INFO SchemaUpdate:193 - HHH000102: Fetching database metadata
2017-03-02 16:14:50 main INFO SchemaUpdate:205 - HHH000396: Updating schema
2017-03-02 16:14:50 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_action
2017-03-02 16:14:50 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, component_id, show_in_resource_view, create_time, name, define_file_key, id, display_name]
2017-03-02 16:14:50 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_a99udcuan9eruccys7d25rnhc]
2017-03-02 16:14:50 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_a99udcuan9eruccys7d25rnhc, primary]
2017-03-02 16:14:50 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_action_param
2017-03-02 16:14:50 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, action_id, param_key, description, view_type, default_value, id, param_type]
2017-03-02 16:14:50 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_6kkb3r9gbedbd486rigqqt8c1]
2017-03-02 16:14:50 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_6kkb3r9gbedbd486rigqqt8c1, primary]
2017-03-02 16:14:50 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_component
2017-03-02 16:14:50 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, component_type_id, user_id, identifiers, repeatable, name, define_file_key, id, display_name]
2017-03-02 16:14:50 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_tjhc4icodgip93w688ucnvkv6]
2017-03-02 16:14:50 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_tjhc4icodgip93w688ucnvkv6, primary]
2017-03-02 16:14:50 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_component_type
2017-03-02 16:14:50 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, user_id, name, id, display_name]
2017-03-02 16:14:50 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2017-03-02 16:14:50 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2017-03-02 16:14:50 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_file_source
2017-03-02 16:14:50 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, credential, typ, id, md5]
2017-03-02 16:14:50 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2017-03-02 16:14:50 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2017-03-02 16:14:50 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_host
2017-03-02 16:14:50 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, user_id, hostip, id, host_name]
2017-03-02 16:14:50 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_lc94tvqarqloffdnt1ok5m36n]
2017-03-02 16:14:50 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_lc94tvqarqloffdnt1ok5m36n, primary]
2017-03-02 16:14:50 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_import_action
2017-03-02 16:14:50 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, action_id, imported_action_id, id]
2017-03-02 16:14:50 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_ahxgi5qs1gwdrmt5054qkr13k, fk_hbf42r1yvbcv4btlacud0e4am]
2017-03-02 16:14:50 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_ahxgi5qs1gwdrmt5054qkr13k, fk_hbf42r1yvbcv4btlacud0e4am, primary]
2017-03-02 16:14:50 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_temp_file
2017-03-02 16:14:50 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, time_to_live, access_key, link, id]
2017-03-02 16:14:50 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2017-03-02 16:14:50 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2017-03-02 16:14:50 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_type_implemention
2017-03-02 16:14:50 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, node_type, create_time, interface_filename, interface_name, startegy, id, defined_file, meta_json]
2017-03-02 16:14:50 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2017-03-02 16:14:50 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2017-03-02 16:14:50 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_user
2017-03-02 16:14:50 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, password, salt, role, create_time, name, id, email]
2017-03-02 16:14:50 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2017-03-02 16:14:50 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2017-03-02 16:14:50 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_user_token
2017-03-02 16:14:50 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, user_id, id, content]
2017-03-02 16:14:50 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_qwolew1b7wi7grpe277mh3wdy]
2017-03-02 16:14:50 main INFO TableMetadata:70 - HHH000126: Indexes: [uk_cwclph8msoe4sgov2nd5a8d6b, fk_qwolew1b7wi7grpe277mh3wdy, primary]
2017-03-02 16:14:50 main ERROR SchemaUpdate:236 - HHH000388: Unsuccessful: alter table d_import_action add constraint FK_2egc8j6tor7sl2pqv6stf5sja foreign key (id) references d_import_action (id)
2017-03-02 16:14:50 main ERROR SchemaUpdate:237 - Error on rename of './cloudeploy2/#sql-92d_1a' to './cloudeploy2/d_import_action' (errno: 150 - Foreign key constraint is incorrectly formed)
2017-03-02 16:14:50 main INFO SchemaUpdate:242 - HHH000232: Schema update complete
2017-03-02 16:14:50 main INFO LocalContainerEntityManagerFactoryBean:462 - Closing JPA EntityManagerFactory for persistence unit 'default'
2017-03-02 16:14:50 main ERROR TestContextManager:334 - Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@4f824872] to prepare test instance [cn.ac.iscas.cloudeploy.v2.packet.type.docker.TypeImpleInstaller@3337d04c]
java.lang.IllegalStateException: Failed to load ApplicationContext
at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:99)
at org.springframework.test.context.DefaultTestContext.getApplicationContext(DefaultTestContext.java:101)
at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:109)
at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75)
at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:331)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:213)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:290)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:292)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:233)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:87)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
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.runners.ParentRunner.run(ParentRunner.java:363)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:176)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultPacketService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private cn.ac.iscas.cloudeploy.v2.packet.builder.docker.DockerPacketBuilder cn.ac.iscas.cloudeploy.v2.model.service.packet.DefaultPacketService.dockerBuilder; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dockerPacketBuilder': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private cn.ac.iscas.cloudeploy.v2.model.service.file.FileService cn.ac.iscas.cloudeploy.v2.packet.builder.docker.DockerPacketBuilder.fileService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultFileServiceImpl': Invocation of init method failed; nested exception is com.typesafe.config.ConfigException$Missing: No configuration setting found for key 'service'
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:292)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1185)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:703)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:760)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482)
at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:125)
at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60)
at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:100)
at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:250)
at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContextInternal(CacheAwareContextLoaderDelegate.java:64)
at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:91)
... 25 more
Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private cn.ac.iscas.cloudeploy.v2.packet.builder.docker.DockerPacketBuilder cn.ac.iscas.cloudeploy.v2.model.service.packet.DefaultPacketService.dockerBuilder; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dockerPacketBuilder': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private cn.ac.iscas.cloudeploy.v2.model.service.file.FileService cn.ac.iscas.cloudeploy.v2.packet.builder.docker.DockerPacketBuilder.fileService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultFileServiceImpl': Invocation of init method failed; nested exception is com.typesafe.config.ConfigException$Missing: No configuration setting found for key 'service'
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:508)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:289)
... 41 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dockerPacketBuilder': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private cn.ac.iscas.cloudeploy.v2.model.service.file.FileService cn.ac.iscas.cloudeploy.v2.packet.builder.docker.DockerPacketBuilder.fileService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultFileServiceImpl': Invocation of init method failed; nested exception is com.typesafe.config.ConfigException$Missing: No configuration setting found for key 'service'
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:292)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1185)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1017)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:960)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:858)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:480)
... 43 more
Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private cn.ac.iscas.cloudeploy.v2.model.service.file.FileService cn.ac.iscas.cloudeploy.v2.packet.builder.docker.DockerPacketBuilder.fileService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultFileServiceImpl': Invocation of init method failed; nested exception is com.typesafe.config.ConfigException$Missing: No configuration setting found for key 'service'
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:508)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:289)
... 54 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultFileServiceImpl': Invocation of init method failed; nested exception is com.typesafe.config.ConfigException$Missing: No configuration setting found for key 'service'
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:136)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:407)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1545)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1017)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:960)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:858)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:480)
... 56 more
Caused by: com.typesafe.config.ConfigException$Missing: No configuration setting found for key 'service'
at com.typesafe.config.impl.SimpleConfig.findKey(SimpleConfig.java:124)
at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:147)
at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:159)
at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:164)
at com.typesafe.config.impl.SimpleConfig.getString(SimpleConfig.java:206)
at cn.ac.iscas.cloudeploy.v2.config.DefaultConfigServiceImpl.getConfigAsString(DefaultConfigServiceImpl.java:33)
at cn.ac.iscas.cloudeploy.v2.model.service.file.DefaultFileServiceImpl.init(DefaultFileServiceImpl.java:54)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:349)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:300)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:133)
... 68 more
2017-03-02 16:17:29 main INFO XmlBeanDefinitionReader:316 - Loading XML bean definitions from class path resource [application_context.xml]
2017-03-02 16:17:29 main INFO GenericApplicationContext:513 - Refreshing org.springframework.context.support.GenericApplicationContext@3159c4b8: startup date [Thu Mar 02 16:17:29 CST 2017]; root of context hierarchy
2017-03-02 16:17:29 main INFO PropertySourcesPlaceholderConfigurer:172 - Loading properties file from URL [file:/F:/Cloudeploy/packet-service/target/test-classes/application.properties]
2017-03-02 16:17:29 main INFO AutowiredAnnotationBeanPostProcessor:141 - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2017-03-02 16:17:30 main INFO LocalContainerEntityManagerFactoryBean:332 - Building JPA container EntityManagerFactory for persistence unit 'default'
2017-03-02 16:17:30 main INFO LogHelper:46 - HHH000204: Processing PersistenceUnitInfo [
name: default
...]
2017-03-02 16:17:30 main INFO Version:54 - HHH000412: Hibernate Core {4.3.6.Final}
2017-03-02 16:17:30 main INFO Environment:239 - HHH000206: hibernate.properties not found
2017-03-02 16:17:30 main INFO Environment:346 - HHH000021: Bytecode provider name : javassist
2017-03-02 16:17:30 main INFO Version:66 - HCANN000001: Hibernate Commons Annotations {4.0.5.Final}
2017-03-02 16:17:30 main INFO Dialect:145 - HHH000400: Using dialect: org.hibernate.dialect.MySQL5InnoDBDialect
2017-03-02 16:17:30 main INFO ASTQueryTranslatorFactory:47 - HHH000397: Using ASTQueryTranslatorFactory
2017-03-02 16:17:31 main INFO SchemaUpdate:182 - HHH000228: Running hbm2ddl schema update
2017-03-02 16:17:31 main INFO SchemaUpdate:193 - HHH000102: Fetching database metadata
2017-03-02 16:17:31 main INFO SchemaUpdate:205 - HHH000396: Updating schema
2017-03-02 16:17:31 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_action
2017-03-02 16:17:31 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, component_id, show_in_resource_view, create_time, name, define_file_key, id, display_name]
2017-03-02 16:17:31 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_a99udcuan9eruccys7d25rnhc]
2017-03-02 16:17:31 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_a99udcuan9eruccys7d25rnhc, primary]
2017-03-02 16:17:31 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_action_param
2017-03-02 16:17:31 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, action_id, param_key, description, view_type, default_value, id, param_type]
2017-03-02 16:17:31 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_6kkb3r9gbedbd486rigqqt8c1]
2017-03-02 16:17:31 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_6kkb3r9gbedbd486rigqqt8c1, primary]
2017-03-02 16:17:31 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_component
2017-03-02 16:17:31 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, component_type_id, user_id, identifiers, repeatable, name, define_file_key, id, display_name]
2017-03-02 16:17:31 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_tjhc4icodgip93w688ucnvkv6]
2017-03-02 16:17:31 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_tjhc4icodgip93w688ucnvkv6, primary]
2017-03-02 16:17:31 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_component_type
2017-03-02 16:17:31 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, user_id, name, id, display_name]
2017-03-02 16:17:31 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2017-03-02 16:17:31 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2017-03-02 16:17:31 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_file_source
2017-03-02 16:17:31 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, credential, typ, id, md5]
2017-03-02 16:17:31 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2017-03-02 16:17:31 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2017-03-02 16:17:31 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_host
2017-03-02 16:17:31 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, user_id, hostip, id, host_name]
2017-03-02 16:17:31 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_lc94tvqarqloffdnt1ok5m36n]
2017-03-02 16:17:31 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_lc94tvqarqloffdnt1ok5m36n, primary]
2017-03-02 16:17:31 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_import_action
2017-03-02 16:17:31 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, action_id, imported_action_id, id]
2017-03-02 16:17:31 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_ahxgi5qs1gwdrmt5054qkr13k, fk_hbf42r1yvbcv4btlacud0e4am]
2017-03-02 16:17:31 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_ahxgi5qs1gwdrmt5054qkr13k, fk_hbf42r1yvbcv4btlacud0e4am, primary]
2017-03-02 16:17:31 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_temp_file
2017-03-02 16:17:31 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, time_to_live, access_key, link, id]
2017-03-02 16:17:31 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2017-03-02 16:17:31 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2017-03-02 16:17:31 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_type_implemention
2017-03-02 16:17:31 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, node_type, create_time, interface_filename, interface_name, startegy, id, defined_file, meta_json]
2017-03-02 16:17:31 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2017-03-02 16:17:31 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2017-03-02 16:17:31 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_user
2017-03-02 16:17:31 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, password, salt, role, create_time, name, id, email]
2017-03-02 16:17:31 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2017-03-02 16:17:31 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2017-03-02 16:17:31 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_user_token
2017-03-02 16:17:31 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, user_id, id, content]
2017-03-02 16:17:31 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_qwolew1b7wi7grpe277mh3wdy]
2017-03-02 16:17:31 main INFO TableMetadata:70 - HHH000126: Indexes: [uk_cwclph8msoe4sgov2nd5a8d6b, fk_qwolew1b7wi7grpe277mh3wdy, primary]
2017-03-02 16:17:31 main ERROR SchemaUpdate:236 - HHH000388: Unsuccessful: alter table d_import_action add constraint FK_2egc8j6tor7sl2pqv6stf5sja foreign key (id) references d_import_action (id)
2017-03-02 16:17:31 main ERROR SchemaUpdate:237 - Error on rename of './cloudeploy2/#sql-92d_1c' to './cloudeploy2/d_import_action' (errno: 150 - Foreign key constraint is incorrectly formed)
2017-03-02 16:17:31 main INFO SchemaUpdate:242 - HHH000232: Schema update complete
2017-03-02 16:17:32 main INFO PropertiesFactoryBean:172 - Loading properties file from class path resource [application.properties]
2017-03-02 16:17:34 Thread-2 INFO GenericApplicationContext:873 - Closing org.springframework.context.support.GenericApplicationContext@3159c4b8: startup date [Thu Mar 02 16:17:29 CST 2017]; root of context hierarchy
2017-03-02 16:17:34 Thread-2 INFO LocalContainerEntityManagerFactoryBean:462 - Closing JPA EntityManagerFactory for persistence unit 'default'
2017-03-02 16:19:35 main INFO XmlBeanDefinitionReader:316 - Loading XML bean definitions from class path resource [application_context.xml]
2017-03-02 16:19:36 main INFO GenericApplicationContext:513 - Refreshing org.springframework.context.support.GenericApplicationContext@3159c4b8: startup date [Thu Mar 02 16:19:36 CST 2017]; root of context hierarchy
2017-03-02 16:19:36 main INFO PropertySourcesPlaceholderConfigurer:172 - Loading properties file from URL [file:/F:/Cloudeploy/packet-service/target/test-classes/application.properties]
2017-03-02 16:19:36 main INFO AutowiredAnnotationBeanPostProcessor:141 - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2017-03-02 16:19:36 main INFO LocalContainerEntityManagerFactoryBean:332 - Building JPA container EntityManagerFactory for persistence unit 'default'
2017-03-02 16:19:36 main INFO LogHelper:46 - HHH000204: Processing PersistenceUnitInfo [
name: default
...]
2017-03-02 16:19:36 main INFO Version:54 - HHH000412: Hibernate Core {4.3.6.Final}
2017-03-02 16:19:36 main INFO Environment:239 - HHH000206: hibernate.properties not found
2017-03-02 16:19:36 main INFO Environment:346 - HHH000021: Bytecode provider name : javassist
2017-03-02 16:19:37 main INFO Version:66 - HCANN000001: Hibernate Commons Annotations {4.0.5.Final}
2017-03-02 16:19:37 main INFO Dialect:145 - HHH000400: Using dialect: org.hibernate.dialect.MySQL5InnoDBDialect
2017-03-02 16:19:37 main INFO ASTQueryTranslatorFactory:47 - HHH000397: Using ASTQueryTranslatorFactory
2017-03-02 16:19:37 main INFO SchemaUpdate:182 - HHH000228: Running hbm2ddl schema update
2017-03-02 16:19:37 main INFO SchemaUpdate:193 - HHH000102: Fetching database metadata
2017-03-02 16:19:37 main INFO SchemaUpdate:205 - HHH000396: Updating schema
2017-03-02 16:19:37 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_action
2017-03-02 16:19:37 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, component_id, show_in_resource_view, create_time, name, define_file_key, id, display_name]
2017-03-02 16:19:37 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_a99udcuan9eruccys7d25rnhc]
2017-03-02 16:19:37 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_a99udcuan9eruccys7d25rnhc, primary]
2017-03-02 16:19:37 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_action_param
2017-03-02 16:19:37 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, action_id, param_key, description, view_type, default_value, id, param_type]
2017-03-02 16:19:37 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_6kkb3r9gbedbd486rigqqt8c1]
2017-03-02 16:19:37 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_6kkb3r9gbedbd486rigqqt8c1, primary]
2017-03-02 16:19:37 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_component
2017-03-02 16:19:37 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, component_type_id, user_id, identifiers, repeatable, name, define_file_key, id, display_name]
2017-03-02 16:19:37 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_tjhc4icodgip93w688ucnvkv6]
2017-03-02 16:19:37 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_tjhc4icodgip93w688ucnvkv6, primary]
2017-03-02 16:19:37 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_component_type
2017-03-02 16:19:37 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, user_id, name, id, display_name]
2017-03-02 16:19:37 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2017-03-02 16:19:37 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2017-03-02 16:19:37 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_file_source
2017-03-02 16:19:37 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, credential, typ, id, md5]
2017-03-02 16:19:37 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2017-03-02 16:19:37 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2017-03-02 16:19:37 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_host
2017-03-02 16:19:37 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, user_id, hostip, id, host_name]
2017-03-02 16:19:37 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_lc94tvqarqloffdnt1ok5m36n]
2017-03-02 16:19:37 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_lc94tvqarqloffdnt1ok5m36n, primary]
2017-03-02 16:19:37 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_import_action
2017-03-02 16:19:37 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, action_id, imported_action_id, id]
2017-03-02 16:19:37 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_ahxgi5qs1gwdrmt5054qkr13k, fk_hbf42r1yvbcv4btlacud0e4am]
2017-03-02 16:19:37 main INFO TableMetadata:70 - HHH000126: Indexes: [fk_ahxgi5qs1gwdrmt5054qkr13k, fk_hbf42r1yvbcv4btlacud0e4am, primary]
2017-03-02 16:19:37 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_temp_file
2017-03-02 16:19:37 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, time_to_live, access_key, link, id]
2017-03-02 16:19:37 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2017-03-02 16:19:37 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2017-03-02 16:19:37 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_type_implemention
2017-03-02 16:19:37 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, node_type, create_time, interface_filename, interface_name, startegy, id, defined_file, meta_json]
2017-03-02 16:19:37 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2017-03-02 16:19:37 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2017-03-02 16:19:38 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_user
2017-03-02 16:19:38 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, password, salt, role, create_time, name, id, email]
2017-03-02 16:19:38 main INFO TableMetadata:69 - HHH000108: Foreign keys: []
2017-03-02 16:19:38 main INFO TableMetadata:70 - HHH000126: Indexes: [primary]
2017-03-02 16:19:38 main INFO TableMetadata:66 - HHH000261: Table found: cloudeploy2.d_user_token
2017-03-02 16:19:38 main INFO TableMetadata:67 - HHH000037: Columns: [update_time, create_time, user_id, id, content]
2017-03-02 16:19:38 main INFO TableMetadata:69 - HHH000108: Foreign keys: [fk_qwolew1b7wi7grpe277mh3wdy]
2017-03-02 16:19:38 main INFO TableMetadata:70 - HHH000126: Indexes: [uk_cwclph8msoe4sgov2nd5a8d6b, fk_qwolew1b7wi7grpe277mh3wdy, primary]
2017-03-02 16:19:38 main ERROR SchemaUpdate:236 - HHH000388: Unsuccessful: alter table d_import_action add constraint FK_2egc8j6tor7sl2pqv6stf5sja foreign key (id) references d_import_action (id)
2017-03-02 16:19:38 main ERROR SchemaUpdate:237 - Error on rename of './cloudeploy2/#sql-92d_1e' to './cloudeploy2/d_import_action' (errno: 150 - Foreign key constraint is incorrectly formed)
2017-03-02 16:19:38 main INFO SchemaUpdate:242 - HHH000232: Schema update complete
2017-03-02 16:19:39 main INFO PropertiesFactoryBean:172 - Loading properties file from class path resource [application.properties]
2017-03-02 16:19:40 Thread-2 INFO GenericApplicationContext:873 - Closing org.springframework.context.support.GenericApplicationContext@3159c4b8: startup date [Thu Mar 02 16:19:36 CST 2017]; root of context hierarchy
2017-03-02 16:19:40 Thread-2 INFO LocalContainerEntityManagerFactoryBean:462 - Closing JPA EntityManagerFactory for persistence unit 'default'