Build: #73 was successful
Job: Build Postfix was successful
Build log
The build generated 221 lines of output. Download or view full build log.
24-Nov-2023 14:57:25 | Build ITSM - OpenMRS ID - Build Postfix #73 (II-ID-BP-73) started building on agent yu.openmrs.org (3), bamboo version: 8.2.4 |
24-Nov-2023 14:57:25 | Remote agent on host yu.openmrs.org |
24-Nov-2023 14:57:25 | Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/II-ID-BP |
24-Nov-2023 14:57:25 | Executing build ITSM - OpenMRS ID - Build Postfix #73 (II-ID-BP-73) |
24-Nov-2023 14:57:25 | Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout' |
24-Nov-2023 14:57:25 | Checking out into /home/bamboo-agent/bamboo-agent/xml-data/build-dir/II-ID-BP |
24-Nov-2023 14:57:25 | Updating source code to revision: d367e26e6c16ef180a587f535438c3ec5c80528c |
24-Nov-2023 14:57:26 | Fetching 'refs/heads/main' from 'https://github.com/openmrs/openmrs-contrib-itsm-id.git'. |
24-Nov-2023 14:57:26 | From https://github.com/openmrs/openmrs-contrib-itsm-id |
24-Nov-2023 14:57:26 | 0b03790..d367e26 main -> main |
24-Nov-2023 14:57:26 | Checking out revision d367e26e6c16ef180a587f535438c3ec5c80528c. |
24-Nov-2023 14:57:26 | Creating local git repository in '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/II-ID-BP/.git'. |
24-Nov-2023 14:57:26 | Cloning into '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/II-ID-BP'... |
24-Nov-2023 14:57:26 | done. |
24-Nov-2023 14:57:26 | Switched to a new branch 'main' |
24-Nov-2023 14:57:26 | Branch 'main' set up to track remote branch 'main' from 'origin'. |
24-Nov-2023 14:57:26 | Updated source code to revision: d367e26e6c16ef180a587f535438c3ec5c80528c |
24-Nov-2023 14:57:26 | Finished task 'Checkout Default Repository' with result: Success |
24-Nov-2023 14:57:26 | Running pre-build action: Build Log Labeller Pre Build Action |
24-Nov-2023 14:57:26 | Running pre-build action: VCS Version Collector |
24-Nov-2023 14:57:26 | Running pre-build action: Run Predator |
24-Nov-2023 14:57:26 | [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner |
24-Nov-2023 14:57:26 | [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh |
24-Nov-2023 14:57:26 | [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]' |
24-Nov-2023 14:57:32 | [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0 |
24-Nov-2023 14:57:32 | [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 26119 java 1556 bamboo-age 2944Mb 406Mb 00:00:14 /usr/lib/jvm/java-8-ope |
24-Nov-2023 14:57:32 | [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1556 wrapper 1 bamboo-age 16Mb 3Mb 00:07:28 /home/bamboo-agent/bamb |
24-Nov-2023 14:57:32 | [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1 systemd 0 root 164Mb 11Mb 00:00:58 /sbin/init |
24-Nov-2023 14:57:32 | [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm) |
24-Nov-2023 14:57:32 | [PredatorPreBuildAction] Initial free space: 5.92902 GB |
24-Nov-2023 14:57:32 | [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/CSM-CSM0-JOB1 |
24-Nov-2023 14:57:33 | [PredatorPreBuildAction] Deleting 24 snapshot folders from /home/bamboo-agent/.m2/repository |
24-Nov-2023 14:57:33 | [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB |
24-Nov-2023 14:57:33 | [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator |
24-Nov-2023 14:57:33 | [PredatorPreBuildAction] Maven stable disk freed: 0.8298877 GB, deleted 559 files |
24-Nov-2023 14:57:33 | [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist. |
24-Nov-2023 14:57:33 | [PredatorPreBuildAction] File /home/bamboo-agent/.docker/config.json does not exist. |
24-Nov-2023 14:57:33 | [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist. |
24-Nov-2023 14:57:33 | [PredatorPreBuildAction] Final free space: 5.9685555 GB |
24-Nov-2023 14:57:33 | [PredatorPreBuildAction] Done |
24-Nov-2023 14:57:33 | Substituting variable: ${bamboo.planRepository.revision} with d367e26e6c16ef180a587f535438c3ec5c80528c |
24-Nov-2023 14:57:33 | Substituting variable: ${bamboo.image.postfix} with openmrsinfra/openmrs-id-postfix |
24-Nov-2023 14:57:33 | Substituting variable: ${bamboo.image.postfix.version} with 3.6 |
24-Nov-2023 14:57:33 | Substituting variable: ${bamboo.dockerhub.username} with openmrsci |
24-Nov-2023 14:57:33 | Substituting password variable: ${bamboo.dockerhub.password} |
24-Nov-2023 14:57:33 | Starting task 'Build and push postfix image to Docker hub' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' |
24-Nov-2023 14:57:33 | Beginning to execute external process for build 'ITSM - OpenMRS ID - Build Postfix #73 (II-ID-BP-73)' ... running command line: /home/bamboo-agent/bamboo-agent/temp/II-ID-BP-73-ScriptBuildTask-8929253254627878882.sh ... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/II-ID-BP |
24-Nov-2023 14:57:33 | + [[ ehuB != ehuxB ]] |
24-Nov-2023 14:57:33 | + echo 'Start of Lmod init/bash script to define the module command' |
24-Nov-2023 14:57:33 | Start of Lmod init/bash script to define the module command |
24-Nov-2023 14:57:33 | + LMOD_PKG=/usr/share/lmod/lmod |
24-Nov-2023 14:57:33 | + LMOD_DIR=/usr/share/lmod/lmod/libexec |
24-Nov-2023 14:57:33 | + LMOD_CMD=/usr/share/lmod/lmod/libexec/lmod |
24-Nov-2023 14:57:33 | + MODULESHOME=/usr/share/lmod/lmod |
24-Nov-2023 14:57:33 | + export LMOD_PKG |
24-Nov-2023 14:57:33 | + export LMOD_CMD |
24-Nov-2023 14:57:33 | + export LMOD_DIR |
24-Nov-2023 14:57:33 | + export MODULESHOME |
24-Nov-2023 14:57:33 | + LMOD_VERSION=6.6 |
24-Nov-2023 14:57:33 | + export LMOD_VERSION |
24-Nov-2023 14:57:33 | + '[' : '!=' : ']' |
24-Nov-2023 14:57:33 | + unalias ml |
24-Nov-2023 14:57:33 | + true |
24-Nov-2023 14:57:33 | ++ /usr/bin/tr '[:upper:]' '[:lower:]' |
24-Nov-2023 14:57:33 | ++ echo YES |
24-Nov-2023 14:57:33 | End of Lmod init/bash script to define the module command |
24-Nov-2023 14:57:33 | + export_module=yes |
24-Nov-2023 14:57:33 | + '[' -n '5.1.16(1)-release' -a yes '!=' no ']' |
24-Nov-2023 14:57:33 | + export -f module |
24-Nov-2023 14:57:33 | + export -f ml |
24-Nov-2023 14:57:33 | + unset export_module |
24-Nov-2023 14:57:33 | + '[' -n '' ']' |
24-Nov-2023 14:57:33 | + '[' 5 -ge 3 ']' |
24-Nov-2023 14:57:33 | + '[' -r /usr/share/lmod/lmod/init/lmod_bash_completions ']' |
24-Nov-2023 14:57:33 | + '[' -n '' ']' |
24-Nov-2023 14:57:33 | + [[ ehuB != ehuxB ]] |
24-Nov-2023 14:57:33 | + echo 'End of Lmod init/bash script to define the module command' |
24-Nov-2023 14:57:33 | ++ awk '{print substr($0, 1, 7)}' |
24-Nov-2023 14:57:33 | ++ echo d367e26e6c16ef180a587f535438c3ec5c80528c |
24-Nov-2023 14:57:33 | + export GIT_SHA=d367e26 |
24-Nov-2023 14:57:33 | + GIT_SHA=d367e26 |
24-Nov-2023 14:57:33 | + export IMAGE=openmrsinfra/openmrs-id-postfix |
24-Nov-2023 14:57:33 | + IMAGE=openmrsinfra/openmrs-id-postfix |
24-Nov-2023 14:57:33 | + export IMAGE_VERSION=3.6-d367e26 |
24-Nov-2023 14:57:33 | + IMAGE_VERSION=3.6-d367e26 |
24-Nov-2023 14:57:33 | + docker login -u openmrsci -p ******** |
24-Nov-2023 14:57:33 | WARNING! Using --password via the CLI is insecure. Use --password-stdin. |
24-Nov-2023 14:57:33 | WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json. |
24-Nov-2023 14:57:33 | Configure a credential helper to remove this warning. See |
24-Nov-2023 14:57:33 | https://docs.docker.com/engine/reference/commandline/login/#credentials-store |
24-Nov-2023 14:57:33 | |
24-Nov-2023 14:57:33 | Login Succeeded |
24-Nov-2023 14:57:33 | + docker build --build-arg SMTP_SERVER=mail.jayasanka.me --build-arg SMTP_PORT=587 --build-arg SMTP_USERNAME=username --build-arg SMTP_PASSWORD=password --build-arg LDAP_BIND_PASSWORD=pass -t openmrsinfra/openmrs-id-postfix:nightly -t openmrsinfra/openmrs-id-postfix:3.6-d367e26 postfix/ |
24-Nov-2023 14:57:33 | Sending build context to Docker daemon 9.728kB |
24-Nov-2023 14:57:33 | |
24-Nov-2023 14:57:34 | Step 1/8 : FROM alpine:3.18 |
24-Nov-2023 14:57:34 | 3.18: Pulling from library/alpine |
24-Nov-2023 14:57:34 | 96526aa774ef: Already exists |
24-Nov-2023 14:57:34 | Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 |
24-Nov-2023 14:57:34 | Status: Downloaded newer image for alpine:3.18 |
24-Nov-2023 14:57:34 | ---> 8ca4688f4f35 |
24-Nov-2023 14:57:34 | Step 2/8 : RUN apk update && apk add postfix postfix-ldap envsubst cyrus-sasl && apk cache clean |
24-Nov-2023 14:57:34 | ---> Running in 1bd6fafc1419 |
24-Nov-2023 14:57:35 | fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz |
24-Nov-2023 14:57:35 | fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz |
24-Nov-2023 14:57:35 | v3.18.4-239-gcdb9428c46f [https://dl-cdn.alpinelinux.org/alpine/v3.18/main] |
24-Nov-2023 14:57:35 | v3.18.4-246-gf5f00e753b3 [https://dl-cdn.alpinelinux.org/alpine/v3.18/community] |
24-Nov-2023 14:57:35 | OK: 20076 distinct packages available |
24-Nov-2023 14:57:36 | (1/20) Installing gdbm (1.23-r1) |
24-Nov-2023 14:57:36 | (2/20) Installing krb5-conf (1.0-r2) |
24-Nov-2023 14:57:36 | (3/20) Installing libcom_err (1.47.0-r2) |
24-Nov-2023 14:57:36 | (4/20) Installing ncurses-terminfo-base (6.4_p20230506-r0) |
24-Nov-2023 14:57:36 | (5/20) Installing libncursesw (6.4_p20230506-r0) |
24-Nov-2023 14:57:36 | (6/20) Installing readline (8.2.1-r1) |
24-Nov-2023 14:57:36 | (7/20) Installing sqlite-libs (3.41.2-r2) |
24-Nov-2023 14:57:36 | (8/20) Installing heimdal-libs (7.8.0-r3) |
24-Nov-2023 14:57:36 | (9/20) Installing libsasl (2.1.28-r4) |
24-Nov-2023 14:57:36 | (10/20) Installing cyrus-sasl (2.1.28-r4) |
24-Nov-2023 14:57:36 | (11/20) Installing libintl (0.21.1-r7) |
24-Nov-2023 14:57:36 | (12/20) Installing gettext-envsubst (0.21.1-r7) |
24-Nov-2023 14:57:36 | (13/20) Installing icu-data-en (73.2-r2) |
24-Nov-2023 14:57:36 | Executing icu-data-en-73.2-r2.post-install |
24-Nov-2023 14:57:36 | * |
24-Nov-2023 14:57:36 | * If you need ICU with non-English locales and legacy charset support, install |
24-Nov-2023 14:57:36 | * package icu-data-full. |
24-Nov-2023 14:57:36 | * |
24-Nov-2023 14:57:36 | (14/20) Installing libgcc (12.2.1_git20220924-r10) |
24-Nov-2023 14:57:36 | (15/20) Installing libstdc++ (12.2.1_git20220924-r10) |
24-Nov-2023 14:57:36 | (16/20) Installing icu-libs (73.2-r2) |
24-Nov-2023 14:57:36 | (17/20) Installing lmdb (0.9.31-r0) |
24-Nov-2023 14:57:36 | (18/20) Installing postfix (3.8.3-r0) |
24-Nov-2023 14:57:36 | Executing postfix-3.8.3-r0.pre-install |
24-Nov-2023 14:57:36 | (19/20) Installing libldap (2.6.5-r0) |
24-Nov-2023 14:57:36 | (20/20) Installing postfix-ldap (3.8.3-r0) |
24-Nov-2023 14:57:36 | Executing busybox-1.36.1-r2.trigger |
24-Nov-2023 14:57:36 | OK: 25 MiB in 35 packages |
24-Nov-2023 14:57:37 | Removing intermediate container 1bd6fafc1419 |
24-Nov-2023 14:57:37 | ---> cc38a57dbfcf |
24-Nov-2023 14:57:37 | Step 3/8 : COPY ./config /etc/postfix |
24-Nov-2023 14:57:37 | ---> 36b2a49494ad |
24-Nov-2023 14:57:37 | Step 4/8 : RUN chmod 644 /etc/postfix/clients.cidr /etc/postfix/ldap-aliases.cf.tmpl /etc/postfix/main.cf.tmpl |
24-Nov-2023 14:57:37 | ---> Running in 1a6765e02f2c |
24-Nov-2023 14:57:38 | Removing intermediate container 1a6765e02f2c |
24-Nov-2023 14:57:38 | ---> 1f87ef00c785 |
24-Nov-2023 14:57:38 | Step 5/8 : COPY ./startup.sh /usr/local/bin/ |
24-Nov-2023 14:57:38 | ---> 797ab92aa02c |
24-Nov-2023 14:57:38 | Step 6/8 : RUN chmod +x /usr/local/bin/startup.sh |
24-Nov-2023 14:57:38 | ---> Running in fe5983065bb2 |
24-Nov-2023 14:57:38 | Removing intermediate container fe5983065bb2 |
24-Nov-2023 14:57:38 | ---> 29a6927ea593 |
24-Nov-2023 14:57:38 | Step 7/8 : EXPOSE 25 |
24-Nov-2023 14:57:38 | ---> Running in 7aae5c0cf11c |
24-Nov-2023 14:57:38 | Removing intermediate container 7aae5c0cf11c |
24-Nov-2023 14:57:38 | ---> d06b01bd2a68 |
24-Nov-2023 14:57:38 | Step 8/8 : ENTRYPOINT ["/usr/local/bin/startup.sh"] |
24-Nov-2023 14:57:38 | ---> Running in 051a2d7f836e |
24-Nov-2023 14:57:38 | Removing intermediate container 051a2d7f836e |
24-Nov-2023 14:57:38 | ---> 1fbac62d1faa |
24-Nov-2023 14:57:38 | [Warning] One or more build-args [LDAP_BIND_PASSWORD SMTP_PASSWORD SMTP_PORT SMTP_SERVER SMTP_USERNAME] were not consumed |
24-Nov-2023 14:57:38 | Successfully built 1fbac62d1faa |
24-Nov-2023 14:57:38 | Successfully tagged openmrsinfra/openmrs-id-postfix:nightly |
24-Nov-2023 14:57:39 | Successfully tagged openmrsinfra/openmrs-id-postfix:3.6-d367e26 |
24-Nov-2023 14:57:39 | + docker push openmrsinfra/openmrs-id-postfix:nightly |
24-Nov-2023 14:57:39 | The push refers to repository [docker.io/openmrsinfra/openmrs-id-postfix] |
24-Nov-2023 14:57:39 | 7ea367593e32: Preparing |
24-Nov-2023 14:57:39 | efd9dfc5fa11: Preparing |
24-Nov-2023 14:57:39 | db69eee4cd4e: Preparing |
24-Nov-2023 14:57:39 | 23ed494cf36a: Preparing |
24-Nov-2023 14:57:39 | cb54c96f28c6: Preparing |
24-Nov-2023 14:57:39 | cc2447e1835a: Preparing |
24-Nov-2023 14:57:39 | cc2447e1835a: Waiting |
24-Nov-2023 14:57:40 | db69eee4cd4e: Pushed |
24-Nov-2023 14:57:40 | 23ed494cf36a: Pushed |
24-Nov-2023 14:57:40 | efd9dfc5fa11: Pushed |
24-Nov-2023 14:57:40 | cc2447e1835a: Layer already exists |
24-Nov-2023 14:57:40 | 7ea367593e32: Pushed |
24-Nov-2023 14:57:41 | cb54c96f28c6: Pushed |
24-Nov-2023 14:57:43 | nightly: digest: sha256:12bd1c1874ed9336576dd6dca42ed2d0123fe861b64c2cd3fb981eb29e54183f size: 1569 |
24-Nov-2023 14:57:43 | + docker push openmrsinfra/openmrs-id-postfix:3.6-d367e26 |
24-Nov-2023 14:57:43 | The push refers to repository [docker.io/openmrsinfra/openmrs-id-postfix] |
24-Nov-2023 14:57:43 | 7ea367593e32: Preparing |
24-Nov-2023 14:57:43 | efd9dfc5fa11: Preparing |
24-Nov-2023 14:57:43 | db69eee4cd4e: Preparing |
24-Nov-2023 14:57:43 | 23ed494cf36a: Preparing |
24-Nov-2023 14:57:43 | cb54c96f28c6: Preparing |
24-Nov-2023 14:57:43 | cc2447e1835a: Preparing |
24-Nov-2023 14:57:43 | cc2447e1835a: Waiting |
24-Nov-2023 14:57:44 | db69eee4cd4e: Layer already exists |
24-Nov-2023 14:57:44 | 7ea367593e32: Layer already exists |
24-Nov-2023 14:57:44 | efd9dfc5fa11: Layer already exists |
24-Nov-2023 14:57:44 | cb54c96f28c6: Layer already exists |
24-Nov-2023 14:57:44 | 23ed494cf36a: Layer already exists |
24-Nov-2023 14:57:44 | cc2447e1835a: Layer already exists |
24-Nov-2023 14:57:44 | 3.6-d367e26: digest: sha256:12bd1c1874ed9336576dd6dca42ed2d0123fe861b64c2cd3fb981eb29e54183f size: 1569 |
24-Nov-2023 14:57:44 | + echo 'Inspecting image for id' |
24-Nov-2023 14:57:44 | + docker image inspect '--format={{index .RepoDigests 0}}' openmrsinfra/openmrs-id-postfix:3.6-d367e26 |
24-Nov-2023 14:57:44 | Inspecting image for id |
24-Nov-2023 14:57:44 | Finished task 'Build and push postfix image to Docker hub' with result: Success |
24-Nov-2023 14:57:44 | Starting task 'Read variables' of type 'com.atlassian.bamboo.plugins.variable.updater.variable-updater-generic:variable-file-reader' |
24-Nov-2023 14:57:44 | Variable wasn't found in the Build context. It possibly doesn't exist. |
24-Nov-2023 14:57:44 | Changing variable docker.image.postfix.id of type RESULT from null to openmrsinfra/openmrs-id-postfix@sha256:12bd1c1874ed9336576dd6dca42ed2d0123fe861b64c2cd3fb981eb29e54183f |
24-Nov-2023 14:57:44 | Finished task 'Read variables' with result: Success |
24-Nov-2023 14:57:44 | Running post build plugin 'Docker Container Cleanup' |
24-Nov-2023 14:57:44 | Running post build plugin 'NCover Results Collector' |
24-Nov-2023 14:57:44 | Running post build plugin 'Build Results Label Collector' |
24-Nov-2023 14:57:44 | Running post build plugin 'Clover Results Collector' |
24-Nov-2023 14:57:44 | Running post build plugin 'npm Cache Cleanup' |
24-Nov-2023 14:57:44 | Running post build plugin 'Artifact Copier' |
24-Nov-2023 14:57:44 | Finalising the build... |
24-Nov-2023 14:57:44 | Stopping timer. |
24-Nov-2023 14:57:44 | Build II-ID-BP-73 completed. |
24-Nov-2023 14:57:44 | Running on server: post build plugin 'Build Hanging Detection Configuration' |
24-Nov-2023 14:57:44 | Running on server: post build plugin 'NCover Results Collector' |
24-Nov-2023 14:57:44 | Running on server: post build plugin 'Build Labeller' |
24-Nov-2023 14:57:44 | Running on server: post build plugin 'Clover Delta Calculator' |
24-Nov-2023 14:57:44 | Running on server: post build plugin 'Maven Dependencies Postprocessor' |
24-Nov-2023 14:57:44 | All post build plugins have finished |
24-Nov-2023 14:57:44 | Generating build results summary... |
24-Nov-2023 14:57:44 | Saving build results to disk... |
24-Nov-2023 14:57:44 | Store variable context... |
24-Nov-2023 14:57:44 | Finished building II-ID-BP-73. |