microservices-patterns / ftgo-application

Example code for the book Microservice patterns
Other
3.41k stars 1.32k forks source link

gradle-run of Integration Tests for Order Service goes to endless loop #60

Closed asn25 closed 4 years ago

asn25 commented 4 years ago

Hi,

I'm trying to run integration tests with gradle from root project folder. Start conditions - docker-machine is started, all containers are deleted. Command:

$ ./gradlew :ftgo-order-service:cleanTest :ftgo-order-service:integrationTest --info

Loops on connect attempt to mysql_1, but mysql_1 container is stopped:

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES ac7d5cb5cf92 ftgo-application_mysql "docker-entrypoint.s" 3 minutes ago Exited (127) 3 minutes ago ftgo-application_mysql_1

Output:


$ ./gradlew :ftgo-order-service:cleanTest :ftgo-order-service:integrationTest --info

Starting 3rd build in daemon [uptime: 5 mins 5.101 secs, performance: 100%, no major garbage collections] Using 8 worker leases. Starting Build

Configure project :buildSrc Evaluating project ':buildSrc' using build file 'C:\IdeaProjects\Microservices\ftgo-application\buildSrc\build.gradle'. Selected primary task 'build' from project : :buildSrc:compileJava (Thread[Task worker for ':buildSrc' Thread 3,5,main]) started.

Task :buildSrc:compileJava NO-SOURCE file or directory 'C:\IdeaProjects\Microservices\ftgo-application\buildSrc\src\main\java', not found Skipping task ':buildSrc:compileJava' as it has no source files and no previous output files. :buildSrc:compileJava (Thread[Task worker for ':buildSrc' Thread 3,5,main]) completed. Took 0.008 secs. :buildSrc:compileGroovy (Thread[Task worker for ':buildSrc' Thread 3,5,main]) started.

Task :buildSrc:compileGroovy UP-TO-DATE Skipping task ':buildSrc:compileGroovy' as it is up-to-date. :buildSrc:compileGroovy (Thread[Task worker for ':buildSrc' Thread 3,5,main]) completed. Took 0.014 secs. :buildSrc:processResources (Thread[Task worker for ':buildSrc' Thread 3,5,main]) started.

Task :buildSrc:processResources NO-SOURCE file or directory 'C:\IdeaProjects\Microservices\ftgo-application\buildSrc\src\main\resources', not found Skipping task ':buildSrc:processResources' as it has no source files and no previous output files. :buildSrc:processResources (Thread[Task worker for ':buildSrc' Thread 3,5,main]) completed. Took 0.0 secs. :buildSrc:classes (Thread[Task worker for ':buildSrc' Thread 3,5,main]) started.

Task :buildSrc:classes UP-TO-DATE Skipping task ':buildSrc:classes' as it has no actions. :buildSrc:classes (Thread[Task worker for ':buildSrc' Thread 3,5,main]) completed. Took 0.0 secs. :buildSrc:jar (Thread[Task worker for ':buildSrc' Thread 3,5,main]) started.

Task :buildSrc:jar UP-TO-DATE Skipping task ':buildSrc:jar' as it is up-to-date. :buildSrc:jar (Thread[Task worker for ':buildSrc' Thread 3,5,main]) completed. Took 0.004 secs. :buildSrc:assemble (Thread[Task worker for ':buildSrc' Thread 3,5,main]) started.

Task :buildSrc:assemble UP-TO-DATE Skipping task ':buildSrc:assemble' as it has no actions. :buildSrc:assemble (Thread[Task worker for ':buildSrc' Thread 3,5,main]) completed. Took 0.0 secs. :buildSrc:compileTestJava (Thread[Task worker for ':buildSrc' Thread 3,5,main]) started.

Task :buildSrc:compileTestJava NO-SOURCE file or directory 'C:\IdeaProjects\Microservices\ftgo-application\buildSrc\src\test\java', not found Skipping task ':buildSrc:compileTestJava' as it has no source files and no previous output files. :buildSrc:compileTestJava (Thread[Task worker for ':buildSrc' Thread 3,5,main]) completed. Took 0.001 secs. :buildSrc:compileTestGroovy (Thread[Task worker for ':buildSrc' Thread 3,5,main]) started.

Task :buildSrc:compileTestGroovy NO-SOURCE file or directory 'C:\IdeaProjects\Microservices\ftgo-application\buildSrc\src\test\groovy', not found Skipping task ':buildSrc:compileTestGroovy' as it has no source files and no previous output files. :buildSrc:compileTestGroovy (Thread[Task worker for ':buildSrc' Thread 3,5,main]) completed. Took 0.0 secs. :buildSrc:processTestResources (Thread[Task worker for ':buildSrc' Thread 3,5,main]) started.

Task :buildSrc:processTestResources NO-SOURCE file or directory 'C:\IdeaProjects\Microservices\ftgo-application\buildSrc\src\test\resources', not found Skipping task ':buildSrc:processTestResources' as it has no source files and no previous output files. :buildSrc:processTestResources (Thread[Task worker for ':buildSrc' Thread 3,5,main]) completed. Took 0.0 secs. :buildSrc:testClasses (Thread[Task worker for ':buildSrc' Thread 3,5,main]) started.

Task :buildSrc:testClasses UP-TO-DATE Skipping task ':buildSrc:testClasses' as it has no actions. :buildSrc:testClasses (Thread[Task worker for ':buildSrc' Thread 3,5,main]) completed. Took 0.0 secs. :buildSrc:test (Thread[Task worker for ':buildSrc' Thread 3,5,main]) started.

Task :buildSrc:test SKIPPED Skipping task ':buildSrc:test' as task onlyIf is false. :buildSrc:test (Thread[Task worker for ':buildSrc' Thread 3,5,main]) completed. Took 0.0 secs. :buildSrc:check (Thread[Task worker for ':buildSrc' Thread 3,5,main]) started.

Task :buildSrc:check UP-TO-DATE Skipping task ':buildSrc:check' as it has no actions. :buildSrc:check (Thread[Task worker for ':buildSrc' Thread 3,5,main]) completed. Took 0.0 secs. :buildSrc:build (Thread[Task worker for ':buildSrc' Thread 3,5,main]) started.

Task :buildSrc:build UP-TO-DATE Skipping task ':buildSrc:build' as it has no actions. :buildSrc:build (Thread[Task worker for ':buildSrc' Thread 3,5,main]) completed. Took 0.0 secs. Settings evaluated using settings file 'C:\IdeaProjects\Microservices\ftgo-application\settings.gradle'. Projects loaded. Root project using build file 'C:\IdeaProjects\Microservices\ftgo-application\build.gradle'. Included projects: [root project 'ftgo-application', project ':common-swagger', project ':ftgo-accounting-service', project ':ftgo-accounting-service-api', project ':ftgo-accounting-service-contracts', project ':ftgo-api-gateway', project ':ftgo-common', project ':ftgo-common-jpa', project ':ftgo-consumer-service', project ':ftgo-consumer-service-api', project ':ftgo-consumer-service-contracts', project ':ftgo-end-to-end-tests', project ':ftgo-kitchen-service', project ':ftgo-kitchen-service-api', project ':ftgo-kitchen-service-contracts', project ':ftgo-order-history-service', project ':ftgo-order-service', project ':ftgo-order-service-api', project ':ftgo-order-service-contracts', project ':ftgo-restaurant-service', project ':ftgo-restaurant-service-api', project ':ftgo-restaurant-service-aws-lambda', project ':ftgo-test-util']

Configure project : Evaluating root project 'ftgo-application' using build file 'C:\IdeaProjects\Microservices\ftgo-application\build.gradle'.

Configure project :common-swagger Evaluating project ':common-swagger' using build file 'C:\IdeaProjects\Microservices\ftgo-application\common-swagger\build.gradle'.

Configure project :ftgo-accounting-service Evaluating project ':ftgo-accounting-service' using build file 'C:\IdeaProjects\Microservices\ftgo-application\ftgo-accounting-service\build.gradle'. Applying dependency management to configuration 'annotationProcessor' in project 'ftgo-accounting-service' Applying dependency management to configuration 'apiElements' in project 'ftgo-accounting-service' Applying dependency management to configuration 'archives' in project 'ftgo-accounting-service' Applying dependency management to configuration 'bootArchives' in project 'ftgo-accounting-service' Applying dependency management to configuration 'compile' in project 'ftgo-accounting-service' Applying dependency management to configuration 'compileClasspath' in project 'ftgo-accounting-service' Applying dependency management to configuration 'compileOnly' in project 'ftgo-accounting-service' Applying dependency management to configuration 'default' in project 'ftgo-accounting-service' Applying dependency management to configuration 'implementation' in project 'ftgo-accounting-service' Applying dependency management to configuration 'pmd' in project 'ftgo-accounting-service' Applying dependency management to configuration 'runtime' in project 'ftgo-accounting-service' Applying dependency management to configuration 'runtimeClasspath' in project 'ftgo-accounting-service' Applying dependency management to configuration 'runtimeElements' in project 'ftgo-accounting-service' Applying dependency management to configuration 'runtimeOnly' in project 'ftgo-accounting-service' Applying dependency management to configuration 'testAnnotationProcessor' in project 'ftgo-accounting-service' Applying dependency management to configuration 'testCompile' in project 'ftgo-accounting-service' Applying dependency management to configuration 'testCompileClasspath' in project 'ftgo-accounting-service' Applying dependency management to configuration 'testCompileOnly' in project 'ftgo-accounting-service' Applying dependency management to configuration 'testImplementation' in project 'ftgo-accounting-service' Applying dependency management to configuration 'testRuntime' in project 'ftgo-accounting-service' Applying dependency management to configuration 'testRuntimeClasspath' in project 'ftgo-accounting-service' Applying dependency management to configuration 'testRuntimeOnly' in project 'ftgo-accounting-service'

