Closed yinjinit closed 4 years ago
Can't replicate @yinjinit . Any changes or have you just cloned?
manos@tower:~/tmp$ git clone https://github.com/manosbatsis/corbeans-yo-cordapp.git
Cloning into 'corbeans-yo-cordapp'...
remote: Enumerating objects: 125, done.
remote: Counting objects: 100% (125/125), done.
remote: Compressing objects: 100% (84/84), done.
remote: Total 760 (delta 35), reused 105 (delta 22), pack-reused 635
Receiving objects: 100% (760/760), 1.29 MiB | 256.00 KiB/s, done.
Resolving deltas: 100% (223/223), done.
manos@tower:~/tmp$ cd corbeans-yo-cordapp/
manos@tower:~/tmp/corbeans-yo-cordapp$ ./gradlew clean build integrationTest -w
w: /home/manos/tmp/corbeans-yo-cordapp/bootapp-webserver/src/test/kotlin/mypackage/server/InfoIntegrationTests.kt: (89, 43): Unchecked cast: Any? to Map<String, Any>
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=61470m; support was removed in 8.0
Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/5.4.1/userguide/command_line_interface.html#sec:command_line_warnings
manos@tower:~/tmp/corbeans-yo-cordapp$
Running ./gradlew clean build integrationTest
, i.e. without -w
finishes with:
BUILD SUCCESSFUL in 1m 24s
24 actionable tasks: 24 executed
Error points to missing quasar, maybe you have have you removed this from bootapp-webserver/build.gradle by mistake?
apply plugin: 'net.corda.plugins.quasar-utils'
I just cloned it again and run the command with -w. I am testing it on windows. And it shows different error now:
org.springframework.web.client.ResourceAccessException: I/O error on GET request for "http://localhost:5474/api/yo/partyB/yo": Read timed out; nested exception is java.net.SocketTimeoutException: Read timed out at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:751) at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:677) at org.springframework.web.client.RestTemplate.getForObject(RestTemplate.java:318) at org.springframework.boot.test.web.client.TestRestTemplate.getForObject(TestRestTemplate.java:182) at mypackage.server.YoStateServiceIntegrationTest.Can use state service to query and track states(YoStateServiceIntegrationTest.kt:95)
You probably have nodes stuck, reserving the ports. I'd try killing the processes or restart
Let me check it in detail on my end. Sometime I see this error: Error running 'YoStateServiceIntegrationTest.Can use state service to query and track states': Command line is too long. Shorten command line for YoStateServiceIntegrationTest.Can use state service to query and track states or also for JUnit default configuration.
I think this error only occurs in Windows. Do you have any idea to solve this?
This third error seems unrelated to corbeans, same as the previous errors you've posted above. Probably an intellij-specific thing (see https://stackoverflow.com/questions/47926382/how-to-configure-shorten-command-line-method-for-whole-project-in-intellij) closing.
Hello @manosbatsis , to fix I/O error on GET request for "http://localhost:5474/api/yo/partyB/yo", I used HttpClient as a substitute.
And the test passes. Since I am not a pro in Java nor Kotlin, not sure why this fixes my issue but anyway using HttpClient fixed the issue. Is this ok?
You probably renamed the test method/function as well ;-)
Yes, I renamed it.
Hello @manosbatsis , I'm currently testing Project Template and meet issues on running integrationTest. See below:
"C:\Program Files\Java\jdk1.8.0_241\bin\java.exe" -ea -Didea.test.cyclic.buffer.size=1048576 "-javaagent:C:\Program Files\JetBrains\IntelliJ IDEA 2019.1\lib\idea_rt.jar=12597:C:\Program Files\JetBrains\IntelliJ IDEA 2019.1\bin" -Dfile.encoding=UTF-8 -classpath C:\Users\Cha\AppData\Local\Temp\classpath920841736.jar com.intellij.rt.execution.junit.JUnitStarter -ideVersion5 -junit5 @w@C:\Users\Cha\AppData\Local\Temp\idea_working_dirs_junit.tmp @C:\Users\Cha\AppData\Local\Temp\idea_junit.tmp [INFO] 22:50:35,145 [main] context.SpringBootTestContextBootstrapper. - Neither @ContextConfiguration nor @ContextHierarchy found for test class [mypackage.server.YoStateServiceIntegrationTest], using SpringBootContextLoader [INFO] 22:50:35,428 [main] support.AbstractContextLoader. - Could not detect default resource locations for test class [mypackage.server.YoStateServiceIntegrationTest]: no resource found for suffixes {-context.xml, Context.groovy}. [INFO] 22:50:35,443 [main] support.AnnotationConfigContextLoaderUtils. - Could not detect default configuration classes for test class [mypackage.server.YoStateServiceIntegrationTest]: YoStateServiceIntegrationTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. [INFO] 22:50:35,930 [main] context.SpringBootTestContextBootstrapper. - Found @SpringBootConfiguration mypackage.server.Application for test class mypackage.server.YoStateServiceIntegrationTest [INFO] 22:50:36,130 [main] context.SpringBootTestContextBootstrapper. - Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [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, 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.test.context.event.EventPublishingTestExecutionListener, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener] [INFO] 22:50:36,181 [main] context.SpringBootTestContextBootstrapper. - Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@4b6166aa, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@a77614d, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@4fd4cae3, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@4a067c25, org.springframework.test.context.support.DirtiesContextTestExecutionListener@a1217f9, org.springframework.test.context.transaction.TransactionalTestExecutionListener@3bde62ff, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@523424b5, org.springframework.test.context.event.EventPublishingTestExecutionListener@2baa8d82, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@319dead1, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@791cbf87, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@a7e2d9d, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@754777cd, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@2b52c0d6] [INFO] 22:50:41,142 [driver-pool-thread-0] network.NodeInfoFilesCopier. - Now watching: D:\Corda\corbeans-yo-cordapp\bootapp-webserver\build\node-driver\20200422-145036.783\NotaryService [INFO] 22:50:42,617 [driver-pool-thread-0] internal.TestCordappImpl. - Generating CorDapp jar from local project in D:\Corda\corbeans-yo-cordapp\cordapp-contract ... [INFO] 22:50:42,854 [Connection worker] internal.TestCordappImpl. - Build [INFO] 22:50:44,528 [Connection worker] internal.TestCordappImpl. - Connecting to Gradle Daemon [INFO] 22:50:44,560 [Connection worker] internal.TestCordappImpl. - Build [INFO] 22:50:44,637 [Connection worker] internal.TestCordappImpl. - Run build [INFO] 22:50:44,648 [Connection worker] internal.TestCordappImpl. - Evaluate settings [INFO] 22:50:44,654 [Connection worker] internal.TestCordappImpl. - Run build [INFO] 22:50:44,655 [Connection worker] internal.TestCordappImpl. - Configure build [INFO] 22:50:44,656 [Connection worker] internal.TestCordappImpl. - Load projects [INFO] 22:50:44,656 [Connection worker] internal.TestCordappImpl. - Configure build [INFO] 22:50:44,657 [Connection worker] internal.TestCordappImpl. - Configure project : [INFO] 22:50:44,680 [Connection worker] internal.TestCordappImpl. - Resolve dependencies of detachedConfiguration1 [INFO] 22:50:44,711 [Connection worker] internal.TestCordappImpl. - Configure project : [INFO] 22:50:44,716 [Connection worker] internal.TestCordappImpl. - Resolve dependencies of detachedConfiguration2 [INFO] 22:50:44,716 [Connection worker] internal.TestCordappImpl. - Configure project : [INFO] 22:50:44,716 [Connection worker] internal.TestCordappImpl. - Resolve dependencies of :classpath [INFO] 22:50:44,866 [Connection worker] internal.TestCordappImpl. - Configure project : [INFO] 22:50:44,891 [Connection worker] internal.TestCordappImpl. - Resolve files of :classpath [INFO] 22:50:44,918 [Connection worker] internal.TestCordappImpl. - Configure project : [INFO] 22:50:44,925 [Connection worker] internal.TestCordappImpl. - Resolve files of :classpath [INFO] 22:50:44,930 [Connection worker] internal.TestCordappImpl. - Configure project : [INFO] 22:50:45,108 [Connection worker] internal.TestCordappImpl. - Configure build [INFO] 22:50:45,117 [Connection worker] internal.TestCordappImpl. - Configure project :bootapp-webserver [INFO] 22:50:45,119 [Connection worker] internal.TestCordappImpl. - Configure build [INFO] 22:50:45,131 [Connection worker] internal.TestCordappImpl. - Configure project :cordapp-contract [INFO] 22:50:45,167 [Connection worker] internal.TestCordappImpl. - Configure build [INFO] 22:50:45,176 [Connection worker] internal.TestCordappImpl. - Configure project :cordapp-workflow [INFO] 22:50:45,185 [Connection worker] internal.TestCordappImpl. - Configure build [INFO] 22:50:45,201 [Connection worker] internal.TestCordappImpl. - Run build [INFO] 22:50:45,243 [Connection worker] internal.TestCordappImpl. - Resolve dependencies of :cordapp-contract:kotlinCompilerClasspath [INFO] 22:50:45,275 [Connection worker] internal.TestCordappImpl. - Run build [INFO] 22:50:45,279 [Connection worker] internal.TestCordappImpl. - Resolve files of :cordapp-contract:kotlinCompilerClasspath [INFO] 22:50:45,283 [Connection worker] internal.TestCordappImpl. - Run build [INFO] 22:50:45,349 [Connection worker] internal.TestCordappImpl. - Run tasks [INFO] 22:50:45,361 [Connection worker] internal.TestCordappImpl. - Task :cordapp-contract:compileKotlin [INFO] 22:50:45,362 [Connection worker] internal.TestCordappImpl. - Resolve files of :cordapp-contract:kotlinCompilerClasspath [INFO] 22:50:45,362 [Connection worker] internal.TestCordappImpl. - Task :cordapp-contract:compileKotlin [INFO] 22:50:45,421 [Connection worker] internal.TestCordappImpl. - Resolve dependencies of :cordapp-contract:kotlinCompilerPluginClasspath [INFO] 22:50:45,485 [Connection worker] internal.TestCordappImpl. - Task :cordapp-contract:compileKotlin [INFO] 22:50:45,492 [Connection worker] internal.TestCordappImpl. - Resolve files of :cordapp-contract:kotlinCompilerPluginClasspath [INFO] 22:50:45,504 [Connection worker] internal.TestCordappImpl. - Task :cordapp-contract:compileKotlin [INFO] 22:50:45,619 [Connection worker] internal.TestCordappImpl. - Resolve dependencies of :cordapp-contract:compileClasspath [INFO] 22:50:45,655 [Connection worker] internal.TestCordappImpl. - Task :cordapp-contract:compileKotlin [INFO] 22:50:45,663 [Connection worker] internal.TestCordappImpl. - Resolve files of :cordapp-contract:compileClasspath [INFO] 22:50:45,753 [Connection worker] internal.TestCordappImpl. - Task :cordapp-contract:compileKotlin [INFO] 22:50:45,753 [Connection worker] internal.TestCordappImpl. - Resolve files of :cordapp-contract:compileClasspath [INFO] 22:50:45,753 [Connection worker] internal.TestCordappImpl. - Task :cordapp-contract:compileKotlin [INFO] 22:50:45,837 [Connection worker] internal.TestCordappImpl. - Resolve files of :cordapp-contract:kotlinCompilerPluginClasspath [INFO] 22:50:45,837 [Connection worker] internal.TestCordappImpl. - Task :cordapp-contract:compileKotlin [INFO] 22:50:45,856 [Connection worker] internal.TestCordappImpl. - Run tasks [INFO] 22:50:45,858 [Connection worker] internal.TestCordappImpl. - Task :cordapp-contract:compileJava [INFO] 22:50:45,869 [Connection worker] internal.TestCordappImpl. - Run tasks [INFO] 22:50:45,870 [Connection worker] internal.TestCordappImpl. - Task :cordapp-contract:processResources [INFO] 22:50:45,882 [Connection worker] internal.TestCordappImpl. - Run tasks [INFO] 22:50:45,882 [Connection worker] internal.TestCordappImpl. - Task :cordapp-contract:classes [INFO] 22:50:45,882 [Connection worker] internal.TestCordappImpl. - Run tasks [INFO] 22:50:45,882 [Connection worker] internal.TestCordappImpl. - Task :cordapp-contract:configureCordappFatJar [INFO] 22:50:45,883 [Connection worker] internal.TestCordappImpl. - Resolve dependencies of :cordapp-contract:runtime [INFO] 22:50:45,960 [Connection worker] internal.TestCordappImpl. - Task :cordapp-contract:configureCordappFatJar [INFO] 22:50:45,960 [Connection worker] internal.TestCordappImpl. - Resolve files of :cordapp-contract:runtime [INFO] 22:50:45,960 [Connection worker] internal.TestCordappImpl. - Task :cordapp-contract:configureCordappFatJar [INFO] 22:50:45,960 [Connection worker] internal.TestCordappImpl. - Resolve files of :cordapp-contract:runtime [INFO] 22:50:45,960 [Connection worker] internal.TestCordappImpl. - Task :cordapp-contract:configureCordappFatJar [INFO] 22:50:45,960 [Connection worker] internal.TestCordappImpl. - Run tasks [INFO] 22:50:45,960 [Connection worker] internal.TestCordappImpl. - Task :cordapp-contract:inspectClassesForKotlinIC [INFO] 22:50:45,960 [Connection worker] internal.TestCordappImpl. - Run tasks [INFO] 22:50:45,960 [Connection worker] internal.TestCordappImpl. - Task :cordapp-contract:jar [INFO] 22:50:48,195 [Connection worker] internal.TestCordappImpl. - Run tasks [INFO] 22:50:48,196 [Connection worker] internal.TestCordappImpl. - Run build [INFO] 22:50:48,196 [Connection worker] internal.TestCordappImpl. - Build model 'java.lang.Void' for project ':cordapp-contract' [INFO] 22:50:48,196 [Connection worker] internal.TestCordappImpl. - Run build [INFO] 22:50:48,203 [Connection worker] internal.TestCordappImpl. - Build [INFO] 22:50:48,253 [Connection worker] internal.TestCordappImpl. - Deleting unused version-specific caches in D:\Corda\corbeans-yo-cordapp.gradle [INFO] 22:50:48,253 [Connection worker] internal.TestCordappImpl. - Build [INFO] 22:50:48,290 [Connection worker] internal.TestCordappImpl. - [INFO] 22:50:49,301 [driver-pool-thread-0] internal.TestCordappImpl. - Generating CorDapp jar from local project in D:\Corda\corbeans-yo-cordapp\cordapp-workflow ... [INFO] 22:50:49,314 [Connection worker] internal.TestCordappImpl. - Build [INFO] 22:50:49,388 [Connection worker] internal.TestCordappImpl. - Connecting to Gradle Daemon [INFO] 22:50:49,398 [Connection worker] internal.TestCordappImpl. - Build [INFO] 22:50:49,470 [Connection worker] internal.TestCordappImpl. - Run build [INFO] 22:50:49,474 [Connection worker] internal.TestCordappImpl. - Evaluate settings [INFO] 22:50:49,475 [Connection worker] internal.TestCordappImpl. - Run build [INFO] 22:50:49,475 [Connection worker] internal.TestCordappImpl. - Configure build [INFO] 22:50:49,475 [Connection worker] internal.TestCordappImpl. - Load projects [INFO] 22:50:49,475 [Connection worker] internal.TestCordappImpl. - Configure build [INFO] 22:50:49,475 [Connection worker] internal.TestCordappImpl. - Configure project : [INFO] 22:50:49,518 [Connection worker] internal.TestCordappImpl. - Resolve dependencies of detachedConfiguration1 [INFO] 22:50:49,568 [Connection worker] internal.TestCordappImpl. - Configure project : [INFO] 22:50:49,569 [Connection worker] internal.TestCordappImpl. - Resolve dependencies of detachedConfiguration2 [INFO] 22:50:49,580 [Connection worker] internal.TestCordappImpl. - Configure project : [INFO] 22:50:49,582 [Connection worker] internal.TestCordappImpl. - Resolve dependencies of :classpath [INFO] 22:50:49,683 [Connection worker] internal.TestCordappImpl. - Configure project : [INFO] 22:50:49,688 [Connection worker] internal.TestCordappImpl. - Resolve files of :classpath [INFO] 22:50:49,695 [Connection worker] internal.TestCordappImpl. - Configure project : [INFO] 22:50:49,758 [Connection worker] internal.TestCordappImpl. - Resolve files of :classpath [INFO] 22:50:49,860 [Connection worker] internal.TestCordappImpl. - Configure project : [INFO] 22:50:50,004 [Connection worker] internal.TestCordappImpl. - Configure build [INFO] 22:50:50,008 [Connection worker] internal.TestCordappImpl. - Configure project :bootapp-webserver [INFO] 22:50:50,052 [Connection worker] internal.TestCordappImpl. - Configure build [INFO] 22:50:50,056 [Connection worker] internal.TestCordappImpl. - Configure project :cordapp-contract [INFO] 22:50:50,063 [Connection worker] internal.TestCordappImpl. - Configure build [INFO] 22:50:50,063 [Connection worker] internal.TestCordappImpl. - Configure project :cordapp-workflow [INFO] 22:50:50,063 [Connection worker] internal.TestCordappImpl. - Configure build [INFO] 22:50:50,064 [Connection worker] internal.TestCordappImpl. - Run build [INFO] 22:50:50,093 [Connection worker] internal.TestCordappImpl. - Resolve dependencies of :cordapp-workflow:kotlinCompilerClasspath [INFO] 22:50:50,112 [Connection worker] internal.TestCordappImpl. - Run build [INFO] 22:50:50,120 [Connection worker] internal.TestCordappImpl. - Resolve files of :cordapp-workflow:kotlinCompilerClasspath [INFO] 22:50:50,130 [Connection worker] internal.TestCordappImpl. - Run build [INFO] 22:50:50,132 [Connection worker] internal.TestCordappImpl. - Resolve dependencies of :cordapp-contract:kotlinCompilerClasspath [INFO] 22:50:50,221 [Connection worker] internal.TestCordappImpl. - Run build [INFO] 22:50:50,222 [Connection worker] internal.TestCordappImpl. - Resolve files of :cordapp-contract:kotlinCompilerClasspath [INFO] 22:50:50,226 [Connection worker] internal.TestCordappImpl. - Run build [INFO] 22:50:50,226 [Connection worker] internal.TestCordappImpl. - Run tasks [INFO] 22:50:50,251 [Connection worker] internal.TestCordappImpl. - Task :cordapp-contract:compileKotlin [INFO] 22:50:50,253 [Connection worker] internal.TestCordappImpl. - Resolve files of :cordapp-contract:kotlinCompilerClasspath [INFO] 22:50:50,256 [Connection worker] internal.TestCordappImpl. - Task :cordapp-contract:compileKotlin [INFO] 22:50:50,256 [Connection worker] internal.TestCordappImpl. - Resolve dependencies of :cordapp-contract:kotlinCompilerPluginClasspath [INFO] 22:50:50,267 [Connection worker] internal.TestCordappImpl. - Task :cordapp-contract:compileKotlin [INFO] 22:50:50,269 [Connection worker] internal.TestCordappImpl. - Resolve files of :cordapp-contract:kotlinCompilerPluginClasspath [INFO] 22:50:50,276 [Connection worker] internal.TestCordappImpl. - Task :cordapp-contract:compileKotlin [INFO] 22:50:50,276 [Connection worker] internal.TestCordappImpl. - Resolve dependencies of :cordapp-contract:compileClasspath [INFO] 22:50:50,376 [Connection worker] internal.TestCordappImpl. - Task :cordapp-contract:compileKotlin [INFO] 22:50:50,377 [Connection worker] internal.TestCordappImpl. - Resolve files of :cordapp-contract:compileClasspath [INFO] 22:50:50,378 [Connection worker] internal.TestCordappImpl. - Task :cordapp-contract:compileKotlin [INFO] 22:50:50,378 [Connection worker] internal.TestCordappImpl. - Resolve files of :cordapp-contract:compileClasspath [INFO] 22:50:50,379 [Connection worker] internal.TestCordappImpl. - Task :cordapp-contract:compileKotlin [INFO] 22:50:50,379 [Connection worker] internal.TestCordappImpl. - Resolve files of :cordapp-contract:kotlinCompilerPluginClasspath [INFO] 22:50:50,380 [Connection worker] internal.TestCordappImpl. - Task :cordapp-contract:compileKotlin [INFO] 22:50:50,380 [Connection worker] internal.TestCordappImpl. - Run tasks [INFO] 22:50:50,402 [Connection worker] internal.TestCordappImpl. - Task :cordapp-contract:compileJava [INFO] 22:50:50,404 [Connection worker] internal.TestCordappImpl. - Run tasks [INFO] 22:50:50,407 [Connection worker] internal.TestCordappImpl. - Task :cordapp-contract:processResources [INFO] 22:50:50,410 [Connection worker] internal.TestCordappImpl. - Run tasks [INFO] 22:50:50,412 [Connection worker] internal.TestCordappImpl. - Task :cordapp-contract:classes [INFO] 22:50:50,414 [Connection worker] internal.TestCordappImpl. - Run tasks [INFO] 22:50:50,417 [Connection worker] internal.TestCordappImpl. - Task :cordapp-contract:configureCordappFatJar [INFO] 22:50:50,419 [Connection worker] internal.TestCordappImpl. - Resolve dependencies of :cordapp-contract:runtime [INFO] 22:50:50,512 [Connection worker] internal.TestCordappImpl. - Task :cordapp-contract:configureCordappFatJar [INFO] 22:50:50,513 [Connection worker] internal.TestCordappImpl. - Resolve files of :cordapp-contract:runtime [INFO] 22:50:50,517 [Connection worker] internal.TestCordappImpl. - Task :cordapp-contract:configureCordappFatJar [INFO] 22:50:50,519 [Connection worker] internal.TestCordappImpl. - Resolve files of :cordapp-contract:runtime [INFO] 22:50:50,526 [Connection worker] internal.TestCordappImpl. - Task :cordapp-contract:configureCordappFatJar [INFO] 22:50:50,527 [Connection worker] internal.TestCordappImpl. - Run tasks [INFO] 22:50:50,530 [Connection worker] internal.TestCordappImpl. - Task :cordapp-contract:inspectClassesForKotlinIC [INFO] 22:50:50,536 [Connection worker] internal.TestCordappImpl. - Run tasks [INFO] 22:50:50,538 [Connection worker] internal.TestCordappImpl. - Task :cordapp-contract:jar [INFO] 22:50:50,542 [Connection worker] internal.TestCordappImpl. - Run tasks [INFO] 22:50:50,549 [Connection worker] internal.TestCordappImpl. - Task :cordapp-workflow:compileKotlin [INFO] 22:50:50,550 [Connection worker] internal.TestCordappImpl. - Resolve files of :cordapp-workflow:kotlinCompilerClasspath [INFO] 22:50:50,550 [Connection worker] internal.TestCordappImpl. - Task :cordapp-workflow:compileKotlin [INFO] 22:50:50,581 [Connection worker] internal.TestCordappImpl. - Resolve dependencies of :cordapp-workflow:kotlinCompilerPluginClasspath [INFO] 22:50:50,592 [Connection worker] internal.TestCordappImpl. - Task :cordapp-workflow:compileKotlin [INFO] 22:50:50,595 [Connection worker] internal.TestCordappImpl. - Resolve files of :cordapp-workflow:kotlinCompilerPluginClasspath [INFO] 22:50:50,597 [Connection worker] internal.TestCordappImpl. - Task :cordapp-workflow:compileKotlin [INFO] 22:50:50,609 [Connection worker] internal.TestCordappImpl. - Resolve dependencies of :cordapp-workflow:compileClasspath [INFO] 22:50:50,622 [Connection worker] internal.TestCordappImpl. - Task :cordapp-workflow:compileKotlin [INFO] 22:50:50,625 [Connection worker] internal.TestCordappImpl. - Resolve files of :cordapp-workflow:compileClasspath [INFO] 22:50:50,625 [Connection worker] internal.TestCordappImpl. - Task :cordapp-workflow:compileKotlin [INFO] 22:50:50,625 [Connection worker] internal.TestCordappImpl. - Resolve files of :cordapp-workflow:compileClasspath [INFO] 22:50:50,625 [Connection worker] internal.TestCordappImpl. - Task :cordapp-workflow:compileKotlin [INFO] 22:50:50,625 [Connection worker] internal.TestCordappImpl. - Resolve files of :cordapp-workflow:kotlinCompilerPluginClasspath [INFO] 22:50:50,625 [Connection worker] internal.TestCordappImpl. - Task :cordapp-workflow:compileKotlin [INFO] 22:50:50,644 [Connection worker] internal.TestCordappImpl. - Resolve files of :cordapp-workflow:kotlinCompilerPluginClasspath [INFO] 22:50:50,644 [Connection worker] internal.TestCordappImpl. - Task :cordapp-workflow:compileKotlin [INFO] 22:50:50,644 [Connection worker] internal.TestCordappImpl. - Resolve files of :cordapp-workflow:compileClasspath [INFO] 22:50:50,644 [Connection worker] internal.TestCordappImpl. - Task :cordapp-workflow:compileKotlin [INFO] 22:50:50,644 [Connection worker] internal.TestCordappImpl. - Resolve files of :cordapp-workflow:kotlinCompilerClasspath [INFO] 22:50:50,645 [Connection worker] internal.TestCordappImpl. - Task :cordapp-workflow:compileKotlin [INFO] 22:50:51,272 [Connection worker] internal.TestCordappImpl. - Run tasks [INFO] 22:50:51,272 [Connection worker] internal.TestCordappImpl. - Task :cordapp-workflow:compileJava [INFO] 22:50:51,272 [Connection worker] internal.TestCordappImpl. - Run tasks [INFO] 22:50:51,272 [Connection worker] internal.TestCordappImpl. - Task :cordapp-workflow:processResources [INFO] 22:50:51,272 [Connection worker] internal.TestCordappImpl. - Run tasks [INFO] 22:50:51,273 [Connection worker] internal.TestCordappImpl. - Task :cordapp-workflow:classes [INFO] 22:50:51,275 [Connection worker] internal.TestCordappImpl. - Run tasks [INFO] 22:50:51,275 [Connection worker] internal.TestCordappImpl. - Task :cordapp-workflow:configureCordappFatJar [INFO] 22:50:51,275 [Connection worker] internal.TestCordappImpl. - Resolve dependencies of :cordapp-workflow:runtime [INFO] 22:50:51,298 [Connection worker] internal.TestCordappImpl. - Task :cordapp-workflow:configureCordappFatJar [INFO] 22:50:51,298 [Connection worker] internal.TestCordappImpl. - Resolve files of :cordapp-workflow:runtime [INFO] 22:50:51,470 [Connection worker] internal.TestCordappImpl. - Task :cordapp-workflow:configureCordappFatJar [INFO] 22:50:51,470 [Connection worker] internal.TestCordappImpl. - Resolve files of :cordapp-workflow:runtime [INFO] 22:50:51,470 [Connection worker] internal.TestCordappImpl. - Task :cordapp-workflow:configureCordappFatJar [INFO] 22:50:51,470 [Connection worker] internal.TestCordappImpl. - Resolve files of :cordapp-workflow:runtime [INFO] 22:50:51,470 [Connection worker] internal.TestCordappImpl. - Task :cordapp-workflow:configureCordappFatJar [INFO] 22:50:51,471 [Connection worker] internal.TestCordappImpl. - Resolve files of :cordapp-workflow:runtime [INFO] 22:50:51,471 [Connection worker] internal.TestCordappImpl. - Task :cordapp-workflow:configureCordappFatJar [INFO] 22:50:51,472 [Connection worker] internal.TestCordappImpl. - Resolve files of :cordapp-workflow:runtime [INFO] 22:50:51,472 [Connection worker] internal.TestCordappImpl. - Task :cordapp-workflow:configureCordappFatJar [INFO] 22:50:51,472 [Connection worker] internal.TestCordappImpl. - Run tasks [INFO] 22:50:51,472 [Connection worker] internal.TestCordappImpl. - Task :cordapp-workflow:inspectClassesForKotlinIC [INFO] 22:50:51,607 [Connection worker] internal.TestCordappImpl. - Run tasks [INFO] 22:50:51,608 [Connection worker] internal.TestCordappImpl. - Task :cordapp-workflow:jar [INFO] 22:50:53,744 [Connection worker] internal.TestCordappImpl. - Run tasks [INFO] 22:50:53,744 [Connection worker] internal.TestCordappImpl. - Run build [INFO] 22:50:53,744 [Connection worker] internal.TestCordappImpl. - Build model 'java.lang.Void' for project ':cordapp-workflow' [INFO] 22:50:53,744 [Connection worker] internal.TestCordappImpl. - Run build [INFO] 22:50:53,744 [Connection worker] internal.TestCordappImpl. - Build [INFO] 22:50:53,776 [Connection worker] internal.TestCordappImpl. - Deleting unused version-specific caches in D:\Corda\corbeans-yo-cordapp.gradle [INFO] 22:50:53,777 [Connection worker] internal.TestCordappImpl. - Build [INFO] 22:50:53,785 [Connection worker] internal.TestCordappImpl. - [INFO] 22:50:53,800 [driver-pool-thread-1] internal.DriverDSLImpl. - Starting in-process Node Notary Service [INFO] 22:50:53,807 [driver-pool-thread-1] network.NodeInfoFilesCopier. - Stopped watching: D:\Corda\corbeans-yo-cordapp\bootapp-webserver\build\node-driver\20200422-145036.783\NotaryService [ERROR] 22:50:53,811 [DefaultDispatcher-worker-1 @coroutine#2] internal.DriverDSLImpl. - Driver shutting down because of exception [errorCode=h1u285, moreInformationAt=https://errors.corda.net/OS/4.3/h1u285] java.lang.IllegalStateException: No quasar agent: -javaagent:lib/quasar.jar and working directory project root might fix at net.corda.testing.node.internal.DriverDSLImpl$Companion$startInProcessNode$1.invoke(DriverDSLImpl.kt:761) ~[corda-node-driver-4.3.jar:?] at net.corda.testing.node.internal.DriverDSLImpl$Companion$startInProcessNode$1.invoke(DriverDSLImpl.kt:721) ~[corda-node-driver-4.3.jar:?] at net.corda.core.internal.concurrent.ValueOrException$DefaultImpls.capture(CordaFutureImpl.kt:130) ~[corda-core-4.3.jar:?] at net.corda.core.internal.concurrent.OpenFuture$DefaultImpls.capture(CordaFutureImpl.kt) ~[corda-core-4.3.jar:?] at net.corda.core.internal.concurrent.CordaFutureImpl.capture(CordaFutureImpl.kt:142) ~[corda-core-4.3.jar:?] at net.corda.core.internal.concurrent.CordaFutureImplKt$fork$$inlined$also$lambda$1.run(CordaFutureImpl.kt:22) ~[corda-core-4.3.jar:?] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_241] at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_241] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) ~[?:1.8.0_241] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) ~[?:1.8.0_241] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_241] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_241] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_241] [WARN] 22:50:53,814 [DefaultDispatcher-worker-1 @coroutine#2] internal.ShutdownManager. - Exception while getting shutdown method, disregarding [errorCode=h1u285, moreInformationAt=https://errors.corda.net/OS/4.3/h1u285] java.lang.IllegalStateException: No quasar agent: -javaagent:lib/quasar.jar and working directory project root might fix at net.corda.testing.node.internal.DriverDSLImpl$Companion$startInProcessNode$1.invoke(DriverDSLImpl.kt:761) ~[corda-node-driver-4.3.jar:?] at net.corda.testing.node.internal.DriverDSLImpl$Companion$startInProcessNode$1.invoke(DriverDSLImpl.kt:721) ~[corda-node-driver-4.3.jar:?] at net.corda.core.internal.concurrent.ValueOrException$DefaultImpls.capture(CordaFutureImpl.kt:130) ~[corda-core-4.3.jar:?] at net.corda.core.internal.concurrent.OpenFuture$DefaultImpls.capture(CordaFutureImpl.kt) ~[corda-core-4.3.jar:?] at net.corda.core.internal.concurrent.CordaFutureImpl.capture(CordaFutureImpl.kt:142) ~[corda-core-4.3.jar:?] at net.corda.core.internal.concurrent.CordaFutureImplKt$fork$$inlined$also$lambda$1.run(CordaFutureImpl.kt:22) ~[corda-core-4.3.jar:?] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_241] at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_241] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) ~[?:1.8.0_241] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) ~[?:1.8.0_241] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_241] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_241] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_241] [ERROR] 22:50:53,814 [DefaultDispatcher-worker-1 @coroutine#2] integration.NodeDriverHelper. - Error running nodes {} [errorCode=h1u285, moreInformationAt=https://errors.corda.net/OS/4.3/h1u285] java.lang.IllegalStateException: No quasar agent: -javaagent:lib/quasar.jar and working directory project root might fix at net.corda.testing.node.internal.DriverDSLImpl$Companion$startInProcessNode$1.invoke(DriverDSLImpl.kt:761) ~[corda-node-driver-4.3.jar:?] at net.corda.testing.node.internal.DriverDSLImpl$Companion$startInProcessNode$1.invoke(DriverDSLImpl.kt:721) ~[corda-node-driver-4.3.jar:?] at net.corda.core.internal.concurrent.ValueOrException$DefaultImpls.capture(CordaFutureImpl.kt:130) ~[corda-core-4.3.jar:?] at net.corda.core.internal.concurrent.OpenFuture$DefaultImpls.capture(CordaFutureImpl.kt) ~[corda-core-4.3.jar:?] at net.corda.core.internal.concurrent.CordaFutureImpl.capture(CordaFutureImpl.kt:142) ~[corda-core-4.3.jar:?] at net.corda.core.internal.concurrent.CordaFutureImplKt$fork$$inlined$also$lambda$1.run(CordaFutureImpl.kt:22) ~[corda-core-4.3.jar:?] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_241] at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_241] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) ~[?:1.8.0_241] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) ~[?:1.8.0_241] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_241] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_241] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_241] [ERROR] 22:50:53,814 [DefaultDispatcher-worker-1 @coroutine#2] integration.NodeDriverHelper. - Corda network encountered an error, will stop network. [errorCode=h1u285, moreInformationAt=https://errors.corda.net/OS/4.3/h1u285] java.lang.IllegalStateException: No quasar agent: -javaagent:lib/quasar.jar and working directory project root might fix at net.corda.testing.node.internal.DriverDSLImpl$Companion$startInProcessNode$1.invoke(DriverDSLImpl.kt:761) ~[corda-node-driver-4.3.jar:?] at net.corda.testing.node.internal.DriverDSLImpl$Companion$startInProcessNode$1.invoke(DriverDSLImpl.kt:721) ~[corda-node-driver-4.3.jar:?] at net.corda.core.internal.concurrent.ValueOrException$DefaultImpls.capture(CordaFutureImpl.kt:130) ~[corda-core-4.3.jar:?] at net.corda.core.internal.concurrent.OpenFuture$DefaultImpls.capture(CordaFutureImpl.kt) ~[corda-core-4.3.jar:?] at net.corda.core.internal.concurrent.CordaFutureImpl.capture(CordaFutureImpl.kt:142) ~[corda-core-4.3.jar:?] at net.corda.core.internal.concurrent.CordaFutureImplKt$fork$$inlined$also$lambda$1.run(CordaFutureImpl.kt:22) ~[corda-core-4.3.jar:?] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_241] at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_241] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) ~[?:1.8.0_241] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) ~[?:1.8.0_241] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_241] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_241] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_241] [INFO] 22:50:54,149 [Log4j2-TF-1-AsyncLogger[AsyncContextNoThreadLocal@18b4aac2]-1] manifests.Manifests. - 151 attributes loaded from 320 stream(s) in 316ms, 151 saved, 4386 ignored: ["ActiveMQ-Version", "Agent-Class", "Ant-Version", "Application-Class", "Application-ID", "Application-Library-Allowable-Codebase", "Application-Name", "Application-Version", "Archiver-Version", "Automatic-Module-Name", "Bnd-LastModified", "Branch", "Build-Date", "Build-Host", "Build-Id", "Build-Java-Version", "Build-Jdk", "Build-Jdk-Spec", "Build-Job", "Build-Number", "Build-Revision", "Build-Time", "Build-Timestamp", "Build-Version", "Built-By", "Built-OS", "Built-On", "Built-Status", "Built-With", "Bundle-ActivationPolicy", "Bundle-Activator", "Bundle-Category", "Bundle-ClassPath", "Bundle-Classpath", "Bundle-Copyright", "Bundle-Description", "Bundle-DocURL", "Bundle-License", "Bundle-ManifestVersion", "Bundle-Name", "Bundle-NativeCode", "Bundle-RequiredExecutionEnvironment", "Bundle-SymbolicName", "Bundle-Vendor", "Bundle-Version", "Caller-Allowable-Codebase", "Can-Redefine-Classes", "Can-Retransform-Classes", "Can-Set-Native-Method-Prefix", "Caplets", "Change", "Class-Path", "Codebase", "Corda-Platform-Version", "Corda-Release-Version", "Corda-Revision", "Corda-Vendor", "Cordapp-Contract-Licence", "Cordapp-Contract-Name", "Cordapp-Contract-Vendor", "Cordapp-Contract-Version", "Cordapp-Workflow-Licence", "Cordapp-Workflow-Name", "Cordapp-Workflow-Vendor", "Cordapp-Workflow-Version", "Created-By", "DSTAMP", "DynamicImport-Package", "Eclipse-BuddyPolicy", "Eclipse-LazyStart", "Embed-Dependency", "Export-Package", "Extension-Name", "Fragment-Host", "Git-Revision", "Git-Url", "Gradle-Version", "Hibernate-JpaVersion", "Hibernate-VersionFamily", "Ignore-Package", "Implementation-Build", "Implementation-Build-Date", "Implementation-Build-Id", "Implementation-Title", "Implementation-URL", "Implementation-Url", "Implementation-Vendor", "Implementation-Vendor-Id", "Implementation-Version", "Import-Package", "Include-Resource", "JCabi-Build", "JCabi-Date", "JCabi-Version", "JVM-Args", "Java-Agents", "Java-Vendor", "Java-Version", "Kotlin-Runtime-Component", "Kotlin-Version", "Liquibase-Package", "Log4jReleaseKey", "Log4jReleaseManager", "Log4jReleaseVersion", "Main-Class", "Main-class", "Major-Version", "Manifest-Version", "Min-Java-Version", "Min-Platform-Version", "Min-Update-Version", "Module-Email", "Module-Origin", "Module-Owner", "Module-Source", "Multi-Release", "Originally-Created-By", "Os-Arch", "Os-Name", "Os-Version", "Permissions", "Premain-Class", "Private-Package", "Provide-Capability", "Require-Capability", "SCM-Revision", "SCM-url", "Scm-Connection", "Scm-Revision", "Scm-Url", "Sealed", "Service-Component", "Specification-Title", "Specification-Vendor", "Specification-Version", "System-Properties", "TODAY", "TSTAMP", "Target-Platform-Version", "Tool", "Trusted-Library", "URL", "X-Compile-Source-JDK", "X-Compile-Target-JDK", "X-Git-Hash", "build-time", "implementation-version", "mode", "package", "service", "url"]
. _ _ /\ / '_ () \ \ \ \ ( ( )\ | ' | '| | ' \/ ` | \ \ \ \ \/ _)| |)| | | | | || (| | ) ) ) ) ' |__| .|| ||| |\, | / / / / =========|_|==============|__/=//// :: Spring Boot :: (v2.2.4.RELEASE)
[ERROR] 22:51:00,001 [DefaultDispatcher-worker-1 @coroutine#2] integration.NodeDriverHelper. - stopNetwork stopped [WARN] 22:51:00,377 [main] autoconfigure.BnmsServiceBeanFactoryPostProcessor. - Skipping, BNMS config for default node name: default [WARN] 22:51:00,380 [main] autoconfigure.BnmsServiceBeanFactoryPostProcessor. - No BNMS service type registered for node name: partyA, ignoring [WARN] 22:51:00,382 [main] autoconfigure.BnmsServiceBeanFactoryPostProcessor. - No BNMS service type registered for node name: partyB, ignoring [WARN] 22:51:00,385 [main] autoconfigure.BnmsServiceBeanFactoryPostProcessor. - No BNMS service type registered for node name: cordform, ignoring
Process finished with exit code -1