Skip to content

Dependency loading is slow and fails for semweb4j dependencies #90

@jmiranda

Description

@jmiranda

Ths issue was reported by Slack user caseylitton. The issue was confirmed while running catch in docker, but I assume this would occur in a new development environment as well.

Actions

  • Remove the maven repo(s) that fail
  • Upgrade the dependencies that are failing to a version that is available on another repo (might require some refactoring of the code)
  • Determine whether dependencies are even necessary for core catch; remove them if not

Error output

Pulling db (mariadb:10.1)...
10.1: Pulling from library/mariadb
ad74af05f5a2: Pull complete
0639788facc8: Pull complete
de70fa77eb2b: Pull complete
724179e94999: Pull complete
57fbc7ff5cf1: Pull complete
9d5794cf4e5c: Pull complete
b29a1331369b: Pull complete
aaced43ed756: Pull complete
487f16cb3899: Pull complete
94fb1421b722: Pull complete
705a3a161251: Pull complete
608131f80a69: Pull complete
Digest: sha256:1fc309749dc6b2df1eb651905fa95a82132622d64408ac6a72745ef3351734e0
Status: Downloaded newer image for mariadb:10.1
Building app
Step 1/13 : FROM openjdk:7-jdk
7-jdk: Pulling from library/openjdk
ad74af05f5a2: Already exists
2b032b8bbe8b: Pull complete
a9a5b35f6ead: Pull complete
22647b986541: Pull complete
2645a6d2e3ae: Pull complete
a8a1ae2d5bd7: Pull complete
06d2a669c496: Pull complete
Digest: sha256:4b10d30ff24500a9ace4e154dabb8954e1a09054e08bfb5b2e131acbde130f59
Status: Downloaded newer image for openjdk:7-jdk
 ---> 4b95232fb19f
Step 2/13 : ENV CATALINA_OPTS -Xms512m -Xmx512m -XX:MaxPermSize=256m
 ---> Running in 3840083f99fe
 ---> 72931e25d030
Removing intermediate container 3840083f99fe
Step 3/13 : ENV GRAILS_VERSION 2.2.5
 ---> Running in df2b69d409c3
 ---> 9e08813acc0d
Removing intermediate container df2b69d409c3
Step 4/13 : ENV GRAILS_HOME /opt/grails
 ---> Running in e1f6dde08516
 ---> 6917c8bc64c7
Removing intermediate container e1f6dde08516
Step 5/13 : ENV PATH $GRAILS_HOME/bin:$PATH
 ---> Running in 2dd92769b109
 ---> 6e9f8a0142ae
Removing intermediate container 2dd92769b109
Step 6/13 : WORKDIR /opt
 ---> 1572478c9b3a
Removing intermediate container 6659848f1889
Step 7/13 : RUN curl -s -L -o grails.zip https://github.com/grails/grails-core/releases/download/v${GRAILS_VERSION}/grails-${GRAILS_VERSION}.zip     && unzip -q grails.zip     && rm grails.zip     && ln -s grails-${GRAILS_VERSION} grails
 ---> Running in 98909621a194
 ---> 14c5d349b6a6
Removing intermediate container 98909621a194
Step 8/13 : WORKDIR /app
 ---> 32a191560f31
Removing intermediate container b29f2e7cdd6e
Step 9/13 : EXPOSE 8080
 ---> Running in eefee80b511f
 ---> c04dda094e05
Removing intermediate container eefee80b511f
Step 10/13 : ADD . /app
 ---> 972b46ec500c
Removing intermediate container c72106331663
Step 11/13 : RUN ln -s plugins annotationframework     && grails compile     && sed -e 's/localhost:3306/db:3306/' -e 's/catch_test/catch/' Catch-config.properties > catch-config.properties
 ---> Running in 19603e319f4f