Configure project :ftgo-accounting-service-api Evaluating project ':ftgo-accounting-service-api' using build file 'C:\IdeaProjects\Microservices\ftgo-application\ftgo-accounting-service-api\build.gradle'.

Configure project :ftgo-accounting-service-contracts Evaluating project ':ftgo-accounting-service-contracts' using build file 'C:\IdeaProjects\Microservices\ftgo-application\ftgo-accounting-service-contracts\build.gradle'.

Configure project :ftgo-api-gateway Evaluating project ':ftgo-api-gateway' using build file 'C:\IdeaProjects\Microservices\ftgo-application\ftgo-api-gateway\build.gradle'. Applying dependency management to configuration 'annotationProcessor' in project 'ftgo-api-gateway' Applying dependency management to configuration 'apiElements' in project 'ftgo-api-gateway' Applying dependency management to configuration 'archives' in project 'ftgo-api-gateway' Applying dependency management to configuration 'compile' in project 'ftgo-api-gateway' Applying dependency management to configuration 'compileClasspath' in project 'ftgo-api-gateway' Applying dependency management to configuration 'compileOnly' in project 'ftgo-api-gateway' Applying dependency management to configuration 'default' in project 'ftgo-api-gateway' Applying dependency management to configuration 'implementation' in project 'ftgo-api-gateway' Applying dependency management to configuration 'pmd' in project 'ftgo-api-gateway' Applying dependency management to configuration 'runtime' in project 'ftgo-api-gateway' Applying dependency management to configuration 'runtimeClasspath' in project 'ftgo-api-gateway' Applying dependency management to configuration 'runtimeElements' in project 'ftgo-api-gateway' Applying dependency management to configuration 'runtimeOnly' in project 'ftgo-api-gateway' Applying dependency management to configuration 'testAnnotationProcessor' in project 'ftgo-api-gateway' Applying dependency management to configuration 'testCompile' in project 'ftgo-api-gateway' Applying dependency management to configuration 'testCompileClasspath' in project 'ftgo-api-gateway' Applying dependency management to configuration 'testCompileOnly' in project 'ftgo-api-gateway' Applying dependency management to configuration 'testImplementation' in project 'ftgo-api-gateway' Applying dependency management to configuration 'testRuntime' in project 'ftgo-api-gateway' Applying dependency management to configuration 'testRuntimeClasspath' in project 'ftgo-api-gateway' Applying dependency management to configuration 'testRuntimeOnly' in project 'ftgo-api-gateway' Applying dependency management to configuration 'bootArchives' in project 'ftgo-api-gateway'

Configure project :ftgo-common Evaluating project ':ftgo-common' using build file 'C:\IdeaProjects\Microservices\ftgo-application\ftgo-common\build.gradle'.

Configure project :ftgo-common-jpa Evaluating project ':ftgo-common-jpa' using build file 'C:\IdeaProjects\Microservices\ftgo-application\ftgo-common-jpa\build.gradle'.

Configure project :ftgo-consumer-service Evaluating project ':ftgo-consumer-service' using build file 'C:\IdeaProjects\Microservices\ftgo-application\ftgo-consumer-service\build.gradle'. Applying dependency management to configuration 'annotationProcessor' in project 'ftgo-consumer-service' Applying dependency management to configuration 'apiElements' in project 'ftgo-consumer-service' Applying dependency management to configuration 'archives' in project 'ftgo-consumer-service' Applying dependency management to configuration 'bootArchives' in project 'ftgo-consumer-service' Applying dependency management to configuration 'compile' in project 'ftgo-consumer-service' Applying dependency management to configuration 'compileClasspath' in project 'ftgo-consumer-service' Applying dependency management to configuration 'compileOnly' in project 'ftgo-consumer-service' Applying dependency management to configuration 'default' in project 'ftgo-consumer-service' Applying dependency management to configuration 'implementation' in project 'ftgo-consumer-service' Applying dependency management to configuration 'pmd' in project 'ftgo-consumer-service' Applying dependency management to configuration 'runtime' in project 'ftgo-consumer-service' Applying dependency management to configuration 'runtimeClasspath' in project 'ftgo-consumer-service' Applying dependency management to configuration 'runtimeElements' in project 'ftgo-consumer-service' Applying dependency management to configuration 'runtimeOnly' in project 'ftgo-consumer-service' Applying dependency management to configuration 'testAnnotationProcessor' in project 'ftgo-consumer-service' Applying dependency management to configuration 'testCompile' in project 'ftgo-consumer-service' Applying dependency management to configuration 'testCompileClasspath' in project 'ftgo-consumer-service' Applying dependency management to configuration 'testCompileOnly' in project 'ftgo-consumer-service' Applying dependency management to configuration 'testImplementation' in project 'ftgo-consumer-service' Applying dependency management to configuration 'testRuntime' in project 'ftgo-consumer-service' Applying dependency management to configuration 'testRuntimeClasspath' in project 'ftgo-consumer-service' Applying dependency management to configuration 'testRuntimeOnly' in project 'ftgo-consumer-service'

Configure project :ftgo-consumer-service-api Evaluating project ':ftgo-consumer-service-api' using build file 'C:\IdeaProjects\Microservices\ftgo-application\ftgo-consumer-service-api\build.gradle'.

Configure project :ftgo-consumer-service-contracts Evaluating project ':ftgo-consumer-service-contracts' using build file 'C:\IdeaProjects\Microservices\ftgo-application\ftgo-consumer-service-contracts\build.gradle'.

Configure project :ftgo-end-to-end-tests Evaluating project ':ftgo-end-to-end-tests' using build file 'C:\IdeaProjects\Microservices\ftgo-application\ftgo-end-to-end-tests\build.gradle'.

Configure project :ftgo-kitchen-service Evaluating project ':ftgo-kitchen-service' using build file 'C:\IdeaProjects\Microservices\ftgo-application\ftgo-kitchen-service\build.gradle'. Applying dependency management to configuration 'annotationProcessor' in project 'ftgo-kitchen-service' Applying dependency management to configuration 'apiElements' in project 'ftgo-kitchen-service' Applying dependency management to configuration 'archives' in project 'ftgo-kitchen-service' Applying dependency management to configuration 'compile' in project 'ftgo-kitchen-service' Applying dependency management to configuration 'compileClasspath' in project 'ftgo-kitchen-service' Applying dependency management to configuration 'compileOnly' in project 'ftgo-kitchen-service' Applying dependency management to configuration 'default' in project 'ftgo-kitchen-service' Applying dependency management to configuration 'implementation' in project 'ftgo-kitchen-service' Applying dependency management to configuration 'pmd' in project 'ftgo-kitchen-service' Applying dependency management to configuration 'runtime' in project 'ftgo-kitchen-service' Applying dependency management to configuration 'runtimeClasspath' in project 'ftgo-kitchen-service' Applying dependency management to configuration 'runtimeElements' in project 'ftgo-kitchen-service' Applying dependency management to configuration 'runtimeOnly' in project 'ftgo-kitchen-service' Applying dependency management to configuration 'testAnnotationProcessor' in project 'ftgo-kitchen-service' Applying dependency management to configuration 'testCompile' in project 'ftgo-kitchen-service' Applying dependency management to configuration 'testCompileClasspath' in project 'ftgo-kitchen-service' Applying dependency management to configuration 'testCompileOnly' in project 'ftgo-kitchen-service' Applying dependency management to configuration 'testImplementation' in project 'ftgo-kitchen-service' Applying dependency management to configuration 'testRuntime' in project 'ftgo-kitchen-service' Applying dependency management to configuration 'testRuntimeClasspath' in project 'ftgo-kitchen-service' Applying dependency management to configuration 'testRuntimeOnly' in project 'ftgo-kitchen-service' Applying dependency management to configuration 'bootArchives' in project 'ftgo-kitchen-service'

Configure project :ftgo-kitchen-service-api Evaluating project ':ftgo-kitchen-service-api' using build file 'C:\IdeaProjects\Microservices\ftgo-application\ftgo-kitchen-service-api\build.gradle'.

Configure project :ftgo-kitchen-service-contracts Evaluating project ':ftgo-kitchen-service-contracts' using build file 'C:\IdeaProjects\Microservices\ftgo-application\ftgo-kitchen-service-contracts\build.gradle'.

