java.io.IOException: git process terminated with exit code 128 and error 'fatal: git upload-pack: not our ref 7e18bf90f45cd6bdf14a39ee7dfd64a81fdb1015 '

Atlassian JIRA | Stefan Saasen [Atlassian] | 2 years ago
  1. 0

    We see a large number of "not our ref" errors in the error email logs: {code} 2014-08-18 23:28:11,256 WARN [ssh-scm-request-handler] c.a.s.i.s.s.SshScmRequestCommandAdapter Exception encountered handling SSH command 'git-upload-pack '/INFRA/puppet-master.git'' java.io.IOException: git process terminated with exit code 128 and error 'fatal: git upload-pack: not our ref 7e18bf90f45cd6bdf14a39ee7dfd64a81fdb1015 ' at com.atlassian.stash.scm.cache.ssh.UploadPackProxy.setServerStateOrThrow(UploadPackProxy.java:308) ~[na:na] at com.atlassian.stash.scm.cache.ssh.UploadPackProxy.streamPack(UploadPackProxy.java:224) ~[na:na] at com.atlassian.stash.scm.cache.ssh.CachingSshUploadPackRequest.bypassCache(CachingSshUploadPackRequest.java:283) ~[na:na] at com.atlassian.stash.scm.cache.ssh.CachingSshUploadPackRequest.handleRequest(CachingSshUploadPackRequest.java:176) ~[na:na] at com.atlassian.stash.internal.ssh.server.SshScmRequestCommandAdapter$ScmRequestRunnable$1.withRequest(SshScmRequestCommandAdapter.java:289) ~[stash-ssh-3.3.0-m11_1407928730000.jar:na] at com.atlassian.stash.internal.ssh.server.SshScmRequestCommandAdapter$ScmRequestRunnable$1.withRequest(SshScmRequestCommandAdapter.java:277) ~[stash-ssh-3.3.0-m11_1407928730000.jar:na] at com.atlassian.stash.internal.request.DefaultRequestManager.doAsRequest(DefaultRequestManager.java:84) ~[DefaultRequestManager.class:na] at com.atlassian.stash.internal.ssh.server.SshScmRequestCommandAdapter$ScmRequestRunnable.run(SshScmRequestCommandAdapter.java:277) ~[stash-ssh-3.3.0-m11_1407928730000.jar:na] at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64) [stash-ssh-3.3.0-m11_1407928730000.jar:na] at com.atlassian.stash.internal.concurrent.StateTransferringExecutor$StateTransferringRunnable.run(StateTransferringExecutor.java:69) [StateTransferringExecutor$StateTransferringRunnable.class:na] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_60] at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:1.7.0_60] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178) [na:1.7.0_60] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292) [na:1.7.0_60] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_60] at java.lang.Thread.run(Thread.java:745) [na:1.7.0_60] ... 26 frames trimmed {code} It looks like this started on the 10th of July.

    Atlassian JIRA | 2 years ago | Stefan Saasen
    java.io.IOException: git process terminated with exit code 128 and error 'fatal: git upload-pack: not our ref 7e18bf90f45cd6bdf14a39ee7dfd64a81fdb1015 '
  2. 0

    We see a large number of "not our ref" errors in the error email logs: {code} 2014-08-18 23:28:11,256 WARN [ssh-scm-request-handler] c.a.s.i.s.s.SshScmRequestCommandAdapter Exception encountered handling SSH command 'git-upload-pack '/INFRA/puppet-master.git'' java.io.IOException: git process terminated with exit code 128 and error 'fatal: git upload-pack: not our ref 7e18bf90f45cd6bdf14a39ee7dfd64a81fdb1015 ' at com.atlassian.stash.scm.cache.ssh.UploadPackProxy.setServerStateOrThrow(UploadPackProxy.java:308) ~[na:na] at com.atlassian.stash.scm.cache.ssh.UploadPackProxy.streamPack(UploadPackProxy.java:224) ~[na:na] at com.atlassian.stash.scm.cache.ssh.CachingSshUploadPackRequest.bypassCache(CachingSshUploadPackRequest.java:283) ~[na:na] at com.atlassian.stash.scm.cache.ssh.CachingSshUploadPackRequest.handleRequest(CachingSshUploadPackRequest.java:176) ~[na:na] at com.atlassian.stash.internal.ssh.server.SshScmRequestCommandAdapter$ScmRequestRunnable$1.withRequest(SshScmRequestCommandAdapter.java:289) ~[stash-ssh-3.3.0-m11_1407928730000.jar:na] at com.atlassian.stash.internal.ssh.server.SshScmRequestCommandAdapter$ScmRequestRunnable$1.withRequest(SshScmRequestCommandAdapter.java:277) ~[stash-ssh-3.3.0-m11_1407928730000.jar:na] at com.atlassian.stash.internal.request.DefaultRequestManager.doAsRequest(DefaultRequestManager.java:84) ~[DefaultRequestManager.class:na] at com.atlassian.stash.internal.ssh.server.SshScmRequestCommandAdapter$ScmRequestRunnable.run(SshScmRequestCommandAdapter.java:277) ~[stash-ssh-3.3.0-m11_1407928730000.jar:na] at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64) [stash-ssh-3.3.0-m11_1407928730000.jar:na] at com.atlassian.stash.internal.concurrent.StateTransferringExecutor$StateTransferringRunnable.run(StateTransferringExecutor.java:69) [StateTransferringExecutor$StateTransferringRunnable.class:na] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_60] at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:1.7.0_60] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178) [na:1.7.0_60] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292) [na:1.7.0_60] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_60] at java.lang.Thread.run(Thread.java:745) [na:1.7.0_60] ... 26 frames trimmed {code} It looks like this started on the 10th of July.

    Atlassian JIRA | 2 years ago | Stefan Saasen [Atlassian]
    java.io.IOException: git process terminated with exit code 128 and error 'fatal: git upload-pack: not our ref 7e18bf90f45cd6bdf14a39ee7dfd64a81fdb1015 '
  3. 0

    cannot execute: git-upload-pack

    GitHub | 2 months ago | flooose
    org.eclipse.jgit.api.errors.TransportException: ssh://myuser@myserver.example.com/home/chris/org/: cannot execute: git-upload-pack '/home/chris/org/'
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    cannot execute: git-upload-pack

    GitHub | 2 months ago | flooose
    org.eclipse.jgit.api.errors.TransportException: ssh://chris@flooose.ddns.net/home/chris/org/: cannot execute: git-upload-pack '/home/chris/org/'
  6. 0

    FAILED: runGitDescribeWithMatchOption, has trouble on Travis

    GitHub | 2 years ago | ktoso
    java.lang.RuntimeException: Failed to execute git command (`git symbolic-ref HEAD` @ /home/travis/build/ktoso/maven-git-commit-id-plugin/target/sandbox/my-pom-project/my-jar-module)!

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.IOException

      git process terminated with exit code 128 and error 'fatal: git upload-pack: not our ref 7e18bf90f45cd6bdf14a39ee7dfd64a81fdb1015 '

      at com.atlassian.stash.scm.cache.ssh.UploadPackProxy.setServerStateOrThrow()
    2. com.atlassian.stash
      SshScmRequestCommandAdapter$ScmRequestRunnable.run
      1. com.atlassian.stash.scm.cache.ssh.UploadPackProxy.setServerStateOrThrow(UploadPackProxy.java:308)[na:na]
      2. com.atlassian.stash.scm.cache.ssh.UploadPackProxy.streamPack(UploadPackProxy.java:224)[na:na]
      3. com.atlassian.stash.scm.cache.ssh.CachingSshUploadPackRequest.bypassCache(CachingSshUploadPackRequest.java:283)[na:na]
      4. com.atlassian.stash.scm.cache.ssh.CachingSshUploadPackRequest.handleRequest(CachingSshUploadPackRequest.java:176)[na:na]
      5. com.atlassian.stash.internal.ssh.server.SshScmRequestCommandAdapter$ScmRequestRunnable$1.withRequest(SshScmRequestCommandAdapter.java:289)[stash-ssh-3.3.0-m11_1407928730000.jar:na]
      6. com.atlassian.stash.internal.ssh.server.SshScmRequestCommandAdapter$ScmRequestRunnable$1.withRequest(SshScmRequestCommandAdapter.java:277)[stash-ssh-3.3.0-m11_1407928730000.jar:na]
      7. com.atlassian.stash.internal.request.DefaultRequestManager.doAsRequest(DefaultRequestManager.java:84)[DefaultRequestManager.class:na]
      8. com.atlassian.stash.internal.ssh.server.SshScmRequestCommandAdapter$ScmRequestRunnable.run(SshScmRequestCommandAdapter.java:277)[stash-ssh-3.3.0-m11_1407928730000.jar:na]
      8 frames
    3. MINA
      NamePreservingRunnable.run
      1. org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)[stash-ssh-3.3.0-m11_1407928730000.jar:na]
      1 frame
    4. com.atlassian.stash
      StateTransferringExecutor$StateTransferringRunnable.run
      1. com.atlassian.stash.internal.concurrent.StateTransferringExecutor$StateTransferringRunnable.run(StateTransferringExecutor.java:69)[StateTransferringExecutor$StateTransferringRunnable.class:na]
      1 frame
    5. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[na:1.7.0_60]
      2. java.util.concurrent.FutureTask.run(FutureTask.java:262)[na:1.7.0_60]
      3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)[na:1.7.0_60]
      4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)[na:1.7.0_60]
      5. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[na:1.7.0_60]
      6. java.lang.Thread.run(Thread.java:745)[na:1.7.0_60]
      6 frames