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