Configure project :ftgo-order-history-service Evaluating project ':ftgo-order-history-service' using build file 'C:\IdeaProjects\Microservices\ftgo-application\ftgo-order-history-service\build.gradle'. Applying dependency management to configuration 'annotationProcessor' in project 'ftgo-order-history-service' Applying dependency management to configuration 'apiElements' in project 'ftgo-order-history-service' Applying dependency management to configuration 'archives' in project 'ftgo-order-history-service' Applying dependency management to configuration 'bootArchives' in project 'ftgo-order-history-service' Applying dependency management to configuration 'compile' in project 'ftgo-order-history-service' Applying dependency management to configuration 'compileClasspath' in project 'ftgo-order-history-service' Applying dependency management to configuration 'compileOnly' in project 'ftgo-order-history-service' Applying dependency management to configuration 'default' in project 'ftgo-order-history-service' Applying dependency management to configuration 'implementation' in project 'ftgo-order-history-service' Applying dependency management to configuration 'pmd' in project 'ftgo-order-history-service' Applying dependency management to configuration 'runtime' in project 'ftgo-order-history-service' Applying dependency management to configuration 'runtimeClasspath' in project 'ftgo-order-history-service' Applying dependency management to configuration 'runtimeElements' in project 'ftgo-order-history-service' Applying dependency management to configuration 'runtimeOnly' in project 'ftgo-order-history-service' Applying dependency management to configuration 'testAnnotationProcessor' in project 'ftgo-order-history-service' Applying dependency management to configuration 'testCompile' in project 'ftgo-order-history-service' Applying dependency management to configuration 'testCompileClasspath' in project 'ftgo-order-history-service' Applying dependency management to configuration 'testCompileOnly' in project 'ftgo-order-history-service' Applying dependency management to configuration 'testImplementation' in project 'ftgo-order-history-service' Applying dependency management to configuration 'testRuntime' in project 'ftgo-order-history-service' Applying dependency management to configuration 'testRuntimeClasspath' in project 'ftgo-order-history-service' Applying dependency management to configuration 'testRuntimeOnly' in project 'ftgo-order-history-service' Applying dependency management to configuration 'integrationTestCompile' in project 'ftgo-order-history-service' Applying dependency management to configuration 'integrationTestImplementation' in project 'ftgo-order-history-service' Applying dependency management to configuration 'integrationTestRuntime' in project 'ftgo-order-history-service' Applying dependency management to configuration 'integrationTestCompileOnly' in project 'ftgo-order-history-service' Applying dependency management to configuration 'integrationTestCompileClasspath' in project 'ftgo-order-history-service' Applying dependency management to configuration 'integrationTestAnnotationProcessor' in project 'ftgo-order-history-service' Applying dependency management to configuration 'integrationTestRuntimeOnly' in project 'ftgo-order-history-service' Applying dependency management to configuration 'integrationTestRuntimeClasspath' in project 'ftgo-order-history-service'

Configure project :ftgo-order-service Evaluating project ':ftgo-order-service' using build file 'C:\IdeaProjects\Microservices\ftgo-application\ftgo-order-service\build.gradle'. Applying dependency management to configuration 'annotationProcessor' in project 'ftgo-order-service' Applying dependency management to configuration 'apiElements' in project 'ftgo-order-service' Applying dependency management to configuration 'archives' in project 'ftgo-order-service' Applying dependency management to configuration 'bootArchives' in project 'ftgo-order-service' Applying dependency management to configuration 'compile' in project 'ftgo-order-service' Applying dependency management to configuration 'compileClasspath' in project 'ftgo-order-service' Applying dependency management to configuration 'compileOnly' in project 'ftgo-order-service' Applying dependency management to configuration 'default' in project 'ftgo-order-service' Applying dependency management to configuration 'implementation' in project 'ftgo-order-service' Applying dependency management to configuration 'pmd' in project 'ftgo-order-service' Applying dependency management to configuration 'runtime' in project 'ftgo-order-service' Applying dependency management to configuration 'runtimeClasspath' in project 'ftgo-order-service' Applying dependency management to configuration 'runtimeElements' in project 'ftgo-order-service' Applying dependency management to configuration 'runtimeOnly' in project 'ftgo-order-service' Applying dependency management to configuration 'testAnnotationProcessor' in project 'ftgo-order-service' Applying dependency management to configuration 'testCompile' in project 'ftgo-order-service' Applying dependency management to configuration 'testCompileClasspath' in project 'ftgo-order-service' Applying dependency management to configuration 'testCompileOnly' in project 'ftgo-order-service' Applying dependency management to configuration 'testImplementation' in project 'ftgo-order-service' Applying dependency management to configuration 'testRuntime' in project 'ftgo-order-service' Applying dependency management to configuration 'testRuntimeClasspath' in project 'ftgo-order-service' Applying dependency management to configuration 'testRuntimeOnly' in project 'ftgo-order-service' Applying dependency management to configuration 'protobuf' in project 'ftgo-order-service' Applying dependency management to configuration 'testProtobuf' in project 'ftgo-order-service' Applying dependency management to configuration 'integrationTestCompile' in project 'ftgo-order-service' Applying dependency management to configuration 'integrationTestImplementation' in project 'ftgo-order-service' Applying dependency management to configuration 'integrationTestRuntime' in project 'ftgo-order-service' Applying dependency management to configuration 'integrationTestCompileOnly' in project 'ftgo-order-service' Applying dependency management to configuration 'integrationTestCompileClasspath' in project 'ftgo-order-service' Applying dependency management to configuration 'integrationTestAnnotationProcessor' in project 'ftgo-order-service' Applying dependency management to configuration 'integrationTestRuntimeOnly' in project 'ftgo-order-service' Applying dependency management to configuration 'integrationTestRuntimeClasspath' in project 'ftgo-order-service' Applying dependency management to configuration 'integrationTestProtobuf' in project 'ftgo-order-service' Applying dependency management to configuration 'componentTestCompile' in project 'ftgo-order-service' Applying dependency management to configuration 'componentTestImplementation' in project 'ftgo-order-service' Applying dependency management to configuration 'componentTestRuntime' in project 'ftgo-order-service' Applying dependency management to configuration 'componentTestCompileOnly' in project 'ftgo-order-service' Applying dependency management to configuration 'componentTestCompileClasspath' in project 'ftgo-order-service' Applying dependency management to configuration 'componentTestAnnotationProcessor' in project 'ftgo-order-service' Applying dependency management to configuration 'componentTestRuntimeOnly' in project 'ftgo-order-service' Applying dependency management to configuration 'componentTestRuntimeClasspath' in project 'ftgo-order-service' Applying dependency management to configuration 'componentTestProtobuf' in project 'ftgo-order-service' Applying dependency management to configuration 'protobufToolsLocator_protoc' in project 'ftgo-order-service'

Detecting the operating system and CPU architecture

os.detected.name=windows os.detected.arch=x86_64 os.detected.classifier=windows-x86_64 Applying dependency management to configuration 'protobufToolsLocator_grpc' in project 'ftgo-order-service'

Configure project :ftgo-order-service-api Evaluating project ':ftgo-order-service-api' using build file 'C:\IdeaProjects\Microservices\ftgo-application\ftgo-order-service-api\build.gradle'.

Configure project :ftgo-order-service-contracts Evaluating project ':ftgo-order-service-contracts' using build file 'C:\IdeaProjects\Microservices\ftgo-application\ftgo-order-service-contracts\build.gradle'.

Configure project :ftgo-restaurant-service Evaluating project ':ftgo-restaurant-service' using build file 'C:\IdeaProjects\Microservices\ftgo-application\ftgo-restaurant-service\build.gradle'. Applying dependency management to configuration 'annotationProcessor' in project 'ftgo-restaurant-service' Applying dependency management to configuration 'apiElements' in project 'ftgo-restaurant-service' Applying dependency management to configuration 'archives' in project 'ftgo-restaurant-service' Applying dependency management to configuration 'bootArchives' in project 'ftgo-restaurant-service' Applying dependency management to configuration 'compile' in project 'ftgo-restaurant-service' Applying dependency management to configuration 'compileClasspath' in project 'ftgo-restaurant-service' Applying dependency management to configuration 'compileOnly' in project 'ftgo-restaurant-service' Applying dependency management to configuration 'default' in project 'ftgo-restaurant-service' Applying dependency management to configuration 'implementation' in project 'ftgo-restaurant-service' Applying dependency management to configuration 'pmd' in project 'ftgo-restaurant-service' Applying dependency management to configuration 'runtime' in project 'ftgo-restaurant-service' Applying dependency management to configuration 'runtimeClasspath' in project 'ftgo-restaurant-service' Applying dependency management to configuration 'runtimeElements' in project 'ftgo-restaurant-service' Applying dependency management to configuration 'runtimeOnly' in project 'ftgo-restaurant-service' Applying dependency management to configuration 'testAnnotationProcessor' in project 'ftgo-restaurant-service' Applying dependency management to configuration 'testCompile' in project 'ftgo-restaurant-service' Applying dependency management to configuration 'testCompileClasspath' in project 'ftgo-restaurant-service' Applying dependency management to configuration 'testCompileOnly' in project 'ftgo-restaurant-service' Applying dependency management to configuration 'testImplementation' in project 'ftgo-restaurant-service' Applying dependency management to configuration 'testRuntime' in project 'ftgo-restaurant-service' Applying dependency management to configuration 'testRuntimeClasspath' in project 'ftgo-restaurant-service' Applying dependency management to configuration 'testRuntimeOnly' in project 'ftgo-restaurant-service'