| Loading Grails 2.2.5
| Configuring classpath
| Downloading: tomcat-2.2.5.pom
| Downloading: tomcat-embed-core-7.0.42.pom
| Downloading: tomcat-embed-core-7.0.42.pom.sha1
| Downloading: tomcat-embed-jasper-7.0.42.pom
| Downloading: tomcat-embed-jasper-7.0.42.pom.sha1
| Downloading: tomcat-embed-logging-log4j-7.0.42.pom
| Downloading: tomcat-embed-logging-log4j-7.0.42.pom.sha1
| Downloading: tomcat-embed-logging-juli-7.0.42.pom
| Downloading: tomcat-embed-logging-juli-7.0.42.pom.sha1
| Downloading: tomcat-catalina-ant-7.0.42.pom
| Downloading: tomcat-catalina-ant-7.0.42.pom.sha1
| Downloading: ecj-3.7.2.pom
| Downloading: ecj-3.7.2.pom.sha1
| Downloading: org.springframework.uaa.client-1.0.1.RELEASE.jar
| Downloading: protobuf-java-2.5.0.jar
| Downloading: json-simple-1.1.jar
| Downloading: bcpg-jdk15-1.45.jar
| Downloading: bcprov-jdk15-1.45.jar
| Downloading: jline-1.0.jar
| Downloading: ivy-2.2.0.jar
| Downloading: jansi-1.2.1.jar
| Downloading: jna-3.2.3.jar
| Downloading: serializer-2.7.1.jar
| Downloading: grails-docs-2.2.5.jar
| Downloading: grails-bootstrap-2.2.5.jar
| Downloading: grails-scripts-2.2.5.jar
| Downloading: slf4j-api-1.6.2.jar
| Downloading: jcl-over-slf4j-1.6.2.jar
| Downloading: ant-1.8.2.jar
| Downloading: ant-launcher-1.8.2.jar
| Downloading: ant-junit-1.8.2.jar
| Downloading: ant-trax-1.7.1.jar
| Downloading: tomcat-2.2.5.zip
| Downloading: tomcat-embed-core-7.0.42.jar
| Downloading: tomcat-embed-core-7.0.42.jar.sha1
| Downloading: grails-plugin-tomcat-2.2.5.jar
| Downloading: tomcat-embed-jasper-7.0.42.jar
| Downloading: tomcat-embed-jasper-7.0.42.jar.sha1
| Downloading: tomcat-embed-logging-log4j-7.0.42.jar
| Downloading: tomcat-embed-logging-log4j-7.0.42.jar.sha1
| Downloading: tomcat-embed-logging-juli-7.0.42.jar
| Downloading: tomcat-embed-logging-juli-7.0.42.jar.sha1
| Downloading: tomcat-catalina-ant-7.0.42.jar
| Downloading: tomcat-catalina-ant-7.0.42.jar.sha1
| Downloading: ecj-3.7.2.jar
| Downloading: ecj-3.7.2.jar.sha1
:: problems summary ::
:::: ERRORS
	Server access Error: No route to host (Host unreachable) url=http://mavenrepo.fzi.de/semweb4j.org/repo/org/grails/plugins/tomcat/2.2.5/tomcat-2.2.5-sources.jar
	Server access Error: Connection timed out (Connection timed out) url=http://mavenrepo.fzi.de/semweb4j.org/repo/org/grails/plugins/tomcat/2.2.5/tomcat-2.2.5-src.jar
	Server access Error: No route to host (Host unreachable) url=http://mavenrepo.fzi.de/semweb4j.org/repo/org/grails/plugins/tomcat/2.2.5/tomcat-2.2.5-javadoc.jar
	Server access Error: No route to host (Host unreachable) url=http://mavenrepo.fzi.de/semweb4j.org/repo/org/apache/tomcat/embed/tomcat-embed-core/7.0.42/tomcat-embed-core-7.0.42-javadoc.jar
	Server access Error: No route to host (Host unreachable) url=http://mavenrepo.fzi.de/semweb4j.org/repo/org/apache/tomcat/embed/tomcat-embed-jasper/7.0.42/tomcat-embed-jasper-7.0.42-javadoc.jar
	Server access Error: No route to host (Host unreachable) url=http://mavenrepo.fzi.de/semweb4j.org/repo/org/apache/tomcat/embed/tomcat-embed-logging-log4j/7.0.42/tomcat-embed-logging-log4j-7.0.42-javadoc.jar
	Server access Error: No route to host (Host unreachable) url=http://mavenrepo.fzi.de/semweb4j.org/repo/org/apache/tomcat/embed/tomcat-embed-logging-juli/7.0.42/tomcat-embed-logging-juli-7.0.42-javadoc.jar
	Server access Error: No route to host (Host unreachable) url=http://mavenrepo.fzi.de/semweb4j.org/repo/org/apache/tomcat/tomcat-catalina-ant/7.0.42/tomcat-catalina-ant-7.0.42-javadoc.jar
| Downloading: tomcat-embed-core-7.0.39.jar
| Downloading: tomcat-embed-jasper-7.0.39.jar
| Downloading: tomcat-embed-logging-log4j-7.0.39.jar
| Downloading: nimbus-jose-jwt-2.20.pom
| Downloading: nimbus-jose-jwt-2.20.pom.sha1
| Downloading: oss-parent-7.pom
| Downloading: oss-parent-7.pom.sha1
| Downloading: commons-codec-1.7.pom
| Downloading: commons-codec-1.7.pom.sha1
| Downloading: commons-parent-26.pom
| Downloading: commons-parent-26.pom.sha1
| Downloading: apache-9.pom
| Downloading: apache-9.pom.sha1
^CERROR: Aborting.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions