OCL API 2

Build: #110 was successful

Job: Check formatting was successful

Stages & jobs

  1. Build

  2. Test

  3. Deploy for testing

    Requires a user to start manually
  4. Release

    Requires a user to start manually

Build log

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

27-Mar-2024 13:50:03 Build Open Concept Lab - OCL API 2 - dev - Check formatting #110 (OCL-OCLAPI20-CF-110) started building on agent xindi.openmrs.org (3), bamboo version: 8.2.4
27-Mar-2024 13:50:03 Remote agent on host xindi.openmrs.org
27-Mar-2024 13:50:03 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OCLAPI20-CF
27-Mar-2024 13:50:03 Executing build Open Concept Lab - OCL API 2 - dev - Check formatting #110 (OCL-OCLAPI20-CF-110)
27-Mar-2024 13:50:03 Starting task 'Clean working directory task' of type 'com.atlassian.bamboo.plugins.bamboo-artifact-downloader-plugin:cleanWorkingDirectoryTask'
27-Mar-2024 13:50:03 Cleaning working directory '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OCLAPI20-CF'
27-Mar-2024 13:50:03 Finished task 'Clean working directory task' with result: Success
27-Mar-2024 13:50:03 Starting task 'Checkout source' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
27-Mar-2024 13:50:03 Checking out into /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OCLAPI20-CF
27-Mar-2024 13:50:03 Updating source code to revision: 0c187a9f0279a7fb468db7648e76d2e32ab789d8
27-Mar-2024 13:50:03 Creating local git repository in '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OCLAPI20-CF/.git'.
27-Mar-2024 13:50:03 hint: Using 'master' as the name for the initial branch. This default branch name
27-Mar-2024 13:50:03 hint: is subject to change. To configure the initial branch name to use in all
27-Mar-2024 13:50:03 hint: of your new repositories, which will suppress this warning, call:
27-Mar-2024 13:50:03 hint:
27-Mar-2024 13:50:03 hint:         git config --global init.defaultBranch <name>
27-Mar-2024 13:50:03 hint:
27-Mar-2024 13:50:03 hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
27-Mar-2024 13:50:03 hint: 'development'. The just-created branch can be renamed via this command:
27-Mar-2024 13:50:03 hint:
27-Mar-2024 13:50:03 hint:         git branch -m <name>
27-Mar-2024 13:50:03 Initialized empty Git repository in /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OCLAPI20-CF/.git/
27-Mar-2024 13:50:04 Fetching 'refs/heads/dev' from 'https://github.com/OpenConceptLab/oclapi2.git'. Will try to do a shallow fetch.
27-Mar-2024 13:50:05 From https://github.com/OpenConceptLab/oclapi2
27-Mar-2024 13:50:05 * [new branch]      dev        -> dev
27-Mar-2024 13:50:05 Checking out revision 0c187a9f0279a7fb468db7648e76d2e32ab789d8.
27-Mar-2024 13:50:06 Switched to branch 'dev'
27-Mar-2024 13:50:06 Updated source code to revision: 0c187a9f0279a7fb468db7648e76d2e32ab789d8
27-Mar-2024 13:50:06 Finished task 'Checkout source' with result: Success
27-Mar-2024 13:50:06 Running pre-build action: Build Log Labeller Pre Build Action
27-Mar-2024 13:50:06 Running pre-build action: VCS Version Collector
27-Mar-2024 13:50:06 Running pre-build action: Run Predator
27-Mar-2024 13:50:06 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
27-Mar-2024 13:50:06 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
27-Mar-2024 13:50:06 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
27-Mar-2024 13:50:06 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
27-Mar-2024 13:50:06 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1971 java        1323 bamboo-age 2953Mb  442Mb 00:06:30 /usr/lib/jvm/java-8-ope
27-Mar-2024 13:50:06 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1323 wrapper        1 bamboo-age   16Mb    3Mb 00:01:34 /home/bamboo-agent/bamb
27-Mar-2024 13:50:06 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   12Mb 00:00:13 /sbin/init             
27-Mar-2024 13:50:06 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
27-Mar-2024 13:50:06 [PredatorPreBuildAction] Initial free space: 5.243042 GB
27-Mar-2024 13:50:06 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OCLAPI20-BO
27-Mar-2024 13:50:06 [PredatorPreBuildAction] Deleting 20 snapshot folders from /home/bamboo-agent/.m2/repository
27-Mar-2024 13:50:06 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
27-Mar-2024 13:50:07 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
27-Mar-2024 13:50:07 [PredatorPreBuildAction] Maven stable disk freed: 0.8863411 GB, deleted 654 files
27-Mar-2024 13:50:07 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
27-Mar-2024 13:50:07 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
27-Mar-2024 13:50:07 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
27-Mar-2024 13:50:07 [PredatorPreBuildAction] Final free space: 5.5248184 GB
27-Mar-2024 13:50:07 [PredatorPreBuildAction] Done
27-Mar-2024 13:50:07
Substituting variable: ${bamboo.docker.image.id} with openconceptlab/oclapi2@sha256:feb72ee2e85bce7355745e533652f00b3648e12efbf5a655936713c0986c0873
27-Mar-2024 13:50:07 Starting task 'Run Pylint' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
27-Mar-2024 13:50:07
Beginning to execute external process for build 'Open Concept Lab - OCL API 2 - dev - Check formatting #110 (OCL-OCLAPI20-CF-110)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/OCL-OCLAPI20-CF-110-ScriptBuildTask-4695347373196702088.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OCLAPI20-CF
27-Mar-2024 13:50:07 + echo 'Running Pylint'
27-Mar-2024 13:50:07 ++ pwd
27-Mar-2024 13:50:07 + docker run -v /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OCLAPI20-CF:/code:z --rm openconceptlab/oclapi2@sha256:feb72ee2e85bce7355745e533652f00b3648e12efbf5a655936713c0986c0873 pylint -j0 core
27-Mar-2024 13:50:07 Running Pylint
27-Mar-2024 13:53:05
27-Mar-2024 13:53:05 ------------------------------------
27-Mar-2024 13:53:05 Your code has been rated at 10.00/10
27-Mar-2024 13:53:05
27-Mar-2024 13:53:06 Finished task 'Run Pylint' with result: Success
27-Mar-2024 13:53:06 Running post build plugin 'Docker Container Cleanup'
27-Mar-2024 13:53:06 Running post build plugin 'NCover Results Collector'
27-Mar-2024 13:53:06 Running post build plugin 'Build Results Label Collector'
27-Mar-2024 13:53:06 Running post build plugin 'Clover Results Collector'
27-Mar-2024 13:53:06 Running post build plugin 'npm Cache Cleanup'
27-Mar-2024 13:53:06 Running post build plugin 'Artifact Copier'
27-Mar-2024 13:53:06 Finalising the build...
27-Mar-2024 13:53:06 Stopping timer.
27-Mar-2024 13:53:06 Build OCL-OCLAPI20-CF-110 completed.
27-Mar-2024 13:53:06 Running on server: post build plugin 'Build Hanging Detection Configuration'
27-Mar-2024 13:53:06 Running on server: post build plugin 'NCover Results Collector'
27-Mar-2024 13:53:06 Running on server: post build plugin 'Build Labeller'
27-Mar-2024 13:53:06 Running on server: post build plugin 'Clover Delta Calculator'
27-Mar-2024 13:53:06 Running on server: post build plugin 'Maven Dependencies Postprocessor'
27-Mar-2024 13:53:06 All post build plugins have finished
27-Mar-2024 13:53:06 Generating build results summary...
27-Mar-2024 13:53:06 Saving build results to disk...
27-Mar-2024 13:53:06 Store variable context...
27-Mar-2024 13:53:06 Finished building OCL-OCLAPI20-CF-110.