OpenMRS Core Master
Build: #3190 failed
Job: Deploy to docker failed
Job result summary
- Completed
- Duration
- 25 seconds
- Revision
-
8614788cb4655d47a442344370e6f01fdfdd9943
8614788cb4655d47a442344370e6f01fdfdd9943 - Fixed in
- #3191 (Code changes detected)
Error summary
The build generated some errors. See the full build log for more details.
#79 8.673 --> Processing Dependency: libsemanage.so.1(LIBSEMANAGE_1.0)(64bit) for package: 2:shadow-utils-4.1.5.1-24.amzn2.0.2.x86_64
#79 8.676 --> Processing Dependency: libsemanage.so.1()(64bit) for package: 2:shadow-utils-4.1.5.1-24.amzn2.0.2.x86_64
#79 8.677 --> Processing Dependency: libaudit.so.1()(64bit) for package: 2:shadow-utils-4.1.5.1-24.amzn2.0.2.x86_64
#79 8.677 --> Running transaction check
#79 8.678 ---> Package audit-libs.x86_64 0:2.8.1-3.amzn2.1 will be installed
#79 8.682 --> Processing Dependency: libcap-ng.so.0()(64bit) for package: audit-libs-2.8.1-3.amzn2.1.x86_64
#79 8.685 ---> Package libsemanage.x86_64 0:2.5-11.amzn2 will be installed
#79 8.690 --> Processing Dependency: libustr-1.0.so.1(USTR_1.0.1)(64bit) for package: libsemanage-2.5-11.amzn2.x86_64
#79 8.692 --> Processing Dependency: libustr-1.0.so.1(USTR_1.0)(64bit) for package: libsemanage-2.5-11.amzn2.x86_64
#79 8.692 --> Processing Dependency: libustr-1.0.so.1()(64bit) for package: libsemanage-2.5-11.amzn2.x86_64
#79 8.692 --> Running transaction check
#79 8.693 ---> Package libcap-ng.x86_64 0:0.7.5-4.amzn2.0.4 will be installed
#79 8.696 ---> Package ustr.x86_64 0:1.0.4-16.amzn2.0.3 will be installed
#79 8.759 --> Finished Dependency Resolution
#79 8.811
#79 8.811 Dependencies Resolved
#79 8.813
#79 8.813 ================================================================================
#79 8.813 Package Arch Version Repository Size
#79 8.813 ================================================================================
#79 8.813 Installing:
#79 8.813 shadow-utils x86_64 2:4.1.5.1-24.amzn2.0.2 amzn2-core 1.1 M
#79 8.813 Installing for dependencies:
#79 8.813 audit-libs x86_64 2.8.1-3.amzn2.1 amzn2-core 99 k
#79 8.813 libcap-ng x86_64 0.7.5-4.amzn2.0.4 amzn2-core 25 k
#79 8.813 libsemanage x86_64 2.5-11.amzn2 amzn2-core 152 k
#79 8.813 ustr x86_64 1.0.4-16.amzn2.0.3 amzn2-core 96 k
#79 8.813
#79 8.813 Transaction Summary
#79 8.813 ================================================================================
#79 8.813 Install 1 Package (+4 Dependent packages)
#79 8.813
#79 8.814 Total download size: 1.5 M
#79 8.814 Installed size: 4.2 M
#79 8.815 Downloading packages:
#79 9.620 --------------------------------------------------------------------------------
#79 9.620 Total 1.8 MB/s | 1.5 MB 00:00
#79 9.626 Running transaction check
#79 9.630 Running transaction test
#79 9.639 Transaction test succeeded
#79 9.640 Running transaction
#79 9.690 Installing : libcap-ng-0.7.5-4.amzn2.0.4.x86_64 1/5
#79 9.747 Installing : audit-libs-2.8.1-3.amzn2.1.x86_64 2/5
#79 9.798 Installing : ustr-1.0.4-16.amzn2.0.3.x86_64 3/5
#79 9.855 Installing : libsemanage-2.5-11.amzn2.x86_64 4/5
#79 ...
#80 [linux/arm64 stage-1 2/11] RUN yum -y update && yum -y install shadow-utils && yum clean all && rm -rf /usr/local/tomcat/webapps/*
#0 1.664 Loaded plugins: ovl, priorities
#80 ...
#79 [linux/amd64 stage-1 2/11] RUN yum -y update && yum -y install shadow-utils && yum clean all && rm -rf /usr/local/tomcat/webapps/*
#79 9.855 Installing : libsemanage-2.5-11.amzn2.x86_64 4/5
#79 10.03 Installing : 2:shadow-utils-4.1.5.1-24.amzn2.0.2.x86_64 5/5
#79 10.09 Verifying : audit-libs-2.8.1-3.amzn2.1.x86_64 1/5
#79 10.11 Verifying : ustr-1.0.4-16.amzn2.0.3.x86_64 2/5
#79 10.13 Verifying : libsemanage-2.5-11.amzn2.x86_64 3/5
#79 10.15 Verifying : 2:shadow-utils-4.1.5.1-24.amzn2.0.2.x86_64 4/5
#79 10.17 Verifying : libcap-ng-0.7.5-4.amzn2.0.4.x86_64 5/5
#79 10.23
#79 10.23 Installed:
#79 10.23 shadow-utils.x86_64 2:4.1.5.1-24.amzn2.0.2
#79 10.23
#79 10.23 Dependency Installed:
#79 10.23 audit-libs.x86_64 0:2.8.1-3.amzn2.1 libcap-ng.x86_64 0:0.7.5-4.amzn2.0.4
#79 10.23 libsemanage.x86_64 0:2.5-11.amzn2 ustr.x86_64 0:1.0.4-16.amzn2.0.3
#79 10.23
#79 10.23 Complete!
#79 10.35 Loaded plugins: ovl, priorities
#79 10.36 Cleaning repos: AmazonCorretto amzn2-core
#79 10.36 Cleaning up everything
#79 10.36 Maybe you want: rm -rf /var/cache/yum, to also free up space taken by orphaned data from disabled or removed repos
#79 DONE 10.5s
#81 [linux/amd64 stage-1 3/11] RUN if [ "amd64" = "arm64" ] ; then TINI_URL="https://github.com/krallin/tini/releases/download/v0.19.0/tini-arm64" TINI_SHA=07952557df20bfd2a95f9bef198b445e006171969499a1d361bd9e6f8e5e0e81 ; fi && curl -fsSL -o /usr/bin/tini https://github.com/krallin/tini/releases/download/v0.19.0/tini && echo "93dcc18adc78c65a028a84799ecf8ad40c936fdfc5f2a57b1acda5a8117fa82c /usr/bin/tini" | sha256sum -c && chmod +rx /usr/bin/tini
#81 0.870 /usr/bin/tini: OK
#81 DONE 1.0s
#80 [linux/arm64 stage-1 2/11] RUN yum -y update && yum -y install shadow-utils && yum clean all && rm -rf /usr/local/tomcat/webapps/*
#80 ...
#82 [linux/amd64 stage-1 4/11] RUN useradd -m -d /openmrs/home -u 1001 openmrs
#82 0.167 useradd: cannot create directory /openmrs/home
#82 ERROR: process "/bin/sh -c useradd -m -d /openmrs/home -u 1001 openmrs" did not complete successfully: exit code: 12
#80 [linux/arm64 stage-1 2/11] RUN yum -y update && yum -y install shadow-utils && yum clean all && rm -rf /usr/local/tomcat/webapps/*
#80 CANCELED
------
> [linux/amd64 stage-1 4/11] RUN useradd -m -d /openmrs/home -u 1001 openmrs:
#82 0.167 useradd: cannot create directory /openmrs/home
------
Dockerfile:115
--------------------
113 | && chmod +rx /usr/bin/tini
114 |
115 | >>> RUN useradd -m -d /openmrs/home -u 1001 openmrs
116 |
117 | RUN sed -i '/Connector port="8080"/a URIEncoding="UTF-8" relaxedPathChars="[]|" relaxedQueryChars="[]|{}^\`"<>"' \
--------------------
error: failed to solve: process "/bin/sh -c useradd -m -d /openmrs/home -u 1001 openmrs" did not complete successfully: exit code: 12
#79 8.676 --> Processing Dependency: libsemanage.so.1()(64bit) for package: 2:shadow-utils-4.1.5.1-24.amzn2.0.2.x86_64
#79 8.677 --> Processing Dependency: libaudit.so.1()(64bit) for package: 2:shadow-utils-4.1.5.1-24.amzn2.0.2.x86_64
#79 8.677 --> Running transaction check
#79 8.678 ---> Package audit-libs.x86_64 0:2.8.1-3.amzn2.1 will be installed
#79 8.682 --> Processing Dependency: libcap-ng.so.0()(64bit) for package: audit-libs-2.8.1-3.amzn2.1.x86_64
#79 8.685 ---> Package libsemanage.x86_64 0:2.5-11.amzn2 will be installed
#79 8.690 --> Processing Dependency: libustr-1.0.so.1(USTR_1.0.1)(64bit) for package: libsemanage-2.5-11.amzn2.x86_64
#79 8.692 --> Processing Dependency: libustr-1.0.so.1(USTR_1.0)(64bit) for package: libsemanage-2.5-11.amzn2.x86_64
#79 8.692 --> Processing Dependency: libustr-1.0.so.1()(64bit) for package: libsemanage-2.5-11.amzn2.x86_64
#79 8.692 --> Running transaction check
#79 8.693 ---> Package libcap-ng.x86_64 0:0.7.5-4.amzn2.0.4 will be installed
#79 8.696 ---> Package ustr.x86_64 0:1.0.4-16.amzn2.0.3 will be installed
#79 8.759 --> Finished Dependency Resolution
#79 8.811
#79 8.811 Dependencies Resolved
#79 8.813
#79 8.813 ================================================================================
#79 8.813 Package Arch Version Repository Size
#79 8.813 ================================================================================
#79 8.813 Installing:
#79 8.813 shadow-utils x86_64 2:4.1.5.1-24.amzn2.0.2 amzn2-core 1.1 M
#79 8.813 Installing for dependencies:
#79 8.813 audit-libs x86_64 2.8.1-3.amzn2.1 amzn2-core 99 k
#79 8.813 libcap-ng x86_64 0.7.5-4.amzn2.0.4 amzn2-core 25 k
#79 8.813 libsemanage x86_64 2.5-11.amzn2 amzn2-core 152 k
#79 8.813 ustr x86_64 1.0.4-16.amzn2.0.3 amzn2-core 96 k
#79 8.813
#79 8.813 Transaction Summary
#79 8.813 ================================================================================
#79 8.813 Install 1 Package (+4 Dependent packages)
#79 8.813
#79 8.814 Total download size: 1.5 M
#79 8.814 Installed size: 4.2 M
#79 8.815 Downloading packages:
#79 9.620 --------------------------------------------------------------------------------
#79 9.620 Total 1.8 MB/s | 1.5 MB 00:00
#79 9.626 Running transaction check
#79 9.630 Running transaction test
#79 9.639 Transaction test succeeded
#79 9.640 Running transaction
#79 9.690 Installing : libcap-ng-0.7.5-4.amzn2.0.4.x86_64 1/5
#79 9.747 Installing : audit-libs-2.8.1-3.amzn2.1.x86_64 2/5
#79 9.798 Installing : ustr-1.0.4-16.amzn2.0.3.x86_64 3/5
#79 9.855 Installing : libsemanage-2.5-11.amzn2.x86_64 4/5
#79 ...
#80 [linux/arm64 stage-1 2/11] RUN yum -y update && yum -y install shadow-utils && yum clean all && rm -rf /usr/local/tomcat/webapps/*
#0 1.664 Loaded plugins: ovl, priorities
#80 ...
#79 [linux/amd64 stage-1 2/11] RUN yum -y update && yum -y install shadow-utils && yum clean all && rm -rf /usr/local/tomcat/webapps/*
#79 9.855 Installing : libsemanage-2.5-11.amzn2.x86_64 4/5
#79 10.03 Installing : 2:shadow-utils-4.1.5.1-24.amzn2.0.2.x86_64 5/5
#79 10.09 Verifying : audit-libs-2.8.1-3.amzn2.1.x86_64 1/5
#79 10.11 Verifying : ustr-1.0.4-16.amzn2.0.3.x86_64 2/5
#79 10.13 Verifying : libsemanage-2.5-11.amzn2.x86_64 3/5
#79 10.15 Verifying : 2:shadow-utils-4.1.5.1-24.amzn2.0.2.x86_64 4/5
#79 10.17 Verifying : libcap-ng-0.7.5-4.amzn2.0.4.x86_64 5/5
#79 10.23
#79 10.23 Installed:
#79 10.23 shadow-utils.x86_64 2:4.1.5.1-24.amzn2.0.2
#79 10.23
#79 10.23 Dependency Installed:
#79 10.23 audit-libs.x86_64 0:2.8.1-3.amzn2.1 libcap-ng.x86_64 0:0.7.5-4.amzn2.0.4
#79 10.23 libsemanage.x86_64 0:2.5-11.amzn2 ustr.x86_64 0:1.0.4-16.amzn2.0.3
#79 10.23
#79 10.23 Complete!
#79 10.35 Loaded plugins: ovl, priorities
#79 10.36 Cleaning repos: AmazonCorretto amzn2-core
#79 10.36 Cleaning up everything
#79 10.36 Maybe you want: rm -rf /var/cache/yum, to also free up space taken by orphaned data from disabled or removed repos
#79 DONE 10.5s
#81 [linux/amd64 stage-1 3/11] RUN if [ "amd64" = "arm64" ] ; then TINI_URL="https://github.com/krallin/tini/releases/download/v0.19.0/tini-arm64" TINI_SHA=07952557df20bfd2a95f9bef198b445e006171969499a1d361bd9e6f8e5e0e81 ; fi && curl -fsSL -o /usr/bin/tini https://github.com/krallin/tini/releases/download/v0.19.0/tini && echo "93dcc18adc78c65a028a84799ecf8ad40c936fdfc5f2a57b1acda5a8117fa82c /usr/bin/tini" | sha256sum -c && chmod +rx /usr/bin/tini
#81 0.870 /usr/bin/tini: OK
#81 DONE 1.0s
#80 [linux/arm64 stage-1 2/11] RUN yum -y update && yum -y install shadow-utils && yum clean all && rm -rf /usr/local/tomcat/webapps/*
#80 ...
#82 [linux/amd64 stage-1 4/11] RUN useradd -m -d /openmrs/home -u 1001 openmrs
#82 0.167 useradd: cannot create directory /openmrs/home
#82 ERROR: process "/bin/sh -c useradd -m -d /openmrs/home -u 1001 openmrs" did not complete successfully: exit code: 12
#80 [linux/arm64 stage-1 2/11] RUN yum -y update && yum -y install shadow-utils && yum clean all && rm -rf /usr/local/tomcat/webapps/*
#80 CANCELED
------
> [linux/amd64 stage-1 4/11] RUN useradd -m -d /openmrs/home -u 1001 openmrs:
#82 0.167 useradd: cannot create directory /openmrs/home
------
Dockerfile:115
--------------------
113 | && chmod +rx /usr/bin/tini
114 |
115 | >>> RUN useradd -m -d /openmrs/home -u 1001 openmrs
116 |
117 | RUN sed -i '/Connector port="8080"/a URIEncoding="UTF-8" relaxedPathChars="[]|" relaxedQueryChars="[]|{}^\`"<>"' \
--------------------
error: failed to solve: process "/bin/sh -c useradd -m -d /openmrs/home -u 1001 openmrs" did not complete successfully: exit code: 12