OCL API 2

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

11-Oct-2024 05:07:13 Build Open Concept Lab - OCL API 2 - Check formatting #2124 (OCL-OCLAPI2-CF-2124) started building on agent yu.openmrs.org (3), bamboo version: 8.2.4
11-Oct-2024 05:07:13 Remote agent on host yu.openmrs.org
11-Oct-2024 05:07:13 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OCLAPI2-CF
11-Oct-2024 05:07:13 Executing build Open Concept Lab - OCL API 2 - Check formatting #2124 (OCL-OCLAPI2-CF-2124)
11-Oct-2024 05:07:13 Starting task 'Clean working directory task' of type 'com.atlassian.bamboo.plugins.bamboo-artifact-downloader-plugin:cleanWorkingDirectoryTask'
11-Oct-2024 05:07:13 Cleaning working directory '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OCLAPI2-CF'
11-Oct-2024 05:07:13 Finished task 'Clean working directory task' with result: Success
11-Oct-2024 05:07:13 Starting task 'Checkout source' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
11-Oct-2024 05:07:13 Checking out into /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OCLAPI2-CF
11-Oct-2024 05:07:13 Updating source code to revision: e67a640c5e5b90d7b7f517f697b0ea977d50f60f
11-Oct-2024 05:07:13 Creating local git repository in '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OCLAPI2-CF/.git'.
11-Oct-2024 05:07:13 hint: Using 'master' as the name for the initial branch. This default branch name
11-Oct-2024 05:07:13 hint: is subject to change. To configure the initial branch name to use in all
11-Oct-2024 05:07:13 hint: of your new repositories, which will suppress this warning, call:
11-Oct-2024 05:07:13 hint:
11-Oct-2024 05:07:13 hint:         git config --global init.defaultBranch <name>
11-Oct-2024 05:07:13 hint:
11-Oct-2024 05:07:13 hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
11-Oct-2024 05:07:13 hint: 'development'. The just-created branch can be renamed via this command:
11-Oct-2024 05:07:13 hint:
11-Oct-2024 05:07:13 hint:         git branch -m <name>
11-Oct-2024 05:07:13 Initialized empty Git repository in /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OCLAPI2-CF/.git/
11-Oct-2024 05:07:14 Fetching 'refs/heads/master' from 'https://github.com/OpenConceptLab/oclapi2.git'. Will try to do a shallow fetch.
11-Oct-2024 05:07:16 From https://github.com/OpenConceptLab/oclapi2
11-Oct-2024 05:07:16 * [new branch]      master     -> master
11-Oct-2024 05:07:16 Checking out revision e67a640c5e5b90d7b7f517f697b0ea977d50f60f.
11-Oct-2024 05:07:17 Already on 'master'
11-Oct-2024 05:07:17 Updated source code to revision: e67a640c5e5b90d7b7f517f697b0ea977d50f60f
11-Oct-2024 05:07:17 Finished task 'Checkout source' with result: Success
11-Oct-2024 05:07:17 Running pre-build action: Build Log Labeller Pre Build Action
11-Oct-2024 05:07:17 Running pre-build action: VCS Version Collector
11-Oct-2024 05:07:17 Running pre-build action: Run Predator
11-Oct-2024 05:07:17 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
11-Oct-2024 05:07:17 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
11-Oct-2024 05:07:17 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
11-Oct-2024 05:07:18 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
11-Oct-2024 05:07:18 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1918 java        1404 bamboo-age 2995Mb  602Mb 00:45:46 /usr/lib/jvm/java-8-ope
11-Oct-2024 05:07:18 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1404 wrapper        1 bamboo-age   16Mb    2Mb 00:11:43 /home/bamboo-agent/bamb
11-Oct-2024 05:07:18 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   12Mb 00:01:05 /sbin/init             
11-Oct-2024 05:07:18 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
11-Oct-2024 05:07:18 [PredatorPreBuildAction] Initial free space: 3.1961098 GB
11-Oct-2024 05:07:18 [PredatorPreBuildAction] Deleting 0 snapshot folders from /home/bamboo-agent/.m2/repository
11-Oct-2024 05:07:18 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
11-Oct-2024 05:07:18 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
11-Oct-2024 05:07:19 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
11-Oct-2024 05:07:19 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
11-Oct-2024 05:07:19 [PredatorPreBuildAction] File /home/bamboo-agent/.docker/config.json does not exist.
11-Oct-2024 05:07:19 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
11-Oct-2024 05:07:19 [PredatorPreBuildAction] Final free space: 3.1961021 GB
11-Oct-2024 05:07:19 [PredatorPreBuildAction] Done
11-Oct-2024 05:07:19
Substituting variable: ${bamboo.docker.image.id} with openconceptlab/oclapi2@sha256:1124c276c3045895becff6405ad43a4e53df2659f53b4d99b20bedaf977a752f
11-Oct-2024 05:07:19 Starting task 'Run Pylint' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
11-Oct-2024 05:07:19
Beginning to execute external process for build 'Open Concept Lab - OCL API 2 - Check formatting #2124 (OCL-OCLAPI2-CF-2124)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/OCL-OCLAPI2-CF-2124-ScriptBuildTask-1582775030100500557.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OCLAPI2-CF
11-Oct-2024 05:07:19 + echo 'Running Pylint'
11-Oct-2024 05:07:19 Running Pylint
11-Oct-2024 05:07:19 ++ pwd
11-Oct-2024 05:07:19 + docker run -v /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OCLAPI2-CF:/code:z --rm openconceptlab/oclapi2@sha256:1124c276c3045895becff6405ad43a4e53df2659f53b4d99b20bedaf977a752f pylint -j0 core
11-Oct-2024 05:07:19 Unable to find image 'openconceptlab/oclapi2@sha256:1124c276c3045895becff6405ad43a4e53df2659f53b4d99b20bedaf977a752f' locally
11-Oct-2024 05:07:19 docker.io/openconceptlab/oclapi2@sha256:1124c276c3045895becff6405ad43a4e53df2659f53b4d99b20bedaf977a752f: Pulling from openconceptlab/oclapi2
11-Oct-2024 05:07:19 59bf1c3509f3: Already exists
11-Oct-2024 05:07:19 07a400e93df3: Already exists
11-Oct-2024 05:07:19 3f64f10bfe42: Already exists
11-Oct-2024 05:07:19 591482cfca0c: Already exists
11-Oct-2024 05:07:19 9d1c822b0771: Already exists
11-Oct-2024 05:07:19 fc46ad577d24: Pulling fs layer
11-Oct-2024 05:07:19 e7e2e8842213: Pulling fs layer
11-Oct-2024 05:07:19 a40bb36669c4: Pulling fs layer
11-Oct-2024 05:07:19 c33873c6a243: Pulling fs layer
11-Oct-2024 05:07:19 8c28200addd5: Pulling fs layer
11-Oct-2024 05:07:19 3e6d7e6df498: Pulling fs layer
11-Oct-2024 05:07:19 bf2b6a0d6f87: Pulling fs layer
11-Oct-2024 05:07:19 33e3ab3acfe5: Pulling fs layer
11-Oct-2024 05:07:19 29f35b8424d2: Pulling fs layer
11-Oct-2024 05:07:19 e3f5eb2f8b43: Pulling fs layer
11-Oct-2024 05:07:19 0fbf9e68d8a8: Pulling fs layer
11-Oct-2024 05:07:19 16d2917c74f1: Pulling fs layer
11-Oct-2024 05:07:19 5dd1912fd266: Pulling fs layer
11-Oct-2024 05:07:19 c33873c6a243: Waiting
11-Oct-2024 05:07:19 8c28200addd5: Waiting
11-Oct-2024 05:07:19 3e6d7e6df498: Waiting
11-Oct-2024 05:07:19 bf2b6a0d6f87: Waiting
11-Oct-2024 05:07:19 33e3ab3acfe5: Waiting
11-Oct-2024 05:07:19 29f35b8424d2: Waiting
11-Oct-2024 05:07:19 e3f5eb2f8b43: Waiting
11-Oct-2024 05:07:19 0fbf9e68d8a8: Waiting
11-Oct-2024 05:07:19 16d2917c74f1: Waiting
11-Oct-2024 05:07:19 5dd1912fd266: Waiting
11-Oct-2024 05:07:19 fc46ad577d24: Download complete
11-Oct-2024 05:07:19 e7e2e8842213: Verifying Checksum
11-Oct-2024 05:07:19 e7e2e8842213: Download complete
11-Oct-2024 05:07:19 a40bb36669c4: Verifying Checksum
11-Oct-2024 05:07:19 a40bb36669c4: Download complete
11-Oct-2024 05:07:20 8c28200addd5: Verifying Checksum
11-Oct-2024 05:07:20 8c28200addd5: Download complete
11-Oct-2024 05:07:20 c33873c6a243: Verifying Checksum
11-Oct-2024 05:07:20 c33873c6a243: Download complete
11-Oct-2024 05:07:20 fc46ad577d24: Pull complete
11-Oct-2024 05:07:20 bf2b6a0d6f87: Verifying Checksum
11-Oct-2024 05:07:20 bf2b6a0d6f87: Download complete
11-Oct-2024 05:07:20 e7e2e8842213: Pull complete
11-Oct-2024 05:07:20 29f35b8424d2: Verifying Checksum
11-Oct-2024 05:07:20 29f35b8424d2: Download complete
11-Oct-2024 05:07:20 3e6d7e6df498: Download complete
11-Oct-2024 05:07:20 a40bb36669c4: Pull complete
11-Oct-2024 05:07:20 e3f5eb2f8b43: Verifying Checksum
11-Oct-2024 05:07:20 e3f5eb2f8b43: Download complete
11-Oct-2024 05:07:20 0fbf9e68d8a8: Verifying Checksum
11-Oct-2024 05:07:20 0fbf9e68d8a8: Download complete
11-Oct-2024 05:07:20 16d2917c74f1: Download complete
11-Oct-2024 05:07:21 33e3ab3acfe5: Verifying Checksum
11-Oct-2024 05:07:21 33e3ab3acfe5: Download complete
11-Oct-2024 05:07:21 5dd1912fd266: Download complete
11-Oct-2024 05:07:21 c33873c6a243: Pull complete
11-Oct-2024 05:07:21 8c28200addd5: Pull complete
11-Oct-2024 05:07:22 3e6d7e6df498: Pull complete
11-Oct-2024 05:07:22 bf2b6a0d6f87: Pull complete
11-Oct-2024 05:07:29 33e3ab3acfe5: Pull complete
11-Oct-2024 05:07:29 29f35b8424d2: Pull complete
11-Oct-2024 05:07:33 e3f5eb2f8b43: Pull complete
11-Oct-2024 05:07:34 0fbf9e68d8a8: Pull complete
11-Oct-2024 05:07:34 16d2917c74f1: Pull complete
11-Oct-2024 05:07:34 5dd1912fd266: Pull complete
11-Oct-2024 05:07:34 Digest: sha256:1124c276c3045895becff6405ad43a4e53df2659f53b4d99b20bedaf977a752f
11-Oct-2024 05:07:34 Status: Downloaded newer image for openconceptlab/oclapi2@sha256:1124c276c3045895becff6405ad43a4e53df2659f53b4d99b20bedaf977a752f
11-Oct-2024 05:07:39 ************* Module core.settings
11-Oct-2024 05:07:39 core/settings.py:561:0: C0301: Line too long (124/120) (line-too-long)
11-Oct-2024 05:11:17
11-Oct-2024 05:11:17 ------------------------------------
11-Oct-2024 05:11:17 Your code has been rated at 10.00/10
11-Oct-2024 05:11:17
11-Oct-2024 05:11:18 Failing task since return code of [/home/bamboo-agent/bamboo-agent/temp/OCL-OCLAPI2-CF-2124-ScriptBuildTask-1582775030100500557.sh] was 16 while expected 0
11-Oct-2024 05:11:18 Finished task 'Run Pylint' with result: Failed
11-Oct-2024 05:11:18 Running post build plugin 'Docker Container Cleanup'
11-Oct-2024 05:11:18 Running post build plugin 'NCover Results Collector'
11-Oct-2024 05:11:18 Running post build plugin 'Build Results Label Collector'
11-Oct-2024 05:11:18 Running post build plugin 'Clover Results Collector'
11-Oct-2024 05:11:18 Running post build plugin 'npm Cache Cleanup'
11-Oct-2024 05:11:18 Running post build plugin 'Artifact Copier'
11-Oct-2024 05:11:18 Finalising the build...
11-Oct-2024 05:11:18 Stopping timer.
11-Oct-2024 05:11:18 Build OCL-OCLAPI2-CF-2124 completed.
11-Oct-2024 05:11:18 Running on server: post build plugin 'Build Hanging Detection Configuration'
11-Oct-2024 05:11:18 Running on server: post build plugin 'NCover Results Collector'
11-Oct-2024 05:11:18 Running on server: post build plugin 'Build Labeller'
11-Oct-2024 05:11:18 Running on server: post build plugin 'Clover Delta Calculator'
11-Oct-2024 05:11:18 Running on server: post build plugin 'Maven Dependencies Postprocessor'
11-Oct-2024 05:11:18 All post build plugins have finished
11-Oct-2024 05:11:18 Generating build results summary...
11-Oct-2024 05:11:18 Saving build results to disk...
11-Oct-2024 05:11:18 Store variable context...
11-Oct-2024 05:11:18 Finished building OCL-OCLAPI2-CF-2124.