Build: #89 failed

Job: Build ocldev failed

Stages & jobs

  1. Build

  2. Deploy TestPyPi

    Requires a user to start manually
  3. Deploy PyPi

    Requires a user to start manually

Build log

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

20-Jul-2023 07:07:20 Build Open Concept Lab - OCL DEV - Build ocldev #89 (OCL-OCLDEV-JOB1-89) started building on agent yu.openmrs.org (3), bamboo version: 8.2.4
20-Jul-2023 07:07:20 Remote agent on host yu.openmrs.org
20-Jul-2023 07:07:20 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OCLDEV-JOB1
20-Jul-2023 07:07:20 Executing build Open Concept Lab - OCL DEV - Build ocldev #89 (OCL-OCLDEV-JOB1-89)
20-Jul-2023 07:07:20 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
20-Jul-2023 07:07:20 Checking out into /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OCLDEV-JOB1
20-Jul-2023 07:07:20 Updating source code to revision: f44f60ac98bf26b054311096585deca470aceb6a
20-Jul-2023 07:07:20 Creating local git repository in '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/_git-repositories-cache/ad8a6aeef62d2c8ef79001364e672ce24cc85073/.git'.
20-Jul-2023 07:07:20 hint: Using 'master' as the name for the initial branch. This default branch name
20-Jul-2023 07:07:20 hint: is subject to change. To configure the initial branch name to use in all
20-Jul-2023 07:07:20 hint: of your new repositories, which will suppress this warning, call:
20-Jul-2023 07:07:20 Initialized empty Git repository in /home/bamboo-agent/bamboo-agent/xml-data/build-dir/_git-repositories-cache/ad8a6aeef62d2c8ef79001364e672ce24cc85073/.git/
20-Jul-2023 07:07:20 hint:
20-Jul-2023 07:07:20 hint:         git config --global init.defaultBranch <name>
20-Jul-2023 07:07:20 hint:
20-Jul-2023 07:07:20 hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
20-Jul-2023 07:07:20 hint: 'development'. The just-created branch can be renamed via this command:
20-Jul-2023 07:07:20 hint:
20-Jul-2023 07:07:20 hint:         git branch -m <name>
20-Jul-2023 07:07:21 Fetching 'refs/heads/master' from 'https://github.com/OpenConceptLab/ocldev.git'.
20-Jul-2023 07:07:21 From https://github.com/OpenConceptLab/ocldev
20-Jul-2023 07:07:21 * [new branch]      master     -> master
20-Jul-2023 07:07:21 Checking out revision f44f60ac98bf26b054311096585deca470aceb6a.
20-Jul-2023 07:07:21 Creating local git repository in '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OCLDEV-JOB1/.git'.
20-Jul-2023 07:07:21 Cloning into '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OCLDEV-JOB1'...
20-Jul-2023 07:07:21 done.
20-Jul-2023 07:07:21 Already on 'master'
20-Jul-2023 07:07:21 Your branch is up to date with 'origin/master'.
20-Jul-2023 07:07:21 Updated source code to revision: f44f60ac98bf26b054311096585deca470aceb6a
20-Jul-2023 07:07:21 Finished task 'Checkout Default Repository' with result: Success
20-Jul-2023 07:07:21 Running pre-build action: Build Log Labeller Pre Build Action
20-Jul-2023 07:07:21 Running pre-build action: VCS Version Collector
20-Jul-2023 07:07:21 Running pre-build action: Run Predator
20-Jul-2023 07:07:21 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
20-Jul-2023 07:07:21 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
20-Jul-2023 07:07:21 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
20-Jul-2023 07:07:25 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
20-Jul-2023 07:07:25 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 35089 java        1473 bamboo-age 2974Mb  489Mb 00:27:55 /usr/lib/jvm/java-8-ope
20-Jul-2023 07:07:25 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1473 wrapper        1 bamboo-age   16Mb    1Mb 00:09:09 /home/bamboo-agent/bamb
20-Jul-2023 07:07:25 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   12Mb 00:00:38 /sbin/init             
20-Jul-2023 07:07:25 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
20-Jul-2023 07:07:25 [PredatorPreBuildAction] Initial free space: 5.7566605 GB
20-Jul-2023 07:07:25 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRAN-TRAN-DIS
20-Jul-2023 07:07:25 [PredatorPreBuildAction] Deleting 6 snapshot folders from /home/bamboo-agent/.m2/repository
20-Jul-2023 07:07:25 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
20-Jul-2023 07:07:25 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
20-Jul-2023 07:07:26 [PredatorPreBuildAction] Maven stable disk freed: 0.60100436 GB, deleted 252 files
20-Jul-2023 07:07:26 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
20-Jul-2023 07:07:26 [PredatorPreBuildAction] File /home/bamboo-agent/.docker/config.json does not exist.
20-Jul-2023 07:07:26 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
20-Jul-2023 07:07:26 [PredatorPreBuildAction] Final free space: 5.7576027 GB
20-Jul-2023 07:07:26 [PredatorPreBuildAction] Done
20-Jul-2023 07:07:26
Substituting variable: ${bamboo.build.working.directory} with /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OCLDEV-JOB1
20-Jul-2023 07:07:26 Starting task 'Build distribution packages' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
20-Jul-2023 07:07:26
Beginning to execute external process for build 'Open Concept Lab - OCL DEV - Build ocldev #89 (OCL-OCLDEV-JOB1-89)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/OCL-OCLDEV-JOB1-89-ScriptBuildTask-7582630588454125844.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OCLDEV-JOB1
20-Jul-2023 07:07:26 Building distributions
20-Jul-2023 07:07:26 /home/bamboo-agent/bamboo-agent/temp/OCL-OCLDEV-JOB1-89-ScriptBuildTask-7582630588454125844.sh: line 8: python: command not found
20-Jul-2023 07:07:26 Failing task since return code of [/home/bamboo-agent/bamboo-agent/temp/OCL-OCLDEV-JOB1-89-ScriptBuildTask-7582630588454125844.sh] was 127 while expected 0
20-Jul-2023 07:07:26 Finished task 'Build distribution packages' with result: Failed
20-Jul-2023 07:07:26 Running post build plugin 'Docker Container Cleanup'
20-Jul-2023 07:07:26 Running post build plugin 'NCover Results Collector'
20-Jul-2023 07:07:26 Running post build plugin 'Build Results Label Collector'
20-Jul-2023 07:07:26 Running post build plugin 'Clover Results Collector'
20-Jul-2023 07:07:26 Running post build plugin 'npm Cache Cleanup'
20-Jul-2023 07:07:26 Running post build plugin 'Artifact Copier'
20-Jul-2023 07:07:26 Finalising the build...
20-Jul-2023 07:07:26 Stopping timer.
20-Jul-2023 07:07:26 Build OCL-OCLDEV-JOB1-89 completed.
20-Jul-2023 07:07:26 Running on server: post build plugin 'Build Hanging Detection Configuration'
20-Jul-2023 07:07:26 Running on server: post build plugin 'NCover Results Collector'
20-Jul-2023 07:07:26 Running on server: post build plugin 'Build Labeller'
20-Jul-2023 07:07:26 Running on server: post build plugin 'Clover Delta Calculator'
20-Jul-2023 07:07:26 Running on server: post build plugin 'Maven Dependencies Postprocessor'
20-Jul-2023 07:07:26 All post build plugins have finished
20-Jul-2023 07:07:26 Generating build results summary...
20-Jul-2023 07:07:26 Saving build results to disk...
20-Jul-2023 07:07:26 Store variable context...
20-Jul-2023 07:07:26 Finished building OCL-OCLDEV-JOB1-89.