microservices-patterns / ftgo-application

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

Ftgo application failed to build #138

Open dartartem opened 3 years ago

dartartem commented 3 years ago

I have a fresh OS install on new machine (without previous builds of ftgo app) so have no (or have only some) cached java libraries.

When I ran build-and-test-all.sh the application build took more than 30 min and failed with OutOfMemoryError:

 Task :ftgo-application:ftgo-common:compileJava
Note: /home/chaos/Projects/ftgo-application/ftgo-common/src/main/java/net/chrisrichardson/ftgo/common/MoneyModule.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

> Task :ftgo-application:ftgo-api-gateway:compileJava

The system is out of resources.
Consult the following stack trace for details.
java.lang.OutOfMemoryError: GC overhead limit exceeded
        at com.sun.tools.javac.jvm.ClassReader.classSigToType(ClassReader.java:778)
        at com.sun.tools.javac.jvm.ClassReader.sigToType(ClassReader.java:691)
        at com.sun.tools.javac.jvm.ClassReader.sigToType(ClassReader.java:656)
        at com.sun.tools.javac.jvm.ClassReader.sigToTypes(ClassReader.java:862)
        at com.sun.tools.javac.jvm.ClassReader.classSigToType(ClassReader.java:778)
        at com.sun.tools.javac.jvm.ClassReader.sigToType(ClassReader.java:691)
        at com.sun.tools.javac.jvm.ClassReader.sigToTypes(ClassReader.java:862)
        at com.sun.tools.javac.jvm.ClassReader.sigToType(ClassReader.java:716)
        at com.sun.tools.javac.jvm.ClassReader.sigToType(ClassReader.java:735)
        at com.sun.tools.javac.jvm.ClassReader.sigToType(ClassReader.java:639)
        at com.sun.tools.javac.jvm.ClassReader.readType(ClassReader.java:562)
        at com.sun.tools.javac.jvm.ClassReader$13.read(ClassReader.java:1158)
        at com.sun.tools.javac.jvm.ClassReader.readAttrs(ClassReader.java:1381)
        at com.sun.tools.javac.jvm.ClassReader.readMemberAttrs(ClassReader.java:1371)
        at com.sun.tools.javac.jvm.ClassReader.readMethod(ClassReader.java:2044)
        at com.sun.tools.javac.jvm.ClassReader.readClass(ClassReader.java:2252)
        at com.sun.tools.javac.jvm.ClassReader.readClassFile(ClassReader.java:2324)
        at com.sun.tools.javac.jvm.ClassReader.fillIn(ClassReader.java:2511)
        at com.sun.tools.javac.jvm.ClassReader.complete(ClassReader.java:2442)
        at com.sun.tools.javac.jvm.ClassReader.access$000(ClassReader.java:76)
        at com.sun.tools.javac.jvm.ClassReader$1.complete(ClassReader.java:240)
        at com.sun.tools.javac.code.Symbol.complete(Symbol.java:574)
        at com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:1037)
        at com.sun.tools.javac.jvm.ClassReader.loadClass(ClassReader.java:2623)
        at com.sun.tools.javac.comp.Resolve.loadClass(Resolve.java:1907)

> Task :ftgo-application:ftgo-api-gateway:compileJava FAILED
> Task :compileAll FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':ftgo-application:ftgo-api-gateway:compileJava'.
> GC overhead limit exceeded

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 30m 27s

First thought was that there was not enough memory and GC took all resources.

I increased java heap size from default 1Gb to 4Gb, but build was slow, so I disabled it and used the following command to inspect the problem:

