Runs unit test and deploys artifacts to maven repo. More details of the release in https://wiki.openmrs.org/x/i4DTAw

Build: #239 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

  2. Release

    Requires a user to start manually

Build log

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

26-May-2025 12:39:56 Build Event Module - Event Module Latest - Default Job #239 (EVNT-LATEST-JOB1-239) started building on agent xindi.openmrs.org (3), bamboo version: 8.2.4
26-May-2025 12:39:56 Remote agent on host xindi.openmrs.org
26-May-2025 12:39:56 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/EVNT-LATEST-JOB1
26-May-2025 12:39:56 Executing build Event Module - Event Module Latest - Default Job #239 (EVNT-LATEST-JOB1-239)
26-May-2025 12:39:56 Running pre-build action: Build Log Labeller Pre Build Action
26-May-2025 12:39:56 Running pre-build action: VCS Version Collector
26-May-2025 12:39:56 Running pre-build action: Run Predator
26-May-2025 12:39:56 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
26-May-2025 12:39:56 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
26-May-2025 12:39:56 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
26-May-2025 12:39:56 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
26-May-2025 12:39:56 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1399 java        1343 bamboo-age 2996Mb  673Mb 00:24:11 /usr/lib/jvm/java-8-ope
26-May-2025 12:39:56 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1343 wrapper        1 bamboo-age   16Mb    1Mb 00:04:45 /home/bamboo-agent/bamb
26-May-2025 12:39:56 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 00:00:48 /sbin/init             
26-May-2025 12:39:56 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
26-May-2025 12:39:56 [PredatorPreBuildAction] Initial free space: 2.9509697 GB
26-May-2025 12:39:56 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REGAPP-REGAPP-JOB1
26-May-2025 12:39:57 [PredatorPreBuildAction] Deleting 15 snapshot folders from /home/bamboo-agent/.m2/repository
26-May-2025 12:39:57 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
26-May-2025 12:39:57 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
26-May-2025 12:39:58 [PredatorPreBuildAction] Maven stable disk freed: 0.50024134 GB, deleted 82 files
26-May-2025 12:39:58 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
26-May-2025 12:39:58 [PredatorPreBuildAction] File /home/bamboo-agent/.docker/config.json does not exist.
26-May-2025 12:39:58 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
26-May-2025 12:39:58 [PredatorPreBuildAction] Final free space: 3.0560188 GB
26-May-2025 12:39:58 [PredatorPreBuildAction] Done
26-May-2025 12:39:58 Skipping execution of task 'Temporarily resolve file permissions' as it is disabled
26-May-2025 12:39:58 Starting task 'Source Code Checkout' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
26-May-2025 12:39:58 Build always requires a clean checkout
26-May-2025 12:39:58 Cleaning build directory '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/EVNT-LATEST-JOB1'
26-May-2025 12:39:58 Unable to clean source directory '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/EVNT-LATEST-JOB1' /home/bamboo-agent/bamboo-agent/xml-data/build-dir/EVNT-LATEST-JOB1/api/target: Operation not permitted
26-May-2025 12:39:58 Build always requires a clean checkout
26-May-2025 12:39:58 Cleaning build directory '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/EVNT-LATEST-JOB1'
26-May-2025 12:39:58 Unable to clean source directory '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/EVNT-LATEST-JOB1' /home/bamboo-agent/bamboo-agent/xml-data/build-dir/EVNT-LATEST-JOB1/api/target: Operation not permitted
26-May-2025 12:39:58 Build always requires a clean checkout
26-May-2025 12:39:58 Cleaning build directory '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/EVNT-LATEST-JOB1'
26-May-2025 12:39:58 Unable to clean source directory '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/EVNT-LATEST-JOB1' /home/bamboo-agent/bamboo-agent/xml-data/build-dir/EVNT-LATEST-JOB1/api/target: Operation not permitted
26-May-2025 12:39:58 Error occurred while running Task '(3)' of type com.atlassian.bamboo.plugins.vcs:task.vcs.checkout.
26-May-2025 12:39:58 java.lang.RuntimeException: com.atlassian.bamboo.repository.RepositoryException: Unable to clean source directory '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/EVNT-LATEST-JOB1' /home/bamboo-agent/bamboo-agent/xml-data/build-dir/EVNT-LATEST-JOB1/api/target: Operation not permitted
26-May-2025 12:39:58         at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:142)
26-May-2025 12:39:58         at com.atlassian.bamboo.executor.RetryingTaskExecutor.runTask(RetryingTaskExecutor.java:99)
26-May-2025 12:39:58         at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:208)
26-May-2025 12:39:58         at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:189)
26-May-2025 12:39:58         at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.preRetrieveSourceCode(VcsCheckoutTask.java:157)
26-May-2025 12:39:58         at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.execute(VcsCheckoutTask.java:109)
26-May-2025 12:39:58         at com.atlassian.bamboo.task.TaskExecutorImpl.lambda$executeTasks$3(TaskExecutorImpl.java:323)
26-May-2025 12:39:58         at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:258)
26-May-2025 12:39:58         at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:323)
26-May-2025 12:39:58         at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:118)
26-May-2025 12:39:58         at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:73)
26-May-2025 12:39:58         at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.executeBuildPhase(DefaultBuildAgent.java:205)
26-May-2025 12:39:58         at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:177)
26-May-2025 12:39:58         at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.lambda$waitAndPerformBuild$0(BuildAgentControllerImpl.java:169)
26-May-2025 12:39:58         at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:118)
26-May-2025 12:39:58         at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:162)
26-May-2025 12:39:58         at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.lambda$start$0(DefaultBuildAgent.java:122)
26-May-2025 12:39:58         at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:48)
26-May-2025 12:39:58         at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:26)
26-May-2025 12:39:58         at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:17)
26-May-2025 12:39:58         at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:41)
26-May-2025 12:39:58         at java.lang.Thread.run(Thread.java:750)
26-May-2025 12:39:58 Caused by: com.atlassian.bamboo.repository.RepositoryException: Unable to clean source directory '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/EVNT-LATEST-JOB1' /home/bamboo-agent/bamboo-agent/xml-data/build-dir/EVNT-LATEST-JOB1/api/target: Operation not permitted
26-May-2025 12:39:58         at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.cleanWorkingDirIfNeeded(VcsCheckoutTask.java:265)
26-May-2025 12:39:58         at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.access$100(VcsCheckoutTask.java:55)
26-May-2025 12:39:58         at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask$2.call(VcsCheckoutTask.java:160)
26-May-2025 12:39:58         at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask$2.call(VcsCheckoutTask.java:157)
26-May-2025 12:39:58         at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:112)
26-May-2025 12:39:58         ... 21 more
26-May-2025 12:39:58 Caused by: java.nio.file.FileSystemException: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/EVNT-LATEST-JOB1/api/target: Operation not permitted
26-May-2025 12:39:58         at sun.nio.fs.UnixException.translateToIOException(UnixException.java:91)
26-May-2025 12:39:58         at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
26-May-2025 12:39:58         at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
26-May-2025 12:39:58         at sun.nio.fs.UnixFileAttributeViews$Posix.setMode(UnixFileAttributeViews.java:238)
26-May-2025 12:39:58         at sun.nio.fs.UnixFileAttributeViews$Posix.setPermissions(UnixFileAttributeViews.java:260)
26-May-2025 12:39:58         at com.atlassian.bamboo.utils.BambooPathUtils$1.preVisitDirectory(BambooPathUtils.java:111)
26-May-2025 12:39:58         at com.atlassian.bamboo.utils.BambooPathUtils$1.preVisitDirectory(BambooPathUtils.java:91)
26-May-2025 12:39:58         at java.nio.file.Files.walkFileTree(Files.java:2677)
26-May-2025 12:39:58         at java.nio.file.Files.walkFileTree(Files.java:2742)
26-May-2025 12:39:58         at com.atlassian.bamboo.utils.BambooPathUtils.cleanDirectory(BambooPathUtils.java:80)
26-May-2025 12:39:58         at com.atlassian.bamboo.util.BambooFileUtils.cleanDirectory(BambooFileUtils.java:612)
26-May-2025 12:39:58         at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.cleanWorkingDirIfNeeded(VcsCheckoutTask.java:261)
26-May-2025 12:39:58         ... 25 more
26-May-2025 12:39:58 Running post build plugin 'Docker Container Cleanup'
26-May-2025 12:39:58 Running post build plugin 'NCover Results Collector'
26-May-2025 12:39:58 Running post build plugin 'Build Results Label Collector'
26-May-2025 12:39:58 Running post build plugin 'Clover Results Collector'
26-May-2025 12:39:58 Running post build plugin 'npm Cache Cleanup'
26-May-2025 12:39:58 Running post build plugin 'Artifact Copier'
26-May-2025 12:39:58 Finalising the build...
26-May-2025 12:39:58 Stopping timer.
26-May-2025 12:39:58 Build EVNT-LATEST-JOB1-239 completed.
26-May-2025 12:39:58 Running on server: post build plugin 'Build Hanging Detection Configuration'
26-May-2025 12:39:58 Running on server: post build plugin 'NCover Results Collector'
26-May-2025 12:39:58 Running on server: post build plugin 'Build Labeller'
26-May-2025 12:39:58 Running on server: post build plugin 'Clover Delta Calculator'
26-May-2025 12:39:58 Running on server: post build plugin 'Maven Dependencies Postprocessor'
26-May-2025 12:39:58 All post build plugins have finished
26-May-2025 12:39:58 Generating build results summary...
26-May-2025 12:39:58 Saving build results to disk...
26-May-2025 12:39:58 Store variable context...
26-May-2025 12:39:58 Finished building EVNT-LATEST-JOB1-239.