OCL API 2

Build: #2141 failed

Job: Check formatting failed

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 175 lines of output. Download or view full build log.

06-Nov-2024 14:03:56 Build Open Concept Lab - OCL API 2 - Check formatting #2141 (OCL-OCLAPI2-CF-2141) started building on agent xiao.openmrs.org (3), bamboo version: 8.2.4
06-Nov-2024 14:03:56 Remote agent on host xiao.openmrs.org
06-Nov-2024 14:03:56 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OCLAPI2-CF
06-Nov-2024 14:03:56 Executing build Open Concept Lab - OCL API 2 - Check formatting #2141 (OCL-OCLAPI2-CF-2141)
06-Nov-2024 14:03:56 Starting task 'Clean working directory task' of type 'com.atlassian.bamboo.plugins.bamboo-artifact-downloader-plugin:cleanWorkingDirectoryTask'
06-Nov-2024 14:03:56 Cleaning working directory '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OCLAPI2-CF'
06-Nov-2024 14:03:56 Finished task 'Clean working directory task' with result: Success
06-Nov-2024 14:03:56 Starting task 'Checkout source' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
06-Nov-2024 14:03:56 Checking out into /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OCLAPI2-CF
06-Nov-2024 14:03:56 Updating source code to revision: c03a2c7773229a28f9f46b33383d2770a5a14bff
06-Nov-2024 14:03:56 Creating local git repository in '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OCLAPI2-CF/.git'.
06-Nov-2024 14:03:56 hint: Using 'master' as the name for the initial branch. This default branch name
06-Nov-2024 14:03:56 hint: is subject to change. To configure the initial branch name to use in all
06-Nov-2024 14:03:56 hint: of your new repositories, which will suppress this warning, call:
06-Nov-2024 14:03:56 hint:
06-Nov-2024 14:03:56 hint:         git config --global init.defaultBranch <name>
06-Nov-2024 14:03:56 hint:
06-Nov-2024 14:03:56 hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
06-Nov-2024 14:03:56 hint: 'development'. The just-created branch can be renamed via this command:
06-Nov-2024 14:03:56 hint:
06-Nov-2024 14:03:56 hint:         git branch -m <name>
06-Nov-2024 14:03:56 Initialized empty Git repository in /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OCLAPI2-CF/.git/
06-Nov-2024 14:03:56 Fetching 'refs/heads/master' from 'https://github.com/OpenConceptLab/oclapi2.git'. Will try to do a shallow fetch.
06-Nov-2024 14:03:59 From https://github.com/OpenConceptLab/oclapi2
06-Nov-2024 14:03:59 * [new branch]      master     -> master
06-Nov-2024 14:03:59 Checking out revision c03a2c7773229a28f9f46b33383d2770a5a14bff.
06-Nov-2024 14:04:00 Already on 'master'
06-Nov-2024 14:04:00 Updated source code to revision: c03a2c7773229a28f9f46b33383d2770a5a14bff
06-Nov-2024 14:04:00 Finished task 'Checkout source' with result: Success
06-Nov-2024 14:04:00 Running pre-build action: Build Log Labeller Pre Build Action
06-Nov-2024 14:04:00 Running pre-build action: VCS Version Collector
06-Nov-2024 14:04:00 Running pre-build action: Run Predator
06-Nov-2024 14:04:00 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
06-Nov-2024 14:04:00 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
06-Nov-2024 14:04:00 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
06-Nov-2024 14:04:00 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
06-Nov-2024 14:04:00 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 23955 java        1258 bamboo-age 2991Mb  438Mb 00:14:44 /usr/lib/jvm/java-8-ope
06-Nov-2024 14:04:00 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1258 wrapper        1 bamboo-age   16Mb    2Mb 00:10:03 /home/bamboo-agent/bamb
06-Nov-2024 14:04:00 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 00:00:51 /sbin/init             
06-Nov-2024 14:04:00 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
06-Nov-2024 14:04:00 [PredatorPreBuildAction] Initial free space: 5.480152 GB
06-Nov-2024 14:04:00 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OENV-RD-JOB1
06-Nov-2024 14:04:01 [PredatorPreBuildAction] Deleting 22 snapshot folders from /home/bamboo-agent/.m2/repository
06-Nov-2024 14:04:01 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
06-Nov-2024 14:04:01 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
06-Nov-2024 14:04:02 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
06-Nov-2024 14:04:02 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
06-Nov-2024 14:04:02 [PredatorPreBuildAction] File /home/bamboo-agent/.docker/config.json does not exist.
06-Nov-2024 14:04:02 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
06-Nov-2024 14:04:02 [PredatorPreBuildAction] Final free space: 5.480152 GB
06-Nov-2024 14:04:02 [PredatorPreBuildAction] Done
06-Nov-2024 14:04:02
Substituting variable: ${bamboo.docker.image.id} with openconceptlab/oclapi2@sha256:d7f6748cebe2c03c6eba8a889405e4c87c41bd7e0429f077b7e810ef123926e3
06-Nov-2024 14:04:02 Starting task 'Run Pylint' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
06-Nov-2024 14:04:02
Beginning to execute external process for build 'Open Concept Lab - OCL API 2 - Check formatting #2141 (OCL-OCLAPI2-CF-2141)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/OCL-OCLAPI2-CF-2141-ScriptBuildTask-1770096613921467608.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OCLAPI2-CF
06-Nov-2024 14:04:02 + echo 'Running Pylint'
06-Nov-2024 14:04:02 Running Pylint
06-Nov-2024 14:04:02 ++ pwd
06-Nov-2024 14:04:02 + docker run -v /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OCLAPI2-CF:/code:z --rm openconceptlab/oclapi2@sha256:d7f6748cebe2c03c6eba8a889405e4c87c41bd7e0429f077b7e810ef123926e3 pylint -j0 core
06-Nov-2024 14:04:02 Unable to find image 'openconceptlab/oclapi2@sha256:d7f6748cebe2c03c6eba8a889405e4c87c41bd7e0429f077b7e810ef123926e3' locally
06-Nov-2024 14:04:02 docker.io/openconceptlab/oclapi2@sha256:d7f6748cebe2c03c6eba8a889405e4c87c41bd7e0429f077b7e810ef123926e3: Pulling from openconceptlab/oclapi2
06-Nov-2024 14:04:02 59bf1c3509f3: Pulling fs layer
06-Nov-2024 14:04:02 07a400e93df3: Pulling fs layer
06-Nov-2024 14:04:02 3f64f10bfe42: Pulling fs layer
06-Nov-2024 14:04:02 591482cfca0c: Pulling fs layer
06-Nov-2024 14:04:02 9d1c822b0771: Pulling fs layer
06-Nov-2024 14:04:02 c5d19c1fc206: Pulling fs layer
06-Nov-2024 14:04:02 b01234416a1b: Pulling fs layer
06-Nov-2024 14:04:02 b7f82c30da69: Pulling fs layer
06-Nov-2024 14:04:02 6ca29dd3eefb: Pulling fs layer
06-Nov-2024 14:04:02 c928d9705d04: Pulling fs layer
06-Nov-2024 14:04:02 02474f0003a6: Pulling fs layer
06-Nov-2024 14:04:02 d63a21225716: Pulling fs layer
06-Nov-2024 14:04:02 e4fa35a3f101: Pulling fs layer
06-Nov-2024 14:04:02 d28479a20582: Pulling fs layer
06-Nov-2024 14:04:02 c4c69ad8a211: Pulling fs layer
06-Nov-2024 14:04:02 66680f2b7d45: Pulling fs layer
06-Nov-2024 14:04:02 7faafdfacc65: Pulling fs layer
06-Nov-2024 14:04:02 05eaf213fc2d: Pulling fs layer
06-Nov-2024 14:04:02 591482cfca0c: Waiting
06-Nov-2024 14:04:02 9d1c822b0771: Waiting
06-Nov-2024 14:04:02 c5d19c1fc206: Waiting
06-Nov-2024 14:04:02 b01234416a1b: Waiting
06-Nov-2024 14:04:02 b7f82c30da69: Waiting
06-Nov-2024 14:04:02 02474f0003a6: Waiting
06-Nov-2024 14:04:02 6ca29dd3eefb: Waiting
06-Nov-2024 14:04:02 c928d9705d04: Waiting
06-Nov-2024 14:04:02 d63a21225716: Waiting
06-Nov-2024 14:04:02 e4fa35a3f101: Waiting
06-Nov-2024 14:04:02 d28479a20582: Waiting
06-Nov-2024 14:04:02 c4c69ad8a211: Waiting
06-Nov-2024 14:04:02 05eaf213fc2d: Waiting
06-Nov-2024 14:04:02 7faafdfacc65: Waiting
06-Nov-2024 14:04:02 66680f2b7d45: Waiting
06-Nov-2024 14:04:02 07a400e93df3: Verifying Checksum
06-Nov-2024 14:04:02 07a400e93df3: Download complete
06-Nov-2024 14:04:02 59bf1c3509f3: Verifying Checksum
06-Nov-2024 14:04:02 59bf1c3509f3: Download complete
06-Nov-2024 14:04:02 3f64f10bfe42: Verifying Checksum
06-Nov-2024 14:04:02 3f64f10bfe42: Download complete
06-Nov-2024 14:04:02 591482cfca0c: Verifying Checksum
06-Nov-2024 14:04:02 591482cfca0c: Download complete
06-Nov-2024 14:04:02 c5d19c1fc206: Download complete
06-Nov-2024 14:04:02 9d1c822b0771: Download complete
06-Nov-2024 14:04:02 b01234416a1b: Verifying Checksum
06-Nov-2024 14:04:02 b01234416a1b: Download complete
06-Nov-2024 14:04:02 b7f82c30da69: Download complete
06-Nov-2024 14:04:02 6ca29dd3eefb: Verifying Checksum
06-Nov-2024 14:04:02 6ca29dd3eefb: Download complete
06-Nov-2024 14:04:03 c928d9705d04: Verifying Checksum
06-Nov-2024 14:04:03 c928d9705d04: Download complete
06-Nov-2024 14:04:03 d63a21225716: Verifying Checksum
06-Nov-2024 14:04:03 d63a21225716: Download complete
06-Nov-2024 14:04:03 59bf1c3509f3: Pull complete
06-Nov-2024 14:04:03 d28479a20582: Verifying Checksum
06-Nov-2024 14:04:03 d28479a20582: Download complete
06-Nov-2024 14:04:03 02474f0003a6: Verifying Checksum
06-Nov-2024 14:04:03 02474f0003a6: Download complete
06-Nov-2024 14:04:03 c4c69ad8a211: Verifying Checksum
06-Nov-2024 14:04:03 c4c69ad8a211: Download complete
06-Nov-2024 14:04:03 66680f2b7d45: Verifying Checksum
06-Nov-2024 14:04:03 66680f2b7d45: Download complete
06-Nov-2024 14:04:03 7faafdfacc65: Verifying Checksum
06-Nov-2024 14:04:03 7faafdfacc65: Download complete
06-Nov-2024 14:04:03 e4fa35a3f101: Verifying Checksum
06-Nov-2024 14:04:03 e4fa35a3f101: Download complete
06-Nov-2024 14:04:03 05eaf213fc2d: Verifying Checksum
06-Nov-2024 14:04:03 05eaf213fc2d: Download complete
06-Nov-2024 14:04:03 07a400e93df3: Pull complete
06-Nov-2024 14:04:04 3f64f10bfe42: Pull complete
06-Nov-2024 14:04:04 591482cfca0c: Pull complete
06-Nov-2024 14:04:05 9d1c822b0771: Pull complete
06-Nov-2024 14:04:05 c5d19c1fc206: Pull complete
06-Nov-2024 14:04:05 b01234416a1b: Pull complete
06-Nov-2024 14:04:05 b7f82c30da69: Pull complete
06-Nov-2024 14:04:05 6ca29dd3eefb: Pull complete
06-Nov-2024 14:04:06 c928d9705d04: Pull complete
06-Nov-2024 14:04:06 02474f0003a6: Pull complete
06-Nov-2024 14:04:06 d63a21225716: Pull complete
06-Nov-2024 14:04:15 e4fa35a3f101: Pull complete
06-Nov-2024 14:04:15 d28479a20582: Pull complete
06-Nov-2024 14:04:18 c4c69ad8a211: Pull complete
06-Nov-2024 14:04:19 66680f2b7d45: Pull complete
06-Nov-2024 14:04:20 7faafdfacc65: Pull complete
06-Nov-2024 14:04:20 05eaf213fc2d: Pull complete
06-Nov-2024 14:04:20 Digest: sha256:d7f6748cebe2c03c6eba8a889405e4c87c41bd7e0429f077b7e810ef123926e3
06-Nov-2024 14:04:20 Status: Downloaded newer image for openconceptlab/oclapi2@sha256:d7f6748cebe2c03c6eba8a889405e4c87c41bd7e0429f077b7e810ef123926e3
06-Nov-2024 14:04:40 ************* Module core.services.storages.cloud.aws
06-Nov-2024 14:04:40 core/services/storages/cloud/aws.py:4:0: W0611: Unused import requests (unused-import)
06-Nov-2024 14:06:56 ************* Module core.importers.importer
06-Nov-2024 14:06:56 core/importers/importer.py:5:0: W0611: Unused import uuid (unused-import)
06-Nov-2024 14:07:49
06-Nov-2024 14:07:49 ------------------------------------
06-Nov-2024 14:07:49 Your code has been rated at 10.00/10
06-Nov-2024 14:07:49
06-Nov-2024 14:07:50 Failing task since return code of [/home/bamboo-agent/bamboo-agent/temp/OCL-OCLAPI2-CF-2141-ScriptBuildTask-1770096613921467608.sh] was 4 while expected 0
06-Nov-2024 14:07:50 Finished task 'Run Pylint' with result: Failed
06-Nov-2024 14:07:50 Running post build plugin 'Docker Container Cleanup'
06-Nov-2024 14:07:50 Running post build plugin 'NCover Results Collector'
06-Nov-2024 14:07:50 Running post build plugin 'Build Results Label Collector'
06-Nov-2024 14:07:50 Running post build plugin 'Clover Results Collector'
06-Nov-2024 14:07:50 Running post build plugin 'npm Cache Cleanup'
06-Nov-2024 14:07:50 Running post build plugin 'Artifact Copier'
06-Nov-2024 14:07:50 Finalising the build...
06-Nov-2024 14:07:50 Stopping timer.
06-Nov-2024 14:07:50 Build OCL-OCLAPI2-CF-2141 completed.
06-Nov-2024 14:07:50 Running on server: post build plugin 'Build Hanging Detection Configuration'
06-Nov-2024 14:07:50 Running on server: post build plugin 'NCover Results Collector'
06-Nov-2024 14:07:50 Running on server: post build plugin 'Build Labeller'
06-Nov-2024 14:07:50 Running on server: post build plugin 'Clover Delta Calculator'
06-Nov-2024 14:07:50 Running on server: post build plugin 'Maven Dependencies Postprocessor'
06-Nov-2024 14:07:50 All post build plugins have finished
06-Nov-2024 14:07:50 Generating build results summary...
06-Nov-2024 14:07:50 Saving build results to disk...
06-Nov-2024 14:07:50 Store variable context...
06-Nov-2024 14:07:50 Finished building OCL-OCLAPI2-CF-2141.