./gradlew assemble -i

Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-release/org/springframework/cloud/spring-cloud-sleuth/2.2.0.RELEASE/spring-cloud-sleuth-2.2.0.RELEASE.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-release/org/springframework/cloud/spring-cloud-contract-dependencies/2.2.0.RELEASE/spring-cloud-contract-dependencies-2.2.0.RELEASE.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-release/org/springframework/boot/spring-boot-dependencies/2.1.1.RELEASE/spring-boot-dependencies-2.1.1.RELEASE.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-milestone/org/springframework/boot/spring-boot-dependencies/2.1.1.RELEASE/spring-boot-dependencies-2.1.1.RELEASE.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-milestone/org/springframework/cloud/spring-cloud-sleuth/2.2.0.RELEASE/spring-cloud-sleuth-2.2.0.RELEASE.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-milestone/org/springframework/cloud/spring-cloud-contract-dependencies/2.2.0.RELEASE/spring-cloud-contract-dependencies-2.2.0.RELEASE.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/microservice-canvas-tools-release/org/springframework/boot/spring-boot-dependencies/2.1.1.RELEASE/spring-boot-dependencies-2.1.1.RELEASE.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/microservice-canvas-tools-release/org/springframework/cloud/spring-cloud-contract-dependencies/2.2.0.RELEASE/spring-cloud-contract-dependencies-2.2.0.RELEASE.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/microservice-canvas-tools-release/org/springframework/cloud/spring-cloud-sleuth/2.2.0.RELEASE/spring-cloud-sleuth-2.2.0.RELEASE.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-rc/org/springframework/boot/spring-boot-dependencies/2.1.1.RELEASE/spring-boot-dependencies-2.1.1.RELEASE.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-rc/org/springframework/cloud/spring-cloud-contract-dependencies/2.2.0.RELEASE/spring-cloud-contract-dependencies-2.2.0.RELEASE.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-rc/org/springframework/cloud/spring-cloud-sleuth/2.2.0.RELEASE/spring-cloud-sleuth-2.2.0.RELEASE.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/microservice-canvas-tools-rc/org/springframework/boot/spring-boot-dependencies/2.1.1.RELEASE/spring-boot-dependencies-2.1.1.RELEASE.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/microservice-canvas-tools-rc/org/springframework/cloud/spring-cloud-sleuth/2.2.0.RELEASE/spring-cloud-sleuth-2.2.0.RELEASE.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/microservice-canvas-tools-rc/org/springframework/cloud/spring-cloud-contract-dependencies/2.2.0.RELEASE/spring-cloud-contract-dependencies-2.2.0.RELEASE.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-release/com/fasterxml/jackson/jackson-bom/2.9.7/jackson-bom-2.9.7.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-milestone/com/fasterxml/jackson/jackson-bom/2.9.7/jackson-bom-2.9.7.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/microservice-canvas-tools-release/com/fasterxml/jackson/jackson-bom/2.9.7/jackson-bom-2.9.7.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-rc/com/fasterxml/jackson/jackson-bom/2.9.7/jackson-bom-2.9.7.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/microservice-canvas-tools-rc/com/fasterxml/jackson/jackson-bom/2.9.7/jackson-bom-2.9.7.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-release/com/fasterxml/jackson/jackson-parent/2.9.1.1/jackson-parent-2.9.1.1.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-milestone/com/fasterxml/jackson/jackson-parent/2.9.1.1/jackson-parent-2.9.1.1.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/microservice-canvas-tools-release/com/fasterxml/jackson/jackson-parent/2.9.1.1/jackson-parent-2.9.1.1.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-rc/com/fasterxml/jackson/jackson-parent/2.9.1.1/jackson-parent-2.9.1.1.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/microservice-canvas-tools-rc/com/fasterxml/jackson/jackson-parent/2.9.1.1/jackson-parent-2.9.1.1.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-release/com/fasterxml/oss-parent/33/oss-parent-33.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-milestone/com/fasterxml/oss-parent/33/oss-parent-33.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/microservice-canvas-tools-release/com/fasterxml/oss-parent/33/oss-parent-33.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-rc/com/fasterxml/oss-parent/33/oss-parent-33.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/microservice-canvas-tools-rc/com/fasterxml/oss-parent/33/oss-parent-33.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-release/io/netty/netty-bom/4.1.31.Final/netty-bom-4.1.31.Final.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-milestone/io/netty/netty-bom/4.1.31.Final/netty-bom-4.1.31.Final.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/microservice-canvas-tools-release/io/netty/netty-bom/4.1.31.Final/netty-bom-4.1.31.Final.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-rc/io/netty/netty-bom/4.1.31.Final/netty-bom-4.1.31.Final.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/microservice-canvas-tools-rc/io/netty/netty-bom/4.1.31.Final/netty-bom-4.1.31.Final.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-release/org/sonatype/oss/oss-parent/7/oss-parent-7.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-milestone/org/sonatype/oss/oss-parent/7/oss-parent-7.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/microservice-canvas-tools-release/org/sonatype/oss/oss-parent/7/oss-parent-7.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-rc/org/sonatype/oss/oss-parent/7/oss-parent-7.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/microservice-canvas-tools-rc/org/sonatype/oss/oss-parent/7/oss-parent-7.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-release/io/projectreactor/reactor-bom/Californium-SR3/reactor-bom-Californium-SR3.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-milestone/io/projectreactor/reactor-bom/Californium-SR3/reactor-bom-Californium-SR3.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/microservice-canvas-tools-release/io/projectreactor/reactor-bom/Californium-SR3/reactor-bom-Californium-SR3.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-rc/io/projectreactor/reactor-bom/Californium-SR3/reactor-bom-Californium-SR3.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/microservice-canvas-tools-rc/io/projectreactor/reactor-bom/Californium-SR3/reactor-bom-Californium-SR3.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-release/org/apache/logging/log4j/log4j-bom/2.11.1/log4j-bom-2.11.1.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-milestone/org/apache/logging/log4j/log4j-bom/2.11.1/log4j-bom-2.11.1.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/microservice-canvas-tools-release/org/apache/logging/log4j/log4j-bom/2.11.1/log4j-bom-2.11.1.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-rc/org/apache/logging/log4j/log4j-bom/2.11.1/log4j-bom-2.11.1.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/microservice-canvas-tools-rc/org/apache/logging/log4j/log4j-bom/2.11.1/log4j-bom-2.11.1.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-release/org/apache/logging/logging-parent/1/logging-parent-1.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-milestone/org/apache/logging/logging-parent/1/logging-parent-1.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/microservice-canvas-tools-release/org/apache/logging/logging-parent/1/logging-parent-1.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-rc/org/apache/logging/logging-parent/1/logging-parent-1.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/microservice-canvas-tools-rc/org/apache/logging/logging-parent/1/logging-parent-1.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-release/org/apache/apache/18/apache-18.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-milestone/org/apache/apache/18/apache-18.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/microservice-canvas-tools-release/org/apache/apache/18/apache-18.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-rc/org/apache/apache/18/apache-18.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/microservice-canvas-tools-rc/org/apache/apache/18/apache-18.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-release/org/eclipse/jetty/jetty-bom/9.4.12.v20180830/jetty-bom-9.4.12.v20180830.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-milestone/org/eclipse/jetty/jetty-bom/9.4.12.v20180830/jetty-bom-9.4.12.v20180830.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/microservice-canvas-tools-release/org/eclipse/jetty/jetty-bom/9.4.12.v20180830/jetty-bom-9.4.12.v20180830.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-rc/org/eclipse/jetty/jetty-bom/9.4.12.v20180830/jetty-bom-9.4.12.v20180830.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/microservice-canvas-tools-rc/org/eclipse/jetty/jetty-bom/9.4.12.v20180830/jetty-bom-9.4.12.v20180830.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-release/org/glassfish/jersey/jersey-bom/2.27/jersey-bom-2.27.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-milestone/org/glassfish/jersey/jersey-bom/2.27/jersey-bom-2.27.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/microservice-canvas-tools-release/org/glassfish/jersey/jersey-bom/2.27/jersey-bom-2.27.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-rc/org/glassfish/jersey/jersey-bom/2.27/jersey-bom-2.27.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/microservice-canvas-tools-rc/org/glassfish/jersey/jersey-bom/2.27/jersey-bom-2.27.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-release/net/java/jvnet-parent/4/jvnet-parent-4.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-milestone/net/java/jvnet-parent/4/jvnet-parent-4.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/microservice-canvas-tools-release/net/java/jvnet-parent/4/jvnet-parent-4.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-rc/net/java/jvnet-parent/4/jvnet-parent-4.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/microservice-canvas-tools-rc/net/java/jvnet-parent/4/jvnet-parent-4.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-release/org/junit/junit-bom/5.3.2/junit-bom-5.3.2.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-milestone/org/junit/junit-bom/5.3.2/junit-bom-5.3.2.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/microservice-canvas-tools-release/org/junit/junit-bom/5.3.2/junit-bom-5.3.2.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-rc/org/junit/junit-bom/5.3.2/junit-bom-5.3.2.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/microservice-canvas-tools-rc/org/junit/junit-bom/5.3.2/junit-bom-5.3.2.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-release/org/springframework/spring-framework-bom/5.1.3.RELEASE/spring-framework-bom-5.1.3.RELEASE.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-milestone/org/springframework/spring-framework-bom/5.1.3.RELEASE/spring-framework-bom-5.1.3.RELEASE.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/microservice-canvas-tools-release/org/springframework/spring-framework-bom/5.1.3.RELEASE/spring-framework-bom-5.1.3.RELEASE.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-rc/org/springframework/spring-framework-bom/5.1.3.RELEASE/spring-framework-bom-5.1.3.RELEASE.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/microservice-canvas-tools-rc/org/springframework/spring-framework-bom/5.1.3.RELEASE/spring-framework-bom-5.1.3.RELEASE.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-release/org/springframework/data/spring-data-releasetrain/Lovelace-SR3/spring-data-releasetrain-Lovelace-SR3.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-milestone/org/springframework/data/spring-data-releasetrain/Lovelace-SR3/spring-data-releasetrain-Lovelace-SR3.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/microservice-canvas-tools-release/org/springframework/data/spring-data-releasetrain/Lovelace-SR3/spring-data-releasetrain-Lovelace-SR3.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-rc/org/springframework/data/spring-data-releasetrain/Lovelace-SR3/spring-data-releasetrain-Lovelace-SR3.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/microservice-canvas-tools-rc/org/springframework/data/spring-data-releasetrain/Lovelace-SR3/spring-data-releasetrain-Lovelace-SR3.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-release/org/springframework/data/build/spring-data-build/2.1.3.RELEASE/spring-data-build-2.1.3.RELEASE.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-milestone/org/springframework/data/build/spring-data-build/2.1.3.RELEASE/spring-data-build-2.1.3.RELEASE.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/microservice-canvas-tools-release/org/springframework/data/build/spring-data-build/2.1.3.RELEASE/spring-data-build-2.1.3.RELEASE.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-rc/org/springframework/data/build/spring-data-build/2.1.3.RELEASE/spring-data-build-2.1.3.RELEASE.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/microservice-canvas-tools-rc/org/springframework/data/build/spring-data-build/2.1.3.RELEASE/spring-data-build-2.1.3.RELEASE.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-release/org/springframework/integration/spring-integration-bom/5.1.1.RELEASE/spring-integration-bom-5.1.1.RELEASE.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-milestone/org/springframework/integration/spring-integration-bom/5.1.1.RELEASE/spring-integration-bom-5.1.1.RELEASE.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/microservice-canvas-tools-release/org/springframework/integration/spring-integration-bom/5.1.1.RELEASE/spring-integration-bom-5.1.1.RELEASE.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-rc/org/springframework/integration/spring-integration-bom/5.1.1.RELEASE/spring-integration-bom-5.1.1.RELEASE.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/microservice-canvas-tools-rc/org/springframework/integration/spring-integration-bom/5.1.1.RELEASE/spring-integration-bom-5.1.1.RELEASE.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-release/org/springframework/security/spring-security-bom/5.1.2.RELEASE/spring-security-bom-5.1.2.RELEASE.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-milestone/org/springframework/security/spring-security-bom/5.1.2.RELEASE/spring-security-bom-5.1.2.RELEASE.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/microservice-canvas-tools-release/org/springframework/security/spring-security-bom/5.1.2.RELEASE/spring-security-bom-5.1.2.RELEASE.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-rc/org/springframework/security/spring-security-bom/5.1.2.RELEASE/spring-security-bom-5.1.2.RELEASE.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/microservice-canvas-tools-rc/org/springframework/security/spring-security-bom/5.1.2.RELEASE/spring-security-bom-5.1.2.RELEASE.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-release/org/springframework/session/spring-session-bom/Bean-SR1/spring-session-bom-Bean-SR1.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-milestone/org/springframework/session/spring-session-bom/Bean-SR1/spring-session-bom-Bean-SR1.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/microservice-canvas-tools-release/org/springframework/session/spring-session-bom/Bean-SR1/spring-session-bom-Bean-SR1.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-rc/org/springframework/session/spring-session-bom/Bean-SR1/spring-session-bom-Bean-SR1.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/microservice-canvas-tools-rc/org/springframework/session/spring-session-bom/Bean-SR1/spring-session-bom-Bean-SR1.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-release/org/springframework/cloud/spring-cloud-dependencies-parent/2.2.0.RELEASE/spring-cloud-dependencies-parent-2.2.0.RELEASE.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-milestone/org/springframework/cloud/spring-cloud-dependencies-parent/2.2.0.RELEASE/spring-cloud-dependencies-parent-2.2.0.RELEASE.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/microservice-canvas-tools-release/org/springframework/cloud/spring-cloud-dependencies-parent/2.2.0.RELEASE/spring-cloud-dependencies-parent-2.2.0.RELEASE.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-rc/org/springframework/cloud/spring-cloud-dependencies-parent/2.2.0.RELEASE/spring-cloud-dependencies-parent-2.2.0.RELEASE.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/microservice-canvas-tools-rc/org/springframework/cloud/spring-cloud-dependencies-parent/2.2.0.RELEASE/spring-cloud-dependencies-parent-2.2.0.RELEASE.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-release/org/springframework/cloud/spring-cloud-build/2.2.0.RELEASE/spring-cloud-build-2.2.0.RELEASE.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-milestone/org/springframework/cloud/spring-cloud-build/2.2.0.RELEASE/spring-cloud-build-2.2.0.RELEASE.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/microservice-canvas-tools-release/org/springframework/cloud/spring-cloud-build/2.2.0.RELEASE/spring-cloud-build-2.2.0.RELEASE.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-rc/org/springframework/cloud/spring-cloud-build/2.2.0.RELEASE/spring-cloud-build-2.2.0.RELEASE.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/microservice-canvas-tools-rc/org/springframework/cloud/spring-cloud-build/2.2.0.RELEASE/spring-cloud-build-2.2.0.RELEASE.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-release/org/springframework/cloud/spring-cloud-sleuth-dependencies/2.2.0.RELEASE/spring-cloud-sleuth-dependencies-2.2.0.RELEASE.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-milestone/org/springframework/cloud/spring-cloud-sleuth-dependencies/2.2.0.RELEASE/spring-cloud-sleuth-dependencies-2.2.0.RELEASE.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/microservice-canvas-tools-release/org/springframework/cloud/spring-cloud-sleuth-dependencies/2.2.0.RELEASE/spring-cloud-sleuth-dependencies-2.2.0.RELEASE.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-rc/org/springframework/cloud/spring-cloud-sleuth-dependencies/2.2.0.RELEASE/spring-cloud-sleuth-dependencies-2.2.0.RELEASE.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/microservice-canvas-tools-rc/org/springframework/cloud/spring-cloud-sleuth-dependencies/2.2.0.RELEASE/spring-cloud-sleuth-dependencies-2.2.0.RELEASE.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-release/io/zipkin/brave/brave-bom/5.9.0/brave-bom-5.9.0.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-milestone/io/zipkin/brave/brave-bom/5.9.0/brave-bom-5.9.0.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/microservice-canvas-tools-release/io/zipkin/brave/brave-bom/5.9.0/brave-bom-5.9.0.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-rc/io/zipkin/brave/brave-bom/5.9.0/brave-bom-5.9.0.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/microservice-canvas-tools-rc/io/zipkin/brave/brave-bom/5.9.0/brave-bom-5.9.0.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-release/io/zipkin/reporter2/zipkin-reporter-bom/2.11.0/zipkin-reporter-bom-2.11.0.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-milestone/io/zipkin/reporter2/zipkin-reporter-bom/2.11.0/zipkin-reporter-bom-2.11.0.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/microservice-canvas-tools-release/io/zipkin/reporter2/zipkin-reporter-bom/2.11.0/zipkin-reporter-bom-2.11.0.pom)]
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-rc/io/zipkin/reporter2/zipkin-reporter-bom/2.11.0/zipkin-reporter-bom-2.11.0.pom)]

