fabric-samples/distributed-deploy/bcp-install-main/logs/info/2020-01-20.0.log
zeoio 958749e76c distributed-deploy: add distributed deploy tools for prod env
Signed-off-by: zeoio <kinsleer@outlook.com>
2020-04-29 10:01:39 +08:00

586 lines
120 KiB
Text
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

2020-01-20 16:49:05.210 [main] INFO o.s.b.t.context.SpringBootTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [InitTest], using SpringBootContextLoader
2020-01-20 16:49:05.223 [main] INFO o.s.test.context.support.AbstractContextLoader - Could not detect default resource locations for test class [InitTest]: no resource found for suffixes {-context.xml, Context.groovy}.
2020-01-20 16:49:06.301 [main] INFO o.s.b.t.context.SpringBootTestContextBootstrapper - Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener]
2020-01-20 16:49:06.334 [main] INFO o.s.b.t.context.SpringBootTestContextBootstrapper - Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@2cdd0d4b, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@7e9131d5, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@2e1d27ba, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@61d6015a, org.springframework.test.context.support.DirtiesContextTestExecutionListener@2525ff7e, org.springframework.test.context.transaction.TransactionalTestExecutionListener@524d6d96, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@152aa092, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@44a7bfbc, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@4ef37659, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@776b83cc, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@37858383, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@4e268090]
2020-01-20 16:49:07.500 [background-preinit] INFO org.hibernate.validator.internal.util.Version - HV000001: Hibernate Validator 6.0.13.Final
2020-01-20 16:49:07.625 [main] INFO InitTest - Starting InitTest on DESKTOP-7VAN58A with PID 5256 (started by Ddpool in F:\space30\bcp-app-install\bcp-install-main)
2020-01-20 16:49:07.653 [main] INFO InitTest - The following profiles are active: dev
2020-01-20 16:49:07.770 [main] INFO o.s.w.context.support.GenericWebApplicationContext - Refreshing org.springframework.web.context.support.GenericWebApplicationContext@658c5a19: startup date [Mon Jan 20 16:49:07 CST 2020]; root of context hierarchy
2020-01-20 16:49:08.959 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode!
2020-01-20 16:49:09.586 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$7c96a12f] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-01-20 16:49:09.953 [main] INFO com.cgb.bcpinstall.common.util.HttpClientUtil - HttpClientUtil init. poolsize:30, socketTimeout:60000, connectTimeout:60000, connectionRequestTimeout:60000, defaultMaxPerRoute:10
2020-01-20 16:49:10.629 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/v1/install/remove],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.cgb.bcpinstall.common.response.HttpInstallResponse com.cgb.bcpinstall.api.controller.InstallController.doRemove(javax.servlet.http.HttpServletRequest)
2020-01-20 16:49:10.630 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/v1/install/pushPackage],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.cgb.bcpinstall.common.response.HttpInstallResponse com.cgb.bcpinstall.api.controller.InstallController.pushInstallPackage(javax.servlet.http.HttpServletRequest)
2020-01-20 16:49:10.631 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/v1/install/backendStatus],methods=[GET],produces=[application/json;charset=UTF-8]}" onto public com.cgb.bcpinstall.common.response.HttpInstallResponse com.cgb.bcpinstall.api.controller.InstallController.checkBackendStatus(javax.servlet.http.HttpServletRequest)
2020-01-20 16:49:10.632 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/v1/install/start],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.cgb.bcpinstall.common.response.HttpInstallResponse com.cgb.bcpinstall.api.controller.InstallController.doInstall(com.cgb.bcpinstall.common.entity.InstallCmd,javax.servlet.http.HttpServletRequest)
2020-01-20 16:49:10.632 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/v1/install/update],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.cgb.bcpinstall.common.response.HttpInstallResponse com.cgb.bcpinstall.api.controller.InstallController.doUpdate(javax.servlet.http.HttpServletRequest)
2020-01-20 16:49:10.632 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/v1/install/getPackage/{os}],produces=[application/json;charset=UTF-8]}" onto public void com.cgb.bcpinstall.api.controller.InstallController.getInstallData(java.lang.String,javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
2020-01-20 16:49:10.633 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/v1/install/end],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.cgb.bcpinstall.common.response.HttpInstallResponse com.cgb.bcpinstall.api.controller.InstallController.endInstall(com.cgb.bcpinstall.common.entity.EndCmd)
2020-01-20 16:49:10.633 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/v1/install/finished],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.cgb.bcpinstall.common.response.HttpInstallResponse com.cgb.bcpinstall.api.controller.InstallController.installFinished(com.cgb.bcpinstall.common.entity.InstallResult,javax.servlet.http.HttpServletRequest)
2020-01-20 16:49:10.634 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/v1/reg/role],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.cgb.bcpinstall.common.response.HttpInstallResponse com.cgb.bcpinstall.api.controller.RegisterController.regRole(com.cgb.bcpinstall.common.entity.RoleRegEntity,javax.servlet.http.HttpServletRequest)
2020-01-20 16:49:10.638 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/swagger-resources/configuration/security]}" onto public org.springframework.http.ResponseEntity<springfox.documentation.swagger.web.SecurityConfiguration> springfox.documentation.swagger.web.ApiResourceController.securityConfiguration()
2020-01-20 16:49:10.638 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/swagger-resources/configuration/ui]}" onto public org.springframework.http.ResponseEntity<springfox.documentation.swagger.web.UiConfiguration> springfox.documentation.swagger.web.ApiResourceController.uiConfiguration()
2020-01-20 16:49:10.639 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/swagger-resources]}" onto public org.springframework.http.ResponseEntity<java.util.List<springfox.documentation.swagger.web.SwaggerResource>> springfox.documentation.swagger.web.ApiResourceController.swaggerResources()
2020-01-20 16:49:10.643 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String, java.lang.Object>> org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController.error(javax.servlet.http.HttpServletRequest)
2020-01-20 16:49:10.644 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
2020-01-20 16:49:10.866 [main] INFO o.s.web.servlet.handler.SimpleUrlHandlerMapping - Mapped URL path [/swagger-ui.html] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2020-01-20 16:49:10.866 [main] INFO o.s.web.servlet.handler.SimpleUrlHandlerMapping - Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2020-01-20 16:49:11.019 [main] INFO com.cgb.bcpinstall.main.config.WebConfiguration - configureMessageConverters........
2020-01-20 16:49:11.023 [main] INFO c.c.bcpinstall.common.fastJson.BaseFastJsonConfig - fastJsonHttpMessageConverter........
2020-01-20 16:49:11.103 [main] INFO c.c.bcpinstall.common.fastJson.BaseFastJsonConfig - getFastJsonConfig.....
2020-01-20 16:49:11.358 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerAdapter - Looking for @ControllerAdvice: org.springframework.web.context.support.GenericWebApplicationContext@658c5a19: startup date [Mon Jan 20 16:49:07 CST 2020]; root of context hierarchy
2020-01-20 16:49:11.482 [main] INFO s.d.s.w.PropertySourcedRequestMappingHandlerMapping - Mapped URL path [/v2/api-docs] onto method [public org.springframework.http.ResponseEntity<springfox.documentation.spring.web.json.Json> springfox.documentation.swagger2.web.Swagger2Controller.getDocumentation(java.lang.String,javax.servlet.http.HttpServletRequest)]
2020-01-20 16:49:12.542 [main] INFO o.s.context.support.DefaultLifecycleProcessor - Starting beans in phase 2147483647
2020-01-20 16:49:12.543 [main] INFO s.d.s.web.plugins.DocumentationPluginsBootstrapper - Context refreshed
2020-01-20 16:49:12.587 [main] INFO s.d.s.web.plugins.DocumentationPluginsBootstrapper - Found 1 custom documentation plugin(s)
2020-01-20 16:49:12.644 [main] INFO s.d.spring.web.scanners.ApiListingReferenceScanner - Scanning for api listing references
2020-01-20 16:49:12.927 [main] INFO InitTest - Started InitTest in 6.446 seconds (JVM running for 9.85)
2020-01-20 16:49:12.929 [main] INFO com.cgb.bcpinstall.main.MainApplication - bcp-app-install 完成资源初始化
2020-01-20 16:49:12.938 [main] INFO com.cgb.bcpinstall.main.MainApplication - *** cryptogen工具本地路径为F:\space30\bcp-app-install\bcp-install-main\resources/generateInstallPackage/masterPackage/\tools/windows/cryptogen.exe
2020-01-20 16:49:12.939 [main] INFO com.cgb.bcpinstall.main.MainApplication - *** configtxgen工具本地路径为F:\space30\bcp-app-install\bcp-install-main\resources/generateInstallPackage/masterPackage/\tools/windows/configtxgen.exe
2020-01-20 16:49:12.939 [main] INFO com.cgb.bcpinstall.main.MainApplication - *** configtxlator工具本地路径为F:\space30\bcp-app-install\bcp-install-main\resources/generateInstallPackage/masterPackage/\tools/windows/configtxlator.exe
2020-01-20 16:49:13.130 [main] ERROR com.cgb.bcpinstall.biz.InitializeBiz - 初始化发生异常
org.yaml.snakeyaml.constructor.ConstructorException: Cannot create property=backendWebsocketPortConfig for JavaBean=com.cgb.bcpinstall.common.entity.init.InitConfigEntity@7bb4ed71
in 'reader', line 2, column 1:
network: bankunion
^
No single argument constructor found for interface java.util.Map : null
in 'reader', line 26, column 3:
backend.bcp.com 9191
^
at org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.constructJavaBean2ndStep(Constructor.java:270)
at org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.construct(Constructor.java:149)
at org.yaml.snakeyaml.constructor.Constructor$ConstructYamlObject.construct(Constructor.java:309)
at org.yaml.snakeyaml.constructor.BaseConstructor.constructObjectNoCheck(BaseConstructor.java:216)
at org.yaml.snakeyaml.constructor.BaseConstructor.constructObject(BaseConstructor.java:205)
at org.yaml.snakeyaml.constructor.BaseConstructor.constructDocument(BaseConstructor.java:164)
at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:148)
at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:525)
at org.yaml.snakeyaml.Yaml.loadAs(Yaml.java:519)
at com.cgb.bcpinstall.biz.InitializeBiz.parseConfigFile(InitializeBiz.java:105)
at com.cgb.bcpinstall.biz.InitializeBiz.initialize(InitializeBiz.java:52)
at InitTest.testInit(InitTest.java:34)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.springframework.test.context.junit4.statements.RunBeforeTestExecutionCallbacks.evaluate(RunBeforeTestExecutionCallbacks.java:74)
at org.springframework.test.context.junit4.statements.RunAfterTestExecutionCallbacks.evaluate(RunAfterTestExecutionCallbacks.java:84)
at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:251)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:97)
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:70)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:190)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:33)
at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:230)
at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:58)
Caused by: org.yaml.snakeyaml.error.YAMLException: No single argument constructor found for interface java.util.Map : null
at org.yaml.snakeyaml.constructor.Constructor$ConstructScalar.construct(Constructor.java:371)
at org.yaml.snakeyaml.constructor.BaseConstructor.constructObjectNoCheck(BaseConstructor.java:216)
at org.yaml.snakeyaml.constructor.BaseConstructor.constructObject(BaseConstructor.java:205)
at org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.constructJavaBean2ndStep(Constructor.java:247)
... 41 common frames omitted
2020-01-20 16:49:13.141 [Thread-2] INFO o.s.w.context.support.GenericWebApplicationContext - Closing org.springframework.web.context.support.GenericWebApplicationContext@658c5a19: startup date [Mon Jan 20 16:49:07 CST 2020]; root of context hierarchy
2020-01-20 16:49:13.144 [Thread-2] INFO o.s.context.support.DefaultLifecycleProcessor - Stopping beans in phase 2147483647
2020-01-20 16:53:45.119 [main] INFO o.s.b.t.context.SpringBootTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [InitTest], using SpringBootContextLoader
2020-01-20 16:53:45.137 [main] INFO o.s.test.context.support.AbstractContextLoader - Could not detect default resource locations for test class [InitTest]: no resource found for suffixes {-context.xml, Context.groovy}.
2020-01-20 16:53:45.548 [main] INFO o.s.b.t.context.SpringBootTestContextBootstrapper - Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener]
2020-01-20 16:53:45.565 [main] INFO o.s.b.t.context.SpringBootTestContextBootstrapper - Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@2cdd0d4b, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@7e9131d5, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@2e1d27ba, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@61d6015a, org.springframework.test.context.support.DirtiesContextTestExecutionListener@2525ff7e, org.springframework.test.context.transaction.TransactionalTestExecutionListener@524d6d96, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@152aa092, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@44a7bfbc, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@4ef37659, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@776b83cc, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@37858383, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@4e268090]
2020-01-20 16:53:46.078 [main] INFO InitTest - Starting InitTest on DESKTOP-7VAN58A with PID 7136 (started by Ddpool in F:\space30\bcp-app-install\bcp-install-main)
2020-01-20 16:53:46.079 [main] INFO InitTest - The following profiles are active: dev
2020-01-20 16:53:46.131 [main] INFO o.s.w.context.support.GenericWebApplicationContext - Refreshing org.springframework.web.context.support.GenericWebApplicationContext@2b9ed6da: startup date [Mon Jan 20 16:53:46 CST 2020]; root of context hierarchy
2020-01-20 16:53:47.283 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode!
2020-01-20 16:53:47.855 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$412f9273] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-01-20 16:53:48.203 [main] INFO com.cgb.bcpinstall.common.util.HttpClientUtil - HttpClientUtil init. poolsize:30, socketTimeout:60000, connectTimeout:60000, connectionRequestTimeout:60000, defaultMaxPerRoute:10
2020-01-20 16:53:48.908 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/v1/install/remove],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.cgb.bcpinstall.common.response.HttpInstallResponse com.cgb.bcpinstall.api.controller.InstallController.doRemove(javax.servlet.http.HttpServletRequest)
2020-01-20 16:53:48.910 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/v1/install/pushPackage],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.cgb.bcpinstall.common.response.HttpInstallResponse com.cgb.bcpinstall.api.controller.InstallController.pushInstallPackage(javax.servlet.http.HttpServletRequest)
2020-01-20 16:53:48.910 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/v1/install/backendStatus],methods=[GET],produces=[application/json;charset=UTF-8]}" onto public com.cgb.bcpinstall.common.response.HttpInstallResponse com.cgb.bcpinstall.api.controller.InstallController.checkBackendStatus(javax.servlet.http.HttpServletRequest)
2020-01-20 16:53:48.911 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/v1/install/getPackage/{os}],produces=[application/json;charset=UTF-8]}" onto public void com.cgb.bcpinstall.api.controller.InstallController.getInstallData(java.lang.String,javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
2020-01-20 16:53:48.911 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/v1/install/finished],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.cgb.bcpinstall.common.response.HttpInstallResponse com.cgb.bcpinstall.api.controller.InstallController.installFinished(com.cgb.bcpinstall.common.entity.InstallResult,javax.servlet.http.HttpServletRequest)
2020-01-20 16:53:48.911 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/v1/install/start],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.cgb.bcpinstall.common.response.HttpInstallResponse com.cgb.bcpinstall.api.controller.InstallController.doInstall(com.cgb.bcpinstall.common.entity.InstallCmd,javax.servlet.http.HttpServletRequest)
2020-01-20 16:53:48.912 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/v1/install/update],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.cgb.bcpinstall.common.response.HttpInstallResponse com.cgb.bcpinstall.api.controller.InstallController.doUpdate(javax.servlet.http.HttpServletRequest)
2020-01-20 16:53:48.912 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/v1/install/end],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.cgb.bcpinstall.common.response.HttpInstallResponse com.cgb.bcpinstall.api.controller.InstallController.endInstall(com.cgb.bcpinstall.common.entity.EndCmd)
2020-01-20 16:53:48.913 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/v1/reg/role],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.cgb.bcpinstall.common.response.HttpInstallResponse com.cgb.bcpinstall.api.controller.RegisterController.regRole(com.cgb.bcpinstall.common.entity.RoleRegEntity,javax.servlet.http.HttpServletRequest)
2020-01-20 16:53:48.918 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/swagger-resources/configuration/security]}" onto public org.springframework.http.ResponseEntity<springfox.documentation.swagger.web.SecurityConfiguration> springfox.documentation.swagger.web.ApiResourceController.securityConfiguration()
2020-01-20 16:53:48.920 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/swagger-resources]}" onto public org.springframework.http.ResponseEntity<java.util.List<springfox.documentation.swagger.web.SwaggerResource>> springfox.documentation.swagger.web.ApiResourceController.swaggerResources()
2020-01-20 16:53:48.921 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/swagger-resources/configuration/ui]}" onto public org.springframework.http.ResponseEntity<springfox.documentation.swagger.web.UiConfiguration> springfox.documentation.swagger.web.ApiResourceController.uiConfiguration()
2020-01-20 16:53:48.925 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String, java.lang.Object>> org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController.error(javax.servlet.http.HttpServletRequest)
2020-01-20 16:53:48.926 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
2020-01-20 16:53:49.164 [main] INFO o.s.web.servlet.handler.SimpleUrlHandlerMapping - Mapped URL path [/swagger-ui.html] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2020-01-20 16:53:49.164 [main] INFO o.s.web.servlet.handler.SimpleUrlHandlerMapping - Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2020-01-20 16:53:49.308 [main] INFO com.cgb.bcpinstall.main.config.WebConfiguration - configureMessageConverters........
2020-01-20 16:53:49.311 [main] INFO c.c.bcpinstall.common.fastJson.BaseFastJsonConfig - fastJsonHttpMessageConverter........
2020-01-20 16:53:49.389 [main] INFO c.c.bcpinstall.common.fastJson.BaseFastJsonConfig - getFastJsonConfig.....
2020-01-20 16:53:49.630 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerAdapter - Looking for @ControllerAdvice: org.springframework.web.context.support.GenericWebApplicationContext@2b9ed6da: startup date [Mon Jan 20 16:53:46 CST 2020]; root of context hierarchy
2020-01-20 16:53:49.746 [main] INFO s.d.s.w.PropertySourcedRequestMappingHandlerMapping - Mapped URL path [/v2/api-docs] onto method [public org.springframework.http.ResponseEntity<springfox.documentation.spring.web.json.Json> springfox.documentation.swagger2.web.Swagger2Controller.getDocumentation(java.lang.String,javax.servlet.http.HttpServletRequest)]
2020-01-20 16:53:50.728 [main] INFO o.s.context.support.DefaultLifecycleProcessor - Starting beans in phase 2147483647
2020-01-20 16:53:50.729 [main] INFO s.d.s.web.plugins.DocumentationPluginsBootstrapper - Context refreshed
2020-01-20 16:53:50.767 [main] INFO s.d.s.web.plugins.DocumentationPluginsBootstrapper - Found 1 custom documentation plugin(s)
2020-01-20 16:53:50.812 [main] INFO s.d.spring.web.scanners.ApiListingReferenceScanner - Scanning for api listing references
2020-01-20 16:53:51.076 [main] INFO InitTest - Started InitTest in 5.448 seconds (JVM running for 6.816)
2020-01-20 16:53:51.079 [main] INFO com.cgb.bcpinstall.main.MainApplication - bcp-app-install 完成资源初始化
2020-01-20 16:53:51.089 [main] INFO com.cgb.bcpinstall.main.MainApplication - *** cryptogen工具本地路径为F:\space30\bcp-app-install\bcp-install-main\resources/generateInstallPackage/masterPackage/\tools/windows/cryptogen.exe
2020-01-20 16:53:51.090 [main] INFO com.cgb.bcpinstall.main.MainApplication - *** configtxgen工具本地路径为F:\space30\bcp-app-install\bcp-install-main\resources/generateInstallPackage/masterPackage/\tools/windows/configtxgen.exe
2020-01-20 16:53:51.090 [main] INFO com.cgb.bcpinstall.main.MainApplication - *** configtxlator工具本地路径为F:\space30\bcp-app-install\bcp-install-main\resources/generateInstallPackage/masterPackage/\tools/windows/configtxlator.exe
2020-01-20 16:53:51.246 [main] ERROR com.cgb.bcpinstall.biz.InitializeBiz - 初始化发生异常
org.yaml.snakeyaml.constructor.ConstructorException: Cannot create property=backendWebsocketPortConfig for JavaBean=com.cgb.bcpinstall.common.entity.init.InitConfigEntity@40f1aa95
in 'reader', line 2, column 1:
network: bankunion
^
No single argument constructor found for interface java.util.Map : null
in 'reader', line 26, column 3:
backend.bcp.com 9191
^
at org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.constructJavaBean2ndStep(Constructor.java:270)
at org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.construct(Constructor.java:149)
at org.yaml.snakeyaml.constructor.Constructor$ConstructYamlObject.construct(Constructor.java:309)
at org.yaml.snakeyaml.constructor.BaseConstructor.constructObjectNoCheck(BaseConstructor.java:216)
at org.yaml.snakeyaml.constructor.BaseConstructor.constructObject(BaseConstructor.java:205)
at org.yaml.snakeyaml.constructor.BaseConstructor.constructDocument(BaseConstructor.java:164)
at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:148)
at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:525)
at org.yaml.snakeyaml.Yaml.loadAs(Yaml.java:519)
at com.cgb.bcpinstall.biz.InitializeBiz.parseConfigFile(InitializeBiz.java:105)
at com.cgb.bcpinstall.biz.InitializeBiz.initialize(InitializeBiz.java:52)
at InitTest.testInit(InitTest.java:34)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.springframework.test.context.junit4.statements.RunBeforeTestExecutionCallbacks.evaluate(RunBeforeTestExecutionCallbacks.java:74)
at org.springframework.test.context.junit4.statements.RunAfterTestExecutionCallbacks.evaluate(RunAfterTestExecutionCallbacks.java:84)
at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:251)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:97)
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:70)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:190)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:33)
at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:230)
at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:58)
Caused by: org.yaml.snakeyaml.error.YAMLException: No single argument constructor found for interface java.util.Map : null
at org.yaml.snakeyaml.constructor.Constructor$ConstructScalar.construct(Constructor.java:371)
at org.yaml.snakeyaml.constructor.BaseConstructor.constructObjectNoCheck(BaseConstructor.java:216)
at org.yaml.snakeyaml.constructor.BaseConstructor.constructObject(BaseConstructor.java:205)
at org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.constructJavaBean2ndStep(Constructor.java:247)
... 41 common frames omitted
2020-01-20 16:53:51.254 [Thread-2] INFO o.s.w.context.support.GenericWebApplicationContext - Closing org.springframework.web.context.support.GenericWebApplicationContext@2b9ed6da: startup date [Mon Jan 20 16:53:46 CST 2020]; root of context hierarchy
2020-01-20 16:53:51.257 [Thread-2] INFO o.s.context.support.DefaultLifecycleProcessor - Stopping beans in phase 2147483647
2020-01-20 16:56:26.363 [main] INFO o.s.b.t.context.SpringBootTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [InitTest], using SpringBootContextLoader
2020-01-20 16:56:26.377 [main] INFO o.s.test.context.support.AbstractContextLoader - Could not detect default resource locations for test class [InitTest]: no resource found for suffixes {-context.xml, Context.groovy}.
2020-01-20 16:56:26.799 [main] INFO o.s.b.t.context.SpringBootTestContextBootstrapper - Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener]
2020-01-20 16:56:26.819 [main] INFO o.s.b.t.context.SpringBootTestContextBootstrapper - Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@2cdd0d4b, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@7e9131d5, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@2e1d27ba, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@61d6015a, org.springframework.test.context.support.DirtiesContextTestExecutionListener@2525ff7e, org.springframework.test.context.transaction.TransactionalTestExecutionListener@524d6d96, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@152aa092, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@44a7bfbc, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@4ef37659, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@776b83cc, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@37858383, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@4e268090]
2020-01-20 16:56:27.419 [main] INFO InitTest - Starting InitTest on DESKTOP-7VAN58A with PID 10080 (started by Ddpool in F:\space30\bcp-app-install\bcp-install-main)
2020-01-20 16:56:27.420 [main] INFO InitTest - The following profiles are active: dev
2020-01-20 16:56:27.474 [main] INFO o.s.w.context.support.GenericWebApplicationContext - Refreshing org.springframework.web.context.support.GenericWebApplicationContext@2b9ed6da: startup date [Mon Jan 20 16:56:27 CST 2020]; root of context hierarchy
2020-01-20 16:56:28.677 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode!
2020-01-20 16:56:29.230 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$412f9273] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-01-20 16:56:29.581 [main] INFO com.cgb.bcpinstall.common.util.HttpClientUtil - HttpClientUtil init. poolsize:30, socketTimeout:60000, connectTimeout:60000, connectionRequestTimeout:60000, defaultMaxPerRoute:10
2020-01-20 16:56:30.292 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/v1/install/remove],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.cgb.bcpinstall.common.response.HttpInstallResponse com.cgb.bcpinstall.api.controller.InstallController.doRemove(javax.servlet.http.HttpServletRequest)
2020-01-20 16:56:30.293 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/v1/install/start],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.cgb.bcpinstall.common.response.HttpInstallResponse com.cgb.bcpinstall.api.controller.InstallController.doInstall(com.cgb.bcpinstall.common.entity.InstallCmd,javax.servlet.http.HttpServletRequest)
2020-01-20 16:56:30.294 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/v1/install/finished],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.cgb.bcpinstall.common.response.HttpInstallResponse com.cgb.bcpinstall.api.controller.InstallController.installFinished(com.cgb.bcpinstall.common.entity.InstallResult,javax.servlet.http.HttpServletRequest)
2020-01-20 16:56:30.294 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/v1/install/update],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.cgb.bcpinstall.common.response.HttpInstallResponse com.cgb.bcpinstall.api.controller.InstallController.doUpdate(javax.servlet.http.HttpServletRequest)
2020-01-20 16:56:30.295 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/v1/install/end],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.cgb.bcpinstall.common.response.HttpInstallResponse com.cgb.bcpinstall.api.controller.InstallController.endInstall(com.cgb.bcpinstall.common.entity.EndCmd)
2020-01-20 16:56:30.296 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/v1/install/getPackage/{os}],produces=[application/json;charset=UTF-8]}" onto public void com.cgb.bcpinstall.api.controller.InstallController.getInstallData(java.lang.String,javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
2020-01-20 16:56:30.296 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/v1/install/pushPackage],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.cgb.bcpinstall.common.response.HttpInstallResponse com.cgb.bcpinstall.api.controller.InstallController.pushInstallPackage(javax.servlet.http.HttpServletRequest)
2020-01-20 16:56:30.297 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/v1/install/backendStatus],methods=[GET],produces=[application/json;charset=UTF-8]}" onto public com.cgb.bcpinstall.common.response.HttpInstallResponse com.cgb.bcpinstall.api.controller.InstallController.checkBackendStatus(javax.servlet.http.HttpServletRequest)
2020-01-20 16:56:30.298 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/v1/reg/role],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.cgb.bcpinstall.common.response.HttpInstallResponse com.cgb.bcpinstall.api.controller.RegisterController.regRole(com.cgb.bcpinstall.common.entity.RoleRegEntity,javax.servlet.http.HttpServletRequest)
2020-01-20 16:56:30.303 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/swagger-resources/configuration/security]}" onto public org.springframework.http.ResponseEntity<springfox.documentation.swagger.web.SecurityConfiguration> springfox.documentation.swagger.web.ApiResourceController.securityConfiguration()
2020-01-20 16:56:30.305 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/swagger-resources]}" onto public org.springframework.http.ResponseEntity<java.util.List<springfox.documentation.swagger.web.SwaggerResource>> springfox.documentation.swagger.web.ApiResourceController.swaggerResources()
2020-01-20 16:56:30.305 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/swagger-resources/configuration/ui]}" onto public org.springframework.http.ResponseEntity<springfox.documentation.swagger.web.UiConfiguration> springfox.documentation.swagger.web.ApiResourceController.uiConfiguration()
2020-01-20 16:56:30.310 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String, java.lang.Object>> org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController.error(javax.servlet.http.HttpServletRequest)
2020-01-20 16:56:30.310 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
2020-01-20 16:56:30.545 [main] INFO o.s.web.servlet.handler.SimpleUrlHandlerMapping - Mapped URL path [/swagger-ui.html] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2020-01-20 16:56:30.545 [main] INFO o.s.web.servlet.handler.SimpleUrlHandlerMapping - Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2020-01-20 16:56:30.704 [main] INFO com.cgb.bcpinstall.main.config.WebConfiguration - configureMessageConverters........
2020-01-20 16:56:30.707 [main] INFO c.c.bcpinstall.common.fastJson.BaseFastJsonConfig - fastJsonHttpMessageConverter........
2020-01-20 16:56:30.789 [main] INFO c.c.bcpinstall.common.fastJson.BaseFastJsonConfig - getFastJsonConfig.....
2020-01-20 16:56:31.051 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerAdapter - Looking for @ControllerAdvice: org.springframework.web.context.support.GenericWebApplicationContext@2b9ed6da: startup date [Mon Jan 20 16:56:27 CST 2020]; root of context hierarchy
2020-01-20 16:56:31.170 [main] INFO s.d.s.w.PropertySourcedRequestMappingHandlerMapping - Mapped URL path [/v2/api-docs] onto method [public org.springframework.http.ResponseEntity<springfox.documentation.spring.web.json.Json> springfox.documentation.swagger2.web.Swagger2Controller.getDocumentation(java.lang.String,javax.servlet.http.HttpServletRequest)]
2020-01-20 16:56:32.135 [main] INFO o.s.context.support.DefaultLifecycleProcessor - Starting beans in phase 2147483647
2020-01-20 16:56:32.136 [main] INFO s.d.s.web.plugins.DocumentationPluginsBootstrapper - Context refreshed
2020-01-20 16:56:32.172 [main] INFO s.d.s.web.plugins.DocumentationPluginsBootstrapper - Found 1 custom documentation plugin(s)
2020-01-20 16:56:32.228 [main] INFO s.d.spring.web.scanners.ApiListingReferenceScanner - Scanning for api listing references
2020-01-20 16:56:32.497 [main] INFO InitTest - Started InitTest in 5.613 seconds (JVM running for 6.986)
2020-01-20 16:56:32.500 [main] INFO com.cgb.bcpinstall.main.MainApplication - bcp-app-install 完成资源初始化
2020-01-20 16:56:32.508 [main] INFO com.cgb.bcpinstall.main.MainApplication - *** cryptogen工具本地路径为F:\space30\bcp-app-install\bcp-install-main\resources/generateInstallPackage/masterPackage/\tools/windows/cryptogen.exe
2020-01-20 16:56:32.508 [main] INFO com.cgb.bcpinstall.main.MainApplication - *** configtxgen工具本地路径为F:\space30\bcp-app-install\bcp-install-main\resources/generateInstallPackage/masterPackage/\tools/windows/configtxgen.exe
2020-01-20 16:56:32.509 [main] INFO com.cgb.bcpinstall.main.MainApplication - *** configtxlator工具本地路径为F:\space30\bcp-app-install\bcp-install-main\resources/generateInstallPackage/masterPackage/\tools/windows/configtxlator.exe
2020-01-20 16:56:32.645 [main] INFO com.cgb.bcpinstall.biz.InitializeBiz - 当前机构状态为1
2020-01-20 16:56:32.669 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成 chaincodeendorsementpolicy.yaml 文件成功
2020-01-20 16:56:32.743 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成 configtx.yaml 文件成功
2020-01-20 16:56:32.743 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成配置文件,当前机构状态为:1
2020-01-20 16:56:32.752 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成 crypto-config.yaml 文件成功
2020-01-20 16:56:33.003 [process stream reader] INFO com.cgb.bcpinstall.common.util.ProcessUtil - F:\space30\bcp-app-install\bcp-install-main\resources/generateInstallPackage/masterPackage/\tools/windows/cryptogen.exe
2020-01-20 16:56:33.003 [process stream reader] INFO com.cgb.bcpinstall.common.util.ProcessUtil -
2020-01-20 16:56:33.003 [process stream reader] INFO com.cgb.bcpinstall.common.util.ProcessUtil - ##########################################################
2020-01-20 16:56:33.003 [process stream reader] INFO com.cgb.bcpinstall.common.util.ProcessUtil - ############### 使用 cryptogen 工具创建证书 ##############
2020-01-20 16:56:33.003 [process stream reader] INFO com.cgb.bcpinstall.common.util.ProcessUtil - ##########################################################
2020-01-20 16:56:33.021 [process stream reader] INFO com.cgb.bcpinstall.common.util.ProcessUtil - F:\space30\bcp-app-install\bcp-install-main\resources/generateInstallPackage/masterPackage/\generate.sh: line 31: chomod: command not found
2020-01-20 16:56:33.181 [process stream reader] INFO com.cgb.bcpinstall.common.util.ProcessUtil - + 'F:\space30\bcp-app-install\bcp-install-main\resources/generateInstallPackage/masterPackage/\tools/windows/cryptogen.exe' generate --config=./crypto-config.yaml
2020-01-20 16:56:34.017 [process stream reader] INFO com.cgb.bcpinstall.common.util.ProcessUtil - bcp.com
2020-01-20 16:56:34.228 [process stream reader] INFO com.cgb.bcpinstall.common.util.ProcessUtil - 2020-01-20 16:56:34.189 CST [bccsp_sw] storePrivateKey -> ERRO 001 Failed storing private key [7ce21af2f312b20dedc6171249aba3e30d5fa308b14f2a8a175f392f8d7a8627]: [open crypto-config\ordererOrganizations\bcp.com\orderers\orderer.bcp.com\msp\keystore\7ce21af2f312b20dedc6171249aba3e30d5fa308b14f2a8a175f392f8d7a8627_sk: The system cannot find the path specified.]
2020-01-20 16:56:34.239 [process stream reader] INFO com.cgb.bcpinstall.common.util.ProcessUtil - Error generating local MSP for {orderer orderer.bcp.com [orderer.bcp.com orderer]}:
2020-01-20 16:56:34.239 [process stream reader] INFO com.cgb.bcpinstall.common.util.ProcessUtil - Failed storing key [ECDSAP256]: Failed storing ECDSA private key [open crypto-config\ordererOrganizations\bcp.com\orderers\orderer.bcp.com\msp\keystore\7ce21af2f312b20dedc6171249aba3e30d5fa308b14f2a8a175f392f8d7a8627_sk: The system cannot find the path specified.]
2020-01-20 16:56:34.253 [process stream reader] INFO com.cgb.bcpinstall.common.util.ProcessUtil - 创建证书失败...
2020-01-20 16:56:34.253 [process stream reader] INFO com.cgb.bcpinstall.common.util.ProcessUtil - + res=1
2020-01-20 16:56:34.253 [process stream reader] INFO com.cgb.bcpinstall.common.util.ProcessUtil - + set +x
2020-01-20 16:56:34.273 [main] ERROR com.cgb.bcpinstall.biz.helper.Initializer - 创建证书失败
2020-01-20 16:56:34.948 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成 docker-compose-orderer.yaml 文件成功
2020-01-20 16:56:34.949 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成 orderer.properties 文件成功
2020-01-20 16:56:34.958 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 扩容节点其他节点的host:peer1.bcp.com
2020-01-20 16:56:35.385 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 扩容节点其他节点的host:peer0.bcp.com
2020-01-20 16:56:35.783 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 新节点生成docker-compose文件路径:F:\space30\bcp-app-install\bcp-install-main\resources/generateInstallPackage/masterPackage/\fabric-net/dockerFile/peer-127.0.0.1/docker-compose-peer.yaml
2020-01-20 16:56:35.787 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成 docker-compose-peer.yaml 文件成功
2020-01-20 16:56:35.787 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 开始创建 backend 相关文件
2020-01-20 16:56:35.796 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成 initData.yaml 文件成功
2020-01-20 16:56:35.806 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成 network-config.json 文件成功
2020-01-20 16:56:35.807 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成 bcsconfig.properties 文件成功
2020-01-20 16:56:35.811 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成 start-backend.sh 文件成功
2020-01-20 16:56:35.819 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成 vue.config.js 文件成功
2020-01-20 16:56:35.830 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成 start-web.sh 文件成功
2020-01-20 16:56:35.832 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成 collections_config.json 文件成功
2020-01-20 16:56:35.838 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成 application.yml 文件成功
2020-01-20 16:56:35.843 [Thread-2] INFO o.s.w.context.support.GenericWebApplicationContext - Closing org.springframework.web.context.support.GenericWebApplicationContext@2b9ed6da: startup date [Mon Jan 20 16:56:27 CST 2020]; root of context hierarchy
2020-01-20 16:56:35.846 [Thread-2] INFO o.s.context.support.DefaultLifecycleProcessor - Stopping beans in phase 2147483647
2020-01-20 16:59:52.388 [main] INFO o.s.b.t.context.SpringBootTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [InitTest], using SpringBootContextLoader
2020-01-20 16:59:52.401 [main] INFO o.s.test.context.support.AbstractContextLoader - Could not detect default resource locations for test class [InitTest]: no resource found for suffixes {-context.xml, Context.groovy}.
2020-01-20 16:59:52.724 [main] INFO o.s.b.t.context.SpringBootTestContextBootstrapper - Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener]
2020-01-20 16:59:52.745 [main] INFO o.s.b.t.context.SpringBootTestContextBootstrapper - Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@f381794, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@2cdd0d4b, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@7e9131d5, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@2e1d27ba, org.springframework.test.context.support.DirtiesContextTestExecutionListener@61d6015a, org.springframework.test.context.transaction.TransactionalTestExecutionListener@2525ff7e, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@524d6d96, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@152aa092, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@44a7bfbc, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@4ef37659, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@776b83cc, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@37858383]
2020-01-20 16:59:53.235 [main] INFO InitTest - Starting InitTest on DESKTOP-7VAN58A with PID 12664 (started by Ddpool in F:\space30\bcp-app-install\bcp-install-main)
2020-01-20 16:59:53.236 [main] INFO InitTest - The following profiles are active: dev
2020-01-20 16:59:53.289 [main] INFO o.s.w.context.support.GenericWebApplicationContext - Refreshing org.springframework.web.context.support.GenericWebApplicationContext@6e01f9b0: startup date [Mon Jan 20 16:59:53 CST 2020]; root of context hierarchy
2020-01-20 16:59:54.372 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode!
2020-01-20 16:59:54.964 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$b6d7a088] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-01-20 16:59:55.298 [main] INFO com.cgb.bcpinstall.common.util.HttpClientUtil - HttpClientUtil init. poolsize:30, socketTimeout:60000, connectTimeout:60000, connectionRequestTimeout:60000, defaultMaxPerRoute:10
2020-01-20 16:59:55.958 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/v1/install/remove],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.cgb.bcpinstall.common.response.HttpInstallResponse com.cgb.bcpinstall.api.controller.InstallController.doRemove(javax.servlet.http.HttpServletRequest)
2020-01-20 16:59:55.959 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/v1/install/pushPackage],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.cgb.bcpinstall.common.response.HttpInstallResponse com.cgb.bcpinstall.api.controller.InstallController.pushInstallPackage(javax.servlet.http.HttpServletRequest)
2020-01-20 16:59:55.959 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/v1/install/backendStatus],methods=[GET],produces=[application/json;charset=UTF-8]}" onto public com.cgb.bcpinstall.common.response.HttpInstallResponse com.cgb.bcpinstall.api.controller.InstallController.checkBackendStatus(javax.servlet.http.HttpServletRequest)
2020-01-20 16:59:55.959 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/v1/install/finished],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.cgb.bcpinstall.common.response.HttpInstallResponse com.cgb.bcpinstall.api.controller.InstallController.installFinished(com.cgb.bcpinstall.common.entity.InstallResult,javax.servlet.http.HttpServletRequest)
2020-01-20 16:59:55.960 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/v1/install/end],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.cgb.bcpinstall.common.response.HttpInstallResponse com.cgb.bcpinstall.api.controller.InstallController.endInstall(com.cgb.bcpinstall.common.entity.EndCmd)
2020-01-20 16:59:55.960 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/v1/install/start],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.cgb.bcpinstall.common.response.HttpInstallResponse com.cgb.bcpinstall.api.controller.InstallController.doInstall(com.cgb.bcpinstall.common.entity.InstallCmd,javax.servlet.http.HttpServletRequest)
2020-01-20 16:59:55.960 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/v1/install/getPackage/{os}],produces=[application/json;charset=UTF-8]}" onto public void com.cgb.bcpinstall.api.controller.InstallController.getInstallData(java.lang.String,javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
2020-01-20 16:59:55.961 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/v1/install/update],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.cgb.bcpinstall.common.response.HttpInstallResponse com.cgb.bcpinstall.api.controller.InstallController.doUpdate(javax.servlet.http.HttpServletRequest)
2020-01-20 16:59:55.962 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/v1/reg/role],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.cgb.bcpinstall.common.response.HttpInstallResponse com.cgb.bcpinstall.api.controller.RegisterController.regRole(com.cgb.bcpinstall.common.entity.RoleRegEntity,javax.servlet.http.HttpServletRequest)
2020-01-20 16:59:55.967 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/swagger-resources/configuration/ui]}" onto public org.springframework.http.ResponseEntity<springfox.documentation.swagger.web.UiConfiguration> springfox.documentation.swagger.web.ApiResourceController.uiConfiguration()
2020-01-20 16:59:55.968 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/swagger-resources]}" onto public org.springframework.http.ResponseEntity<java.util.List<springfox.documentation.swagger.web.SwaggerResource>> springfox.documentation.swagger.web.ApiResourceController.swaggerResources()
2020-01-20 16:59:55.968 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/swagger-resources/configuration/security]}" onto public org.springframework.http.ResponseEntity<springfox.documentation.swagger.web.SecurityConfiguration> springfox.documentation.swagger.web.ApiResourceController.securityConfiguration()
2020-01-20 16:59:55.973 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String, java.lang.Object>> org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController.error(javax.servlet.http.HttpServletRequest)
2020-01-20 16:59:55.973 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
2020-01-20 16:59:56.211 [main] INFO o.s.web.servlet.handler.SimpleUrlHandlerMapping - Mapped URL path [/swagger-ui.html] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2020-01-20 16:59:56.211 [main] INFO o.s.web.servlet.handler.SimpleUrlHandlerMapping - Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2020-01-20 16:59:56.369 [main] INFO com.cgb.bcpinstall.main.config.WebConfiguration - configureMessageConverters........
2020-01-20 16:59:56.371 [main] INFO c.c.bcpinstall.common.fastJson.BaseFastJsonConfig - fastJsonHttpMessageConverter........
2020-01-20 16:59:56.451 [main] INFO c.c.bcpinstall.common.fastJson.BaseFastJsonConfig - getFastJsonConfig.....
2020-01-20 16:59:56.705 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerAdapter - Looking for @ControllerAdvice: org.springframework.web.context.support.GenericWebApplicationContext@6e01f9b0: startup date [Mon Jan 20 16:59:53 CST 2020]; root of context hierarchy
2020-01-20 16:59:56.812 [main] INFO s.d.s.w.PropertySourcedRequestMappingHandlerMapping - Mapped URL path [/v2/api-docs] onto method [public org.springframework.http.ResponseEntity<springfox.documentation.spring.web.json.Json> springfox.documentation.swagger2.web.Swagger2Controller.getDocumentation(java.lang.String,javax.servlet.http.HttpServletRequest)]
2020-01-20 16:59:57.823 [main] INFO o.s.context.support.DefaultLifecycleProcessor - Starting beans in phase 2147483647
2020-01-20 16:59:57.824 [main] INFO s.d.s.web.plugins.DocumentationPluginsBootstrapper - Context refreshed
2020-01-20 16:59:57.863 [main] INFO s.d.s.web.plugins.DocumentationPluginsBootstrapper - Found 1 custom documentation plugin(s)
2020-01-20 16:59:57.912 [main] INFO s.d.spring.web.scanners.ApiListingReferenceScanner - Scanning for api listing references
2020-01-20 16:59:58.182 [main] INFO InitTest - Started InitTest in 5.372 seconds (JVM running for 7.38)
2020-01-20 16:59:58.185 [main] INFO com.cgb.bcpinstall.main.MainApplication - bcp-app-install 完成资源初始化
2020-01-20 16:59:58.196 [main] INFO com.cgb.bcpinstall.main.MainApplication - *** cryptogen工具本地路径为F:\space30\bcp-app-install\bcp-install-main\resources/generateInstallPackage/masterPackage/\tools/windows/cryptogen.exe
2020-01-20 16:59:58.196 [main] INFO com.cgb.bcpinstall.main.MainApplication - *** configtxgen工具本地路径为F:\space30\bcp-app-install\bcp-install-main\resources/generateInstallPackage/masterPackage/\tools/windows/configtxgen.exe
2020-01-20 16:59:58.196 [main] INFO com.cgb.bcpinstall.main.MainApplication - *** configtxlator工具本地路径为F:\space30\bcp-app-install\bcp-install-main\resources/generateInstallPackage/masterPackage/\tools/windows/configtxlator.exe
2020-01-20 16:59:58.361 [main] INFO com.cgb.bcpinstall.biz.InitializeBiz - 当前机构状态为1
2020-01-20 16:59:58.387 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成 chaincodeendorsementpolicy.yaml 文件成功
2020-01-20 16:59:58.420 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成 configtx.yaml 文件成功
2020-01-20 16:59:58.421 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成配置文件,当前机构状态为:1
2020-01-20 16:59:58.426 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成 crypto-config.yaml 文件成功
2020-01-20 16:59:58.508 [process stream reader] INFO com.cgb.bcpinstall.common.util.ProcessUtil - F:\space30\bcp-app-install\bcp-install-main\resources/generateInstallPackage/masterPackage/\tools/windows/cryptogen.exe
2020-01-20 16:59:58.509 [process stream reader] INFO com.cgb.bcpinstall.common.util.ProcessUtil -
2020-01-20 16:59:58.509 [process stream reader] INFO com.cgb.bcpinstall.common.util.ProcessUtil - ##########################################################
2020-01-20 16:59:58.509 [process stream reader] INFO com.cgb.bcpinstall.common.util.ProcessUtil - ############### 使用 cryptogen 工具创建证书 ##############
2020-01-20 16:59:58.509 [process stream reader] INFO com.cgb.bcpinstall.common.util.ProcessUtil - ##########################################################
2020-01-20 16:59:58.519 [process stream reader] INFO com.cgb.bcpinstall.common.util.ProcessUtil - F:\space30\bcp-app-install\bcp-install-main\resources/generateInstallPackage/masterPackage/\generate.sh: line 31: chomod: command not found
2020-01-20 16:59:58.585 [process stream reader] INFO com.cgb.bcpinstall.common.util.ProcessUtil - + 'F:\space30\bcp-app-install\bcp-install-main\resources/generateInstallPackage/masterPackage/\tools/windows/cryptogen.exe' generate --config=./crypto-config.yaml
2020-01-20 16:59:58.674 [process stream reader] INFO com.cgb.bcpinstall.common.util.ProcessUtil - bcp.com
2020-01-20 16:59:58.785 [process stream reader] INFO com.cgb.bcpinstall.common.util.ProcessUtil - Error generating local MSP for {orderer orderer.bcp.com [orderer.bcp.com orderer]}:
2020-01-20 16:59:58.785 [process stream reader] INFO com.cgb.bcpinstall.common.util.ProcessUtil - 2020-01-20 16:59:58.785 CST [bccsp_sw] storePrivateKey -> ERRO 001 Failed storing private key [90e8cd2d18ab4d97aa3d62f89716a38283708559451ea0136f089552eff027bc]: [open crypto-config\ordererOrganizations\bcp.com\orderers\orderer.bcp.com\msp\keystore\90e8cd2d18ab4d97aa3d62f89716a38283708559451ea0136f089552eff027bc_sk: The system cannot find the path specified.]
2020-01-20 16:59:58.785 [process stream reader] INFO com.cgb.bcpinstall.common.util.ProcessUtil - Failed storing key [ECDSAP256]: Failed storing ECDSA private key [open crypto-config\ordererOrganizations\bcp.com\orderers\orderer.bcp.com\msp\keystore\90e8cd2d18ab4d97aa3d62f89716a38283708559451ea0136f089552eff027bc_sk: The system cannot find the path specified.]
2020-01-20 16:59:58.790 [process stream reader] INFO com.cgb.bcpinstall.common.util.ProcessUtil - 创建证书失败...
2020-01-20 16:59:58.790 [process stream reader] INFO com.cgb.bcpinstall.common.util.ProcessUtil - + res=1
2020-01-20 16:59:58.791 [process stream reader] INFO com.cgb.bcpinstall.common.util.ProcessUtil - + set +x
2020-01-20 16:59:58.810 [main] ERROR com.cgb.bcpinstall.biz.helper.Initializer - 创建证书失败
2020-01-20 16:59:59.470 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成 docker-compose-orderer.yaml 文件成功
2020-01-20 16:59:59.470 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成 orderer.properties 文件成功
2020-01-20 16:59:59.473 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 扩容节点其他节点的host:peer1.bcp.com
2020-01-20 16:59:59.888 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 扩容节点其他节点的host:peer0.bcp.com
2020-01-20 17:00:00.318 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 新节点生成docker-compose文件路径:F:\space30\bcp-app-install\bcp-install-main\resources/generateInstallPackage/masterPackage/\fabric-net/dockerFile/peer-127.0.0.1/docker-compose-peer.yaml
2020-01-20 17:00:00.321 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成 docker-compose-peer.yaml 文件成功
2020-01-20 17:00:00.321 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 开始创建 backend 相关文件
2020-01-20 17:00:00.322 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成 initData.yaml 文件成功
2020-01-20 17:00:00.332 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成 network-config.json 文件成功
2020-01-20 17:00:00.333 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成 bcsconfig.properties 文件成功
2020-01-20 17:00:00.337 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成 start-backend.sh 文件成功
2020-01-20 17:00:00.339 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成 vue.config.js 文件成功
2020-01-20 17:00:00.341 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成 start-web.sh 文件成功
2020-01-20 17:00:00.343 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成 collections_config.json 文件成功
2020-01-20 17:00:00.350 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成 application.yml 文件成功
2020-01-20 17:00:00.355 [Thread-2] INFO o.s.w.context.support.GenericWebApplicationContext - Closing org.springframework.web.context.support.GenericWebApplicationContext@6e01f9b0: startup date [Mon Jan 20 16:59:53 CST 2020]; root of context hierarchy
2020-01-20 17:00:00.358 [Thread-2] INFO o.s.context.support.DefaultLifecycleProcessor - Stopping beans in phase 2147483647
2020-01-20 17:01:27.498 [main] INFO o.s.b.t.context.SpringBootTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [InitTest], using SpringBootContextLoader
2020-01-20 17:01:27.511 [main] INFO o.s.test.context.support.AbstractContextLoader - Could not detect default resource locations for test class [InitTest]: no resource found for suffixes {-context.xml, Context.groovy}.
2020-01-20 17:01:27.849 [main] INFO o.s.b.t.context.SpringBootTestContextBootstrapper - Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener]
2020-01-20 17:01:27.871 [main] INFO o.s.b.t.context.SpringBootTestContextBootstrapper - Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@6f27a732, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@6c779568, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@f381794, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@2cdd0d4b, org.springframework.test.context.support.DirtiesContextTestExecutionListener@7e9131d5, org.springframework.test.context.transaction.TransactionalTestExecutionListener@2e1d27ba, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@61d6015a, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@2525ff7e, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@524d6d96, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@152aa092, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@44a7bfbc, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@4ef37659]
2020-01-20 17:01:28.298 [main] INFO InitTest - Starting InitTest on DESKTOP-7VAN58A with PID 9060 (started by Ddpool in F:\space30\bcp-app-install\bcp-install-main)
2020-01-20 17:01:28.298 [main] INFO InitTest - The following profiles are active: dev
2020-01-20 17:01:28.339 [main] INFO o.s.w.context.support.GenericWebApplicationContext - Refreshing org.springframework.web.context.support.GenericWebApplicationContext@6986852: startup date [Mon Jan 20 17:01:28 CST 2020]; root of context hierarchy
2020-01-20 17:01:29.409 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode!
2020-01-20 17:01:30.002 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$31510e74] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-01-20 17:01:30.361 [main] INFO com.cgb.bcpinstall.common.util.HttpClientUtil - HttpClientUtil init. poolsize:30, socketTimeout:60000, connectTimeout:60000, connectionRequestTimeout:60000, defaultMaxPerRoute:10
2020-01-20 17:01:31.037 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/v1/install/remove],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.cgb.bcpinstall.common.response.HttpInstallResponse com.cgb.bcpinstall.api.controller.InstallController.doRemove(javax.servlet.http.HttpServletRequest)
2020-01-20 17:01:31.038 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/v1/install/finished],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.cgb.bcpinstall.common.response.HttpInstallResponse com.cgb.bcpinstall.api.controller.InstallController.installFinished(com.cgb.bcpinstall.common.entity.InstallResult,javax.servlet.http.HttpServletRequest)
2020-01-20 17:01:31.039 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/v1/install/update],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.cgb.bcpinstall.common.response.HttpInstallResponse com.cgb.bcpinstall.api.controller.InstallController.doUpdate(javax.servlet.http.HttpServletRequest)
2020-01-20 17:01:31.039 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/v1/install/start],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.cgb.bcpinstall.common.response.HttpInstallResponse com.cgb.bcpinstall.api.controller.InstallController.doInstall(com.cgb.bcpinstall.common.entity.InstallCmd,javax.servlet.http.HttpServletRequest)
2020-01-20 17:01:31.040 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/v1/install/getPackage/{os}],produces=[application/json;charset=UTF-8]}" onto public void com.cgb.bcpinstall.api.controller.InstallController.getInstallData(java.lang.String,javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
2020-01-20 17:01:31.040 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/v1/install/end],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.cgb.bcpinstall.common.response.HttpInstallResponse com.cgb.bcpinstall.api.controller.InstallController.endInstall(com.cgb.bcpinstall.common.entity.EndCmd)
2020-01-20 17:01:31.041 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/v1/install/pushPackage],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.cgb.bcpinstall.common.response.HttpInstallResponse com.cgb.bcpinstall.api.controller.InstallController.pushInstallPackage(javax.servlet.http.HttpServletRequest)
2020-01-20 17:01:31.041 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/v1/install/backendStatus],methods=[GET],produces=[application/json;charset=UTF-8]}" onto public com.cgb.bcpinstall.common.response.HttpInstallResponse com.cgb.bcpinstall.api.controller.InstallController.checkBackendStatus(javax.servlet.http.HttpServletRequest)
2020-01-20 17:01:31.042 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/v1/reg/role],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.cgb.bcpinstall.common.response.HttpInstallResponse com.cgb.bcpinstall.api.controller.RegisterController.regRole(com.cgb.bcpinstall.common.entity.RoleRegEntity,javax.servlet.http.HttpServletRequest)
2020-01-20 17:01:31.047 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/swagger-resources/configuration/ui]}" onto public org.springframework.http.ResponseEntity<springfox.documentation.swagger.web.UiConfiguration> springfox.documentation.swagger.web.ApiResourceController.uiConfiguration()
2020-01-20 17:01:31.048 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/swagger-resources]}" onto public org.springframework.http.ResponseEntity<java.util.List<springfox.documentation.swagger.web.SwaggerResource>> springfox.documentation.swagger.web.ApiResourceController.swaggerResources()
2020-01-20 17:01:31.048 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/swagger-resources/configuration/security]}" onto public org.springframework.http.ResponseEntity<springfox.documentation.swagger.web.SecurityConfiguration> springfox.documentation.swagger.web.ApiResourceController.securityConfiguration()
2020-01-20 17:01:31.053 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String, java.lang.Object>> org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController.error(javax.servlet.http.HttpServletRequest)
2020-01-20 17:01:31.053 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
2020-01-20 17:01:31.292 [main] INFO o.s.web.servlet.handler.SimpleUrlHandlerMapping - Mapped URL path [/swagger-ui.html] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2020-01-20 17:01:31.292 [main] INFO o.s.web.servlet.handler.SimpleUrlHandlerMapping - Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2020-01-20 17:01:31.453 [main] INFO com.cgb.bcpinstall.main.config.WebConfiguration - configureMessageConverters........
2020-01-20 17:01:31.456 [main] INFO c.c.bcpinstall.common.fastJson.BaseFastJsonConfig - fastJsonHttpMessageConverter........
2020-01-20 17:01:31.541 [main] INFO c.c.bcpinstall.common.fastJson.BaseFastJsonConfig - getFastJsonConfig.....
2020-01-20 17:01:31.829 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerAdapter - Looking for @ControllerAdvice: org.springframework.web.context.support.GenericWebApplicationContext@6986852: startup date [Mon Jan 20 17:01:28 CST 2020]; root of context hierarchy
2020-01-20 17:01:31.950 [main] INFO s.d.s.w.PropertySourcedRequestMappingHandlerMapping - Mapped URL path [/v2/api-docs] onto method [public org.springframework.http.ResponseEntity<springfox.documentation.spring.web.json.Json> springfox.documentation.swagger2.web.Swagger2Controller.getDocumentation(java.lang.String,javax.servlet.http.HttpServletRequest)]
2020-01-20 17:01:32.941 [main] INFO o.s.context.support.DefaultLifecycleProcessor - Starting beans in phase 2147483647
2020-01-20 17:01:32.941 [main] INFO s.d.s.web.plugins.DocumentationPluginsBootstrapper - Context refreshed
2020-01-20 17:01:32.978 [main] INFO s.d.s.web.plugins.DocumentationPluginsBootstrapper - Found 1 custom documentation plugin(s)
2020-01-20 17:01:33.033 [main] INFO s.d.spring.web.scanners.ApiListingReferenceScanner - Scanning for api listing references
2020-01-20 17:01:33.303 [main] INFO InitTest - Started InitTest in 5.378 seconds (JVM running for 7.669)
2020-01-20 17:01:33.306 [main] INFO com.cgb.bcpinstall.main.MainApplication - bcp-app-install 完成资源初始化
2020-01-20 17:01:33.316 [main] INFO com.cgb.bcpinstall.main.MainApplication - *** cryptogen工具本地路径为F:\space30\bcp-app-install\bcp-install-main\resources/generateInstallPackage/masterPackage/\tools/windows/cryptogen.exe
2020-01-20 17:01:33.316 [main] INFO com.cgb.bcpinstall.main.MainApplication - *** configtxgen工具本地路径为F:\space30\bcp-app-install\bcp-install-main\resources/generateInstallPackage/masterPackage/\tools/windows/configtxgen.exe
2020-01-20 17:01:33.316 [main] INFO com.cgb.bcpinstall.main.MainApplication - *** configtxlator工具本地路径为F:\space30\bcp-app-install\bcp-install-main\resources/generateInstallPackage/masterPackage/\tools/windows/configtxlator.exe
2020-01-20 17:01:33.456 [main] INFO com.cgb.bcpinstall.biz.InitializeBiz - 当前机构状态为1
2020-01-20 17:01:33.478 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成 chaincodeendorsementpolicy.yaml 文件成功
2020-01-20 17:01:33.511 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成 configtx.yaml 文件成功
2020-01-20 17:01:33.511 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成配置文件,当前机构状态为:1
2020-01-20 17:01:33.516 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成 crypto-config.yaml 文件成功
2020-01-20 17:01:33.594 [process stream reader] INFO com.cgb.bcpinstall.common.util.ProcessUtil - F:\space30\bcp-app-install\bcp-install-main\resources/generateInstallPackage/masterPackage/\tools/windows/cryptogen.exe
2020-01-20 17:01:33.594 [process stream reader] INFO com.cgb.bcpinstall.common.util.ProcessUtil -
2020-01-20 17:01:33.595 [process stream reader] INFO com.cgb.bcpinstall.common.util.ProcessUtil - ##########################################################
2020-01-20 17:01:33.595 [process stream reader] INFO com.cgb.bcpinstall.common.util.ProcessUtil - ############### 使用 cryptogen 工具创建证书 ##############
2020-01-20 17:01:33.595 [process stream reader] INFO com.cgb.bcpinstall.common.util.ProcessUtil - ##########################################################
2020-01-20 17:01:33.606 [process stream reader] INFO com.cgb.bcpinstall.common.util.ProcessUtil - F:\space30\bcp-app-install\bcp-install-main\resources/generateInstallPackage/masterPackage/\generate.sh: line 31: chomod: command not found
2020-01-20 17:01:33.695 [process stream reader] INFO com.cgb.bcpinstall.common.util.ProcessUtil - + 'F:\space30\bcp-app-install\bcp-install-main\resources/generateInstallPackage/masterPackage/\tools/windows/cryptogen.exe' generate --config=./crypto-config.yaml
2020-01-20 17:01:33.780 [process stream reader] INFO com.cgb.bcpinstall.common.util.ProcessUtil - bcp.com
2020-01-20 17:01:33.891 [process stream reader] INFO com.cgb.bcpinstall.common.util.ProcessUtil - 2020-01-20 17:01:33.891 CST [bccsp_sw] storePrivateKey -> ERRO 001 Failed storing private key [7e2dcb27536ad1a4c3aea2ff92958ab857829e1d07271d214d67fb1cd635a316]: [open crypto-config\ordererOrganizations\bcp.com\orderers\orderer.bcp.com\msp\keystore\7e2dcb27536ad1a4c3aea2ff92958ab857829e1d07271d214d67fb1cd635a316_sk: The system cannot find the path specified.]
2020-01-20 17:01:33.891 [process stream reader] INFO com.cgb.bcpinstall.common.util.ProcessUtil - Error generating local MSP for {orderer orderer.bcp.com [orderer.bcp.com orderer]}:
2020-01-20 17:01:33.891 [process stream reader] INFO com.cgb.bcpinstall.common.util.ProcessUtil - Failed storing key [ECDSAP256]: Failed storing ECDSA private key [open crypto-config\ordererOrganizations\bcp.com\orderers\orderer.bcp.com\msp\keystore\7e2dcb27536ad1a4c3aea2ff92958ab857829e1d07271d214d67fb1cd635a316_sk: The system cannot find the path specified.]
2020-01-20 17:01:33.895 [process stream reader] INFO com.cgb.bcpinstall.common.util.ProcessUtil - 创建证书失败...
2020-01-20 17:01:33.895 [process stream reader] INFO com.cgb.bcpinstall.common.util.ProcessUtil - + res=1
2020-01-20 17:01:33.895 [process stream reader] INFO com.cgb.bcpinstall.common.util.ProcessUtil - + set +x
2020-01-20 17:01:33.906 [main] ERROR com.cgb.bcpinstall.biz.helper.Initializer - 创建证书失败
2020-01-20 17:01:34.556 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成 docker-compose-orderer.yaml 文件成功
2020-01-20 17:01:34.557 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成 orderer.properties 文件成功
2020-01-20 17:01:34.561 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 扩容节点其他节点的host:peer1.bcp.com
2020-01-20 17:01:34.972 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 扩容节点其他节点的host:peer0.bcp.com
2020-01-20 17:01:35.372 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 新节点生成docker-compose文件路径:F:\space30\bcp-app-install\bcp-install-main\resources/generateInstallPackage/masterPackage/\fabric-net/dockerFile/peer-127.0.0.1/docker-compose-peer.yaml
2020-01-20 17:01:35.375 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成 docker-compose-peer.yaml 文件成功
2020-01-20 17:01:35.375 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 开始创建 backend 相关文件
2020-01-20 17:01:35.376 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成 initData.yaml 文件成功
2020-01-20 17:01:35.387 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成 network-config.json 文件成功
2020-01-20 17:01:35.388 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成 bcsconfig.properties 文件成功
2020-01-20 17:01:35.392 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成 start-backend.sh 文件成功
2020-01-20 17:01:35.393 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成 vue.config.js 文件成功
2020-01-20 17:01:35.394 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成 start-web.sh 文件成功
2020-01-20 17:01:35.396 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成 collections_config.json 文件成功
2020-01-20 17:01:35.402 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成 application.yml 文件成功
2020-01-20 17:01:35.407 [Thread-2] INFO o.s.w.context.support.GenericWebApplicationContext - Closing org.springframework.web.context.support.GenericWebApplicationContext@6986852: startup date [Mon Jan 20 17:01:28 CST 2020]; root of context hierarchy
2020-01-20 17:01:35.410 [Thread-2] INFO o.s.context.support.DefaultLifecycleProcessor - Stopping beans in phase 2147483647
2020-01-20 17:10:52.050 [main] INFO o.s.b.t.context.SpringBootTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [InitTest], using SpringBootContextLoader
2020-01-20 17:10:52.064 [main] INFO o.s.test.context.support.AbstractContextLoader - Could not detect default resource locations for test class [InitTest]: no resource found for suffixes {-context.xml, Context.groovy}.
2020-01-20 17:10:52.555 [main] INFO o.s.b.t.context.SpringBootTestContextBootstrapper - Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener]
2020-01-20 17:10:52.591 [main] INFO o.s.b.t.context.SpringBootTestContextBootstrapper - Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@2cdd0d4b, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@7e9131d5, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@2e1d27ba, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@61d6015a, org.springframework.test.context.support.DirtiesContextTestExecutionListener@2525ff7e, org.springframework.test.context.transaction.TransactionalTestExecutionListener@524d6d96, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@152aa092, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@44a7bfbc, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@4ef37659, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@776b83cc, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@37858383, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@4e268090]
2020-01-20 17:10:53.325 [main] INFO InitTest - Starting InitTest on DESKTOP-7VAN58A with PID 12340 (started by Ddpool in F:\space30\bcp-app-install\bcp-install-main)
2020-01-20 17:10:53.326 [main] INFO InitTest - The following profiles are active: dev
2020-01-20 17:10:53.388 [main] INFO o.s.w.context.support.GenericWebApplicationContext - Refreshing org.springframework.web.context.support.GenericWebApplicationContext@6c61a903: startup date [Mon Jan 20 17:10:53 CST 2020]; root of context hierarchy
2020-01-20 17:10:54.830 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode!
2020-01-20 17:10:55.424 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$7c96a12f] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-01-20 17:10:55.813 [main] INFO com.cgb.bcpinstall.common.util.HttpClientUtil - HttpClientUtil init. poolsize:30, socketTimeout:60000, connectTimeout:60000, connectionRequestTimeout:60000, defaultMaxPerRoute:10
2020-01-20 17:10:56.539 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/v1/install/remove],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.cgb.bcpinstall.common.response.HttpInstallResponse com.cgb.bcpinstall.api.controller.InstallController.doRemove(javax.servlet.http.HttpServletRequest)
2020-01-20 17:10:56.540 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/v1/install/finished],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.cgb.bcpinstall.common.response.HttpInstallResponse com.cgb.bcpinstall.api.controller.InstallController.installFinished(com.cgb.bcpinstall.common.entity.InstallResult,javax.servlet.http.HttpServletRequest)
2020-01-20 17:10:56.541 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/v1/install/end],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.cgb.bcpinstall.common.response.HttpInstallResponse com.cgb.bcpinstall.api.controller.InstallController.endInstall(com.cgb.bcpinstall.common.entity.EndCmd)
2020-01-20 17:10:56.541 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/v1/install/getPackage/{os}],produces=[application/json;charset=UTF-8]}" onto public void com.cgb.bcpinstall.api.controller.InstallController.getInstallData(java.lang.String,javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
2020-01-20 17:10:56.541 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/v1/install/start],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.cgb.bcpinstall.common.response.HttpInstallResponse com.cgb.bcpinstall.api.controller.InstallController.doInstall(com.cgb.bcpinstall.common.entity.InstallCmd,javax.servlet.http.HttpServletRequest)
2020-01-20 17:10:56.542 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/v1/install/update],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.cgb.bcpinstall.common.response.HttpInstallResponse com.cgb.bcpinstall.api.controller.InstallController.doUpdate(javax.servlet.http.HttpServletRequest)
2020-01-20 17:10:56.542 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/v1/install/backendStatus],methods=[GET],produces=[application/json;charset=UTF-8]}" onto public com.cgb.bcpinstall.common.response.HttpInstallResponse com.cgb.bcpinstall.api.controller.InstallController.checkBackendStatus(javax.servlet.http.HttpServletRequest)
2020-01-20 17:10:56.542 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/v1/install/pushPackage],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.cgb.bcpinstall.common.response.HttpInstallResponse com.cgb.bcpinstall.api.controller.InstallController.pushInstallPackage(javax.servlet.http.HttpServletRequest)
2020-01-20 17:10:56.543 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/v1/reg/role],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.cgb.bcpinstall.common.response.HttpInstallResponse com.cgb.bcpinstall.api.controller.RegisterController.regRole(com.cgb.bcpinstall.common.entity.RoleRegEntity,javax.servlet.http.HttpServletRequest)
2020-01-20 17:10:56.548 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/swagger-resources/configuration/security]}" onto public org.springframework.http.ResponseEntity<springfox.documentation.swagger.web.SecurityConfiguration> springfox.documentation.swagger.web.ApiResourceController.securityConfiguration()
2020-01-20 17:10:56.549 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/swagger-resources/configuration/ui]}" onto public org.springframework.http.ResponseEntity<springfox.documentation.swagger.web.UiConfiguration> springfox.documentation.swagger.web.ApiResourceController.uiConfiguration()
2020-01-20 17:10:56.550 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/swagger-resources]}" onto public org.springframework.http.ResponseEntity<java.util.List<springfox.documentation.swagger.web.SwaggerResource>> springfox.documentation.swagger.web.ApiResourceController.swaggerResources()
2020-01-20 17:10:56.553 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String, java.lang.Object>> org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController.error(javax.servlet.http.HttpServletRequest)
2020-01-20 17:10:56.554 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
2020-01-20 17:10:56.790 [main] INFO o.s.web.servlet.handler.SimpleUrlHandlerMapping - Mapped URL path [/swagger-ui.html] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2020-01-20 17:10:56.790 [main] INFO o.s.web.servlet.handler.SimpleUrlHandlerMapping - Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2020-01-20 17:10:56.943 [main] INFO com.cgb.bcpinstall.main.config.WebConfiguration - configureMessageConverters........
2020-01-20 17:10:56.947 [main] INFO c.c.bcpinstall.common.fastJson.BaseFastJsonConfig - fastJsonHttpMessageConverter........
2020-01-20 17:10:57.044 [main] INFO c.c.bcpinstall.common.fastJson.BaseFastJsonConfig - getFastJsonConfig.....
2020-01-20 17:10:57.316 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerAdapter - Looking for @ControllerAdvice: org.springframework.web.context.support.GenericWebApplicationContext@6c61a903: startup date [Mon Jan 20 17:10:53 CST 2020]; root of context hierarchy
2020-01-20 17:10:57.450 [main] INFO s.d.s.w.PropertySourcedRequestMappingHandlerMapping - Mapped URL path [/v2/api-docs] onto method [public org.springframework.http.ResponseEntity<springfox.documentation.spring.web.json.Json> springfox.documentation.swagger2.web.Swagger2Controller.getDocumentation(java.lang.String,javax.servlet.http.HttpServletRequest)]
2020-01-20 17:10:58.529 [main] INFO o.s.context.support.DefaultLifecycleProcessor - Starting beans in phase 2147483647
2020-01-20 17:10:58.529 [main] INFO s.d.s.web.plugins.DocumentationPluginsBootstrapper - Context refreshed
2020-01-20 17:10:58.566 [main] INFO s.d.s.web.plugins.DocumentationPluginsBootstrapper - Found 1 custom documentation plugin(s)
2020-01-20 17:10:58.624 [main] INFO s.d.spring.web.scanners.ApiListingReferenceScanner - Scanning for api listing references
2020-01-20 17:10:58.907 [main] INFO InitTest - Started InitTest in 6.177 seconds (JVM running for 8.513)
2020-01-20 17:10:58.910 [main] INFO com.cgb.bcpinstall.main.MainApplication - bcp-app-install 完成资源初始化
2020-01-20 17:10:58.917 [main] INFO com.cgb.bcpinstall.main.MainApplication - *** cryptogen工具本地路径为F:\space30\bcp-app-install\bcp-install-main\resources/generateInstallPackage/masterPackage/\tools/windows/cryptogen.exe
2020-01-20 17:10:58.918 [main] INFO com.cgb.bcpinstall.main.MainApplication - *** configtxgen工具本地路径为F:\space30\bcp-app-install\bcp-install-main\resources/generateInstallPackage/masterPackage/\tools/windows/configtxgen.exe
2020-01-20 17:10:58.918 [main] INFO com.cgb.bcpinstall.main.MainApplication - *** configtxlator工具本地路径为F:\space30\bcp-app-install\bcp-install-main\resources/generateInstallPackage/masterPackage/\tools/windows/configtxlator.exe
2020-01-20 17:10:59.068 [main] INFO com.cgb.bcpinstall.biz.InitializeBiz - 当前机构状态为1
2020-01-20 17:10:59.097 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成 chaincodeendorsementpolicy.yaml 文件成功
2020-01-20 17:10:59.131 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成 configtx.yaml 文件成功
2020-01-20 17:10:59.132 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成配置文件,当前机构状态为:1
2020-01-20 17:10:59.137 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成 crypto-config.yaml 文件成功
2020-01-20 17:10:59.223 [process stream reader] INFO com.cgb.bcpinstall.common.util.ProcessUtil - F:\space30\bcp-app-install\bcp-install-main\resources/generateInstallPackage/masterPackage/\tools/windows/cryptogen.exe
2020-01-20 17:10:59.223 [process stream reader] INFO com.cgb.bcpinstall.common.util.ProcessUtil -
2020-01-20 17:10:59.223 [process stream reader] INFO com.cgb.bcpinstall.common.util.ProcessUtil - ##########################################################
2020-01-20 17:10:59.223 [process stream reader] INFO com.cgb.bcpinstall.common.util.ProcessUtil - ############### 使用 cryptogen 工具创建证书 ##############
2020-01-20 17:10:59.223 [process stream reader] INFO com.cgb.bcpinstall.common.util.ProcessUtil - ##########################################################
2020-01-20 17:10:59.232 [process stream reader] INFO com.cgb.bcpinstall.common.util.ProcessUtil - F:\space30\bcp-app-install\bcp-install-main\resources/generateInstallPackage/masterPackage/\generate.sh: line 31: chomod: command not found
2020-01-20 17:10:59.316 [process stream reader] INFO com.cgb.bcpinstall.common.util.ProcessUtil - + 'F:\space30\bcp-app-install\bcp-install-main\resources/generateInstallPackage/masterPackage/\tools/windows/cryptogen.exe' generate --config=./crypto-config.yaml
2020-01-20 17:10:59.385 [process stream reader] INFO com.cgb.bcpinstall.common.util.ProcessUtil - bcp.com
2020-01-20 17:10:59.508 [process stream reader] INFO com.cgb.bcpinstall.common.util.ProcessUtil - Error generating local MSP for {orderer orderer.bcp.com [orderer.bcp.com orderer]}:
2020-01-20 17:10:59.508 [process stream reader] INFO com.cgb.bcpinstall.common.util.ProcessUtil - 2020-01-20 17:10:59.508 CST [bccsp_sw] storePrivateKey -> ERRO 001 Failed storing private key [7dd803a79419e310be12844b6243ef9ca5a7d3530aa52d3113f1e9c7d35f077d]: [open crypto-config\ordererOrganizations\bcp.com\orderers\orderer.bcp.com\msp\keystore\7dd803a79419e310be12844b6243ef9ca5a7d3530aa52d3113f1e9c7d35f077d_sk: The system cannot find the path specified.]
2020-01-20 17:10:59.508 [process stream reader] INFO com.cgb.bcpinstall.common.util.ProcessUtil - Failed storing key [ECDSAP256]: Failed storing ECDSA private key [open crypto-config\ordererOrganizations\bcp.com\orderers\orderer.bcp.com\msp\keystore\7dd803a79419e310be12844b6243ef9ca5a7d3530aa52d3113f1e9c7d35f077d_sk: The system cannot find the path specified.]
2020-01-20 17:10:59.513 [process stream reader] INFO com.cgb.bcpinstall.common.util.ProcessUtil - 创建证书失败...
2020-01-20 17:10:59.513 [process stream reader] INFO com.cgb.bcpinstall.common.util.ProcessUtil - + res=1
2020-01-20 17:10:59.514 [process stream reader] INFO com.cgb.bcpinstall.common.util.ProcessUtil - + set +x
2020-01-20 17:10:59.535 [main] ERROR com.cgb.bcpinstall.biz.helper.Initializer - 创建证书失败
2020-01-20 17:11:00.224 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成 docker-compose-orderer.yaml 文件成功
2020-01-20 17:11:00.225 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成 orderer.properties 文件成功
2020-01-20 17:11:00.228 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 扩容节点其他节点的host:peer1.bcp.com
2020-01-20 17:11:00.692 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 扩容节点其他节点的host:peer0.bcp.com
2020-01-20 17:11:01.142 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 新节点生成docker-compose文件路径:F:\space30\bcp-app-install\bcp-install-main\resources/generateInstallPackage/masterPackage/\fabric-net/dockerFile/peer-127.0.0.1/docker-compose-peer.yaml
2020-01-20 17:11:01.144 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成 docker-compose-peer.yaml 文件成功
2020-01-20 17:11:01.144 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 开始创建 backend 相关文件
2020-01-20 17:11:01.145 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成 initData.yaml 文件成功
2020-01-20 17:11:01.157 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成 network-config.json 文件成功
2020-01-20 17:11:01.158 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成 bcsconfig.properties 文件成功
2020-01-20 17:11:01.179 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成 start-backend.sh 文件成功
2020-01-20 17:11:01.180 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成 vue.config.js 文件成功
2020-01-20 17:11:01.181 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成 start-web.sh 文件成功
2020-01-20 17:11:01.183 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成 collections_config.json 文件成功
2020-01-20 17:11:01.188 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成 application.yml 文件成功
2020-01-20 17:11:01.194 [Thread-2] INFO o.s.w.context.support.GenericWebApplicationContext - Closing org.springframework.web.context.support.GenericWebApplicationContext@6c61a903: startup date [Mon Jan 20 17:10:53 CST 2020]; root of context hierarchy
2020-01-20 17:11:01.197 [Thread-2] INFO o.s.context.support.DefaultLifecycleProcessor - Stopping beans in phase 2147483647
2020-01-20 17:29:44.656 [main] INFO o.s.b.t.context.SpringBootTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [InitTest], using SpringBootContextLoader
2020-01-20 17:29:44.669 [main] INFO o.s.test.context.support.AbstractContextLoader - Could not detect default resource locations for test class [InitTest]: no resource found for suffixes {-context.xml, Context.groovy}.
2020-01-20 17:29:45.093 [main] INFO o.s.b.t.context.SpringBootTestContextBootstrapper - Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener]
2020-01-20 17:29:45.121 [main] INFO o.s.b.t.context.SpringBootTestContextBootstrapper - Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@f381794, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@2cdd0d4b, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@7e9131d5, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@2e1d27ba, org.springframework.test.context.support.DirtiesContextTestExecutionListener@61d6015a, org.springframework.test.context.transaction.TransactionalTestExecutionListener@2525ff7e, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@524d6d96, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@152aa092, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@44a7bfbc, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@4ef37659, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@776b83cc, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@37858383]
2020-01-20 17:29:45.597 [main] INFO InitTest - Starting InitTest on DESKTOP-7VAN58A with PID 132 (started by Ddpool in F:\space30\bcp-app-install\bcp-install-main)
2020-01-20 17:29:45.597 [main] INFO InitTest - The following profiles are active: dev
2020-01-20 17:29:45.635 [main] INFO o.s.w.context.support.GenericWebApplicationContext - Refreshing org.springframework.web.context.support.GenericWebApplicationContext@6e01f9b0: startup date [Mon Jan 20 17:29:45 CST 2020]; root of context hierarchy
2020-01-20 17:29:46.768 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode!
2020-01-20 17:29:47.386 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$b6d7a088] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-01-20 17:29:47.740 [main] INFO com.cgb.bcpinstall.common.util.HttpClientUtil - HttpClientUtil init. poolsize:30, socketTimeout:60000, connectTimeout:60000, connectionRequestTimeout:60000, defaultMaxPerRoute:10
2020-01-20 17:29:48.420 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/v1/install/remove],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.cgb.bcpinstall.common.response.HttpInstallResponse com.cgb.bcpinstall.api.controller.InstallController.doRemove(javax.servlet.http.HttpServletRequest)
2020-01-20 17:29:48.421 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/v1/install/backendStatus],methods=[GET],produces=[application/json;charset=UTF-8]}" onto public com.cgb.bcpinstall.common.response.HttpInstallResponse com.cgb.bcpinstall.api.controller.InstallController.checkBackendStatus(javax.servlet.http.HttpServletRequest)
2020-01-20 17:29:48.422 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/v1/install/pushPackage],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.cgb.bcpinstall.common.response.HttpInstallResponse com.cgb.bcpinstall.api.controller.InstallController.pushInstallPackage(javax.servlet.http.HttpServletRequest)
2020-01-20 17:29:48.422 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/v1/install/finished],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.cgb.bcpinstall.common.response.HttpInstallResponse com.cgb.bcpinstall.api.controller.InstallController.installFinished(com.cgb.bcpinstall.common.entity.InstallResult,javax.servlet.http.HttpServletRequest)
2020-01-20 17:29:48.422 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/v1/install/update],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.cgb.bcpinstall.common.response.HttpInstallResponse com.cgb.bcpinstall.api.controller.InstallController.doUpdate(javax.servlet.http.HttpServletRequest)
2020-01-20 17:29:48.423 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/v1/install/getPackage/{os}],produces=[application/json;charset=UTF-8]}" onto public void com.cgb.bcpinstall.api.controller.InstallController.getInstallData(java.lang.String,javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
2020-01-20 17:29:48.423 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/v1/install/start],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.cgb.bcpinstall.common.response.HttpInstallResponse com.cgb.bcpinstall.api.controller.InstallController.doInstall(com.cgb.bcpinstall.common.entity.InstallCmd,javax.servlet.http.HttpServletRequest)
2020-01-20 17:29:48.423 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/v1/install/end],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.cgb.bcpinstall.common.response.HttpInstallResponse com.cgb.bcpinstall.api.controller.InstallController.endInstall(com.cgb.bcpinstall.common.entity.EndCmd)
2020-01-20 17:29:48.424 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/v1/reg/role],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.cgb.bcpinstall.common.response.HttpInstallResponse com.cgb.bcpinstall.api.controller.RegisterController.regRole(com.cgb.bcpinstall.common.entity.RoleRegEntity,javax.servlet.http.HttpServletRequest)
2020-01-20 17:29:48.429 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/swagger-resources/configuration/security]}" onto public org.springframework.http.ResponseEntity<springfox.documentation.swagger.web.SecurityConfiguration> springfox.documentation.swagger.web.ApiResourceController.securityConfiguration()
2020-01-20 17:29:48.429 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/swagger-resources/configuration/ui]}" onto public org.springframework.http.ResponseEntity<springfox.documentation.swagger.web.UiConfiguration> springfox.documentation.swagger.web.ApiResourceController.uiConfiguration()
2020-01-20 17:29:48.430 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/swagger-resources]}" onto public org.springframework.http.ResponseEntity<java.util.List<springfox.documentation.swagger.web.SwaggerResource>> springfox.documentation.swagger.web.ApiResourceController.swaggerResources()
2020-01-20 17:29:48.434 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String, java.lang.Object>> org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController.error(javax.servlet.http.HttpServletRequest)
2020-01-20 17:29:48.434 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
2020-01-20 17:29:48.672 [main] INFO o.s.web.servlet.handler.SimpleUrlHandlerMapping - Mapped URL path [/swagger-ui.html] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2020-01-20 17:29:48.673 [main] INFO o.s.web.servlet.handler.SimpleUrlHandlerMapping - Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2020-01-20 17:29:48.822 [main] INFO com.cgb.bcpinstall.main.config.WebConfiguration - configureMessageConverters........
2020-01-20 17:29:48.826 [main] INFO c.c.bcpinstall.common.fastJson.BaseFastJsonConfig - fastJsonHttpMessageConverter........
2020-01-20 17:29:48.913 [main] INFO c.c.bcpinstall.common.fastJson.BaseFastJsonConfig - getFastJsonConfig.....
2020-01-20 17:29:49.180 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerAdapter - Looking for @ControllerAdvice: org.springframework.web.context.support.GenericWebApplicationContext@6e01f9b0: startup date [Mon Jan 20 17:29:45 CST 2020]; root of context hierarchy
2020-01-20 17:29:49.306 [main] INFO s.d.s.w.PropertySourcedRequestMappingHandlerMapping - Mapped URL path [/v2/api-docs] onto method [public org.springframework.http.ResponseEntity<springfox.documentation.spring.web.json.Json> springfox.documentation.swagger2.web.Swagger2Controller.getDocumentation(java.lang.String,javax.servlet.http.HttpServletRequest)]
2020-01-20 17:29:50.318 [main] INFO o.s.context.support.DefaultLifecycleProcessor - Starting beans in phase 2147483647
2020-01-20 17:29:50.318 [main] INFO s.d.s.web.plugins.DocumentationPluginsBootstrapper - Context refreshed
2020-01-20 17:29:50.354 [main] INFO s.d.s.web.plugins.DocumentationPluginsBootstrapper - Found 1 custom documentation plugin(s)
2020-01-20 17:29:50.402 [main] INFO s.d.spring.web.scanners.ApiListingReferenceScanner - Scanning for api listing references
2020-01-20 17:29:50.689 [main] INFO InitTest - Started InitTest in 5.506 seconds (JVM running for 8.139)
2020-01-20 17:29:50.692 [main] INFO com.cgb.bcpinstall.main.MainApplication - bcp-app-install 完成资源初始化
2020-01-20 17:29:50.701 [main] INFO com.cgb.bcpinstall.main.MainApplication - *** cryptogen工具本地路径为F:\space30\bcp-app-install\bcp-install-main\resources/generateInstallPackage/masterPackage/\tools/windows/cryptogen.exe
2020-01-20 17:29:50.702 [main] INFO com.cgb.bcpinstall.main.MainApplication - *** configtxgen工具本地路径为F:\space30\bcp-app-install\bcp-install-main\resources/generateInstallPackage/masterPackage/\tools/windows/configtxgen.exe
2020-01-20 17:29:50.702 [main] INFO com.cgb.bcpinstall.main.MainApplication - *** configtxlator工具本地路径为F:\space30\bcp-app-install\bcp-install-main\resources/generateInstallPackage/masterPackage/\tools/windows/configtxlator.exe
2020-01-20 17:29:50.869 [main] INFO com.cgb.bcpinstall.biz.InitializeBiz - 当前机构状态为1
2020-01-20 17:29:50.894 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成 chaincodeendorsementpolicy.yaml 文件成功
2020-01-20 17:29:50.923 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成 configtx.yaml 文件成功
2020-01-20 17:29:50.923 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成配置文件,当前机构状态为:1
2020-01-20 17:29:50.928 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成 crypto-config.yaml 文件成功
2020-01-20 17:29:51.016 [process stream reader] INFO com.cgb.bcpinstall.common.util.ProcessUtil - F:\space30\bcp-app-install\bcp-install-main\resources/generateInstallPackage/masterPackage/\tools/windows/cryptogen.exe
2020-01-20 17:29:51.016 [process stream reader] INFO com.cgb.bcpinstall.common.util.ProcessUtil -
2020-01-20 17:29:51.016 [process stream reader] INFO com.cgb.bcpinstall.common.util.ProcessUtil - ##########################################################
2020-01-20 17:29:51.016 [process stream reader] INFO com.cgb.bcpinstall.common.util.ProcessUtil - ############### 使用 cryptogen 工具创建证书 ##############
2020-01-20 17:29:51.016 [process stream reader] INFO com.cgb.bcpinstall.common.util.ProcessUtil - ##########################################################
2020-01-20 17:29:51.025 [process stream reader] INFO com.cgb.bcpinstall.common.util.ProcessUtil - F:\space30\bcp-app-install\bcp-install-main\resources/generateInstallPackage/masterPackage/\generate.sh: line 31: chomod: command not found
2020-01-20 17:29:51.096 [process stream reader] INFO com.cgb.bcpinstall.common.util.ProcessUtil - + 'F:\space30\bcp-app-install\bcp-install-main\resources/generateInstallPackage/masterPackage/\tools/windows/cryptogen.exe' generate --config=./crypto-config.yaml
2020-01-20 17:29:51.178 [process stream reader] INFO com.cgb.bcpinstall.common.util.ProcessUtil - bcp.com
2020-01-20 17:29:51.275 [process stream reader] INFO com.cgb.bcpinstall.common.util.ProcessUtil - Error generating local MSP for {orderer orderer.bcp.com [orderer.bcp.com orderer]}:
2020-01-20 17:29:51.275 [process stream reader] INFO com.cgb.bcpinstall.common.util.ProcessUtil - 2020-01-20 17:29:51.275 CST [bccsp_sw] storePrivateKey -> ERRO 001 Failed storing private key [96a1bca6444ca10283b65297248488731ac57b54becec417b3a9741697785bb7]: [open crypto-config\ordererOrganizations\bcp.com\orderers\orderer.bcp.com\msp\keystore\96a1bca6444ca10283b65297248488731ac57b54becec417b3a9741697785bb7_sk: The system cannot find the path specified.]
2020-01-20 17:29:51.275 [process stream reader] INFO com.cgb.bcpinstall.common.util.ProcessUtil - Failed storing key [ECDSAP256]: Failed storing ECDSA private key [open crypto-config\ordererOrganizations\bcp.com\orderers\orderer.bcp.com\msp\keystore\96a1bca6444ca10283b65297248488731ac57b54becec417b3a9741697785bb7_sk: The system cannot find the path specified.]
2020-01-20 17:29:51.290 [process stream reader] INFO com.cgb.bcpinstall.common.util.ProcessUtil - 创建证书失败...
2020-01-20 17:29:51.290 [process stream reader] INFO com.cgb.bcpinstall.common.util.ProcessUtil - + res=1
2020-01-20 17:29:51.290 [process stream reader] INFO com.cgb.bcpinstall.common.util.ProcessUtil - + set +x
2020-01-20 17:29:51.311 [main] ERROR com.cgb.bcpinstall.biz.helper.Initializer - 创建证书失败
2020-01-20 17:29:52.015 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成 docker-compose-orderer.yaml 文件成功
2020-01-20 17:29:52.016 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成 orderer.properties 文件成功
2020-01-20 17:29:52.019 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 扩容节点其他节点的host:peer1.bcp.com
2020-01-20 17:29:52.489 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 扩容节点其他节点的host:peer0.bcp.com
2020-01-20 17:29:52.915 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 新节点生成docker-compose文件路径:F:\space30\bcp-app-install\bcp-install-main\resources/generateInstallPackage/masterPackage/\fabric-net/dockerFile/peer-127.0.0.1/docker-compose-peer.yaml
2020-01-20 17:29:52.918 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成 docker-compose-peer.yaml 文件成功
2020-01-20 17:29:52.918 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 开始创建 backend 相关文件
2020-01-20 17:29:52.919 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成 initData.yaml 文件成功
2020-01-20 17:29:52.930 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成 network-config.json 文件成功
2020-01-20 17:29:52.931 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成 bcsconfig.properties 文件成功
2020-01-20 17:29:52.935 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成 start-backend.sh 文件成功
2020-01-20 17:29:52.936 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成 vue.config.js 文件成功
2020-01-20 17:29:52.937 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成 start-web.sh 文件成功
2020-01-20 17:29:52.939 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成 collections_config.json 文件成功
2020-01-20 17:29:52.945 [main] INFO com.cgb.bcpinstall.biz.helper.Initializer - 生成 application.yml 文件成功
2020-01-20 17:29:52.951 [Thread-2] INFO o.s.w.context.support.GenericWebApplicationContext - Closing org.springframework.web.context.support.GenericWebApplicationContext@6e01f9b0: startup date [Mon Jan 20 17:29:45 CST 2020]; root of context hierarchy
2020-01-20 17:29:52.953 [Thread-2] INFO o.s.context.support.DefaultLifecycleProcessor - Stopping beans in phase 2147483647