Configure project :ftgo-restaurant-service-api Evaluating project ':ftgo-restaurant-service-api' using build file 'C:\IdeaProjects\Microservices\ftgo-application\ftgo-restaurant-service-api\build.gradle'.

Configure project :ftgo-restaurant-service-aws-lambda Evaluating project ':ftgo-restaurant-service-aws-lambda' using build file 'C:\IdeaProjects\Microservices\ftgo-application\ftgo-restaurant-service-aws-lambda\build.gradle'.

Configure project :ftgo-test-util Evaluating project ':ftgo-test-util' using build file 'C:\IdeaProjects\Microservices\ftgo-application\ftgo-test-util\build.gradle'. All projects evaluated. Selected primary task ':ftgo-order-service:cleanTest' from project :ftgo-order-service Selected primary task ':ftgo-order-service:integrationTest' from project :ftgo-order-service Tasks to be executed: [task ':ftgo-order-service:cleanTest', task ':common-swagger:compileJava', task ':common-swagger:processResources', task ':common-swagger:classes', task ':common-swagger:jar', task ':ftgo-common:compileJava', task ':ftgo-common:processResources', task ':ftgo-common:classes', task ':ftgo-common:jar', task ':ftgo-accounting-service-api:compileJava', task ':ftgo-accounting-service-api:processResources', task ':ftgo-accounting-service-api:classes', task ':ftgo-accounting-service-api:jar', task ':ftgo-common-jpa:compileJava', task ':ftgo-common-jpa:processResources', task ':ftgo-common-jpa:classes', task ':ftgo-common-jpa:jar', task ':ftgo-consumer-service-api:compileJava', task ':ftgo-consumer-service-api:processResources', task ':ftgo-consumer-service-api:classes', task ':ftgo-consumer-service-api:jar', task ':ftgo-kitchen-service-api:compileJava', task ':ftgo-kitchen-service-api:processResources', task ':ftgo-kitchen-service-api:classes', task ':ftgo-kitchen-service-api:jar', task ':ftgo-order-service-api:compileJava', task ':ftgo-order-service-api:processResources', task ':ftgo-order-service-api:classes', task ':ftgo-order-service-api:jar', task ':ftgo-restaurant-service-api:compileJava', task ':ftgo-restaurant-service-api:processResources', task ':ftgo-restaurant-service-api:classes', task ':ftgo-restaurant-service-api:jar', task ':ftgo-order-service:extractIncludeProto', task ':ftgo-order-service:extractProto', task ':ftgo-order-service:generateProto', task ':ftgo-order-service:compileJava', task ':ftgo-order-service:compileGroovy', task ':ftgo-order-service:processResources', task ':ftgo-order-service:classes', task ':ftgo-order-service:copyContracts', task ':ftgo-order-service:generateContractTests', task ':ftgo-test-util:compileJava', task ':ftgo-test-util:processResources', task ':ftgo-test-util:classes', task ':ftgo-test-util:jar', task ':ftgo-order-service:extractIncludeTestProto', task ':ftgo-order-service:extractTestProto', task ':ftgo-order-service:generateTestProto', task ':ftgo-order-service:compileTestJava', task ':ftgo-order-service:compileTestGroovy', task ':ftgo-order-service:processTestResources', task ':ftgo-order-service:testClasses', task ':ftgo-order-service:extractIncludeIntegrationTestProto', task ':ftgo-order-service:extractIntegrationTestProto', task ':ftgo-order-service:generateIntegrationTestProto', task ':ftgo-order-service:compileIntegrationTestJava', task ':ftgo-order-service:compileIntegrationTestGroovy', task ':ftgo-order-service:processIntegrationTestResources', task ':ftgo-order-service:integrationTestClasses', task ':ftgo-order-service:integrationTestsComposeUp', task ':ftgo-order-service:integrationTest'] :ftgo-order-service:cleanTest (Thread[Task worker for ':',5,main]) started.

Task :ftgo-order-service:cleanTest UP-TO-DATE Task ':ftgo-order-service:cleanTest' is not up-to-date because: Task has not declared any outputs despite executing actions. :ftgo-order-service:cleanTest (Thread[Task worker for ':',5,main]) completed. Took 0.006 secs. :common-swagger:compileJava (Thread[Task worker for ':',5,main]) started.

Task :common-swagger:compileJava UP-TO-DATE Skipping task ':common-swagger:compileJava' as it is up-to-date. :common-swagger:compileJava (Thread[Task worker for ':',5,main]) completed. Took 2.629 secs. :common-swagger:processResources (Thread[Task worker for ':',5,main]) started.

Task :common-swagger:processResources NO-SOURCE file or directory 'C:\IdeaProjects\Microservices\ftgo-application\common-swagger\src\main\resources', not found Skipping task ':common-swagger:processResources' as it has no source files and no previous output files. :common-swagger:processResources (Thread[Task worker for ':',5,main]) completed. Took 0.0 secs. :common-swagger:classes (Thread[Task worker for ':',5,main]) started.

Task :common-swagger:classes UP-TO-DATE Skipping task ':common-swagger:classes' as it has no actions. :common-swagger:classes (Thread[Task worker for ':',5,main]) completed. Took 0.0 secs. :common-swagger:jar (Thread[Task worker for ':',5,main]) started.

Task :common-swagger:jar UP-TO-DATE Skipping task ':common-swagger:jar' as it is up-to-date. :common-swagger:jar (Thread[Task worker for ':',5,main]) completed. Took 0.008 secs. :ftgo-common:compileJava (Thread[Task worker for ':',5,main]) started.

Task :ftgo-common:compileJava UP-TO-DATE Skipping task ':ftgo-common:compileJava' as it is up-to-date. :ftgo-common:compileJava (Thread[Task worker for ':',5,main]) completed. Took 0.043 secs. :ftgo-common:processResources (Thread[Task worker for ':',5,main]) started.

Task :ftgo-common:processResources NO-SOURCE file or directory 'C:\IdeaProjects\Microservices\ftgo-application\ftgo-common\src\main\resources', not found Skipping task ':ftgo-common:processResources' as it has no source files and no previous output files. :ftgo-common:processResources (Thread[Task worker for ':',5,main]) completed. Took 0.0 secs. :ftgo-common:classes (Thread[Task worker for ':',5,main]) started.

Task :ftgo-common:classes UP-TO-DATE Skipping task ':ftgo-common:classes' as it has no actions. :ftgo-common:classes (Thread[Task worker for ':',5,main]) completed. Took 0.0 secs. :ftgo-common:jar (Thread[Task worker for ':',5,main]) started.

Task :ftgo-common:jar UP-TO-DATE Skipping task ':ftgo-common:jar' as it is up-to-date. :ftgo-common:jar (Thread[Task worker for ':',5,main]) completed. Took 0.006 secs. :ftgo-accounting-service-api:compileJava (Thread[Task worker for ':',5,main]) started.

Task :ftgo-accounting-service-api:compileJava UP-TO-DATE Skipping task ':ftgo-accounting-service-api:compileJava' as it is up-to-date. :ftgo-accounting-service-api:compileJava (Thread[Task worker for ':',5,main]) completed. Took 0.043 secs. :ftgo-accounting-service-api:processResources (Thread[Task worker for ':',5,main]) started.

Task :ftgo-accounting-service-api:processResources NO-SOURCE file or directory 'C:\IdeaProjects\Microservices\ftgo-application\ftgo-accounting-service-api\src\main\resources', not found Skipping task ':ftgo-accounting-service-api:processResources' as it has no source files and no previous output files. :ftgo-accounting-service-api:processResources (Thread[Task worker for ':',5,main]) completed. Took 0.0 secs. :ftgo-accounting-service-api:classes (Thread[Task worker for ':',5,main]) started.

Task :ftgo-accounting-service-api:classes UP-TO-DATE Skipping task ':ftgo-accounting-service-api:classes' as it has no actions. :ftgo-accounting-service-api:classes (Thread[Task worker for ':',5,main]) completed. Took 0.0 secs. :ftgo-accounting-service-api:jar (Thread[Task worker for ':',5,main]) started.

Task :ftgo-accounting-service-api:jar UP-TO-DATE Skipping task ':ftgo-accounting-service-api:jar' as it is up-to-date. :ftgo-accounting-service-api:jar (Thread[Task worker for ':',5,main]) completed. Took 0.009 secs. :ftgo-common-jpa:compileJava (Thread[Task worker for ':',5,main]) started.

