com.atlassian.utils.process.ProcessException: While executing: "git branch -D someBranch" in [/opt/j2ee/domains/atlassian.com/atlaseye/data/var/cache/jira-projects/clone]

Atlassian JIRA | Piotr Swiecicki [Atlassian] | 2 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Just observed this error one of our internal repositories: {noformat} [2015-01-04 07:29:41,252] ERROR fisheye Error removing local branch: [error: Cannot delete the branch 'someBranch' which you are currently on.] com.atlassian.utils.process.ProcessException: While executing: "git branch -D someBranch" in [/opt/j2ee/domains/atlassian.com/atlaseye/data/var/cache/jira-projects/clone] at com.atlassian.fisheye.dvcs.client.DvcsContext.executeCommand(DvcsContext.java:260) at com.atlassian.fisheye.dvcs.client.DvcsContext.executeCommand(DvcsContext.java:235) at com.atlassian.fisheye.git.GitScanner.removeLocalBranch(GitScanner.java:326) at com.atlassian.fisheye.git.GitScanner.fetchLatest(GitScanner.java:232) at com.atlassian.fisheye.dvcs.DvcsScanner.updateLocalRepoClone(DvcsScanner.java:143) at com.cenqua.fisheye.rep.BaseRepositoryScanner.ping(BaseRepositoryScanner.java:69) at com.cenqua.fisheye.rep.BaseRepositoryEngine.doSlurp(BaseRepositoryEngine.java:86) at com.cenqua.fisheye.rep.RepositoryEngine.slurp(RepositoryEngine.java:414) at com.cenqua.fisheye.rep.ping.IndexingPingRequest.doRequest(IndexingPingRequest.java:27) at com.cenqua.fisheye.rep.ping.IncrementalPingRequest.doRequest(IncrementalPingRequest.java:30) at com.cenqua.fisheye.rep.ping.PingRequest$1.run(PingRequest.java:55) at com.cenqua.fisheye.util.NamedExecution.run(NamedExecution.java:27) at com.cenqua.fisheye.rep.ping.PingRequest.process(PingRequest.java:52) at com.cenqua.fisheye.rep.RepositoryHandle.processPingRequests(RepositoryHandle.java:213) at com.cenqua.fisheye.rep.RepositoryHandle.access$100(RepositoryHandle.java:57) at com.cenqua.fisheye.rep.RepositoryHandle$2.run(RepositoryHandle.java:169) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) {noformat}

    Atlassian JIRA | 2 years ago | Piotr Swiecicki [Atlassian]
    com.atlassian.utils.process.ProcessException: While executing: "git branch -D someBranch" in [/opt/j2ee/domains/atlassian.com/atlaseye/data/var/cache/jira-projects/clone]
  2. 0

    Just observed this error one of our internal repositories: {noformat} [2015-01-04 07:29:41,252] ERROR fisheye Error removing local branch: [error: Cannot delete the branch 'someBranch' which you are currently on.] com.atlassian.utils.process.ProcessException: While executing: "git branch -D someBranch" in [/opt/j2ee/domains/atlassian.com/atlaseye/data/var/cache/jira-projects/clone] at com.atlassian.fisheye.dvcs.client.DvcsContext.executeCommand(DvcsContext.java:260) at com.atlassian.fisheye.dvcs.client.DvcsContext.executeCommand(DvcsContext.java:235) at com.atlassian.fisheye.git.GitScanner.removeLocalBranch(GitScanner.java:326) at com.atlassian.fisheye.git.GitScanner.fetchLatest(GitScanner.java:232) at com.atlassian.fisheye.dvcs.DvcsScanner.updateLocalRepoClone(DvcsScanner.java:143) at com.cenqua.fisheye.rep.BaseRepositoryScanner.ping(BaseRepositoryScanner.java:69) at com.cenqua.fisheye.rep.BaseRepositoryEngine.doSlurp(BaseRepositoryEngine.java:86) at com.cenqua.fisheye.rep.RepositoryEngine.slurp(RepositoryEngine.java:414) at com.cenqua.fisheye.rep.ping.IndexingPingRequest.doRequest(IndexingPingRequest.java:27) at com.cenqua.fisheye.rep.ping.IncrementalPingRequest.doRequest(IncrementalPingRequest.java:30) at com.cenqua.fisheye.rep.ping.PingRequest$1.run(PingRequest.java:55) at com.cenqua.fisheye.util.NamedExecution.run(NamedExecution.java:27) at com.cenqua.fisheye.rep.ping.PingRequest.process(PingRequest.java:52) at com.cenqua.fisheye.rep.RepositoryHandle.processPingRequests(RepositoryHandle.java:213) at com.cenqua.fisheye.rep.RepositoryHandle.access$100(RepositoryHandle.java:57) at com.cenqua.fisheye.rep.RepositoryHandle$2.run(RepositoryHandle.java:169) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) {noformat}

    Atlassian JIRA | 2 years ago | Piotr Swiecicki [Atlassian]
    com.atlassian.utils.process.ProcessException: While executing: "git branch -D someBranch" in [/opt/j2ee/domains/atlassian.com/atlaseye/data/var/cache/jira-projects/clone]

    Root Cause Analysis

    1. com.atlassian.utils.process.ProcessException

      While executing: "git branch -D someBranch" in [/opt/j2ee/domains/atlassian.com/atlaseye/data/var/cache/jira-projects/clone]

      at com.atlassian.fisheye.dvcs.client.DvcsContext.executeCommand()
    2. com.atlassian.fisheye
      DvcsScanner.updateLocalRepoClone
      1. com.atlassian.fisheye.dvcs.client.DvcsContext.executeCommand(DvcsContext.java:260)
      2. com.atlassian.fisheye.dvcs.client.DvcsContext.executeCommand(DvcsContext.java:235)
      3. com.atlassian.fisheye.git.GitScanner.removeLocalBranch(GitScanner.java:326)
      4. com.atlassian.fisheye.git.GitScanner.fetchLatest(GitScanner.java:232)
      5. com.atlassian.fisheye.dvcs.DvcsScanner.updateLocalRepoClone(DvcsScanner.java:143)
      5 frames
    3. com.cenqua.fisheye
      RepositoryHandle$2.run
      1. com.cenqua.fisheye.rep.BaseRepositoryScanner.ping(BaseRepositoryScanner.java:69)
      2. com.cenqua.fisheye.rep.BaseRepositoryEngine.doSlurp(BaseRepositoryEngine.java:86)
      3. com.cenqua.fisheye.rep.RepositoryEngine.slurp(RepositoryEngine.java:414)
      4. com.cenqua.fisheye.rep.ping.IndexingPingRequest.doRequest(IndexingPingRequest.java:27)
      5. com.cenqua.fisheye.rep.ping.IncrementalPingRequest.doRequest(IncrementalPingRequest.java:30)
      6. com.cenqua.fisheye.rep.ping.PingRequest$1.run(PingRequest.java:55)
      7. com.cenqua.fisheye.util.NamedExecution.run(NamedExecution.java:27)
      8. com.cenqua.fisheye.rep.ping.PingRequest.process(PingRequest.java:52)
      9. com.cenqua.fisheye.rep.RepositoryHandle.processPingRequests(RepositoryHandle.java:213)
      10. com.cenqua.fisheye.rep.RepositoryHandle.access$100(RepositoryHandle.java:57)
      11. com.cenqua.fisheye.rep.RepositoryHandle$2.run(RepositoryHandle.java:169)
      11 frames
    4. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      3. java.lang.Thread.run(Thread.java:662)
      3 frames