OCL API 2

Build: #2129 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.

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