Build: #264 failed

Job: Deploy to Maven failed

Stages & jobs

  1. Build and Tests

  2. Deploy

  3. Release

    Requires a user to start manually

Build log

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

05-Sep-2025 22:45:54 Build Metadata Mapping Module - Metadata Mapping Module - Deploy to Maven #264 (METAM-METAM-DTM-264) is being prepared for building on agent yu.openmrs.org (2), bamboo version: 11.0.2
05-Sep-2025 22:45:54 Remote agent on host yu.openmrs.org
05-Sep-2025 22:45:54 Build working directory is /data/bamboo-agent/xml-data/build-dir/METAM-METAM-DTM
05-Sep-2025 22:45:54 Cleaning directory /data/bamboo-agent/xml-data/build-dir/METAM-METAM-DTM
05-Sep-2025 22:45:58 Unable to clean source directory '/data/bamboo-agent/xml-data/build-dir/METAM-METAM-DTM' /data/bamboo-agent/xml-data/build-dir/METAM-METAM-DTM/owa/dist: Operation not permitted
05-Sep-2025 22:45:58 Executing build Metadata Mapping Module - Metadata Mapping Module - Deploy to Maven #264 (METAM-METAM-DTM-264)
05-Sep-2025 22:45:58 Starting task 'Checkout default repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
05-Sep-2025 22:45:58 Checking out into /data/bamboo-agent/xml-data/build-dir/METAM-METAM-DTM
05-Sep-2025 22:45:58 Updating source code to revision: 2a27bf07868a0f5bcb6326625c11f217c7c92e0a
05-Sep-2025 22:45:58 Creating local git repository in '/data/bamboo-agent/xml-data/build-dir/_git-repositories-cache/c5a4f9aaa265dfceca53deb36a5cbd80807f66b7/.git'.
05-Sep-2025 22:45:58 hint: Using 'master' as the name for the initial branch. This default branch name
05-Sep-2025 22:45:58 hint: is subject to change. To configure the initial branch name to use in all
05-Sep-2025 22:45:58 hint: of your new repositories, which will suppress this warning, call:
05-Sep-2025 22:45:58 hint:
05-Sep-2025 22:45:58 hint:         git config --global init.defaultBranch <name>
05-Sep-2025 22:45:58 hint:
05-Sep-2025 22:45:58 hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
05-Sep-2025 22:45:58 hint: 'development'. The just-created branch can be renamed via this command:
05-Sep-2025 22:45:58 hint:
05-Sep-2025 22:45:58 hint:         git branch -m <name>
05-Sep-2025 22:45:58 Initialized empty Git repository in /data/bamboo-agent/xml-data/build-dir/_git-repositories-cache/c5a4f9aaa265dfceca53deb36a5cbd80807f66b7/.git/
05-Sep-2025 22:45:59 Fetching 'refs/heads/master' from 'https://github.com/openmrs/openmrs-module-metadatamapping'.
05-Sep-2025 22:45:59 Checking out revision 2a27bf07868a0f5bcb6326625c11f217c7c92e0a.
05-Sep-2025 22:45:59 Creating local git repository in '/data/bamboo-agent/xml-data/build-dir/METAM-METAM-DTM/.git'.
05-Sep-2025 22:45:59 fatal: destination path '/data/bamboo-agent/xml-data/build-dir/METAM-METAM-DTM' already exists and is not an empty directory.
05-Sep-2025 22:45:59 Checkout to revision 2a27bf07868a0f5bcb6326625c11f217c7c92e0a has failed.
05-Sep-2025 22:45:59 fatal: not a git repository (or any parent up to mount point /)
05-Sep-2025 22:45:59 Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
05-Sep-2025 22:45:59 Warning: failed to checkout source code to directory '/data/bamboo-agent/xml-data/build-dir/METAM-METAM-DTM', trying to recover...
05-Sep-2025 22:45:59 Cleaned source directory '/data/bamboo-agent/xml-data/build-dir/METAM-METAM-DTM'...
05-Sep-2025 22:45:59 Checking out revision 2a27bf07868a0f5bcb6326625c11f217c7c92e0a.
05-Sep-2025 22:45:59 Creating local git repository in '/data/bamboo-agent/xml-data/build-dir/METAM-METAM-DTM/.git'.
05-Sep-2025 22:45:59 fatal: destination path '/data/bamboo-agent/xml-data/build-dir/METAM-METAM-DTM' already exists and is not an empty directory.
05-Sep-2025 22:45:59 Checkout to revision 2a27bf07868a0f5bcb6326625c11f217c7c92e0a has failed.
05-Sep-2025 22:45:59 fatal: not a git repository (or any parent up to mount point /)
05-Sep-2025 22:45:59 Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
05-Sep-2025 22:45:59 Updating source code to revision: 2a27bf07868a0f5bcb6326625c11f217c7c92e0a
05-Sep-2025 22:45:59 Fetching 'refs/heads/master' from 'https://github.com/openmrs/openmrs-module-metadatamapping'.
05-Sep-2025 22:45:59 Checking out revision 2a27bf07868a0f5bcb6326625c11f217c7c92e0a.
05-Sep-2025 22:45:59 Creating local git repository in '/data/bamboo-agent/xml-data/build-dir/METAM-METAM-DTM/.git'.
05-Sep-2025 22:45:59 fatal: destination path '/data/bamboo-agent/xml-data/build-dir/METAM-METAM-DTM' already exists and is not an empty directory.
05-Sep-2025 22:45:59 Checkout to revision 2a27bf07868a0f5bcb6326625c11f217c7c92e0a has failed.
05-Sep-2025 22:45:59 fatal: not a git repository (or any parent up to mount point /)
05-Sep-2025 22:45:59 Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
05-Sep-2025 22:45:59 Warning: failed to checkout source code to directory '/data/bamboo-agent/xml-data/build-dir/METAM-METAM-DTM', trying to recover...
05-Sep-2025 22:45:59 Cleaned source directory '/data/bamboo-agent/xml-data/build-dir/METAM-METAM-DTM'...
05-Sep-2025 22:45:59 Checking out revision 2a27bf07868a0f5bcb6326625c11f217c7c92e0a.
05-Sep-2025 22:45:59 Creating local git repository in '/data/bamboo-agent/xml-data/build-dir/METAM-METAM-DTM/.git'.
05-Sep-2025 22:45:59 fatal: destination path '/data/bamboo-agent/xml-data/build-dir/METAM-METAM-DTM' already exists and is not an empty directory.
05-Sep-2025 22:45:59 Checkout to revision 2a27bf07868a0f5bcb6326625c11f217c7c92e0a has failed.
05-Sep-2025 22:45:59 fatal: not a git repository (or any parent up to mount point /)
05-Sep-2025 22:45:59 Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
05-Sep-2025 22:46:00 Updating source code to revision: 2a27bf07868a0f5bcb6326625c11f217c7c92e0a
05-Sep-2025 22:46:00 Fetching 'refs/heads/master' from 'https://github.com/openmrs/openmrs-module-metadatamapping'.
05-Sep-2025 22:46:00 Checking out revision 2a27bf07868a0f5bcb6326625c11f217c7c92e0a.
05-Sep-2025 22:46:00 Creating local git repository in '/data/bamboo-agent/xml-data/build-dir/METAM-METAM-DTM/.git'.
05-Sep-2025 22:46:00 fatal: destination path '/data/bamboo-agent/xml-data/build-dir/METAM-METAM-DTM' already exists and is not an empty directory.
05-Sep-2025 22:46:00 Checkout to revision 2a27bf07868a0f5bcb6326625c11f217c7c92e0a has failed.
05-Sep-2025 22:46:00 fatal: not a git repository (or any parent up to mount point /)
05-Sep-2025 22:46:00 Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
05-Sep-2025 22:46:00 Warning: failed to checkout source code to directory '/data/bamboo-agent/xml-data/build-dir/METAM-METAM-DTM', trying to recover...
05-Sep-2025 22:46:00 Cleaned source directory '/data/bamboo-agent/xml-data/build-dir/METAM-METAM-DTM'...
05-Sep-2025 22:46:00 Checking out revision 2a27bf07868a0f5bcb6326625c11f217c7c92e0a.
05-Sep-2025 22:46:00 Creating local git repository in '/data/bamboo-agent/xml-data/build-dir/METAM-METAM-DTM/.git'.
05-Sep-2025 22:46:00 fatal: destination path '/data/bamboo-agent/xml-data/build-dir/METAM-METAM-DTM' already exists and is not an empty directory.
05-Sep-2025 22:46:00 Checkout to revision 2a27bf07868a0f5bcb6326625c11f217c7c92e0a has failed.
05-Sep-2025 22:46:00 fatal: not a git repository (or any parent up to mount point /)
05-Sep-2025 22:46:00 Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
05-Sep-2025 22:46:00 Error occurred while running Task 'Checkout default repository(1)' of type com.atlassian.bamboo.plugins.vcs:task.vcs.checkout.
05-Sep-2025 22:46:00 java.lang.RuntimeException: com.atlassian.bamboo.plugins.git.GitCommandException: command [/usr/bin/git remote set-url origin file:///data/bamboo-agent/xml-data/build-dir/_git-repositories-cache/c5a4f9aaa265dfceca53deb36a5cbd80807f66b7] failed with code 128. Working directory was [/data/bamboo-agent/xml-data/build-dir/METAM-METAM-DTM]., stderr:
05-Sep-2025 22:46:00 fatal: not a git repository (or any parent up to mount point /)
05-Sep-2025 22:46:00 Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
05-Sep-2025 22:46:00         at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:142)
05-Sep-2025 22:46:00         at com.atlassian.bamboo.executor.RetryingTaskExecutor.runTask(RetryingTaskExecutor.java:99)
05-Sep-2025 22:46:00         at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:208)
05-Sep-2025 22:46:00         at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:189)
05-Sep-2025 22:46:00         at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.execute(VcsCheckoutTask.java:130)
05-Sep-2025 22:46:00         at com.atlassian.bamboo.task.TaskExecutorImpl.lambda$executeTasks$3(TaskExecutorImpl.java:323)
05-Sep-2025 22:46:00         at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:258)
05-Sep-2025 22:46:00         at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:323)
05-Sep-2025 22:46:00         at com.atlassian.bamboo.task.TaskExecutorImpl.executePreparationTasks(TaskExecutorImpl.java:97)
05-Sep-2025 22:46:00         at com.atlassian.bamboo.build.pipeline.tasks.PrepareBuildTask.call(PrepareBuildTask.java:81)
05-Sep-2025 22:46:00         at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.executeBuildPhase(DefaultBuildAgent.java:251)
05-Sep-2025 22:46:00         at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:223)
05-Sep-2025 22:46:00         at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.lambda$waitAndPerformBuild$0(BuildAgentControllerImpl.java:198)
05-Sep-2025 22:46:00         at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:115)
05-Sep-2025 22:46:00         at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:191)
05-Sep-2025 22:46:00         at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.lambda$start$0(DefaultBuildAgent.java:160)
05-Sep-2025 22:46:00         at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:47)
05-Sep-2025 22:46:00         at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:26)
05-Sep-2025 22:46:00         at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:17)
05-Sep-2025 22:46:00         at com.atlassian.bamboo.security.ImpersonationHelper.lambda$makeRunnableWithSystemAuthority$0(ImpersonationHelper.java:38)
05-Sep-2025 22:46:00         at java.base/java.lang.Thread.run(Thread.java:1583)
05-Sep-2025 22:46:00 Caused by: com.atlassian.bamboo.plugins.git.GitCommandException: command [/usr/bin/git remote set-url origin file:///data/bamboo-agent/xml-data/build-dir/_git-repositories-cache/c5a4f9aaa265dfceca53deb36a5cbd80807f66b7] failed with code 128. Working directory was [/data/bamboo-agent/xml-data/build-dir/METAM-METAM-DTM]., stderr:
05-Sep-2025 22:46:00 fatal: not a git repository (or any parent up to mount point /)
05-Sep-2025 22:46:00 Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
05-Sep-2025 22:46:00         at com.atlassian.bamboo.plugins.git.GitCommandProcessor.runCommand(GitCommandProcessor.java:1052)
05-Sep-2025 22:46:00         at com.atlassian.bamboo.plugins.git.GitCommandProcessor.runCommand(GitCommandProcessor.java:979)
05-Sep-2025 22:46:00         at com.atlassian.bamboo.plugins.git.GitCommandProcessor.runCommand(GitCommandProcessor.java:970)
05-Sep-2025 22:46:00         at com.atlassian.bamboo.plugins.git.GitCommandProcessor.setOrigin(GitCommandProcessor.java:745)
05-Sep-2025 22:46:00         at com.atlassian.bamboo.plugins.git.GitCommandProcessor.setOriginToLocalDirectory(GitCommandProcessor.java:802)
05-Sep-2025 22:46:00         at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.checkout(NativeGitOperationHelper.java:499)
05-Sep-2025 22:46:00         at com.atlassian.bamboo.plugins.git.v2.GitWorkingCopyManager.lambda$checkout$1(GitWorkingCopyManager.java:266)
05-Sep-2025 22:46:00         at io.atlassian.util.concurrent.ManagedLocks$ManagedLockImpl.withLock(ManagedLocks.java:293)
05-Sep-2025 22:46:00         at com.atlassian.bamboo.plugins.git.GitCacheDirectory$LoggingManagedLock.withLock(GitCacheDirectory.java:44)
05-Sep-2025 22:46:00         at com.atlassian.bamboo.plugins.git.v2.GitWorkingCopyManager.checkout(GitWorkingCopyManager.java:254)
05-Sep-2025 22:46:00         at com.atlassian.bamboo.plugins.git.v2.GitWorkingCopyManager.checkout(GitWorkingCopyManager.java:206)
05-Sep-2025 22:46:00         at com.atlassian.bamboo.plugins.git.v2.GitWorkingCopyManager.retrieveSourceCode(GitWorkingCopyManager.java:126)
05-Sep-2025 22:46:00         at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.fillWorkingDirFromVcs(VcsCheckoutTask.java:214)
05-Sep-2025 22:46:00         at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.lambda$execute$0(VcsCheckoutTask.java:131)
05-Sep-2025 22:46:00         at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:112)
05-Sep-2025 22:46:00         ... 20 more
05-Sep-2025 22:46:00 Failed to prepare the build 'Metadata Mapping Module - Metadata Mapping Module - Deploy to Maven #264 (METAM-METAM-DTM-264)'
05-Sep-2025 22:46:00 Running on server: post build plugin 'Build Hanging Detection Configuration'
05-Sep-2025 22:46:00 Running on server: post build plugin 'NCover Results Collector'
05-Sep-2025 22:46:00 Running on server: post build plugin 'Build Labeller'
05-Sep-2025 22:46:00 Running on server: post build plugin 'Clover Delta Calculator'
05-Sep-2025 22:46:00 Running on server: post build plugin 'Maven Dependencies Postprocessor'
05-Sep-2025 22:46:00 All post build plugins have finished
05-Sep-2025 22:46:00 Generating build results summary...
05-Sep-2025 22:46:00 Saving build results to disk...
05-Sep-2025 22:46:00 Store variable context...
05-Sep-2025 22:46:00 Finished building METAM-METAM-DTM-264.