Last request was hanging more than minute.

I changed repository declaration from:

        eventuateMavenRepoUrl.split('[ ,]').each { repoUrl -> maven { url repoUrl.trim() } }z

        mavenCentral()
        jcenter()

to

        mavenCentral()
        jcenter()

        eventuateMavenRepoUrl.split('[ ,]').each { repoUrl -> maven { url repoUrl.trim() } }

Project building had fast progress, but failed with:

Execution failed for task ':ftgo-order-service:extractIncludeProto'.
> Could not resolve all files for configuration ':ftgo-order-service:compile'.
   > Could not resolve io.microservices.tools.canvas:microservice-canvas-springmvc:0.4.0.RELEASE.
     Required by:
         project :ftgo-order-service
      > Could not resolve io.microservices.tools.canvas:microservice-canvas-springmvc:0.4.0.RELEASE.
         > Could not get resource 'https://dl.bintray.com/eventuateio-oss/eventuate-maven-release/io/microservices/tools/canvas/microservice-canvas-springmvc/0.4.0.RELEASE/microservice-canvas-springmvc-0.4.0.RELEASE.pom'.
            > Could not GET 'https://dl.bintray.com/eventuateio-oss/eventuate-maven-release/io/microservices/tools/canvas/microservice-canvas-springmvc/0.4.0.RELEASE/microservice-canvas-springmvc-0.4.0.RELEASE.pom'. Received status code 403 from server: Forbidden
      > Could not resolve io.microservices.tools.canvas:microservice-canvas-springmvc:0.4.0.RELEASE.
         > Could not get resource 'https://dl.bintray.com/eventuateio-oss/eventuate-maven-milestone/io/microservices/tools/canvas/microservice-canvas-springmvc/0.4.0.RELEASE/microservice-canvas-springmvc-0.4.0.RELEASE.pom'.
            > Could not GET 'https://dl.bintray.com/eventuateio-oss/eventuate-maven-milestone/io/microservices/tools/canvas/microservice-canvas-springmvc/0.4.0.RELEASE/microservice-canvas-springmvc-0.4.0.RELEASE.pom'. Received status code 403 from server: Forbidden
      > Could not resolve io.microservices.tools.canvas:microservice-canvas-springmvc:0.4.0.RELEASE.
         > Could not get resource 'https://dl.bintray.com/eventuateio-oss/microservice-canvas-tools-release/io/microservices/tools/canvas/microservice-canvas-springmvc/0.4.0.RELEASE/microservice-canvas-springmvc-0.4.0.RELEASE.pom'.
            > Could not GET 'https://dl.bintray.com/eventuateio-oss/microservice-canvas-tools-release/io/microservices/tools/canvas/microservice-canvas-springmvc/0.4.0.RELEASE/microservice-canvas-springmvc-0.4.0.RELEASE.pom'. Received status code 403 from server: Forbidden
      > Could not resolve io.microservices.tools.canvas:microservice-canvas-springmvc:0.4.0.RELEASE.
         > Could not get resource 'https://dl.bintray.com/eventuateio-oss/eventuate-maven-rc/io/microservices/tools/canvas/microservice-canvas-springmvc/0.4.0.RELEASE/microservice-canvas-springmvc-0.4.0.RELEASE.pom'.
            > Could not GET 'https://dl.bintray.com/eventuateio-oss/eventuate-maven-rc/io/microservices/tools/canvas/microservice-canvas-springmvc/0.4.0.RELEASE/microservice-canvas-springmvc-0.4.0.RELEASE.pom'. Received status code 403 from server: Forbidden
      > Could not resolve io.microservices.tools.canvas:microservice-canvas-springmvc:0.4.0.RELEASE.
         > Could not get resource 'https://dl.bintray.com/eventuateio-oss/microservice-canvas-tools-rc/io/microservices/tools/canvas/microservice-canvas-springmvc/0.4.0.RELEASE/microservice-canvas-springmvc-0.4.0.RELEASE.pom'.
            > Could not GET 'https://dl.bintray.com/eventuateio-oss/microservice-canvas-tools-rc/io/microservices/tools/canvas/microservice-canvas-springmvc/0.4.0.RELEASE/microservice-canvas-springmvc-0.4.0.RELEASE.pom'. Received status code 403 from server: Forbidden
   > Could not resolve io.microservices.tools.canvas:microservice-canvas-extractor-tram-sagas:0.4.0.RELEASE.
     Required by:
         project :ftgo-order-service
      > Could not resolve io.microservices.tools.canvas:microservice-canvas-extractor-tram-sagas:0.4.0.RELEASE.
         > Could not get resource 'https://dl.bintray.com/eventuateio-oss/eventuate-maven-release/io/microservices/tools/canvas/microservice-canvas-extractor-tram-sagas/0.4.0.RELEASE/microservice-canvas-extractor-tram-sagas-0.4.0.RELEASE.pom'.
            > Could not GET 'https://dl.bintray.com/eventuateio-oss/eventuate-maven-release/io/microservices/tools/canvas/microservice-canvas-extractor-tram-sagas/0.4.0.RELEASE/microservice-canvas-extractor-tram-sagas-0.4.0.RELEASE.pom'. Received status code 403 from server: Forbidden
      > Could not resolve io.microservices.tools.canvas:microservice-canvas-extractor-tram-sagas:0.4.0.RELEASE.
         > Could not get resource 'https://dl.bintray.com/eventuateio-oss/eventuate-maven-milestone/io/microservices/tools/canvas/microservice-canvas-extractor-tram-sagas/0.4.0.RELEASE/microservice-canvas-extractor-tram-sagas-0.4.0.RELEASE.pom'.
            > Could not GET 'https://dl.bintray.com/eventuateio-oss/eventuate-maven-milestone/io/microservices/tools/canvas/microservice-canvas-extractor-tram-sagas/0.4.0.RELEASE/microservice-canvas-extractor-tram-sagas-0.4.0.RELEASE.pom'. Received status code 403 from server: Forbidden
      > Could not resolve io.microservices.tools.canvas:microservice-canvas-extractor-tram-sagas:0.4.0.RELEASE.
         > Could not get resource 'https://dl.bintray.com/eventuateio-oss/microservice-canvas-tools-release/io/microservices/tools/canvas/microservice-canvas-extractor-tram-sagas/0.4.0.RELEASE/microservice-canvas-extractor-tram-sagas-0.4.0.RELEASE.pom'.
            > Could not GET 'https://dl.bintray.com/eventuateio-oss/microservice-canvas-tools-release/io/microservices/tools/canvas/microservice-canvas-extractor-tram-sagas/0.4.0.RELEASE/microservice-canvas-extractor-tram-sagas-0.4.0.RELEASE.pom'. Received status code 403 from server: Forbidden
      > Could not resolve io.microservices.tools.canvas:microservice-canvas-extractor-tram-sagas:0.4.0.RELEASE.
         > Could not get resource 'https://dl.bintray.com/eventuateio-oss/eventuate-maven-rc/io/microservices/tools/canvas/microservice-canvas-extractor-tram-sagas/0.4.0.RELEASE/microservice-canvas-extractor-tram-sagas-0.4.0.RELEASE.pom'.
            > Could not GET 'https://dl.bintray.com/eventuateio-oss/eventuate-maven-rc/io/microservices/tools/canvas/microservice-canvas-extractor-tram-sagas/0.4.0.RELEASE/microservice-canvas-extractor-tram-sagas-0.4.0.RELEASE.pom'. Received status code 403 from server: Forbidden
      > Could not resolve io.microservices.tools.canvas:microservice-canvas-extractor-tram-sagas:0.4.0.RELEASE.
         > Could not get resource 'https://dl.bintray.com/eventuateio-oss/microservice-canvas-tools-rc/io/microservices/tools/canvas/microservice-canvas-extractor-tram-sagas/0.4.0.RELEASE/microservice-canvas-extractor-tram-sagas-0.4.0.RELEASE.pom'.
            > Could not GET 'https://dl.bintray.com/eventuateio-oss/microservice-canvas-tools-rc/io/microservices/tools/canvas/microservice-canvas-extractor-tram-sagas/0.4.0.RELEASE/microservice-canvas-extractor-tram-sagas-0.4.0.RELEASE.pom'. Received status code 403 from server: Forbidden

