-
Bug
-
Resolution: Unresolved
-
Medium
-
None
-
Guilin Release
-
None
-
macOS and Ubuntu
Make a clean checkout of CLAMP
give the command "mvn clean install"
The build runs through to the integration tests. The integration tests fail with the error log below, the python emulator used to mock components either does not come up or the tests can't connect to it.
-
-
- Workaround ***
-
give the command "mvn clean install -DskipITs" and the integration tests are skipped, the rest of the build works.
We have observed this problem on both macOS and Ubuntu.
[INFO] — maven-jar-plugin:3.0.2:jar (default-jar) @ clds —
[INFO] Building jar: /Users/liam/git/onap/clamp-master/target/clamp.jar
[INFO]
[INFO] — maven-jar-plugin:3.0.2:jar (jar-with-only-classes) @ clds —
[INFO] Building jar: /Users/liam/git/onap/clamp-master/target/clamp-classes.jar
[INFO]
[INFO] — build-helper-maven-plugin:3.0.0:attach-artifact (default) @ clds —
[INFO]
[INFO] — spring-boot-maven-plugin:2.2.9.RELEASE:repackage (default) @ clds —
[INFO] Replacing main artifact with repackaged archive
[INFO]
[INFO] — docker-maven-plugin:0.31.0:start (docker-start-for-it) @ clds —
[INFO] DOCKER> [onap/clamp-backend:latest] "onap-clamp-backend": Skipped running
[INFO] DOCKER> [onap/clamp-frontend:latest] "onap-clamp-frontend": Skipped running
[INFO] DOCKER> Credentials helper reply for "docker-credential-desktop" is 0.6.3
[INFO] DOCKER> Pulling from library/mariadb
3ff22d22a855: Pull complete
e7cb79d19722: Pull complete
323d0d660b6a: Pull complete
b7f616834fd0: Pull complete
78ed0160f03e: Pull complete
a122e9306ac4: Pull complete
673e89352b19: Pull complete
caf1e694359b: Pull complete
04f5e4f6ead3: Pull complete
a41772aadb3d: Pull complete
c3811aa2fa0a: Pull complete
655ad574d3c7: Pull complete
90ae536d75f0: Pull complete
[INFO] DOCKER> Digest: sha256:812d3a450addcfe416420c72311798f3f3109a11d9677716dc631c429221880c
[INFO] DOCKER> Status: Downloaded newer image for mariadb:10.5.4
[INFO] DOCKER> Pulled docker.io/mariadb:10.5.4 in 35 seconds
[INFO] DOCKER> Credentials helper reply for "docker-credential-desktop" is 0.6.3
[INFO] DOCKER> Pulling from library/python
123275d6e508: Pull complete
dd1cd6637523: Pull complete
0c4e6d630f2c: Pull complete
13e9cd8f0ea1: Pull complete
[INFO] DOCKER> Digest: sha256:6c1ffdff499e29ea663e6e67c9b6b9a3b401d554d2c9f061f9a45344e3992363
[INFO] DOCKER> Status: Downloaded newer image for python:2-slim
[INFO] DOCKER> Pulled docker.io/python:2-slim in 22 seconds
[INFO] DOCKER> [docker.io/mariadb:10.5.4] "mariadb": Start container c5a7efb5e874
[INFO] DOCKER> Pattern 'socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution' matched for container c5a7efb5e874
[INFO] DOCKER> [docker.io/mariadb:10.5.4] "mariadb": Waited on log out 'socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution' 14711 ms
[INFO] DOCKER> [docker.io/python:2-slim] "python": Start container 24ae049f4f65
[INFO] DOCKER> [docker.io/python:2-slim] "python": Network mode: bridge
[INFO] DOCKER> [docker.io/python:2-slim] "python": Waiting for ports [8080] directly on container with IP (172.17.0.3).
[ERROR] DOCKER> [docker.io/python:2-slim] "python": Timeout after 120088 ms while waiting on tcp port '[/172.17.0.3:8080]'
[ERROR] DOCKER> Error occurred during container startup, shutting down...
[INFO] DOCKER> [docker.io/python:2-slim] "python": Stop and removed container 24ae049f4f65 after 0 ms
mariadb> – Connecting to localhost...
mariadb> – Retrieving table structure for table dictionary...
mariadb> – Sending SELECT query...
mariadb> – Retrieving rows...
mariadb> – Retrieving table structure for table dictionary_elements...
mariadb> – Sending SELECT query...
mariadb> – Retrieving rows...
mariadb> – Retrieving table structure for table dictionary_to_dictionaryelements...
mariadb> – Sending SELECT query...
mariadb> – Retrieving rows...
mariadb> – Retrieving table structure for table hibernate_sequence...
mariadb> – Sending SELECT query...
mariadb> – Retrieving rows...
mariadb> – Retrieving table structure for table loop_element_models...
mariadb> – Sending SELECT query...
mariadb> – Retrieving rows...
mariadb> – Retrieving table structure for table loop_logs...
mariadb> – Sending SELECT query...
mariadb> – Retrieving rows...
mariadb> – Retrieving table structure for table loop_templates...
mariadb> – Sending SELECT query...
mariadb> – Retrieving rows...
mariadb> – Retrieving table structure for table loopelementmodels_to_policymodels...
mariadb> – Sending SELECT query...
mariadb> – Retrieving rows...
mariadb> – Retrieving table structure for table loops...
mariadb> – Sending SELECT query...
mariadb> – Retrieving rows...
mariadb> – Retrieving table structure for table loops_to_microservicepolicies...
mariadb> – Sending SELECT query...
mariadb> – Retrieving rows...
mariadb> – Retrieving table structure for table looptemplates_to_loopelementmodels...
mariadb> – Sending SELECT query...
mariadb> – Retrieving rows...
mariadb> – Retrieving table structure for table micro_service_policies...
mariadb> – Sending SELECT query...
mariadb> – Retrieving rows...
mariadb> – Retrieving table structure for table operational_policies...
mariadb> – Sending SELECT query...
mariadb> – Retrieving rows...
mariadb> – Retrieving table structure for table policy_models...
mariadb> – Sending SELECT query...
mariadb> – Retrieving rows...
mariadb> – Retrieving table structure for table services...
mariadb> – Sending SELECT query...
mariadb> – Retrieving rows...
mariadb> – Disconnecting from localhost...
[INFO] DOCKER> [docker.io/mariadb:10.5.4] "mariadb": Stop and removed container c5a7efb5e874 after 0 ms
[ERROR] DOCKER> I/O Error [[docker.io/python:2-slim] "python": Timeout after 120088 ms while waiting on tcp port '[/172.17.0.3:8080]']
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 06:00 min
[INFO] Finished at: 2020-09-22T12:30:39+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal io.fabric8:docker-maven-plugin:0.31.0:start (docker-start-for-it) on project clds: I/O Error: [docker.io/python:2-slim] "python": Timeout after 120088 ms while waiting on tcp port '[/172.17.0.3:8080]' -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
- mentioned in
-
Page Loading...