pulls translations from transifex and commits them to github

Build: #3061 failed

Job: allergyapi failed

Build log

The build generated 110 lines of output. Download or view full build log.

21-Dec-2024 01:00:12 Build TRANSIFEX - Commit Translations to GitHub - allergyapi #3061 (TRAN-TRAN-ALP-3061) started building on agent xiao.openmrs.org (3), bamboo version: 8.2.4
21-Dec-2024 01:00:12 Remote agent on host xiao.openmrs.org
21-Dec-2024 01:00:12 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRAN-TRAN-ALP
21-Dec-2024 01:00:12 Executing build TRANSIFEX - Commit Translations to GitHub - allergyapi #3061 (TRAN-TRAN-ALP-3061)
21-Dec-2024 01:00:12 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
21-Dec-2024 01:00:12 Build always requires a clean checkout
21-Dec-2024 01:00:12 Cleaning build directory '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRAN-TRAN-ALP'
21-Dec-2024 01:00:12 Build always requires a clean checkout
21-Dec-2024 01:00:12 Cleaning build directory '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRAN-TRAN-ALP/release-scripts'
21-Dec-2024 01:00:12 Checking out into /home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRAN-TRAN-ALP
21-Dec-2024 01:00:12 Updating source code to revision: aac163c9b2800410c2aef83ae69ace03ee95c0d1
21-Dec-2024 01:00:12 Creating local git repository in '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRAN-TRAN-ALP/.git'.
21-Dec-2024 01:00:12 hint: Using 'master' as the name for the initial branch. This default branch name
21-Dec-2024 01:00:12 hint: is subject to change. To configure the initial branch name to use in all
21-Dec-2024 01:00:12 hint: of your new repositories, which will suppress this warning, call:
21-Dec-2024 01:00:12 hint:
21-Dec-2024 01:00:12 hint:         git config --global init.defaultBranch <name>
21-Dec-2024 01:00:12 hint:
21-Dec-2024 01:00:12 hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
21-Dec-2024 01:00:12 hint: 'development'. The just-created branch can be renamed via this command:
21-Dec-2024 01:00:12 hint:
21-Dec-2024 01:00:12 hint:         git branch -m <name>
21-Dec-2024 01:00:12 Initialized empty Git repository in /home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRAN-TRAN-ALP/.git/
21-Dec-2024 01:00:12 Fetching 'refs/heads/master' from 'https://github.com/openmrs/openmrs-module-allergyapi.git'. Will try to do a shallow fetch.
21-Dec-2024 01:00:12 From https://github.com/openmrs/openmrs-module-allergyapi
21-Dec-2024 01:00:12 * [new branch]      master     -> master
21-Dec-2024 01:00:12 Checking out revision aac163c9b2800410c2aef83ae69ace03ee95c0d1.
21-Dec-2024 01:00:12 Already on 'master'
21-Dec-2024 01:00:12 Updated source code to revision: aac163c9b2800410c2aef83ae69ace03ee95c0d1
21-Dec-2024 01:00:12 Checking out into /home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRAN-TRAN-ALP/release-scripts
21-Dec-2024 01:00:12 Updating source code to revision: ced9ff00825ca1cb8c744547be4ba8ff994bd71b
21-Dec-2024 01:00:12 Creating local git repository in '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRAN-TRAN-ALP/release-scripts/.git'.
21-Dec-2024 01:00:12 hint: Using 'master' as the name for the initial branch. This default branch name
21-Dec-2024 01:00:12 hint: is subject to change. To configure the initial branch name to use in all
21-Dec-2024 01:00:12 hint: of your new repositories, which will suppress this warning, call:
21-Dec-2024 01:00:12 hint:
21-Dec-2024 01:00:12 hint:         git config --global init.defaultBranch <name>
21-Dec-2024 01:00:12 hint:
21-Dec-2024 01:00:12 hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
21-Dec-2024 01:00:12 hint: 'development'. The just-created branch can be renamed via this command:
21-Dec-2024 01:00:12 hint:
21-Dec-2024 01:00:12 hint:         git branch -m <name>
21-Dec-2024 01:00:12 Initialized empty Git repository in /home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRAN-TRAN-ALP/release-scripts/.git/
21-Dec-2024 01:00:12 Fetching 'refs/heads/master' from 'https://github.com/openmrs/openmrs-contrib-bamboo.git'.
21-Dec-2024 01:00:12 From https://github.com/openmrs/openmrs-contrib-bamboo
21-Dec-2024 01:00:12 * [new branch]      master     -> master
21-Dec-2024 01:00:12 Checking out revision ced9ff00825ca1cb8c744547be4ba8ff994bd71b.
21-Dec-2024 01:00:12 Already on 'master'
21-Dec-2024 01:00:12 Updated source code to revision: ced9ff00825ca1cb8c744547be4ba8ff994bd71b
21-Dec-2024 01:00:12 Finished task 'Checkout Default Repository' with result: Success
21-Dec-2024 01:00:12 Running pre-build action: Build Log Labeller Pre Build Action
21-Dec-2024 01:00:12 Running pre-build action: VCS Version Collector
21-Dec-2024 01:00:12 Running pre-build action: Run Predator
21-Dec-2024 01:00:12 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
21-Dec-2024 01:00:12 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
21-Dec-2024 01:00:12 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
21-Dec-2024 01:00:13 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
21-Dec-2024 01:00:13 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  3084 java        1262 bamboo-age 2999Mb  569Mb 01:17:16 /usr/lib/jvm/java-8-ope
21-Dec-2024 01:00:13 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1262 wrapper        1 bamboo-age   16Mb    2Mb 00:19:42 /home/bamboo-agent/bamb
21-Dec-2024 01:00:13 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 00:02:02 /sbin/init             
21-Dec-2024 01:00:13 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
21-Dec-2024 01:00:13 [PredatorPreBuildAction] Initial free space: 5.4459953 GB
21-Dec-2024 01:00:13 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRAN-TRAN-PRIN
21-Dec-2024 01:00:13 [PredatorPreBuildAction] Deleting 0 snapshot folders from /home/bamboo-agent/.m2/repository
21-Dec-2024 01:00:13 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
21-Dec-2024 01:00:13 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
21-Dec-2024 01:00:14 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
21-Dec-2024 01:00:14 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
21-Dec-2024 01:00:14 [PredatorPreBuildAction] File /home/bamboo-agent/.docker/config.json does not exist.
21-Dec-2024 01:00:14 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
21-Dec-2024 01:00:14 [PredatorPreBuildAction] Final free space: 5.447006 GB
21-Dec-2024 01:00:14 [PredatorPreBuildAction] Done
21-Dec-2024 01:00:14 Starting task 'Retrieve translations and commit' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.command'
21-Dec-2024 01:00:14
Beginning to execute external process for build 'TRANSIFEX - Commit Translations to GitHub - allergyapi #3061 (TRAN-TRAN-ALP-3061)'
... running command line:
/bin/bash release-scripts/update-and-commit-translations.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRAN-TRAN-ALP
21-Dec-2024 01:00:14 + tx --traceback pull -f
21-Dec-2024 01:00:14 Traceback (most recent call last):
21-Dec-2024 01:00:14   File "/usr/local/lib/python3.10/dist-packages/txclib/cmdline.py", line 112, in main
21-Dec-2024 01:00:14     utils.exec_command(cmd, args[1:], path_to_tx)
21-Dec-2024 01:00:14   File "/usr/local/lib/python3.10/dist-packages/txclib/utils.py", line 253, in exec_command
21-Dec-2024 01:00:14     cmd_fn(*args, **kwargs)
21-Dec-2024 01:00:14   File "/usr/local/lib/python3.10/dist-packages/txclib/commands.py", line 371, in cmd_pull
21-Dec-2024 01:00:14     prj.pull(
21-Dec-2024 01:00:14   File "/usr/local/lib/python3.10/dist-packages/txclib/project.py", line 472, in pull
21-Dec-2024 01:00:14     resource_list = self.get_chosen_resources(resources)
21-Dec-2024 01:00:14   File "/usr/local/lib/python3.10/dist-packages/txclib/project.py", line 1264, in get_chosen_resources
21-Dec-2024 01:00:14     configured_resources = self.get_resource_list()
21-Dec-2024 01:00:14   File "/usr/local/lib/python3.10/dist-packages/txclib/project.py", line 425, in get_resource_list
21-Dec-2024 01:00:14     p_slug, r_slug = r.split('.', 1)
21-Dec-2024 01:00:14 ValueError: not enough values to unpack (expected 2, got 1)
21-Dec-2024 01:00:14 Failing task since return code of [/bin/bash release-scripts/update-and-commit-translations.sh] was 1 while expected 0
21-Dec-2024 01:00:14 Finished task 'Retrieve translations and commit' with result: Failed
21-Dec-2024 01:00:14 Running post build plugin 'Docker Container Cleanup'
21-Dec-2024 01:00:14 Running post build plugin 'NCover Results Collector'
21-Dec-2024 01:00:14 Running post build plugin 'Build Results Label Collector'
21-Dec-2024 01:00:14 Running post build plugin 'Clover Results Collector'
21-Dec-2024 01:00:14 Running post build plugin 'npm Cache Cleanup'
21-Dec-2024 01:00:14 Running post build plugin 'Artifact Copier'
21-Dec-2024 01:00:14 Finalising the build...
21-Dec-2024 01:00:14 Stopping timer.
21-Dec-2024 01:00:14 Build TRAN-TRAN-ALP-3061 completed.
21-Dec-2024 01:00:14 Running on server: post build plugin 'Build Hanging Detection Configuration'
21-Dec-2024 01:00:14 Running on server: post build plugin 'NCover Results Collector'
21-Dec-2024 01:00:14 Running on server: post build plugin 'Build Labeller'
21-Dec-2024 01:00:14 Running on server: post build plugin 'Clover Delta Calculator'
21-Dec-2024 01:00:14 Running on server: post build plugin 'Maven Dependencies Postprocessor'
21-Dec-2024 01:00:14 All post build plugins have finished
21-Dec-2024 01:00:14 Generating build results summary...
21-Dec-2024 01:00:14 Saving build results to disk...
21-Dec-2024 01:00:14 Store variable context...
21-Dec-2024 01:00:14 Finished building TRAN-TRAN-ALP-3061.