Build: #74 was successful

Job: Build Postfix was successful

Stages & jobs

  1. Build

Build log

The build generated 224 lines of output. Download or view full build log.

08-Aug-2024 11:05:48 Build ITSM - OpenMRS ID - Build Postfix #74 (II-ID-BP-74) started building on agent yu.openmrs.org (3), bamboo version: 8.2.4
08-Aug-2024 11:05:48 Remote agent on host yu.openmrs.org
08-Aug-2024 11:05:49 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/II-ID-BP
08-Aug-2024 11:05:49 Executing build ITSM - OpenMRS ID - Build Postfix #74 (II-ID-BP-74)
08-Aug-2024 11:05:49 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
08-Aug-2024 11:05:49 Checking out into /home/bamboo-agent/bamboo-agent/xml-data/build-dir/II-ID-BP
08-Aug-2024 11:05:49 Updating source code to revision: ffdba691c9e1b0f180443cae2bda263020b2ed61
08-Aug-2024 11:05:49 Fetching 'refs/heads/main' from 'https://github.com/openmrs/openmrs-contrib-itsm-id.git'.
08-Aug-2024 11:05:49 From https://github.com/openmrs/openmrs-contrib-itsm-id
08-Aug-2024 11:05:49    d367e26..ffdba69  main       -> main
08-Aug-2024 11:05:49 Checking out revision ffdba691c9e1b0f180443cae2bda263020b2ed61.
08-Aug-2024 11:05:49 Creating local git repository in '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/II-ID-BP/.git'.
08-Aug-2024 11:05:49 Cloning into '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/II-ID-BP'...
08-Aug-2024 11:05:49 done.
08-Aug-2024 11:05:49 Switched to a new branch 'main'
08-Aug-2024 11:05:49 Branch 'main' set up to track remote branch 'main' from 'origin'.
08-Aug-2024 11:05:49 Updated source code to revision: ffdba691c9e1b0f180443cae2bda263020b2ed61
08-Aug-2024 11:05:49 Finished task 'Checkout Default Repository' with result: Success
08-Aug-2024 11:05:49 Running pre-build action: Build Log Labeller Pre Build Action
08-Aug-2024 11:05:49 Running pre-build action: VCS Version Collector
08-Aug-2024 11:05:49 Running pre-build action: Run Predator
08-Aug-2024 11:05:49 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
08-Aug-2024 11:05:49 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
08-Aug-2024 11:05:49 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
08-Aug-2024 11:05:49 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
08-Aug-2024 11:05:49 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  2997 java        1331 bamboo-age 2978Mb  557Mb 00:28:49 /usr/lib/jvm/java-8-ope
08-Aug-2024 11:05:49 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1331 wrapper        1 bamboo-age   16Mb    1Mb 00:06:59 /home/bamboo-agent/bamb
08-Aug-2024 11:05:49 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 00:00:45 /sbin/init             
08-Aug-2024 11:05:49 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
08-Aug-2024 11:05:49 [PredatorPreBuildAction] Initial free space: 3.9690475 GB
08-Aug-2024 11:05:49 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/O3-PFA-JOB1
08-Aug-2024 11:05:50 [PredatorPreBuildAction] Deleting 2 snapshot folders from /home/bamboo-agent/.m2/repository
08-Aug-2024 11:05:50 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
08-Aug-2024 11:05:50 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
08-Aug-2024 11:05:50 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
08-Aug-2024 11:05:50 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
08-Aug-2024 11:05:50 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
08-Aug-2024 11:05:50 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
08-Aug-2024 11:05:50 [PredatorPreBuildAction] Final free space: 3.9717293 GB
08-Aug-2024 11:05:50 [PredatorPreBuildAction] Done
08-Aug-2024 11:05:50
Substituting variable: ${bamboo.planRepository.revision} with ffdba691c9e1b0f180443cae2bda263020b2ed61
08-Aug-2024 11:05:50
Substituting variable: ${bamboo.image.postfix} with openmrsinfra/openmrs-id-postfix
08-Aug-2024 11:05:50
Substituting variable: ${bamboo.image.postfix.version} with 3.6
08-Aug-2024 11:05:50
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
08-Aug-2024 11:05:50
Substituting password variable: ${bamboo.dockerhub.password}
08-Aug-2024 11:05:50 Starting task 'Build and push postfix image to Docker hub' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
08-Aug-2024 11:05:51
Beginning to execute external process for build 'ITSM - OpenMRS ID - Build Postfix #74 (II-ID-BP-74)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/II-ID-BP-74-ScriptBuildTask-8529306690078364867.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/II-ID-BP
08-Aug-2024 11:05:51 + [[ ehuB != ehuxB ]]
08-Aug-2024 11:05:51 + echo 'Start of Lmod init/bash script to define the module command'
08-Aug-2024 11:05:51 Start of Lmod init/bash script to define the module command
08-Aug-2024 11:05:51 + LMOD_PKG=/usr/share/lmod/lmod
08-Aug-2024 11:05:51 + LMOD_DIR=/usr/share/lmod/lmod/libexec
08-Aug-2024 11:05:51 + LMOD_CMD=/usr/share/lmod/lmod/libexec/lmod
08-Aug-2024 11:05:51 + MODULESHOME=/usr/share/lmod/lmod
08-Aug-2024 11:05:51 + export LMOD_PKG
08-Aug-2024 11:05:51 + export LMOD_CMD
08-Aug-2024 11:05:51 + export LMOD_DIR
08-Aug-2024 11:05:51 + export MODULESHOME
08-Aug-2024 11:05:51 + LMOD_VERSION=6.6
08-Aug-2024 11:05:51 + export LMOD_VERSION
08-Aug-2024 11:05:51 + '[' : '!=' : ']'
08-Aug-2024 11:05:51 + unalias ml
08-Aug-2024 11:05:51 + true
08-Aug-2024 11:05:51 ++ echo YES
08-Aug-2024 11:05:51 ++ /usr/bin/tr '[:upper:]' '[:lower:]'
08-Aug-2024 11:05:51 + export_module=yes
08-Aug-2024 11:05:51 + '[' -n '5.1.16(1)-release' -a yes '!=' no ']'
08-Aug-2024 11:05:51 + export -f module
08-Aug-2024 11:05:51 + export -f ml
08-Aug-2024 11:05:51 + unset export_module
08-Aug-2024 11:05:51 + '[' -n '' ']'
08-Aug-2024 11:05:51 + '[' 5 -ge 3 ']'
08-Aug-2024 11:05:51 + '[' -r /usr/share/lmod/lmod/init/lmod_bash_completions ']'
08-Aug-2024 11:05:51 + '[' -n '' ']'
08-Aug-2024 11:05:51 + [[ ehuB != ehuxB ]]
08-Aug-2024 11:05:51 + echo 'End of Lmod init/bash script to define the module command'
08-Aug-2024 11:05:51 End of Lmod init/bash script to define the module command
08-Aug-2024 11:05:51 ++ echo ffdba691c9e1b0f180443cae2bda263020b2ed61
08-Aug-2024 11:05:51 ++ awk '{print substr($0, 1, 7)}'
08-Aug-2024 11:05:51 + export GIT_SHA=ffdba69
08-Aug-2024 11:05:51 + GIT_SHA=ffdba69
08-Aug-2024 11:05:51 + export IMAGE=openmrsinfra/openmrs-id-postfix
08-Aug-2024 11:05:51 + IMAGE=openmrsinfra/openmrs-id-postfix
08-Aug-2024 11:05:51 + export IMAGE_VERSION=3.6-ffdba69
08-Aug-2024 11:05:51 + IMAGE_VERSION=3.6-ffdba69
08-Aug-2024 11:05:51 + docker login -u openmrsci -p ********
08-Aug-2024 11:05:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
08-Aug-2024 11:05:51 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
08-Aug-2024 11:05:51 Configure a credential helper to remove this warning. See
08-Aug-2024 11:05:51 Login Succeeded
08-Aug-2024 11:05:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
08-Aug-2024 11:05:51
08-Aug-2024 11:05:51 + 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-ffdba69 postfix/
08-Aug-2024 11:05:51 Sending build context to Docker daemon  9.728kB
08-Aug-2024 11:05:51
08-Aug-2024 11:05:51 Step 1/8 : FROM alpine:3.18
08-Aug-2024 11:05:51 3.18: Pulling from library/alpine
08-Aug-2024 11:05:52 930bdd4d222e: Pulling fs layer
08-Aug-2024 11:05:52 930bdd4d222e: Verifying Checksum
08-Aug-2024 11:05:52 930bdd4d222e: Download complete
08-Aug-2024 11:05:52 930bdd4d222e: Pull complete
08-Aug-2024 11:05:52 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5
08-Aug-2024 11:05:52 Status: Downloaded newer image for alpine:3.18
08-Aug-2024 11:05:52 ---> 18f865063206
08-Aug-2024 11:05:52 Step 2/8 : RUN apk update && apk add postfix postfix-ldap envsubst cyrus-sasl && apk cache clean
08-Aug-2024 11:05:52 ---> Running in 1e2adf4a8227
08-Aug-2024 11:05:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz
08-Aug-2024 11:05:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz
08-Aug-2024 11:05:53 v3.18.8-34-g7a00b6058ed [https://dl-cdn.alpinelinux.org/alpine/v3.18/main]
08-Aug-2024 11:05:53 v3.18.8-34-g7a00b6058ed [https://dl-cdn.alpinelinux.org/alpine/v3.18/community]
08-Aug-2024 11:05:53 OK: 20070 distinct packages available
08-Aug-2024 11:05:53 (1/20) Installing gdbm (1.23-r1)
08-Aug-2024 11:05:53 (2/20) Installing krb5-conf (1.0-r2)
08-Aug-2024 11:05:53 (3/20) Installing libcom_err (1.47.0-r2)
08-Aug-2024 11:05:53 (4/20) Installing ncurses-terminfo-base (6.4_p20230506-r0)
08-Aug-2024 11:05:53 (5/20) Installing libncursesw (6.4_p20230506-r0)
08-Aug-2024 11:05:53 (6/20) Installing readline (8.2.1-r1)
08-Aug-2024 11:05:53 (7/20) Installing sqlite-libs (3.41.2-r3)
08-Aug-2024 11:05:53 (8/20) Installing heimdal-libs (7.8.0-r3)
08-Aug-2024 11:05:53 (9/20) Installing libsasl (2.1.28-r4)
08-Aug-2024 11:05:53 (10/20) Installing cyrus-sasl (2.1.28-r4)
08-Aug-2024 11:05:54 (11/20) Installing libintl (0.21.1-r7)
08-Aug-2024 11:05:54 (12/20) Installing gettext-envsubst (0.21.1-r7)
08-Aug-2024 11:05:54 (13/20) Installing icu-data-en (73.2-r2)
08-Aug-2024 11:05:54 Executing icu-data-en-73.2-r2.post-install
08-Aug-2024 11:05:54 *
08-Aug-2024 11:05:54 * If you need ICU with non-English locales and legacy charset support, install
08-Aug-2024 11:05:54 * package icu-data-full.
08-Aug-2024 11:05:54 *
08-Aug-2024 11:05:54 (14/20) Installing libgcc (12.2.1_git20220924-r10)
08-Aug-2024 11:05:54 (15/20) Installing libstdc++ (12.2.1_git20220924-r10)
08-Aug-2024 11:05:54 (16/20) Installing icu-libs (73.2-r2)
08-Aug-2024 11:05:54 (17/20) Installing lmdb (0.9.31-r0)
08-Aug-2024 11:05:54 (18/20) Installing postfix (3.8.6-r0)
08-Aug-2024 11:05:54 Executing postfix-3.8.6-r0.pre-install
08-Aug-2024 11:05:54 (19/20) Installing libldap (2.6.5-r0)
08-Aug-2024 11:05:54 (20/20) Installing postfix-ldap (3.8.6-r0)
08-Aug-2024 11:05:54 Executing busybox-1.36.1-r7.trigger
08-Aug-2024 11:05:54 OK: 25 MiB in 35 packages
08-Aug-2024 11:05:55 Removing intermediate container 1e2adf4a8227
08-Aug-2024 11:05:55 ---> 2f22ae8bf3ad
08-Aug-2024 11:05:55 Step 3/8 : COPY ./config /etc/postfix
08-Aug-2024 11:05:55 ---> 65a47ab6c684
08-Aug-2024 11:05:55 Step 4/8 : RUN chmod 644 /etc/postfix/clients.cidr /etc/postfix/ldap-aliases.cf.tmpl /etc/postfix/main.cf.tmpl
08-Aug-2024 11:05:55 ---> Running in 0938191aa97c
08-Aug-2024 11:05:56 Removing intermediate container 0938191aa97c
08-Aug-2024 11:05:56 ---> 038bd3965e0e
08-Aug-2024 11:05:56 Step 5/8 : COPY ./startup.sh /usr/local/bin/
08-Aug-2024 11:05:56 ---> 1afb2040b4cd
08-Aug-2024 11:05:56 Step 6/8 : RUN chmod +x /usr/local/bin/startup.sh
08-Aug-2024 11:05:56 ---> Running in 39e36e6f3f4a
08-Aug-2024 11:05:57 Removing intermediate container 39e36e6f3f4a
08-Aug-2024 11:05:57 ---> 6f32e7c8ab9e
08-Aug-2024 11:05:57 Step 7/8 : EXPOSE 25
08-Aug-2024 11:05:57 ---> Running in 63a250d3d1f6
08-Aug-2024 11:05:57 Removing intermediate container 63a250d3d1f6
08-Aug-2024 11:05:57 ---> fb5c0c1b3007
08-Aug-2024 11:05:57 Step 8/8 : ENTRYPOINT ["/usr/local/bin/startup.sh"]
08-Aug-2024 11:05:57 ---> Running in e901da562a3d
08-Aug-2024 11:05:57 Removing intermediate container e901da562a3d
08-Aug-2024 11:05:57 ---> 35d878a80a49
08-Aug-2024 11:05:57 [Warning] One or more build-args [LDAP_BIND_PASSWORD SMTP_PASSWORD SMTP_PORT SMTP_SERVER SMTP_USERNAME] were not consumed
08-Aug-2024 11:05:57 Successfully built 35d878a80a49
08-Aug-2024 11:05:57 Successfully tagged openmrsinfra/openmrs-id-postfix:nightly
08-Aug-2024 11:05:57 Successfully tagged openmrsinfra/openmrs-id-postfix:3.6-ffdba69
08-Aug-2024 11:05:57 + docker push openmrsinfra/openmrs-id-postfix:nightly
08-Aug-2024 11:05:57 The push refers to repository [docker.io/openmrsinfra/openmrs-id-postfix]
08-Aug-2024 11:05:57 89a083b20834: Preparing
08-Aug-2024 11:05:57 86d7f78f8bb5: Preparing
08-Aug-2024 11:05:57 e8255567d8ca: Preparing
08-Aug-2024 11:05:57 1971af8d9964: Preparing
08-Aug-2024 11:05:57 74eea99f6539: Preparing
08-Aug-2024 11:05:57 ce7f800efff9: Preparing
08-Aug-2024 11:05:57 ce7f800efff9: Waiting
08-Aug-2024 11:05:59 e8255567d8ca: Pushed
08-Aug-2024 11:05:59 1971af8d9964: Pushed
08-Aug-2024 11:05:59 89a083b20834: Pushed
08-Aug-2024 11:05:59 86d7f78f8bb5: Pushed
08-Aug-2024 11:05:59 ce7f800efff9: Mounted from library/alpine
08-Aug-2024 11:06:00 74eea99f6539: Pushed
08-Aug-2024 11:06:02 nightly: digest: sha256:2f9680cf5ba852d1f2c3e6baaa78f9e84f8f9cf3eccc4f66a9d99a8c147e8a6d size: 1569
08-Aug-2024 11:06:02 + docker push openmrsinfra/openmrs-id-postfix:3.6-ffdba69
08-Aug-2024 11:06:02 The push refers to repository [docker.io/openmrsinfra/openmrs-id-postfix]
08-Aug-2024 11:06:02 89a083b20834: Preparing
08-Aug-2024 11:06:02 86d7f78f8bb5: Preparing
08-Aug-2024 11:06:02 e8255567d8ca: Preparing
08-Aug-2024 11:06:02 1971af8d9964: Preparing
08-Aug-2024 11:06:02 74eea99f6539: Preparing
08-Aug-2024 11:06:02 ce7f800efff9: Preparing
08-Aug-2024 11:06:02 ce7f800efff9: Waiting
08-Aug-2024 11:06:02 89a083b20834: Layer already exists
08-Aug-2024 11:06:02 74eea99f6539: Layer already exists
08-Aug-2024 11:06:02 e8255567d8ca: Layer already exists
08-Aug-2024 11:06:02 1971af8d9964: Layer already exists
08-Aug-2024 11:06:02 86d7f78f8bb5: Layer already exists
08-Aug-2024 11:06:02 ce7f800efff9: Layer already exists
08-Aug-2024 11:06:03 3.6-ffdba69: digest: sha256:2f9680cf5ba852d1f2c3e6baaa78f9e84f8f9cf3eccc4f66a9d99a8c147e8a6d size: 1569
08-Aug-2024 11:06:03 + echo 'Inspecting image for id'
08-Aug-2024 11:06:03 + docker image inspect '--format={{index .RepoDigests 0}}' openmrsinfra/openmrs-id-postfix:3.6-ffdba69
08-Aug-2024 11:06:03 Inspecting image for id
08-Aug-2024 11:06:03 Finished task 'Build and push postfix image to Docker hub' with result: Success
08-Aug-2024 11:06:03 Starting task 'Read variables' of type 'com.atlassian.bamboo.plugins.variable.updater.variable-updater-generic:variable-file-reader'
08-Aug-2024 11:06:03 Variable wasn't found in the Build context. It possibly doesn't exist.
08-Aug-2024 11:06:03 Changing variable docker.image.postfix.id of type RESULT from null to openmrsinfra/openmrs-id-postfix@sha256:2f9680cf5ba852d1f2c3e6baaa78f9e84f8f9cf3eccc4f66a9d99a8c147e8a6d
08-Aug-2024 11:06:03 Finished task 'Read variables' with result: Success
08-Aug-2024 11:06:03 Running post build plugin 'Docker Container Cleanup'
08-Aug-2024 11:06:03 Running post build plugin 'NCover Results Collector'
08-Aug-2024 11:06:03 Running post build plugin 'Build Results Label Collector'
08-Aug-2024 11:06:03 Running post build plugin 'Clover Results Collector'
08-Aug-2024 11:06:03 Running post build plugin 'npm Cache Cleanup'
08-Aug-2024 11:06:03 Running post build plugin 'Artifact Copier'
08-Aug-2024 11:06:03 Finalising the build...
08-Aug-2024 11:06:03 Stopping timer.
08-Aug-2024 11:06:03 Build II-ID-BP-74 completed.
08-Aug-2024 11:06:03 Running on server: post build plugin 'Build Hanging Detection Configuration'
08-Aug-2024 11:06:03 Running on server: post build plugin 'NCover Results Collector'
08-Aug-2024 11:06:03 Running on server: post build plugin 'Build Labeller'
08-Aug-2024 11:06:03 Running on server: post build plugin 'Clover Delta Calculator'
08-Aug-2024 11:06:03 Running on server: post build plugin 'Maven Dependencies Postprocessor'
08-Aug-2024 11:06:03 All post build plugins have finished
08-Aug-2024 11:06:03 Generating build results summary...
08-Aug-2024 11:06:03 Saving build results to disk...
08-Aug-2024 11:06:03 Store variable context...
08-Aug-2024 11:06:03 Finished building II-ID-BP-74.