Task :ftgo-common-jpa:compileJava NO-SOURCE file or directory 'C:\IdeaProjects\Microservices\ftgo-application\ftgo-common-jpa\src\main\java', not found Skipping task ':ftgo-common-jpa:compileJava' as it has no source files and no previous output files. :ftgo-common-jpa:compileJava (Thread[Task worker for ':',5,main]) completed. Took 0.001 secs. :ftgo-common-jpa:processResources (Thread[Task worker for ':',5,main]) started.

Task :ftgo-common-jpa:processResources UP-TO-DATE Skipping task ':ftgo-common-jpa:processResources' as it is up-to-date. :ftgo-common-jpa:processResources (Thread[Task worker for ':',5,main]) completed. Took 0.004 secs. :ftgo-common-jpa:classes (Thread[Task worker for ':',5,main]) started.

Task :ftgo-common-jpa:classes UP-TO-DATE Skipping task ':ftgo-common-jpa:classes' as it has no actions. :ftgo-common-jpa:classes (Thread[Task worker for ':',5,main]) completed. Took 0.0 secs. :ftgo-common-jpa:jar (Thread[Task worker for ':',5,main]) started.

Task :ftgo-common-jpa:jar UP-TO-DATE Skipping task ':ftgo-common-jpa:jar' as it is up-to-date. :ftgo-common-jpa:jar (Thread[Task worker for ':',5,main]) completed. Took 0.005 secs. :ftgo-consumer-service-api:compileJava (Thread[Task worker for ':',5,main]) started.

Task :ftgo-consumer-service-api:compileJava UP-TO-DATE Skipping task ':ftgo-consumer-service-api:compileJava' as it is up-to-date. :ftgo-consumer-service-api:compileJava (Thread[Task worker for ':',5,main]) completed. Took 0.024 secs. :ftgo-consumer-service-api:processResources (Thread[Task worker for ':',5,main]) started.

Task :ftgo-consumer-service-api:processResources NO-SOURCE file or directory 'C:\IdeaProjects\Microservices\ftgo-application\ftgo-consumer-service-api\src\main\resources', not found Skipping task ':ftgo-consumer-service-api:processResources' as it has no source files and no previous output files. :ftgo-consumer-service-api:processResources (Thread[Task worker for ':',5,main]) completed. Took 0.001 secs. :ftgo-consumer-service-api:classes (Thread[Task worker for ':',5,main]) started.

Task :ftgo-consumer-service-api:classes UP-TO-DATE Skipping task ':ftgo-consumer-service-api:classes' as it has no actions. :ftgo-consumer-service-api:classes (Thread[Task worker for ':',5,main]) completed. Took 0.0 secs. :ftgo-consumer-service-api:jar (Thread[Task worker for ':',5,main]) started.

Task :ftgo-consumer-service-api:jar UP-TO-DATE Skipping task ':ftgo-consumer-service-api:jar' as it is up-to-date. :ftgo-consumer-service-api:jar (Thread[Task worker for ':',5,main]) completed. Took 0.006 secs. :ftgo-kitchen-service-api:compileJava (Thread[Task worker for ':' Thread 2,5,main]) started.

Task :ftgo-kitchen-service-api:compileJava UP-TO-DATE Skipping task ':ftgo-kitchen-service-api:compileJava' as it is up-to-date. :ftgo-kitchen-service-api:compileJava (Thread[Task worker for ':' Thread 2,5,main]) completed. Took 0.027 secs. :ftgo-kitchen-service-api:processResources (Thread[Task worker for ':' Thread 2,5,main]) started.

Task :ftgo-kitchen-service-api:processResources NO-SOURCE file or directory 'C:\IdeaProjects\Microservices\ftgo-application\ftgo-kitchen-service-api\src\main\resources', not found Skipping task ':ftgo-kitchen-service-api:processResources' as it has no source files and no previous output files. :ftgo-kitchen-service-api:processResources (Thread[Task worker for ':' Thread 2,5,main]) completed. Took 0.0 secs. :ftgo-kitchen-service-api:classes (Thread[Task worker for ':' Thread 2,5,main]) started.

Task :ftgo-kitchen-service-api:classes UP-TO-DATE Skipping task ':ftgo-kitchen-service-api:classes' as it has no actions. :ftgo-kitchen-service-api:classes (Thread[Task worker for ':' Thread 2,5,main]) completed. Took 0.0 secs. :ftgo-kitchen-service-api:jar (Thread[Task worker for ':' Thread 2,5,main]) started.

Task :ftgo-kitchen-service-api:jar UP-TO-DATE Skipping task ':ftgo-kitchen-service-api:jar' as it is up-to-date. :ftgo-kitchen-service-api:jar (Thread[Task worker for ':' Thread 2,5,main]) completed. Took 0.007 secs. :ftgo-order-service-api:compileJava (Thread[Task worker for ':' Thread 2,5,main]) started.

Task :ftgo-order-service-api:compileJava UP-TO-DATE Skipping task ':ftgo-order-service-api:compileJava' as it is up-to-date. :ftgo-order-service-api:compileJava (Thread[Task worker for ':' Thread 2,5,main]) completed. Took 0.037 secs. :ftgo-order-service-api:processResources (Thread[Task worker for ':' Thread 2,5,main]) started.

Task :ftgo-order-service-api:processResources NO-SOURCE file or directory 'C:\IdeaProjects\Microservices\ftgo-application\ftgo-order-service-api\src\main\resources', not found Skipping task ':ftgo-order-service-api:processResources' as it has no source files and no previous output files. :ftgo-order-service-api:processResources (Thread[Task worker for ':' Thread 2,5,main]) completed. Took 0.0 secs. :ftgo-order-service-api:classes (Thread[Task worker for ':' Thread 2,5,main]) started.

Task :ftgo-order-service-api:classes UP-TO-DATE Skipping task ':ftgo-order-service-api:classes' as it has no actions. :ftgo-order-service-api:classes (Thread[Task worker for ':' Thread 2,5,main]) completed. Took 0.0 secs. :ftgo-order-service-api:jar (Thread[Task worker for ':' Thread 2,5,main]) started.

Task :ftgo-order-service-api:jar UP-TO-DATE Skipping task ':ftgo-order-service-api:jar' as it is up-to-date. :ftgo-order-service-api:jar (Thread[Task worker for ':' Thread 2,5,main]) completed. Took 0.006 secs. :ftgo-restaurant-service-api:compileJava (Thread[Task worker for ':' Thread 2,5,main]) started.

Task :ftgo-restaurant-service-api:compileJava UP-TO-DATE Skipping task ':ftgo-restaurant-service-api:compileJava' as it is up-to-date. :ftgo-restaurant-service-api:compileJava (Thread[Task worker for ':' Thread 2,5,main]) completed. Took 0.022 secs. :ftgo-restaurant-service-api:processResources (Thread[Task worker for ':' Thread 2,5,main]) started.

Task :ftgo-restaurant-service-api:processResources NO-SOURCE file or directory 'C:\IdeaProjects\Microservices\ftgo-application\ftgo-restaurant-service-api\src\main\resources', not found Skipping task ':ftgo-restaurant-service-api:processResources' as it has no source files and no previous output files. :ftgo-restaurant-service-api:processResources (Thread[Task worker for ':' Thread 2,5,main]) completed. Took 0.0 secs. :ftgo-restaurant-service-api:classes (Thread[Task worker for ':' Thread 2,5,main]) started.

Task :ftgo-restaurant-service-api:classes UP-TO-DATE Skipping task ':ftgo-restaurant-service-api:classes' as it has no actions. :ftgo-restaurant-service-api:classes (Thread[Task worker for ':' Thread 2,5,main]) completed. Took 0.0 secs. :ftgo-restaurant-service-api:jar (Thread[Task worker for ':' Thread 2,5,main]) started.

Task :ftgo-restaurant-service-api:jar UP-TO-DATE Skipping task ':ftgo-restaurant-service-api:jar' as it is up-to-date. :ftgo-restaurant-service-api:jar (Thread[Task worker for ':' Thread 2,5,main]) completed. Took 0.006 secs. :ftgo-order-service:extractIncludeProto (Thread[Task worker for ':' Thread 2,5,main]) started.

Task :ftgo-order-service:extractIncludeProto Resolving global dependency management for project 'ftgo-order-service' Excluding [org.apache.tomcat:tomcat-annotations-api, ognl:ognl] Excluding [] Skipping task ':ftgo-order-service:extractIncludeProto' as it is up-to-date.

Task :ftgo-order-service:extractIncludeProto UP-TO-DATE :ftgo-order-service:extractIncludeProto (Thread[Task worker for ':' Thread 2,5,main]) completed. Took 2.417 secs. :ftgo-order-service:extractProto (Thread[Task worker for ':' Thread 2,5,main]) started.

