appsody / stacks

Appsody application stacks. This repo will be archived soon.
https://appsody.dev
Apache License 2.0
90 stars 120 forks source link

Vertx stack fails for appsody run and appsody test on Travis #711

Open Kamran64 opened 4 years ago

Kamran64 commented 4 years ago

Describe the bug On travis (haven't been able to replicate locally), the appsody run and appsody test portions for Vertx currently fail. This behaviour was seen in https://github.com/appsody/stacks/pull/665 which initially only attempted to bump the stack version.

Logs for appsody run:

[Container] [INFO] Scanning for projects...
[Container] [INFO] Downloading from central: https://repo.maven.apache.org/maven2/io/vertx/vertx-stack-depchain/3.8.1/vertx-stack-depchain-3.8.1.pom
[Container] [WARNING] Failed to create parent directories for tracking file /.m2/repository/io/vertx/vertx-stack-depchain/3.8.1/vertx-stack-depchain-3.8.1.pom.lastUpdated
[Container] [ERROR] [ERROR] Some problems were encountered while processing the POMs:
[Container] [ERROR] Non-resolvable import POM: Could not transfer artifact io.vertx:vertx-stack-depchain:pom:3.8.1 from/to central (https://repo.maven.apache.org/maven2): /.m2/repository/io/vertx/vertx-stack-depchain/3.8.1/vertx-stack-depchain-3.8.1.pom.part.lock (No such file or directory) @ dev.appsody:vertx:0.1.5, /project/pom.xml, line 20, column 19
[Container] [ERROR] 'dependencies.dependency.version' for io.vertx:vertx-core:jar is missing. @ line 24, column 17
[Container] [ERROR] 'dependencies.dependency.version' for io.vertx:vertx-web:jar is missing. @ line 28, column 17
[Container] [ERROR] 'dependencies.dependency.version' for io.vertx:vertx-web-client:jar is missing. @ line 33, column 17
[Container] [ERROR] 'dependencies.dependency.version' for io.vertx:vertx-unit:jar is missing. @ line 38, column 17
[Container]  @ 
[Container] [ERROR] The build could not read 1 project -> [Help 1]
[Container] [ERROR]   
[Container] [ERROR]   The project org.acme.quickstart:mushy-vest:1.0.1 (/project/user-app/pom.xml) has 5 errors
[Container] [ERROR]     Non-resolvable import POM: Could not transfer artifact io.vertx:vertx-stack-depchain:pom:3.8.1 from/to central (https://repo.maven.apache.org/maven2): /.m2/repository/io/vertx/vertx-stack-depchain/3.8.1/vertx-stack-depchain-3.8.1.pom.part.lock (No such file or directory) @ dev.appsody:vertx:0.1.5, /project/pom.xml, line 20, column 19 -> [Help 2]
[Container] [ERROR]     'dependencies.dependency.version' for io.vertx:vertx-core:jar is missing. @ line 24, column 17
[Container] [ERROR]     'dependencies.dependency.version' for io.vertx:vertx-web:jar is missing. @ line 28, column 17
[Container] [ERROR]     'dependencies.dependency.version' for io.vertx:vertx-web-client:jar is missing. @ line 33, column 17
[Container] [ERROR]     'dependencies.dependency.version' for io.vertx:vertx-unit:jar is missing. @ line 38, column 17
[Container] [ERROR] 
[Container] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[Container] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
[Container] [ERROR] 
[Container] [ERROR] For more information about the errors and possible solutions, please read the following articles:
[Container] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[Container] [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
[Container] [Error] Wait received error with status code: 1 due to error: exit status 1
[Error] Error in 'appsody run': exit status 1
[Error] Appsody run failed

Environment Details (please complete the following information): Travis environment details:

If applicable please specify:

ebullient commented 4 years ago

This is a download/slowness/resource pull issue. If travis isn’t using any kind of dependency caching, this can happen