But logs contain repository that specified here: https://github.com/microservice-canvas/microservice-canvas-tools

https://dl.bintray.com/eventuateio-oss/microservice-canvas-tools-release

cer commented 3 years ago

The bintray repository no longer exists. See https://bintray.com/

All of the io.eventuate libraries are now published to Maven Central.

This is a problem because io.microservices.tools.canvas has not been migrated to Maven Central.

The following temporary fix is required:

I will work on getting io.microservices.tools.canvas published to Maven Central.

dartartem commented 3 years ago

Thank you, I will use that fix

cer commented 3 years ago

I have a fresh OS install on new machine (without previous builds of ftgo app)

What are the specs for the machine?

I increased java heap size from default 1Gb to 4Gb, but build was slow, so I disabled it and used the following command to inspect the problem:

How precisely did you increase heapsize?

And when you say "build was slow, so I disabled it " what do you mean by 'it'. Compilation? Running tests? Please be precise? Did it involve Docker? What's the resources configuration of the Docker VM?

dartartem commented 3 years ago

What are the specs for the machine?

core i7-11700k, 32Gb RAM DDR4 (3200 MHz), 500 Gb SSD

How precisely did you increase heapsize?

Inserted this:

org.gradle.jvmargs=-Xmx4096m

to gradle properties