Task :ftgo-order-service:extractProto UP-TO-DATE Excluding [] Skipping task ':ftgo-order-service:extractProto' as it is up-to-date. :ftgo-order-service:extractProto (Thread[Task worker for ':' Thread 2,5,main]) completed. Took 0.002 secs. :ftgo-order-service:generateProto (Thread[Task worker for ':' Thread 2,5,main]) started.

Task :ftgo-order-service:generateProto UP-TO-DATE Excluding [] Excluding [] Skipping task ':ftgo-order-service:generateProto' as it is up-to-date. :ftgo-order-service:generateProto (Thread[Task worker for ':' Thread 2,5,main]) completed. Took 0.046 secs. :ftgo-order-service:compileJava (Thread[Task worker for ':' Thread 2,5,main]) started.

Task :ftgo-order-service:compileJava UP-TO-DATE Excluding [] Skipping task ':ftgo-order-service:compileJava' as it is up-to-date. :ftgo-order-service:compileJava (Thread[Task worker for ':' Thread 2,5,main]) completed. Took 0.058 secs. :ftgo-order-service:compileGroovy (Thread[Task worker for ':' Thread 2,5,main]) started.

Task :ftgo-order-service:compileGroovy NO-SOURCE file or directory 'C:\IdeaProjects\Microservices\ftgo-application\ftgo-order-service\src\main\groovy', not found Skipping task ':ftgo-order-service:compileGroovy' as it has no source files and no previous output files. :ftgo-order-service:compileGroovy (Thread[Task worker for ':' Thread 2,5,main]) completed. Took 0.001 secs. :ftgo-order-service:processResources (Thread[Task worker for ':' Thread 2,5,main]) started.

Task :ftgo-order-service:processResources UP-TO-DATE Skipping task ':ftgo-order-service:processResources' as it is up-to-date. :ftgo-order-service:processResources (Thread[Task worker for ':' Thread 2,5,main]) completed. Took 0.004 secs. :ftgo-order-service:classes (Thread[Task worker for ':' Thread 2,5,main]) started.

Task :ftgo-order-service:classes UP-TO-DATE Skipping task ':ftgo-order-service:classes' as it has no actions. :ftgo-order-service:classes (Thread[Task worker for ':' Thread 2,5,main]) completed. Took 0.0 secs. :ftgo-order-service:copyContracts (Thread[Task worker for ':' Thread 2,5,main]) started.

Task :ftgo-order-service:copyContracts Task ':ftgo-order-service:copyContracts' is not up-to-date because: Task has not declared any outputs despite executing actions. Project has group id [net.chrisrichardson.ftgo], artifact id [ftgo-order-service] For project [ftgo-order-service] will use contracts provided in the folder [..\ftgo-order-service-contracts\src\main\resources\contracts] Downloading and unpacking files from [..\ftgo-order-service-contracts\src\main\resources\contracts] to [C:\IdeaProjects\Microservices\ftgo-application\ftgo-order-service\build\stubs\META-INF\net.chrisrichardson.ftgo\ftgo-order-service\unspecified\contracts]. The inclusion ant patterns are [/.] and [/.] :ftgo-order-service:copyContracts (Thread[Task worker for ':' Thread 2,5,main]) completed. Took 0.036 secs. :ftgo-order-service:generateContractTests (Thread[Task worker for ':' Thread 2,5,main]) started.

Task :ftgo-order-service:generateContractTests Task ':ftgo-order-service:generateContractTests' is not up-to-date because: Task has not declared any outputs despite executing actions. Generated test sources dir [C:\IdeaProjects\Microservices\ftgo-application\ftgo-order-service\build\generated-integration-test-sources\contracts] Spring Cloud Contract Verifier Plugin: Invoking test sources generation Contracts are unpacked to [C:\IdeaProjects\Microservices\ftgo-application\ftgo-order-service\build\stubs\META-INF\net.chrisrichardson.ftgo\ftgo-order-service\unspecified\contracts] Included contracts are [.*] Registering C:\IdeaProjects\Microservices\ftgo-application\ftgo-order-service\build\generated-integration-test-sources\contracts as test source directory Creating new class file [C:\IdeaProjects\Microservices\ftgo-application\ftgo-order-service\build\generated-integration-test-sources\contracts\org\springframework\cloud\contract\verifier\tests\HttpTest.java] Creating new class file [C:\IdeaProjects\Microservices\ftgo-application\ftgo-order-service\build\generated-integration-test-sources\contracts\org\springframework\cloud\contract\verifier\tests\MessagingTest.java] Generated 2 test classes :ftgo-order-service:generateContractTests (Thread[Task worker for ':' Thread 2,5,main]) completed. Took 1.102 secs. :ftgo-test-util:compileJava (Thread[Task worker for ':' Thread 2,5,main]) started.

Task :ftgo-test-util:compileJava UP-TO-DATE Skipping task ':ftgo-test-util:compileJava' as it is up-to-date. :ftgo-test-util:compileJava (Thread[Task worker for ':' Thread 2,5,main]) completed. Took 0.011 secs. :ftgo-test-util:processResources (Thread[Task worker for ':' Thread 2,5,main]) started.

Task :ftgo-test-util:processResources NO-SOURCE file or directory 'C:\IdeaProjects\Microservices\ftgo-application\ftgo-test-util\src\main\resources', not found Skipping task ':ftgo-test-util:processResources' as it has no source files and no previous output files. :ftgo-test-util:processResources (Thread[Task worker for ':' Thread 2,5,main]) completed. Took 0.0 secs. :ftgo-test-util:classes (Thread[Task worker for ':' Thread 2,5,main]) started.

Task :ftgo-test-util:classes UP-TO-DATE Skipping task ':ftgo-test-util:classes' as it has no actions. :ftgo-test-util:classes (Thread[Task worker for ':' Thread 2,5,main]) completed. Took 0.0 secs. :ftgo-test-util:jar (Thread[Task worker for ':' Thread 2,5,main]) started.

Task :ftgo-test-util:jar UP-TO-DATE Skipping task ':ftgo-test-util:jar' as it is up-to-date. :ftgo-test-util:jar (Thread[Task worker for ':' Thread 2,5,main]) completed. Took 0.004 secs. :ftgo-order-service:extractIncludeTestProto (Thread[Task worker for ':' Thread 2,5,main]) started.

Task :ftgo-order-service:extractIncludeTestProto UP-TO-DATE Excluding [org.apache.tomcat:tomcat-annotations-api] Excluding [] Skipping task ':ftgo-order-service:extractIncludeTestProto' as it is up-to-date. :ftgo-order-service:extractIncludeTestProto (Thread[Task worker for ':' Thread 2,5,main]) completed. Took 1.221 secs. :ftgo-order-service:extractTestProto (Thread[Task worker for ':' Thread 2,5,main]) started.

Task :ftgo-order-service:extractTestProto UP-TO-DATE Excluding [] Skipping task ':ftgo-order-service:extractTestProto' as it is up-to-date. :ftgo-order-service:extractTestProto (Thread[Task worker for ':' Thread 2,5,main]) completed. Took 0.002 secs. :ftgo-order-service:generateTestProto (Thread[Task worker for ':' Thread 2,5,main]) started.

Task :ftgo-order-service:generateTestProto NO-SOURCE file or directory 'C:\IdeaProjects\Microservices\ftgo-application\ftgo-order-service\src\test\proto', not found Skipping task ':ftgo-order-service:generateTestProto' as it has no source files and no previous output files. :ftgo-order-service:generateTestProto (Thread[Task worker for ':' Thread 2,5,main]) completed. Took 0.001 secs. :ftgo-order-service:compileTestJava (Thread[Task worker for ':' Thread 2,5,main]) started.

Task :ftgo-order-service:compileTestJava UP-TO-DATE Excluding [] Skipping task ':ftgo-order-service:compileTestJava' as it is up-to-date. :ftgo-order-service:compileTestJava (Thread[Task worker for ':' Thread 2,5,main]) completed. Took 0.031 secs. :ftgo-order-service:compileTestGroovy (Thread[Task worker for ':' Thread 2,5,main]) started.

Task :ftgo-order-service:compileTestGroovy SKIPPED Skipping task ':ftgo-order-service:compileTestGroovy' as task onlyIf is false. :ftgo-order-service:compileTestGroovy (Thread[Task worker for ':' Thread 2,5,main]) completed. Took 0.0 secs. :ftgo-order-service:processTestResources (Thread[Task worker for ':' Thread 2,5,main]) started.

Task :ftgo-order-service:processTestResources NO-SOURCE file or directory 'C:\IdeaProjects\Microservices\ftgo-application\ftgo-order-service\src\test\proto', not found Skipping task ':ftgo-order-service:processTestResources' as it has no source files and no previous output files. :ftgo-order-service:processTestResources (Thread[Task worker for ':' Thread 2,5,main]) completed. Took 0.002 secs. :ftgo-order-service:testClasses (Thread[Task worker for ':' Thread 2,5,main]) started.

