Build: #88 failed

Job: Build and push failed

Stages & jobs

  1. Build and push

  2. Validate

  3. Update versions

  4. Release

    Requires a user to start manually
  5. Release 2nd stage

  6. Release 3rd stage

Job result summary

Completed
Duration
7 minutes
Revisions
OpenMRS Platform
85b9ce9be9bb7b379c3ccee75832b4fd9d1dcea4 85b9ce9be9bb7b379c3ccee75832b4fd9d1dcea4
Release scripts
39269cb8f38c786e7c5c4df804871bc2073177ad 39269cb8f38c786e7c5c4df804871bc2073177ad
Failing since
#87 (Code changes detected – )
Fixed in
#89 (Code changes detected)
No failed test found. A possible compilation error occurred.

Error summary

The build generated some errors. See the full build log for more details.

Progress (2): 225/316 kB | 236/263 kB
Progress (2): 225/316 kB | 240/263 kB
Progress (2): 225/316 kB | 244/263 kB
Progress (2): 229/316 kB | 244/263 kB
Progress (2): 233/316 kB | 244/263 kB
Progress (2): 237/316 kB | 244/263 kB
Progress (2): 241/316 kB | 244/263 kB
Progress (2): 245/316 kB | 244/263 kB
Progress (2): 249/316 kB | 244/263 kB
Progress (2): 253/316 kB | 244/263 kB
Progress (2): 257/316 kB | 244/263 kB
Progress (2): 257/316 kB | 248/263 kB
Progress (2): 257/316 kB | 252/263 kB
Progress (2): 257/316 kB | 256/263 kB
Progress (2): 257/316 kB | 260/263 kB
Progress (2): 257/316 kB | 263/263 kB
Progress (2): 259/316 kB | 263/263 kB
Progress (2): 264/316 kB | 263/263 kB
Progress (2): 268/316 kB | 263/263 kB
Progress (2): 272/316 kB | 263/263 kB
Progress (2): 276/316 kB | 263/263 kB
Progress (2): 276/316 kB | 263 kB   
Progress (2): 280/316 kB | 263 kB
Progress (2): 284/316 kB | 263 kB
Progress (2): 288/316 kB | 263 kB
Progress (2): 292/316 kB | 263 kB
Progress (2): 294/316 kB | 263 kB
Progress (2): 298/316 kB | 263 kB
Progress (2): 302/316 kB | 263 kB
Progress (2): 307/316 kB | 263 kB
Progress (2): 311/316 kB | 263 kB
Progress (2): 315/316 kB | 263 kB
Progress (2): 316 kB | 263 kB   
                             
Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/public/org/apache/commons/commons-lang3/3.1/commons-lang3-3.1.jar (316 kB at 165 kB/s)
#18 127.2 Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/public/org/apache/maven/surefire/maven-surefire-common/2.12.4/maven-surefire-common-2.12.4.jar (263 kB at 136 kB/s)
#18 127.8 [INFO] No tests to run.
#18 127.9 [INFO]
#18 127.9 [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ platform ---
#18 130.3 [INFO] Building jar: /openmrs_distro/target/platform-2.5.8-SNAPSHOT.jar
#18 130.4 [INFO]
#18 130.4 [INFO] --- build-helper-maven-plugin:3.0.0:attach-artifact (attach-artifacts) @ platform ---
#18 131.4 [INFO]
#18 131.4 [INFO] --- maven-install-plugin:2.4:install (default-install) @ platform ---
#18 133.2 [INFO] Installing /openmrs_distro/target/platform-2.5.8-SNAPSHOT.jar to /usr/share/maven/ref/repository/org/openmrs/distro/platform/2.5.8-SNAPSHOT/platform-2.5.8-SNAPSHOT.jar
#18 133.2 [INFO] Installing /openmrs_distro/pom.xml to /usr/share/maven/ref/repository/org/openmrs/distro/platform/2.5.8-SNAPSHOT/platform-2.5.8-SNAPSHOT.pom
#18 133.3 [INFO] Installing /openmrs_distro/target/bundled-distro/web/openmrs.war to /usr/share/maven/ref/repository/org/openmrs/distro/platform/2.5.8-SNAPSHOT/platform-2.5.8-SNAPSHOT.war
#18 133.5 [INFO] ------------------------------------------------------------------------
#18 133.5 [INFO] BUILD SUCCESS
#18 133.5 [INFO] ------------------------------------------------------------------------
#18 133.5 [INFO] Total time:  01:49 min
#18 133.5 [INFO] Finished at: 2022-11-23T14:24:00Z
#18 133.5 [INFO] ------------------------------------------------------------------------
#18 DONE 133.9s

#27 [linux/arm64 dev 5/6] RUN cp /openmrs_distro/target/distro/web/openmrs.war /openmrs/distribution/openmrs_core/ &&     cp /openmrs_distro/target/distro/web/openmrs-distro.properties /openmrs/distribution/ &&     cp -R /openmrs_distro/target/distro/web/modules /openmrs/distribution/openmrs_modules &&     cp -R /openmrs_distro/target/distro/web/owa /openmrs/distribution/openmrs_owas
#27 DONE 0.7s

#28 [linux/arm64 dev 6/6] RUN mvn clean -s /usr/share/maven/ref/settings-docker.xml
#28 12.63 [INFO] Scanning for projects...
#28 13.76 [INFO]
#28 13.78 [INFO] --------------------< org.openmrs.distro:platform >---------------------
#28 13.78 [INFO] Building OpenMRS Platform 2.5.8-SNAPSHOT
#28 13.78 [INFO] --------------------------------[ jar ]---------------------------------
#28 14.51 [INFO]
#28 14.52 [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ platform ---
#28 15.65 [INFO] Deleting /openmrs_distro/target
#28 15.68 [INFO] ------------------------------------------------------------------------
#28 15.68 [INFO] BUILD SUCCESS
#28 15.68 [INFO] ------------------------------------------------------------------------
#28 15.71 [INFO] Total time:  3.416 s
#28 15.72 [INFO] Finished at: 2022-11-23T14:24:17Z
#28 15.72 [INFO] ------------------------------------------------------------------------
#28 DONE 15.8s

#29 [linux/arm64 stage-1 2/4] COPY --from=dev /openmrs/distribution/openmrs-distro.properties /openmrs/distribution/
#29 DONE 0.1s

#30 [linux/arm64 stage-1 3/4] COPY --from=dev /openmrs/distribution/openmrs_modules /openmrs/distribution/openmrs_modules
#30 DONE 0.2s

#31 [linux/arm64 stage-1 4/4] COPY --from=dev /openmrs/distribution/openmrs_owas /openmrs/distribution/openmrs_owas
#31 DONE 0.1s

#32 exporting to image
#32 exporting layers
#32 exporting layers 3.4s done
#32 exporting manifest sha256:8ebfea9945c33c8d255dc2cef7c7a8bfdc86a457343ffc0ed755c3a742e5711f 0.0s done
#32 exporting config sha256:474c822c1246136ce6a13d7225945b18d604a0f0e0b46c4a9b34274ad6af42df 0.0s done
#32 exporting manifest sha256:1a2244be933a40cb70869092ff23a59fd76ee9da3ddbde82e51d950eeb05c638 0.0s done
#32 exporting config sha256:17ae7557d4fadfe58a744d8d9ea7723b4c3a30e7c4c9a31bf704a50be217f43a 0.0s done
#32 exporting manifest list sha256:9c7bb8e22d3b9fe584325b5355a9d0932b53b35f4857f51fa8b361d09551543f
#32 exporting manifest list sha256:9c7bb8e22d3b9fe584325b5355a9d0932b53b35f4857f51fa8b361d09551543f 0.0s done
#32 pushing layers
#32 pushing layers 10.0s done
#32 ERROR: failed to do request: Head "https://registry-1.docker.io/v2/openmrs/openmrs-platform/blobs/sha256:474c822c1246136ce6a13d7225945b18d604a0f0e0b46c4a9b34274ad6af42df": dial tcp: lookup registry-1.docker.io on 10.0.2.2:53: read udp 172.17.0.2:35628->10.0.2.2:53: i/o timeout
------
> exporting to image:
------
error: failed to solve: failed to do request: Head "https://registry-1.docker.io/v2/openmrs/openmrs-platform/blobs/sha256:474c822c1246136ce6a13d7225945b18d604a0f0e0b46c4a9b34274ad6af42df": dial tcp: lookup registry-1.docker.io on 10.0.2.2:53: read udp 172.17.0.2:35628->10.0.2.2:53: i/o timeout