Build: #72 was successful

Job: Build Postfix was successful

Stages & jobs

  1. Build

Build log

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

22-Nov-2023 11:49:57 Build ITSM - OpenMRS ID - Build Postfix #72 (II-ID-BP-72) started building on agent xiao.openmrs.org (3), bamboo version: 8.2.4
22-Nov-2023 11:49:57 Remote agent on host xiao.openmrs.org
22-Nov-2023 11:49:57 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/II-ID-BP
22-Nov-2023 11:49:57 Executing build ITSM - OpenMRS ID - Build Postfix #72 (II-ID-BP-72)
22-Nov-2023 11:49:57 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
22-Nov-2023 11:49:57 Checking out into /home/bamboo-agent/bamboo-agent/xml-data/build-dir/II-ID-BP
22-Nov-2023 11:49:57 Updating source code to revision: 2845910714d6aab0b09f181d630f24c8af750598
22-Nov-2023 11:49:57 Fetching 'refs/heads/main' from 'https://github.com/openmrs/openmrs-contrib-itsm-id.git'.
22-Nov-2023 11:49:58 From https://github.com/openmrs/openmrs-contrib-itsm-id
22-Nov-2023 11:49:58    85f9e75..2845910  main       -> main
22-Nov-2023 11:49:58 Checking out revision 2845910714d6aab0b09f181d630f24c8af750598.
22-Nov-2023 11:49:58 Creating local git repository in '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/II-ID-BP/.git'.
22-Nov-2023 11:49:58 Cloning into '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/II-ID-BP'...
22-Nov-2023 11:49:58 done.
22-Nov-2023 11:49:58 Branch 'main' set up to track remote branch 'main' from 'origin'.
22-Nov-2023 11:49:58 Switched to a new branch 'main'
22-Nov-2023 11:49:58 Updated source code to revision: 2845910714d6aab0b09f181d630f24c8af750598
22-Nov-2023 11:49:58 Finished task 'Checkout Default Repository' with result: Success
22-Nov-2023 11:49:58 Running pre-build action: Build Log Labeller Pre Build Action
22-Nov-2023 11:49:58 Running pre-build action: VCS Version Collector
22-Nov-2023 11:49:58 Running pre-build action: Run Predator
22-Nov-2023 11:49:58 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
22-Nov-2023 11:49:58 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
22-Nov-2023 11:49:58 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
22-Nov-2023 11:49:58 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
22-Nov-2023 11:49:58 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1731 java        1454 bamboo-age 2976Mb  693Mb 00:35:29 /usr/lib/jvm/java-8-ope
22-Nov-2023 11:49:58 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1454 wrapper        1 bamboo-age   16Mb    2Mb 00:08:00 /home/bamboo-agent/bamb
22-Nov-2023 11:49:58 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 00:00:49 /sbin/init             
22-Nov-2023 11:49:58 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
22-Nov-2023 11:49:58 [PredatorPreBuildAction] Initial free space: 5.1618996 GB
22-Nov-2023 11:49:58 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/temporaryArtifactStorage
22-Nov-2023 11:49:58 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-D3X-RPCET
22-Nov-2023 11:50:03 [PredatorPreBuildAction] Deleting 6 snapshot folders from /home/bamboo-agent/.m2/repository
22-Nov-2023 11:50:03 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
22-Nov-2023 11:50:03 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
22-Nov-2023 11:50:03 [PredatorPreBuildAction] Maven stable disk freed: 0.54055405 GB, deleted 47 files
22-Nov-2023 11:50:03 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
22-Nov-2023 11:50:03 [PredatorPreBuildAction] File /home/bamboo-agent/.docker/config.json does not exist.
22-Nov-2023 11:50:03 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
22-Nov-2023 11:50:03 [PredatorPreBuildAction] Final free space: 5.1619034 GB
22-Nov-2023 11:50:03 [PredatorPreBuildAction] Done
22-Nov-2023 11:50:03
Substituting variable: ${bamboo.planRepository.revision} with 2845910714d6aab0b09f181d630f24c8af750598
22-Nov-2023 11:50:03
Substituting variable: ${bamboo.image.postfix} with openmrsinfra/openmrs-id-postfix
22-Nov-2023 11:50:03
Substituting variable: ${bamboo.image.postfix.version} with 3.6
22-Nov-2023 11:50:03
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
22-Nov-2023 11:50:03
Substituting password variable: ${bamboo.dockerhub.password}
22-Nov-2023 11:50:03 Starting task 'Build and push postfix image to Docker hub' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
22-Nov-2023 11:50:03
Beginning to execute external process for build 'ITSM - OpenMRS ID - Build Postfix #72 (II-ID-BP-72)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/II-ID-BP-72-ScriptBuildTask-8114589305921116498.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/II-ID-BP
22-Nov-2023 11:50:03 + [[ ehuB != ehuxB ]]
22-Nov-2023 11:50:03 + echo 'Start of Lmod init/bash script to define the module command'
22-Nov-2023 11:50:03 + LMOD_PKG=/usr/share/lmod/lmod
22-Nov-2023 11:50:03 + LMOD_DIR=/usr/share/lmod/lmod/libexec
22-Nov-2023 11:50:03 + LMOD_CMD=/usr/share/lmod/lmod/libexec/lmod
22-Nov-2023 11:50:03 + MODULESHOME=/usr/share/lmod/lmod
22-Nov-2023 11:50:03 + export LMOD_PKG
22-Nov-2023 11:50:03 + export LMOD_CMD
22-Nov-2023 11:50:03 + export LMOD_DIR
22-Nov-2023 11:50:03 + export MODULESHOME
22-Nov-2023 11:50:03 + LMOD_VERSION=6.6
22-Nov-2023 11:50:03 + export LMOD_VERSION
22-Nov-2023 11:50:03 + '[' : '!=' : ']'
22-Nov-2023 11:50:03 + unalias ml
22-Nov-2023 11:50:03 + true
22-Nov-2023 11:50:03 Start of Lmod init/bash script to define the module command
22-Nov-2023 11:50:03 ++ echo YES
22-Nov-2023 11:50:03 ++ /usr/bin/tr '[:upper:]' '[:lower:]'
22-Nov-2023 11:50:03 + export_module=yes
22-Nov-2023 11:50:03 + '[' -n '5.1.16(1)-release' -a yes '!=' no ']'
22-Nov-2023 11:50:03 + export -f module
22-Nov-2023 11:50:03 + export -f ml
22-Nov-2023 11:50:03 + unset export_module
22-Nov-2023 11:50:03 + '[' -n '' ']'
22-Nov-2023 11:50:03 + '[' 5 -ge 3 ']'
22-Nov-2023 11:50:03 + '[' -r /usr/share/lmod/lmod/init/lmod_bash_completions ']'
22-Nov-2023 11:50:03 + '[' -n '' ']'
22-Nov-2023 11:50:03 + [[ ehuB != ehuxB ]]
22-Nov-2023 11:50:03 + echo 'End of Lmod init/bash script to define the module command'
22-Nov-2023 11:50:03 End of Lmod init/bash script to define the module command
22-Nov-2023 11:50:03 ++ echo 2845910714d6aab0b09f181d630f24c8af750598
22-Nov-2023 11:50:03 ++ awk '{print substr($0, 1, 7)}'
22-Nov-2023 11:50:03 + export GIT_SHA=2845910
22-Nov-2023 11:50:03 + GIT_SHA=2845910
22-Nov-2023 11:50:03 + export IMAGE=openmrsinfra/openmrs-id-postfix
22-Nov-2023 11:50:03 + IMAGE=openmrsinfra/openmrs-id-postfix
22-Nov-2023 11:50:03 + export IMAGE_VERSION=3.6-2845910
22-Nov-2023 11:50:03 + IMAGE_VERSION=3.6-2845910
22-Nov-2023 11:50:03 + docker login -u openmrsci -p ********
22-Nov-2023 11:50:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
22-Nov-2023 11:50:03 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
22-Nov-2023 11:50:03 Configure a credential helper to remove this warning. See
22-Nov-2023 11:50:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
22-Nov-2023 11:50:03
22-Nov-2023 11:50:03 Login Succeeded
22-Nov-2023 11:50:03 + 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-2845910 postfix/
22-Nov-2023 11:50:03 Sending build context to Docker daemon  9.728kB
22-Nov-2023 11:50:03
22-Nov-2023 11:50:03 Step 1/8 : FROM alpine:3.18
22-Nov-2023 11:50:04 3.18: Pulling from library/alpine
22-Nov-2023 11:50:04 96526aa774ef: Already exists
22-Nov-2023 11:50:04 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978
22-Nov-2023 11:50:04 Status: Downloaded newer image for alpine:3.18
22-Nov-2023 11:50:04 ---> 8ca4688f4f35
22-Nov-2023 11:50:04 Step 2/8 : RUN apk update && apk add postfix postfix-ldap envsubst cyrus-sasl && apk cache clean
22-Nov-2023 11:50:04 ---> Running in 86f4f2754414
22-Nov-2023 11:50:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz
22-Nov-2023 11:50:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz
22-Nov-2023 11:50:05 v3.18.4-239-gcdb9428c46f [https://dl-cdn.alpinelinux.org/alpine/v3.18/main]
22-Nov-2023 11:50:05 v3.18.4-244-g117d218742b [https://dl-cdn.alpinelinux.org/alpine/v3.18/community]
22-Nov-2023 11:50:05 OK: 20076 distinct packages available
22-Nov-2023 11:50:05 (1/20) Installing gdbm (1.23-r1)
22-Nov-2023 11:50:05 (2/20) Installing krb5-conf (1.0-r2)
22-Nov-2023 11:50:05 (3/20) Installing libcom_err (1.47.0-r2)
22-Nov-2023 11:50:05 (4/20) Installing ncurses-terminfo-base (6.4_p20230506-r0)
22-Nov-2023 11:50:06 (5/20) Installing libncursesw (6.4_p20230506-r0)
22-Nov-2023 11:50:06 (6/20) Installing readline (8.2.1-r1)
22-Nov-2023 11:50:06 (7/20) Installing sqlite-libs (3.41.2-r2)
22-Nov-2023 11:50:06 (8/20) Installing heimdal-libs (7.8.0-r3)
22-Nov-2023 11:50:06 (9/20) Installing libsasl (2.1.28-r4)
22-Nov-2023 11:50:06 (10/20) Installing cyrus-sasl (2.1.28-r4)
22-Nov-2023 11:50:06 (11/20) Installing libintl (0.21.1-r7)
22-Nov-2023 11:50:06 (12/20) Installing gettext-envsubst (0.21.1-r7)
22-Nov-2023 11:50:06 (13/20) Installing icu-data-en (73.2-r2)
22-Nov-2023 11:50:06 Executing icu-data-en-73.2-r2.post-install
22-Nov-2023 11:50:06 *
22-Nov-2023 11:50:06 * If you need ICU with non-English locales and legacy charset support, install
22-Nov-2023 11:50:06 * package icu-data-full.
22-Nov-2023 11:50:06 *
22-Nov-2023 11:50:06 (14/20) Installing libgcc (12.2.1_git20220924-r10)
22-Nov-2023 11:50:06 (15/20) Installing libstdc++ (12.2.1_git20220924-r10)
22-Nov-2023 11:50:06 (16/20) Installing icu-libs (73.2-r2)
22-Nov-2023 11:50:06 (17/20) Installing lmdb (0.9.31-r0)
22-Nov-2023 11:50:06 (18/20) Installing postfix (3.8.3-r0)
22-Nov-2023 11:50:06 Executing postfix-3.8.3-r0.pre-install
22-Nov-2023 11:50:06 (19/20) Installing libldap (2.6.5-r0)
22-Nov-2023 11:50:06 (20/20) Installing postfix-ldap (3.8.3-r0)
22-Nov-2023 11:50:06 Executing busybox-1.36.1-r2.trigger
22-Nov-2023 11:50:06 OK: 25 MiB in 35 packages
22-Nov-2023 11:50:07 Removing intermediate container 86f4f2754414
22-Nov-2023 11:50:07 ---> fcc313b9e1b0
22-Nov-2023 11:50:07 Step 3/8 : COPY ./config /etc/postfix
22-Nov-2023 11:50:07 ---> 731b60f5bb31
22-Nov-2023 11:50:07 Step 4/8 : RUN chmod 644 /etc/postfix/clients.cidr /etc/postfix/ldap-aliases.cf.tmpl /etc/postfix/main.cf.tmpl
22-Nov-2023 11:50:07 ---> Running in 334aa310d7ff
22-Nov-2023 11:50:07 Removing intermediate container 334aa310d7ff
22-Nov-2023 11:50:07 ---> d306f5267b8f
22-Nov-2023 11:50:07 Step 5/8 : COPY ./startup.sh /usr/local/bin/
22-Nov-2023 11:50:08 ---> 6b801c88c9ae
22-Nov-2023 11:50:08 Step 6/8 : RUN chmod +x /usr/local/bin/startup.sh
22-Nov-2023 11:50:08 ---> Running in 862d944fd82c
22-Nov-2023 11:50:08 Removing intermediate container 862d944fd82c
22-Nov-2023 11:50:08 ---> 363615d0f641
22-Nov-2023 11:50:08 Step 7/8 : EXPOSE 25
22-Nov-2023 11:50:08 ---> Running in 617ad934e29e
22-Nov-2023 11:50:08 Removing intermediate container 617ad934e29e
22-Nov-2023 11:50:08 ---> 0b2d4d1223e1
22-Nov-2023 11:50:08 Step 8/8 : ENTRYPOINT ["/usr/local/bin/startup.sh"]
22-Nov-2023 11:50:08 ---> Running in 0e0c1f0c7b8b
22-Nov-2023 11:50:08 Removing intermediate container 0e0c1f0c7b8b
22-Nov-2023 11:50:08 ---> e5412f5af483
22-Nov-2023 11:50:08 [Warning] One or more build-args [LDAP_BIND_PASSWORD SMTP_PASSWORD SMTP_PORT SMTP_SERVER SMTP_USERNAME] were not consumed
22-Nov-2023 11:50:08 Successfully built e5412f5af483
22-Nov-2023 11:50:08 Successfully tagged openmrsinfra/openmrs-id-postfix:nightly
22-Nov-2023 11:50:08 Successfully tagged openmrsinfra/openmrs-id-postfix:3.6-2845910
22-Nov-2023 11:50:08 + docker push openmrsinfra/openmrs-id-postfix:nightly
22-Nov-2023 11:50:08 The push refers to repository [docker.io/openmrsinfra/openmrs-id-postfix]
22-Nov-2023 11:50:09 71736b8fa533: Preparing
22-Nov-2023 11:50:09 923bf7909520: Preparing
22-Nov-2023 11:50:09 e48cb5eee287: Preparing
22-Nov-2023 11:50:09 857fbbb7a0a4: Preparing
22-Nov-2023 11:50:09 524016d1caf9: Preparing
22-Nov-2023 11:50:09 cc2447e1835a: Preparing
22-Nov-2023 11:50:09 cc2447e1835a: Waiting
22-Nov-2023 11:50:10 923bf7909520: Pushed
22-Nov-2023 11:50:10 71736b8fa533: Pushed
22-Nov-2023 11:50:10 e48cb5eee287: Pushed
22-Nov-2023 11:50:10 cc2447e1835a: Layer already exists
22-Nov-2023 11:50:10 857fbbb7a0a4: Pushed
22-Nov-2023 11:50:11 524016d1caf9: Pushed
22-Nov-2023 11:50:13 nightly: digest: sha256:70bb237ea5d512987fcc13a8a06d0fc731ebc55f310d7a8a5849aa38dbeb90c2 size: 1569
22-Nov-2023 11:50:13 + docker push openmrsinfra/openmrs-id-postfix:3.6-2845910
22-Nov-2023 11:50:13 The push refers to repository [docker.io/openmrsinfra/openmrs-id-postfix]
22-Nov-2023 11:50:13 71736b8fa533: Preparing
22-Nov-2023 11:50:13 923bf7909520: Preparing
22-Nov-2023 11:50:13 e48cb5eee287: Preparing
22-Nov-2023 11:50:13 857fbbb7a0a4: Preparing
22-Nov-2023 11:50:13 524016d1caf9: Preparing
22-Nov-2023 11:50:13 cc2447e1835a: Preparing
22-Nov-2023 11:50:13 cc2447e1835a: Waiting
22-Nov-2023 11:50:13 923bf7909520: Layer already exists
22-Nov-2023 11:50:13 857fbbb7a0a4: Layer already exists
22-Nov-2023 11:50:13 71736b8fa533: Layer already exists
22-Nov-2023 11:50:13 e48cb5eee287: Layer already exists
22-Nov-2023 11:50:13 524016d1caf9: Layer already exists
22-Nov-2023 11:50:13 cc2447e1835a: Layer already exists
22-Nov-2023 11:50:14 3.6-2845910: digest: sha256:70bb237ea5d512987fcc13a8a06d0fc731ebc55f310d7a8a5849aa38dbeb90c2 size: 1569
22-Nov-2023 11:50:14 + echo 'Inspecting image for id'
22-Nov-2023 11:50:14 + docker image inspect '--format={{index .RepoDigests 0}}' openmrsinfra/openmrs-id-postfix:3.6-2845910
22-Nov-2023 11:50:14 Inspecting image for id
22-Nov-2023 11:50:14 Finished task 'Build and push postfix image to Docker hub' with result: Success
22-Nov-2023 11:50:14 Starting task 'Read variables' of type 'com.atlassian.bamboo.plugins.variable.updater.variable-updater-generic:variable-file-reader'
22-Nov-2023 11:50:14 Variable wasn't found in the Build context. It possibly doesn't exist.
22-Nov-2023 11:50:14 Changing variable docker.image.postfix.id of type RESULT from null to openmrsinfra/openmrs-id-postfix@sha256:70bb237ea5d512987fcc13a8a06d0fc731ebc55f310d7a8a5849aa38dbeb90c2
22-Nov-2023 11:50:14 Finished task 'Read variables' with result: Success
22-Nov-2023 11:50:14 Running post build plugin 'Docker Container Cleanup'
22-Nov-2023 11:50:14 Running post build plugin 'NCover Results Collector'
22-Nov-2023 11:50:14 Running post build plugin 'Build Results Label Collector'
22-Nov-2023 11:50:14 Running post build plugin 'Clover Results Collector'
22-Nov-2023 11:50:14 Running post build plugin 'npm Cache Cleanup'
22-Nov-2023 11:50:14 Running post build plugin 'Artifact Copier'
22-Nov-2023 11:50:14 Finalising the build...
22-Nov-2023 11:50:14 Stopping timer.
22-Nov-2023 11:50:14 Build II-ID-BP-72 completed.
22-Nov-2023 11:50:14 Running on server: post build plugin 'Build Hanging Detection Configuration'
22-Nov-2023 11:50:14 Running on server: post build plugin 'NCover Results Collector'
22-Nov-2023 11:50:14 Running on server: post build plugin 'Build Labeller'
22-Nov-2023 11:50:14 Running on server: post build plugin 'Clover Delta Calculator'
22-Nov-2023 11:50:14 Running on server: post build plugin 'Maven Dependencies Postprocessor'
22-Nov-2023 11:50:14 All post build plugins have finished
22-Nov-2023 11:50:14 Generating build results summary...
22-Nov-2023 11:50:14 Saving build results to disk...
22-Nov-2023 11:50:14 Store variable context...
22-Nov-2023 11:50:14 Finished building II-ID-BP-72.