Task :ftgo-order-service:testClasses UP-TO-DATE Skipping task ':ftgo-order-service:testClasses' as it has no actions. :ftgo-order-service:testClasses (Thread[Task worker for ':' Thread 2,5,main]) completed. Took 0.0 secs. :ftgo-order-service:extractIncludeIntegrationTestProto (Thread[Task worker for ':' Thread 2,5,main]) started.

Task :ftgo-order-service:extractIncludeIntegrationTestProto UP-TO-DATE Excluding [] Excluding [] Skipping task ':ftgo-order-service:extractIncludeIntegrationTestProto' as it is up-to-date. :ftgo-order-service:extractIncludeIntegrationTestProto (Thread[Task worker for ':' Thread 2,5,main]) completed. Took 0.266 secs. :ftgo-order-service:extractIntegrationTestProto (Thread[Task worker for ':' Thread 2,5,main]) started.

Task :ftgo-order-service:extractIntegrationTestProto UP-TO-DATE Excluding [] Skipping task ':ftgo-order-service:extractIntegrationTestProto' as it is up-to-date. :ftgo-order-service:extractIntegrationTestProto (Thread[Task worker for ':' Thread 2,5,main]) completed. Took 0.001 secs. :ftgo-order-service:generateIntegrationTestProto (Thread[Task worker for ':' Thread 2,5,main]) started.

Task :ftgo-order-service:generateIntegrationTestProto NO-SOURCE file or directory 'C:\IdeaProjects\Microservices\ftgo-application\ftgo-order-service\src\integrationTest\proto', not found Skipping task ':ftgo-order-service:generateIntegrationTestProto' as it has no source files and no previous output files. :ftgo-order-service:generateIntegrationTestProto (Thread[Task worker for ':' Thread 2,5,main]) completed. Took 0.001 secs. :ftgo-order-service:compileIntegrationTestJava (Thread[Task worker for ':' Thread 2,5,main]) started.

Task :ftgo-order-service:compileIntegrationTestJava UP-TO-DATE file or directory 'C:\IdeaProjects\Microservices\ftgo-application\ftgo-order-service\src\integrationTest\java', not found Excluding [] Skipping task ':ftgo-order-service:compileIntegrationTestJava' as it is up-to-date. :ftgo-order-service:compileIntegrationTestJava (Thread[Task worker for ':' Thread 2,5,main]) completed. Took 0.036 secs. :ftgo-order-service:compileIntegrationTestGroovy (Thread[Task worker for ':' Thread 2,5,main]) started.

Task :ftgo-order-service:compileIntegrationTestGroovy NO-SOURCE file or directory 'C:\IdeaProjects\Microservices\ftgo-application\ftgo-order-service\src\integrationTest\groovy', not found Skipping task ':ftgo-order-service:compileIntegrationTestGroovy' as it has no source files and no previous output files. :ftgo-order-service:compileIntegrationTestGroovy (Thread[Task worker for ':' Thread 2,5,main]) completed. Took 0.001 secs. :ftgo-order-service:processIntegrationTestResources (Thread[Task worker for ':' Thread 2,5,main]) started.

Task :ftgo-order-service:processIntegrationTestResources NO-SOURCE file or directory 'C:\IdeaProjects\Microservices\ftgo-application\ftgo-order-service\src\integrationTest\resources', not found file or directory 'C:\IdeaProjects\Microservices\ftgo-application\ftgo-order-service\src\integration-test\resources', not found file or directory 'C:\IdeaProjects\Microservices\ftgo-application\ftgo-order-service\src\integrationTest\proto', not found Skipping task ':ftgo-order-service:processIntegrationTestResources' as it has no source files and no previous output files. :ftgo-order-service:processIntegrationTestResources (Thread[Task worker for ':' Thread 2,5,main]) completed. Took 0.002 secs. :ftgo-order-service:integrationTestClasses (Thread[Task worker for ':' Thread 2,5,main]) started.

Task :ftgo-order-service:integrationTestClasses UP-TO-DATE Skipping task ':ftgo-order-service:integrationTestClasses' as it has no actions. :ftgo-order-service:integrationTestClasses (Thread[Task worker for ':' Thread 2,5,main]) completed. Took 0.0 secs. :ftgo-order-service:integrationTestsComposeUp (Thread[Task worker for ':' Thread 2,5,main]) started.

Task :ftgo-order-service:integrationTestsComposeUp Task ':ftgo-order-service:integrationTestsComposeUp' is not up-to-date because: Task has not declared any outputs despite executing actions. Starting process 'command 'docker-compose''. Working directory: C:\IdeaProjects\Microservices\ftgo-application\ftgo-order-service Command: docker-compose build mysql Successfully started process 'command 'docker-compose'' Starting process 'command 'docker-compose''. Working directory: C:\IdeaProjects\Microservices\ftgo-application\ftgo-order-service Command: docker-compose --version Successfully started process 'command 'docker-compose'' Starting process 'command 'docker-compose''. Working directory: C:\IdeaProjects\Microservices\ftgo-application\ftgo-order-service Command: docker-compose --version Successfully started process 'command 'docker-compose'' Starting process 'command 'docker-compose''. Working directory: C:\IdeaProjects\Microservices\ftgo-application\ftgo-order-service Command: docker-compose up -d mysql Successfully started process 'command 'docker-compose'' Starting process 'command 'docker-compose''. Working directory: C:\IdeaProjects\Microservices\ftgo-application\ftgo-order-service Command: docker-compose ps -q mysql Successfully started process 'command 'docker-compose'' Container ID of service mysql is ac7d5cb5cf92f33342505931eb78c98b3e0a018d130ed8f469f857cf51d0aa89 Starting process 'command 'docker''. Working directory: C:\IdeaProjects\Microservices\ftgo-application\ftgo-order-service Command: docker inspect ac7d5cb5cf92f33342505931eb78c98b3e0a018d130ed8f469f857cf51d0aa89 Successfully started process 'command 'docker'' DOCKER_HOST environment variable detected - will be used as hostname of service mysql (192.168.99.103)' Will use com.avast.gradle.dockercompose.ServiceHost(192.168.99.103, RemoteDockerHost) as host of service mysql Exposed TCP port on service 'mysql:3306' will be available as 3306 Starting process 'command 'docker''. Working directory: C:\IdeaProjects\Microservices\ftgo-application\ftgo-order-service Command: docker inspect ac7d5cb5cf92f33342505931eb78c98b3e0a018d130ed8f469f857cf51d0aa89 Successfully started process 'command 'docker'' Probing TCP socket on 192.168.99.103:3306 of service 'mysql_1' Waiting for TCP socket on 192.168.99.103:3306 of service 'mysql_1' (Connection refused: connect) Waiting for TCP socket on 192.168.99.103:3306 of service 'mysql_1' (Connection refused: connect) Waiting for TCP socket on 192.168.99.103:3306 of service 'mysql_1' (Connection refused: connect) Waiting for TCP socket on 192.168.99.103:3306 of service 'mysql_1' (Connection refused: connect) Waiting for TCP socket on 192.168.99.103:3306 of service 'mysql_1' (Connection refused: connect) Waiting for TCP socket on 192.168.99.103:3306 of service 'mysql_1' (Connection refused: connect) Waiting for TCP socket on 192.168.99.103:3306 of service 'mysql_1' (Connection refused: connect) Waiting for TCP socket on 192.168.99.103:3306 of service 'mysql_1' (Connection refused: connect) Waiting for TCP socket on 192.168.99.103:3306 of service 'mysql_1' (Connection refused: connect) Waiting for TCP socket on 192.168.99.103:3306 of service 'mysql_1' (Connection refused: connect) Waiting for TCP socket on 192.168.99.103:3306 of service 'mysql_1' (Connection refused: connect) Waiting for TCP socket on 192.168.99.103:3306 of service 'mysql_1' (Connection refused: connect) Waiting for TCP socket on 192.168.99.103:3306 of service 'mysql_1' (Connection refused: connect) Waiting for TCP socket on 192.168.99.103:3306 of service 'mysql_1' (Connection refused: connect) Waiting for TCP socket on 192.168.99.103:3306 of service 'mysql_1' (Connection refused: connect) Waiting for TCP socket on 192.168.99.103:3306 of service 'mysql_1' (Connection refused: connect) Waiting for TCP socket on 192.168.99.103:3306 of service 'mysql_1' (Connection refused: connect) Waiting for TCP socket on 192.168.99.103:3306 of service 'mysql_1' (Connection refused: connect) Waiting for TCP socket on 192.168.99.103:3306 of service 'mysql_1' (Connection refused: connect) Waiting for TCP socket on 192.168.99.103:3306 of service 'mysql_1' (Connection refused: connect) Waiting for TCP socket on 192.168.99.103:3306 of service 'mysql_1' (Connection refused: connect) Waiting for TCP socket on 192.168.99.103:3306 of service 'mysql_1' (Connection refused: connect) Waiting for TCP socket on 192.168.99.103:3306 of service 'mysql_1' (Connection refused: connect)

cer commented 4 years ago

What's the output of docker logs ftgo-application_mysql_1? The container has failed - often this due to a lack of diskspace in the Docker VM

