public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
* git push hung?
@ 2014-12-07 14:24 Jason Pyeron
  2014-12-07 17:57 ` Torsten Bögershausen
  0 siblings, 1 reply; 3+ messages in thread
From: Jason Pyeron @ 2014-12-07 14:24 UTC (permalink / raw)
  To: git

I am trying to push to our local intranet git (smart https behind apache), and it has been at this point for 10+ hours.

jpyeron@black /projects/git/git
$ GIT_TRACE=1 git push
09:08:45.662902 git.c:349               trace: built-in: git 'push'
09:08:45.662902 run-command.c:341       trace: run_command: 'git-remote-https' 'origin' 'https://intranet.pdinc.us/git/git/'
09:08:46.225700 run-command.c:341       trace: run_command: 'git credential-cache --timeout=99999999999 get'
09:08:46.256967 run-command.c:192       trace: exec: '/bin/sh' '-c' 'git credential-cache --timeout=99999999999 get' 'git credential-cache --timeout=99999999999 get'
09:08:46.366400 git.c:554               trace: exec: 'git-credential-cache' '--timeout=99999999999' 'get'
09:08:46.366400 run-command.c:341       trace: run_command: 'git-credential-cache' '--timeout=99999999999' 'get'
09:08:47.022999 run-command.c:341       trace: run_command: 'git credential-cache --timeout=99999999999 store'
09:08:47.038632 run-command.c:192       trace: exec: '/bin/sh' '-c' 'git credential-cache --timeout=99999999999 store' 'git credential-cache --timeout=99999999999 store'
09:08:47.116799 git.c:554               trace: exec: 'git-credential-cache' '--timeout=99999999999' 'store'
09:08:47.116799 run-command.c:341       trace: run_command: 'git-credential-cache' '--timeout=99999999999' 'store'
09:08:47.366931 run-command.c:341       trace: run_command: 'send-pack' '--stateless-rpc' '--helper-status' '--thin' '--progress' 'https://intranet.pdinc.us/git/git/' 'refs/heads/master:refs/heads/master'
09:08:47.382565 exec_cmd.c:134          trace: exec: 'git' 'send-pack' '--stateless-rpc' '--helper-status' '--thin' '--progress' 'https://intranet.pdinc.us/git/git/' 'refs/heads/master:refs/heads/master'
09:08:47.429465 git.c:349               trace: built-in: git 'send-pack' '--stateless-rpc' '--helper-status' '--thin' '--progress' 'https://intranet.pdinc.us/git/git/' 'refs/heads/master:refs/heads/master'
09:08:47.538898 run-command.c:341       trace: run_command: 'pack-objects' '--all-progress-implied' '--revs' '--stdout' '--thin' '--delta-base-offset' '--progress'
09:08:47.695231 exec_cmd.c:134          trace: exec: 'git' 'pack-objects' '--all-progress-implied' '--revs' '--stdout' '--thin' '--delta-base-offset' '--progress'
09:08:47.742131 git.c:349               trace: built-in: git 'pack-objects' '--all-progress-implied' '--revs' '--stdout' '--thin' '--delta-base-offset' '--progress'
Counting objects: 18734, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (5707/5707), done.
Writing objects: 100% (18734/18734), 9.37 MiB | 0 bytes/s, done.
Total 18734 (delta 14519), reused 17108 (delta 12968)

Servier died, this is in the log:

fatal: protocol error: expected old/new/ref, got 'shallow 3339e9f686bd4c17e3575c71327c4ccf1e8e077b'

What steps can I take to debug this hang in the client?

Git fetch hangs the same way with a server exit of fatal: did not find object for shallow 3339e9f686bd4c17e3575c71327c4ccf1e8e077b

Note: I fixed the underlying problem with a git fetch --unshallow upstream

--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-                                                               -
- Jason Pyeron                      PD Inc. http://www.pdinc.us -
- Principal Consultant              10 West 24th Street #100    -
- +1 (443) 269-1555 x333            Baltimore, Maryland 21218   -
-                                                               -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: git push hung?
  2014-12-07 14:24 git push hung? Jason Pyeron
@ 2014-12-07 17:57 ` Torsten Bögershausen
  2014-12-07 19:14   ` Jason Pyeron
  0 siblings, 1 reply; 3+ messages in thread
From: Torsten Bögershausen @ 2014-12-07 17:57 UTC (permalink / raw)
  To: Jason Pyeron, git

On 2014-12-07 15.24, Jason Pyeron wrote:
> I am trying to push to our local intranet git (smart https behind apache), and it has been at this point for 10+ hours.
> 
> jpyeron@black /projects/git/git
> $ GIT_TRACE=1 git push
> 09:08:45.662902 git.c:349               trace: built-in: git 'push'
> 09:08:45.662902 run-command.c:341       trace: run_command: 'git-remote-https' 'origin' 'https://intranet.pdinc.us/git/git/'
> 09:08:46.225700 run-command.c:341       trace: run_command: 'git credential-cache --timeout=99999999999 get'
> 09:08:46.256967 run-command.c:192       trace: exec: '/bin/sh' '-c' 'git credential-cache --timeout=99999999999 get' 'git credential-cache --timeout=99999999999 get'
> 09:08:46.366400 git.c:554               trace: exec: 'git-credential-cache' '--timeout=99999999999' 'get'
> 09:08:46.366400 run-command.c:341       trace: run_command: 'git-credential-cache' '--timeout=99999999999' 'get'
> 09:08:47.022999 run-command.c:341       trace: run_command: 'git credential-cache --timeout=99999999999 store'
> 09:08:47.038632 run-command.c:192       trace: exec: '/bin/sh' '-c' 'git credential-cache --timeout=99999999999 store' 'git credential-cache --timeout=99999999999 store'
> 09:08:47.116799 git.c:554               trace: exec: 'git-credential-cache' '--timeout=99999999999' 'store'
> 09:08:47.116799 run-command.c:341       trace: run_command: 'git-credential-cache' '--timeout=99999999999' 'store'
> 09:08:47.366931 run-command.c:341       trace: run_command: 'send-pack' '--stateless-rpc' '--helper-status' '--thin' '--progress' 'https://intranet.pdinc.us/git/git/' 'refs/heads/master:refs/heads/master'
> 09:08:47.382565 exec_cmd.c:134          trace: exec: 'git' 'send-pack' '--stateless-rpc' '--helper-status' '--thin' '--progress' 'https://intranet.pdinc.us/git/git/' 'refs/heads/master:refs/heads/master'
> 09:08:47.429465 git.c:349               trace: built-in: git 'send-pack' '--stateless-rpc' '--helper-status' '--thin' '--progress' 'https://intranet.pdinc.us/git/git/' 'refs/heads/master:refs/heads/master'
> 09:08:47.538898 run-command.c:341       trace: run_command: 'pack-objects' '--all-progress-implied' '--revs' '--stdout' '--thin' '--delta-base-offset' '--progress'
> 09:08:47.695231 exec_cmd.c:134          trace: exec: 'git' 'pack-objects' '--all-progress-implied' '--revs' '--stdout' '--thin' '--delta-base-offset' '--progress'
> 09:08:47.742131 git.c:349               trace: built-in: git 'pack-objects' '--all-progress-implied' '--revs' '--stdout' '--thin' '--delta-base-offset' '--progress'
> Counting objects: 18734, done.
> Delta compression using up to 2 threads.
> Compressing objects: 100% (5707/5707), done.
> Writing objects: 100% (18734/18734), 9.37 MiB | 0 bytes/s, done.
> Total 18734 (delta 14519), reused 17108 (delta 12968)
> 
> Servier died, this is in the log:
> 
> fatal: protocol error: expected old/new/ref, got 'shallow 3339e9f686bd4c17e3575c71327c4ccf1e8e077b'
> 
> What steps can I take to debug this hang in the client?
> 
> Git fetch hangs the same way with a server exit of fatal: did not find object for shallow 3339e9f686bd4c17e3575c71327c4ccf1e8e077b
> 
> Note: I fixed the underlying problem with a git fetch --unshallow upstream
>
Was the log above after the git fetch --unshallow upstream ?
What is the output if you run the following commands on the server:
git show 3339e9f686bd4c17e
git fsck
git --version
which git

(And what on the client)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: git push hung?
  2014-12-07 17:57 ` Torsten Bögershausen
