OCL API 2

Build: #2125 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 116 lines of output. Download or view full build log.

11-Oct-2024 05:44:06 Build Open Concept Lab - OCL API 2 - Check formatting #2125 (OCL-OCLAPI2-CF-2125) started building on agent xindi.openmrs.org (3), bamboo version: 8.2.4
11-Oct-2024 05:44:06 Remote agent on host xindi.openmrs.org
11-Oct-2024 05:44:06 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OCLAPI2-CF
11-Oct-2024 05:44:06 Executing build Open Concept Lab - OCL API 2 - Check formatting #2125 (OCL-OCLAPI2-CF-2125)
11-Oct-2024 05:44:06 Starting task 'Clean working directory task' of type 'com.atlassian.bamboo.plugins.bamboo-artifact-downloader-plugin:cleanWorkingDirectoryTask'
11-Oct-2024 05:44:06 Cleaning working directory '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OCLAPI2-CF'
11-Oct-2024 05:44:06 Finished task 'Clean working directory task' with result: Success
11-Oct-2024 05:44:06 Starting task 'Checkout source' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
11-Oct-2024 05:44:06 Checking out into /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OCLAPI2-CF
11-Oct-2024 05:44:06 Updating source code to revision: fdd9e1e5587f6d91ac3660041e65c7b0cedfe480
11-Oct-2024 05:44:06 Creating local git repository in '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OCLAPI2-CF/.git'.
11-Oct-2024 05:44:06 hint: Using 'master' as the name for the initial branch. This default branch name
11-Oct-2024 05:44:06 Initialized empty Git repository in /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OCLAPI2-CF/.git/
11-Oct-2024 05:44:06 hint: is subject to change. To configure the initial branch name to use in all
11-Oct-2024 05:44:06 hint: of your new repositories, which will suppress this warning, call:
11-Oct-2024 05:44:06 hint:
11-Oct-2024 05:44:06 hint:         git config --global init.defaultBranch <name>
11-Oct-2024 05:44:06 hint:
11-Oct-2024 05:44:06 hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
11-Oct-2024 05:44:06 hint: 'development'. The just-created branch can be renamed via this command:
11-Oct-2024 05:44:06 hint:
11-Oct-2024 05:44:06 hint:         git branch -m <name>
11-Oct-2024 05:44:06 Fetching 'refs/heads/master' from 'https://github.com/OpenConceptLab/oclapi2.git'. Will try to do a shallow fetch.
11-Oct-2024 05:44:08 From https://github.com/OpenConceptLab/oclapi2
11-Oct-2024 05:44:08 * [new branch]      master     -> master
11-Oct-2024 05:44:08 Checking out revision fdd9e1e5587f6d91ac3660041e65c7b0cedfe480.
11-Oct-2024 05:44:09 Already on 'master'
11-Oct-2024 05:44:09 Updated source code to revision: fdd9e1e5587f6d91ac3660041e65c7b0cedfe480
11-Oct-2024 05:44:09 Finished task 'Checkout source' with result: Success
11-Oct-2024 05:44:09 Running pre-build action: Build Log Labeller Pre Build Action
11-Oct-2024 05:44:09 Running pre-build action: VCS Version Collector
11-Oct-2024 05:44:09 Running pre-build action: Run Predator
11-Oct-2024 05:44:09 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
11-Oct-2024 05:44:09 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
11-Oct-2024 05:44:09 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
11-Oct-2024 05:44:10 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
11-Oct-2024 05:44:10 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1914 java        1393 bamboo-age 2997Mb  600Mb 00:46:12 /usr/lib/jvm/java-8-ope
11-Oct-2024 05:44:10 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1393 wrapper        1 bamboo-age   16Mb    2Mb 00:10:45 /home/bamboo-agent/bamb
11-Oct-2024 05:44:10 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 00:01:12 /sbin/init             
11-Oct-2024 05:44:10 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
11-Oct-2024 05:44:10 [PredatorPreBuildAction] Initial free space: 3.5699615 GB
11-Oct-2024 05:44:10 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OCLAPI2-RT
11-Oct-2024 05:44:11 [PredatorPreBuildAction] Deleting 0 snapshot folders from /home/bamboo-agent/.m2/repository
11-Oct-2024 05:44:11 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
11-Oct-2024 05:44:11 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
11-Oct-2024 05:44:11 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
11-Oct-2024 05:44:11 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
11-Oct-2024 05:44:11 [PredatorPreBuildAction] File /home/bamboo-agent/.docker/config.json does not exist.
11-Oct-2024 05:44:11 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
11-Oct-2024 05:44:11 [PredatorPreBuildAction] Final free space: 3.8552017 GB
11-Oct-2024 05:44:11 [PredatorPreBuildAction] Done
11-Oct-2024 05:44:11
Substituting variable: ${bamboo.docker.image.id} with openconceptlab/oclapi2@sha256:71dc6898fe3d6aba10ebf8efb06922ae4d6997a058d2e837955bd1a2953f54dd
11-Oct-2024 05:44:11 Starting task 'Run Pylint' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
11-Oct-2024 05:44:11
Beginning to execute external process for build 'Open Concept Lab - OCL API 2 - Check formatting #2125 (OCL-OCLAPI2-CF-2125)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/OCL-OCLAPI2-CF-2125-ScriptBuildTask-7262124747958107178.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OCLAPI2-CF
11-Oct-2024 05:44:11 + echo 'Running Pylint'
11-Oct-2024 05:44:11 Running Pylint
11-Oct-2024 05:44:11 ++ pwd
11-Oct-2024 05:44:11 + docker run -v /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OCLAPI2-CF:/code:z --rm openconceptlab/oclapi2@sha256:71dc6898fe3d6aba10ebf8efb06922ae4d6997a058d2e837955bd1a2953f54dd pylint -j0 core
11-Oct-2024 05:44:11 Unable to find image 'openconceptlab/oclapi2@sha256:71dc6898fe3d6aba10ebf8efb06922ae4d6997a058d2e837955bd1a2953f54dd' locally
11-Oct-2024 05:44:12 docker.io/openconceptlab/oclapi2@sha256:71dc6898fe3d6aba10ebf8efb06922ae4d6997a058d2e837955bd1a2953f54dd: Pulling from openconceptlab/oclapi2
11-Oct-2024 05:44:12 59bf1c3509f3: Already exists
11-Oct-2024 05:44:12 07a400e93df3: Already exists
11-Oct-2024 05:44:12 3f64f10bfe42: Already exists
11-Oct-2024 05:44:12 591482cfca0c: Already exists
11-Oct-2024 05:44:12 9d1c822b0771: Already exists
11-Oct-2024 05:44:12 b17681111a53: Already exists
11-Oct-2024 05:44:12 851f3578e30f: Already exists
11-Oct-2024 05:44:12 b7d46869f23c: Already exists
11-Oct-2024 05:44:12 8f3568893280: Already exists
11-Oct-2024 05:44:12 37ef2ded151f: Already exists
11-Oct-2024 05:44:12 929198933eb7: Already exists
11-Oct-2024 05:44:12 7cf2a24120b7: Already exists
11-Oct-2024 05:44:12 1d7721d192af: Already exists
11-Oct-2024 05:44:12 c634cc4dfc07: Already exists
11-Oct-2024 05:44:12 37ecf2fb4cc0: Pulling fs layer
11-Oct-2024 05:44:12 d204eaeb8e3e: Pulling fs layer
11-Oct-2024 05:44:12 2c319af2d70d: Pulling fs layer
11-Oct-2024 05:44:12 53c5c28fe95e: Pulling fs layer
11-Oct-2024 05:44:12 53c5c28fe95e: Waiting
11-Oct-2024 05:44:12 2c319af2d70d: Verifying Checksum
11-Oct-2024 05:44:12 2c319af2d70d: Download complete
11-Oct-2024 05:44:12 d204eaeb8e3e: Verifying Checksum
11-Oct-2024 05:44:12 d204eaeb8e3e: Download complete
11-Oct-2024 05:44:12 37ecf2fb4cc0: Download complete
11-Oct-2024 05:44:12 53c5c28fe95e: Verifying Checksum
11-Oct-2024 05:44:12 53c5c28fe95e: Download complete
11-Oct-2024 05:44:14 37ecf2fb4cc0: Pull complete
11-Oct-2024 05:44:15 d204eaeb8e3e: Pull complete
11-Oct-2024 05:44:15 2c319af2d70d: Pull complete
11-Oct-2024 05:44:15 53c5c28fe95e: Pull complete
11-Oct-2024 05:44:15 Digest: sha256:71dc6898fe3d6aba10ebf8efb06922ae4d6997a058d2e837955bd1a2953f54dd
11-Oct-2024 05:44:15 Status: Downloaded newer image for openconceptlab/oclapi2@sha256:71dc6898fe3d6aba10ebf8efb06922ae4d6997a058d2e837955bd1a2953f54dd
11-Oct-2024 05:47:36
11-Oct-2024 05:47:36 ------------------------------------
11-Oct-2024 05:47:36 Your code has been rated at 10.00/10
11-Oct-2024 05:47:36
11-Oct-2024 05:47:36 Finished task 'Run Pylint' with result: Success
11-Oct-2024 05:47:36 Running post build plugin 'Docker Container Cleanup'
11-Oct-2024 05:47:36 Running post build plugin 'NCover Results Collector'
11-Oct-2024 05:47:36 Running post build plugin 'Build Results Label Collector'
11-Oct-2024 05:47:36 Running post build plugin 'Clover Results Collector'
11-Oct-2024 05:47:36 Running post build plugin 'npm Cache Cleanup'
11-Oct-2024 05:47:36 Running post build plugin 'Artifact Copier'
11-Oct-2024 05:47:36 Finalising the build...
11-Oct-2024 05:47:36 Stopping timer.
11-Oct-2024 05:47:36 Build OCL-OCLAPI2-CF-2125 completed.
11-Oct-2024 05:47:36 Running on server: post build plugin 'Build Hanging Detection Configuration'
11-Oct-2024 05:47:36 Running on server: post build plugin 'NCover Results Collector'
11-Oct-2024 05:47:36 Running on server: post build plugin 'Build Labeller'
11-Oct-2024 05:47:36 Running on server: post build plugin 'Clover Delta Calculator'
11-Oct-2024 05:47:36 Running on server: post build plugin 'Maven Dependencies Postprocessor'
11-Oct-2024 05:47:36 All post build plugins have finished
11-Oct-2024 05:47:36 Generating build results summary...
11-Oct-2024 05:47:36 Saving build results to disk...
11-Oct-2024 05:47:37 Store variable context...
11-Oct-2024 05:47:37 Finished building OCL-OCLAPI2-CF-2125.