asn25 commented 4 years ago

I'll try to add hdd space and retest, thank you.

Here is log on old settings:

$ docker logs ftgo-application_mysql_1 Initializing database 2019-12-23T17:00:03.964484Z 0 [Warning] InnoDB: New log files created, LSN=45790 2019-12-23T17:00:04.008154Z 0 [Warning] InnoDB: Creating foreign key constraint system tables. 2019-12-23T17:00:04.016005Z 0 [Warning] No existing UUID has been found, so we assume that this is the first time that this server has been started. Generating a new UUID: a9ffb2c4-25a5-11ea-9790-0242ac170002. 2019-12-23T17:00:04.016780Z 0 [Warning] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened. 2019-12-23T17:00:04.018173Z 1 [Warning] root@localhost is created with an empty password ! Please consider switching off the --initialize-insecure option. 2019-12-23T17:00:04.533195Z 1 [Warning] 'user' entry 'root@localhost' ignored in --skip-name-resolve mode. 2019-12-23T17:00:04.533254Z 1 [Warning] 'user' entry 'mysql.sys@localhost' ignored in --skip-name-resolve mode. 2019-12-23T17:00:04.533289Z 1 [Warning] 'db' entry 'sys mysql.sys@localhost' ignored in --skip-name-resolve mode. 2019-12-23T17:00:04.533316Z 1 [Warning] 'proxies_priv' entry '@ root@localhost' ignored in --skip-name-resolve mode. 2019-12-23T17:00:04.533368Z 1 [Warning] 'tables_priv' entry 'sys_config mysql.sys@localhost' ignored in --skip-name-resolve mode. Database initialized MySQL init process in progress... 2019-12-23T17:00:06.185659Z 0 [Note] mysqld (mysqld 5.7.13-log) starting as process 50 ... 2019-12-23T17:00:06.190655Z 0 [Note] InnoDB: PUNCH HOLE support available 2019-12-23T17:00:06.190739Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2019-12-23T17:00:06.190753Z 0 [Note] InnoDB: Uses event mutexes 2019-12-23T17:00:06.190761Z 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier 2019-12-23T17:00:06.190769Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.8 2019-12-23T17:00:06.190776Z 0 [Note] InnoDB: Using Linux native AIO 2019-12-23T17:00:06.191248Z 0 [Note] InnoDB: Number of pools: 1 2019-12-23T17:00:06.191610Z 0 [Note] InnoDB: Using CPU crc32 instructions 2019-12-23T17:00:06.193851Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M 2019-12-23T17:00:06.206311Z 0 [Note] InnoDB: Completed initialization of buffer pool 2019-12-23T17:00:06.209444Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). 2019-12-23T17:00:06.222288Z 0 [Note] InnoDB: Highest supported file format is Barracuda. 2019-12-23T17:00:06.232558Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2019-12-23T17:00:06.232908Z 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2019-12-23T17:00:06.253854Z 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2019-12-23T17:00:06.255132Z 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active. 2019-12-23T17:00:06.255164Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active. 2019-12-23T17:00:06.255879Z 0 [Note] InnoDB: Waiting for purge to start 2019-12-23T17:00:06.307003Z 0 [Note] InnoDB: 5.7.13 started; log sequence number 2525487 2019-12-23T17:00:06.307522Z 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 2019-12-23T17:00:06.308067Z 0 [Note] Plugin 'FEDERATED' is disabled. 2019-12-23T17:00:06.314832Z 0 [Note] InnoDB: Buffer pool(s) load completed at 191223 17:00:06 2019-12-23T17:00:06.317377Z 0 [Warning] Failed to set up SSL because of the following SSL library error: SSL context is not usable without certificate and private key 2019-12-23T17:00:06.321979Z 0 [Warning] 'user' entry 'root@localhost' ignored in --skip-name-resolve mode. 2019-12-23T17:00:06.322050Z 0 [Warning] 'user' entry 'mysql.sys@localhost' ignored in --skip-name-resolve mode. 2019-12-23T17:00:06.322110Z 0 [Warning] 'db' entry 'sys mysql.sys@localhost' ignored in --skip-name-resolve mode. 2019-12-23T17:00:06.322151Z 0 [Warning] 'proxies_priv' entry '@ root@localhost' ignored in --skip-name-resolve mode. 2019-12-23T17:00:06.326334Z 0 [Warning] 'tables_priv' entry 'sys_config mysql.sys@localhost' ignored in --skip-name-resolve mode. 2019-12-23T17:00:06.352115Z 0 [Note] Event Scheduler: Loaded 0 events 2019-12-23T17:00:06.353195Z 0 [Note] mysqld: ready for connections. Version: '5.7.13-log' socket: '/var/run/mysqld/mysqld.sock' port: 0 MySQL Community Server (GPL) Warning: Unable to load '/usr/share/zoneinfo/Factory' as time zone. Skipping it. Warning: Unable to load '/usr/share/zoneinfo/iso3166.tab' as time zone. Skipping it. Warning: Unable to load '/usr/share/zoneinfo/leap-seconds.list' as time zone. Skipping it. Warning: Unable to load '/usr/share/zoneinfo/posix/Factory' as time zone. Skipping it. Warning: Unable to load '/usr/share/zoneinfo/right/Factory' as time zone. Skipping it. Warning: Unable to load '/usr/share/zoneinfo/zone.tab' as time zone. Skipping it. 2019-12-23T17:00:10.302128Z 4 [Warning] 'db' entry 'sys mysql.sys@localhost' ignored in --skip-name-resolve mode. 2019-12-23T17:00:10.302178Z 4 [Warning] 'proxies_priv' entry '@ root@localhost' ignored in --skip-name-resolve mode. 2019-12-23T17:00:10.302352Z 4 [Warning] 'tables_priv' entry 'sys_config mysql.sys@localhost' ignored in --skip-name-resolve mode. mysql: [Warning] Using a password on the command line interface can be insecure. mysql: [Warning] Using a password on the command line interface can be insecure. 2019-12-23T17:00:10.316270Z 6 [Warning] 'db' entry 'sys mysql.sys@localhost' ignored in --skip-name-resolve mode. 2019-12-23T17:00:10.316370Z 6 [Warning] 'proxies_priv' entry '@ root@localhost' ignored in --skip-name-resolve mode. 2019-12-23T17:00:10.316892Z 6 [Warning] 'tables_priv' entry 'sys_config mysql.sys@localhost' ignored in --skip-name-resolve mode.

/usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/3.common-schema.sql mysql: [Warning] Using a password on the command line interface can be insecure.

/usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/4.compile-schema-per-service.sh /docker-entrypoint-initdb.d/4.compile-schema-per-service.sh: line 2: $'\r': command not found

asn25 commented 4 years ago

Here are screenshots of hdds settings in Docker machine: https://imgur.com/a/oXoG1SO

Main disk actual size is 12G, virtual size is 19G, dynamically allocated. In Oracle VM Virtual Box Manager there is no option to add space to hdd. Maybe it's possible from CLI interface, need to check...

cer commented 4 years ago

There are no errors about lack of disk space.

The very last line of the mysql log shows the error /docker-entrypoint-initdb.d/4.compile-schema-per-service.sh: line 2: $'\r': command not found

This is very strange. Some Linux/Windows line termination problem. What is even stranger is that this previously worked for you. Have you edited the file and added carriage returns? What does git status say?

asn25 commented 4 years ago

Before that I was working on a local copy, that was unzipped from sources zip-archieve. And there were no problems with MySQL in the run-app mode (manual docker compose up).

These tests I'm doing on a new copy of project, that is pulled from Git by IDEA. Here is a git status:

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

$ git status On branch master Your branch is up to date with 'origin/master'.

Changes not staged for commit: (use "git add ..." to update what will be committed) (use "git checkout -- ..." to discard changes in working directory)

    modified:   ftgo-end-to-end-tests/src/test/java/net/chrisrichardson/ftgo/endtoendtests/EndToEndTests.java
    modified:   ftgo-order-history-service/build.gradle

Untracked files: (use "git add ..." to include in what will be committed)

    _odrhist_integr_test.txt
    _ord_serv_itegr_tests_run.txt

no changes added to commit (use "git add" and/or "git commit -a")

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

I didn't modify compile-schema-per-service.sh.

I checked it in Notepad+ for special characters: https://imgur.com/a/ULZL5Qm

It seems that this corruption was done by Git plugin for IDEA. Because I just downloaded your latest sources as zip and there are Linux LFs in the file - so all is OK.

Thanks for pointing this out. I'll check why Git for IDEA corrupts LFs to LFCRs and retest it on correct sources.

asn25 commented 4 years ago

The problem was caused by "LF->CRLF substitution" in sources that is relates not to IDEA or plugin, but to Git itself. Here is the solution that worked for me: https://stackoverflow.com/a/33424884

Test is passed OK on correct sources. Could be closed.

The only thing is that container "ftgo-application_mysql_1" remains running after test. Probably shoud be stopped - ?