And when you say "build was slow, so I disabled it " what do you mean by 'it'. Compilation? Running tests?

I canceled tests

Did it involve Docker?

no


As I wrote further in the issue, problem in slow requests to wrong repositories.

gradle searchs for artifacs in order of specified repositories.

And even single request could take much time:

Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-rc/io/zipkin/reporter2/zipkin-reporter-bom/2.11.0/zipkin-reporter-bom-2.11.0.pom)]

this took more than minute.

Problem was solved to defining maven central repository first.

cer commented 3 years ago

core i7-11700k, 32Gb RAM DDR4 (3200 MHz), 500 Gb SSD

Operating system?

java -version

cer commented 3 years ago

Also, if references to the bintray repo are removed does the build still need org.gradle.jvmargs=-Xmx4096m

dartartem commented 3 years ago

OS DISTRIB_ID=LinuxMint DISTRIB_RELEASE=20.1 5.4.0-58-generic

java --verison:

java version "1.8.0_131" Java(TM) SE Runtime Environment (build 1.8.0_131-b11) Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)

dartartem commented 3 years ago

Also, if references to the bintray repo are removed does the build still need org.gradle.jvmargs=-Xmx4096m

I will remove canvas tools and check, 99.99% it is not necessary.

cer commented 3 years ago

I ran a build that published microservice-canvas-tools 0.7.0.RELEASE to Maven Central. However, it hasn't shown up there yet (there is always a delay between publish and the sync to Maven Central). It's taking longer than normal though.

Dan-Nun commented 3 years ago

Hi, Looks like still some dependencies are missing. I've been trying to compile the project using the maven central repository and I've found some missing dependencies, I've fixed locally the problem updating the versions on the following branches:

Regards