@ 2014-12-07 19:14   ` Jason Pyeron
  0 siblings, 0 replies; 3+ messages in thread
From: Jason Pyeron @ 2014-12-07 19:14 UTC (permalink / raw)
  To: git; +Cc: 'Torsten Bögershausen'

No cc's please, I am on the list.
> -----Original Message-----
> From: Torsten Bögershausen 
> Sent: Sunday, December 07, 2014 12:58
> 
> On 2014-12-07 15.24, Jason Pyeron wrote:
> > I am trying to push to our local intranet git (smart https 
> behind apache), and it has been at this point for 10+ hours.
> > 
> > jpyeron@black /projects/git/git
> > $ GIT_TRACE=1 git push
> > 09:08:45.662902 git.c:349               trace: built-in: git 'push'
> > 09:08:45.662902 run-command.c:341       trace: run_command: 
> 'git-remote-https' 'origin' 'https://intranet.pdinc.us/git/git/'
> > 09:08:46.225700 run-command.c:341       trace: run_command: 
> 'git credential-cache --timeout=99999999999 get'
> > 09:08:46.256967 run-command.c:192       trace: exec: 
> '/bin/sh' '-c' 'git credential-cache --timeout=99999999999 
> get' 'git credential-cache --timeout=99999999999 get'
> > 09:08:46.366400 git.c:554               trace: exec: 
> 'git-credential-cache' '--timeout=99999999999' 'get'
> > 09:08:46.366400 run-command.c:341       trace: run_command: 
> 'git-credential-cache' '--timeout=99999999999' 'get'
> > 09:08:47.022999 run-command.c:341       trace: run_command: 
> 'git credential-cache --timeout=99999999999 store'
> > 09:08:47.038632 run-command.c:192       trace: exec: 
> '/bin/sh' '-c' 'git credential-cache --timeout=99999999999 
> store' 'git credential-cache --timeout=99999999999 store'
> > 09:08:47.116799 git.c:554               trace: exec: 
> 'git-credential-cache' '--timeout=99999999999' 'store'
> > 09:08:47.116799 run-command.c:341       trace: run_command: 
> 'git-credential-cache' '--timeout=99999999999' 'store'
> > 09:08:47.366931 run-command.c:341       trace: run_command: 
> 'send-pack' '--stateless-rpc' '--helper-status' '--thin' 
> '--progress' 'https://intranet.pdinc.us/git/git/' 
> 'refs/heads/master:refs/heads/master'
> > 09:08:47.382565 exec_cmd.c:134          trace: exec: 'git' 
> 'send-pack' '--stateless-rpc' '--helper-status' '--thin' 
> '--progress' 'https://intranet.pdinc.us/git/git/' 
> 'refs/heads/master:refs/heads/master'
> > 09:08:47.429465 git.c:349               trace: built-in: 
> git 'send-pack' '--stateless-rpc' '--helper-status' '--thin' 
> '--progress' 'https://intranet.pdinc.us/git/git/' 
> 'refs/heads/master:refs/heads/master'
> > 09:08:47.538898 run-command.c:341       trace: run_command: 
> 'pack-objects' '--all-progress-implied' '--revs' '--stdout' 
> '--thin' '--delta-base-offset' '--progress'
> > 09:08:47.695231 exec_cmd.c:134          trace: exec: 'git' 
> 'pack-objects' '--all-progress-implied' '--revs' '--stdout' 
> '--thin' '--delta-base-offset' '--progress'
> > 09:08:47.742131 git.c:349               trace: built-in: 
> git 'pack-objects' '--all-progress-implied' '--revs' 
> '--stdout' '--thin' '--delta-base-offset' '--progress'
> > Counting objects: 18734, done.
> > Delta compression using up to 2 threads.
> > Compressing objects: 100% (5707/5707), done.
> > Writing objects: 100% (18734/18734), 9.37 MiB | 0 bytes/s, done.
> > Total 18734 (delta 14519), reused 17108 (delta 12968)
> > 
> > Servier died, this is in the log:
> > 
> > fatal: protocol error: expected old/new/ref, got 'shallow 
> 3339e9f686bd4c17e3575c71327c4ccf1e8e077b'
> > 
> > What steps can I take to debug this hang in the client?
> > 
> > Git fetch hangs the same way with a server exit of fatal: 
> did not find object for shallow 
> 3339e9f686bd4c17e3575c71327c4ccf1e8e077b
> > 
> > Note: I fixed the underlying problem with a git fetch 
> --unshallow upstream
> >
> Was the log above after the git fetch --unshallow upstream ?
> What is the output if you run the following commands on the server:

I will have to make a testcase, sice the underlying problem was fixed at the time.

> git show 3339e9f686bd4c17e

jpyeron@black /projects/git/git
$ git show 3339e9f686bd4c17e
commit 3339e9f686bd4c17e3575c71327c4ccf1e8e077b
Author: Nicolas Pitre <nico@cam•org>
Date:   Wed Jul 16 02:31:38 2008 -0400
...
> git fsck
jpyeron@black /projects/git/git
$ git fsck
Checking object directories: 100% (256/256), done.
Checking objects: 100% (188541/188541), done.
Checking connectivity: 183572, done.
> git --version
> which git
> 
> (And what on the client)

jpyeron@black /projects/git/git
$ git --version
git version 2.1.1

root@server /
# git --version
git version 1.7.9.6


--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-                                                               -
- Jason Pyeron                      PD Inc. http://www.pdinc.us -
- Principal Consultant              10 West 24th Street #100    -
- +1 (443) 269-1555 x333            Baltimore, Maryland 21218   -
-                                                               -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00. 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-12-07 19:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-07 14:24 git push hung? Jason Pyeron
2014-12-07 17:57 ` Torsten Bögershausen
2014-12-07 19:14   ` Jason Pyeron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox