OCL API 2

Build: #111 failed

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.

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