gitblit
pure java git solution
Gitblit
We are running continuous Jenkins builds of a git project hosted at Assembla.
Jenkins is running on Tomcat6 under its own user, and generally works fine.
However every once in a while (say once in every 10 builds), the checkout operation at the beginning of the build job simply hangs. At other times the git tag operation at the end of the build also hangs. I believe this did not ever happen in command-line operation (on the same host with the same user).
When hung, the Windows process tree shows taskhost.exe -> tomcat6.exe -> git.exe -> ssh.exe
When externally killing the GIT and ssh processes of a hung tag command the following stacktrace is seen in the job console output - the error is strange since the directory mentioned already exists and has the private key installed.
hudson.plugins.git.GitException: Command "C:/Program Files (x86)/Git/bin/git.exe push <repository> <tag-name>" returned status code 1:
stdout:
stderr: Could not create directory 'c/Users/<user-name>/.ssh'.
at hudson.plugins.git.GitAPI.launchCommandIn(GitAPI.java:779)
at hudson.plugins.git.GitAPI.launchCommand(GitAPI.java:741)
Hey VonC - here is a full listing of the processes and handles (except the long list of Tomcat threads)
The build task is currently hung on pull.
Another strange phenomenon here is that there is a scheduled SCM poll every 5 minutes, but it hasn't run for a few days - probably also stuck somehow.
Process PID CPU Private Bytes Working Set Description Company Name
System Idle Process 0 84.09 0 K 24 K
Interrupts n/a 0.28 0 K 0 K Hardware Interrupts
DPCs n/a 0.85 0 K 0 K Deferred Procedure Calls
System 4 112 K 300 K
smss.exe 240 620 K 1,196 K Windows Session Manager Microsoft Corporation
sppsvc.exe 2664 3,312 K 9,100 K Microsoft Software Protection Platform Service Microsoft Corporation
csrss.exe 344 3,516 K 5,120 K Client Server Runtime Process Microsoft Corporation
conhost.exe 1316 1,184 K 2,804 K Console Window Host Microsoft Corporation
conhost.exe 3148 1,140 K 2,696 K Console Window Host Microsoft Corporation
wininit.exe 396 1,944 K 4,624 K Windows Start-Up Application Microsoft Corporation
services.exe 496 5,096 K 10,444 K Services and Controller app Microsoft Corporation
svchost.exe 616 4,776 K 9,940 K Host Process for Windows Services Microsoft Corporation
WmiPrvSE.exe 2468 2,692 K 6,052 K WMI Provider Host Microsoft Corporation
dllhost.exe 2180 2.27 2,160 K 5,392 K COM Surrogate Microsoft Corporation
svchost.exe 692 0.28 4,512 K 8,568 K Host Process for Windows Services Microsoft Corporation
svchost.exe 776 9,804 K 12,528 K Host Process for Windows Services Microsoft Corporation
svchost.exe 832 22,052 K 34,980 K Host Process for Windows Services Microsoft Corporation
svchost.exe 888 7,988 K 14,528 K Host Process for Windows Services Microsoft Corporation
svchost.exe 944 8,844 K 15,740 K Host Process for Windows Services Microsoft Corporation
dwm.exe 800 1,692 K 4,636 K Desktop Window Manager Microsoft Corporation
dwm.exe 3908 1,800 K 4,748 K Desktop Window Manager Microsoft Corporation
svchost.exe 984 13,036 K 17,004 K Host Process for Windows Services Microsoft Corporation
svchost.exe 284 8,536 K 11,152 K Host Process for Windows Services Microsoft Corporation
spoolsv.exe 1064 9,808 K 16,696 K Spooler SubSystem App Microsoft Corporation
svchost.exe 1168 1,116 K 2,740 K Host Process for Windows Services Microsoft Corporation
Tomcat6.exe 1308 0.28 331,512 K 302,568 K Commons Daemon Service Runner Apache Software Foundation
git.exe 1812 3,308 K 4,880 K
ssh.exe 2996 2,940 K 5,792 K
vmtoolsd.exe 1352 8,260 K 12,892 K VMware Tools Core Service VMware, Inc.
VMUpgradeHelper.exe 1416 2,452 K 6,588 K VMware virtual hardware upgrade helper application VMware, Inc.
svchost.exe 1880 3,796 K 9,224 K Host Process for Windows Services Microsoft Corporation
rdpclip.exe 3020 2,584 K 7,076 K RDP Clip Monitor Microsoft Corporation
rdpclip.exe 4072 1,948 K 6,236 K RDP Clip Monitor Microsoft Corporation
svchost.exe 1932 1,964 K 5,532 K Host Process for Windows Services Microsoft Corporation
dllhost.exe 1996 4,500 K 11,340 K COM Surrogate Microsoft Corporation
msdtc.exe 1284 3,604 K 7,880 K Microsoft Distributed Transaction Coordinator Service Microsoft Corporation
taskhost.exe 2492 3,076 K 6,252 K Host Process for Windows Tasks Microsoft Corporation
taskhost.exe 3548 2,896 K 6,088 K Host Process for Windows Tasks Microsoft Corporation
lsass.exe 504 8,516 K 16,548 K Local Security Authority Process Microsoft Corporation
lsm.exe 512 3,468 K 6,480 K Local Session Manager Service Microsoft Corporation
csrss.exe 408 1,836 K 3,796 K Client Server Runtime Process Microsoft Corporation
winlogon.exe 436 1,780 K 4,392 K Windows Logon Application Microsoft Corporation
LogonUI.exe 784 7,344 K 14,460 K Windows Logon User Interface Host Microsoft Corporation
csrss.exe 2184 2,756 K 7,532 K Client Server Runtime Process Microsoft Corporation
winlogon.exe 2952 1,960 K 5,192 K Windows Logon Application Microsoft Corporation
explorer.exe 1836 23,536 K 45,060 K Windows Explorer Microsoft Corporation
VMwareTray.exe 2168 2,824 K 6,400 K VMware Tools tray application VMware, Inc.
regedit.exe 2772 6,212 K 9,584 K Registry Editor Microsoft Corporation
procexp64.exe 3648 11.93 21,904 K 37,056 K Sysinternals Process Explorer Sysinternals - www.sysinternals.com
csrss.exe 3140 2,732 K 5,612 K Client Server Runtime Process Microsoft Corporation
conhost.exe 2500 1,312 K 3,452 K Console Window Host Microsoft Corporation
winlogon.exe 3172 1,900 K 4,980 K Windows Logon Application Microsoft Corporation
explorer.exe 868 28,840 K 45,200 K Windows Explorer Microsoft Corporation
VMwareTray.exe 3300 2,672 K 6,252 K VMware Tools tray application VMware, Inc.
rundll32.exe 3328 1,828 K 5,584 K Windows host process (Rundll32) Microsoft Corporation
cmd.exe 2832 2,240 K 2,588 K Windows Command Processor Microsoft Corporation
Process: Tomcat6.exe Pid: 1308
Type Name
Desktop \Default
Directory \KnownDlls
Directory \BaseNamedObjects
Event \BaseNamedObjects\TOMCAT6SIGNAL
File C:\Program Files\Apache Software Foundation\Tomcat 6.0\logs\commons-daemon.2012-05-24.log
File C:\Program Files\Apache Software Foundation\Tomcat 6.0\logs\tomcat6-stdout.2012-05-24.log
File C:\Program Files\Apache Software Foundation\Tomcat 6.0\logs\tomcat6-stdout.2012-05-24.log
File C:\Program Files\Apache Software Foundation\Tomcat 6.0\logs\tomcat6-stderr.2012-05-24.log
File C:\Program Files\Apache Software Foundation\Tomcat 6.0\logs\tomcat6-stderr.2012-05-24.log
File C:\Program Files\Apache Software Foundation\Tomcat 6.0
File C:\Users\<username>\AppData\Local\Temp\hsperfdata_<username>\1308
File C:\Program Files\Java\jre7\lib\rt.jar
File C:\Program Files\Apache Software Foundation\Tomcat 6.0\bin\bootstrap.jar
File C:\Program Files\Apache Software Foundation\Tomcat 6.0\bin\tomcat-juli.jar
File C:\Program Files\Apache Software Foundation\Tomcat 6.0\logs\catalina.2012-05-30.log
File C:\Program Files\Apache Software Foundation\Tomcat 6.0\logs\localhost.2012-05-24.log
File C:\Program Files\Apache Software Foundation\Tomcat 6.0\logs\manager.2012-05-24.log
File C:\Program Files\Apache Software Foundation\Tomcat 6.0\logs\host-manager.2012-05-24.log
File C:\Program Files\Apache Software Foundation\Tomcat 6.0\logs\tomcat6-stderr.2012-05-24.log
File C:\Program Files\Apache Software Foundation\Tomcat 6.0\logs\tomcat6-stdout.2012-05-24.log
File C:\Program Files\Java\jre7\lib\ext\dnsns.jar
File C:\Program Files\Apache Software Foundation\Tomcat 6.0\lib\annotations-api.jar
File C:\Program Files\Apache Software Foundation\Tomcat 6.0\lib\catalina-ant.jar
File C:\Program Files\Apache Software Foundation\Tomcat 6.0\lib\catalina-ha.jar
File C:\Program Files\Apache Software Foundation\Tomcat 6.0\lib\catalina-tribes.jar
File C:\Program Files\Apache Software Foundation\Tomcat 6.0\lib\catalina.jar
File C:\Program Files\Apache Software Foundation\Tomcat 6.0\lib\ecj-3.7.jar
File C:\Program Files\Apache Software Foundation\Tomcat 6.0\lib\el-api.jar
File C:\Program Files\Apache Software Foundation\Tomcat 6.0\lib\jasper-el.jar
File C:\Program Files\Apache Software Foundation\Tomcat 6.0\lib\jasper.jar
File C:\Program Files\Apache Software Foundation\Tomcat 6.0\lib\jsp-api.jar
File C:\Program Files\Apache Software Foundation\Tomcat 6.0\lib\servlet-api.jar
File C:\Program Files\Apache Software Foundation\Tomcat 6.0\lib\tomcat-coyote.jar
File C:\Program Files\Apache Software Foundation\Tomcat 6.0\lib\tomcat-dbcp.jar
File C:\Program Files\Apache Software Foundation\Tomcat 6.0\lib\tomcat-i18n-es.jar
File C:\Program Files\Apache Software Foundation\Tomcat 6.0\lib\tomcat-i18n-fr.jar
File C:\Program Files\Apache Software Foundation\Tomcat 6.0\lib\tomcat-i18n-ja.jar
File C:\Program Files\Java\jre7\lib\resources.jar
File C:\Program Files\Java\jre7\lib\ext\localedata.jar
File C:\Program Files\Java\jre7\lib\jsse.jar
File C:\Program Files\Java\jre7\lib\jce.jar
File C:\Program Files\Java\jre7\lib\ext\sunec.jar
File C:\Program Files\Java\jre7\lib\ext\sunmscapi.jar
File C:\Program Files\Java\jre7\lib\ext\sunjce_provider.jar
File \Device\Afd
File \Device\KsecDD
File \Device\Nsi
File C:\Windows\System32\en-US\KernelBase.dll.mui
File E:\jenkins\workspace\<job1>\.git\objects\pack\pack-f36e1122944b1a18c4f6a8dd9d38915125dffa9e.pack
File C:\Windows\Fonts\symbol.ttf
File \Device\Afd
File \Device\Afd
File C:\Program Files\Java\jre7\lib\charsets.jar
File C:\Program Files\Java\jre7\lib\charsets.jar
File \Device\Afd
File \Device\Afd
File E:\jenkins\jobs\<job2>\builds\2012-05-30_17-45-06\log
File \Device\Afd
File \Device\Afd
File E:\jenkins\plugins\maven-plugin\WEB-INF\lib\aether-api-1.13.1.jar
File E:\jenkins\plugins\maven-plugin\WEB-INF\lib\aether-connector-wagon-1.13.1.jar
File E:\jenkins\plugins\maven-plugin\WEB-INF\lib\aether-impl-1.13.1.jar
File E:\jenkins\plugins\maven-plugin\WEB-INF\lib\aether-spi-1.13.1.jar
File E:\jenkins\plugins\maven-plugin\WEB-INF\lib\aether-util-1.13.1.jar
File E:\jenkins\plugins\maven-plugin\WEB-INF\lib\ant-1.8.3.jar
File E:\jenkins\plugins\maven-plugin\WEB-INF\lib\ant-launcher-1.8.3.jar
File E:\jenkins\plugins\maven-plugin\WEB-INF\lib\aopalliance-1.0.jar
File E:\jenkins\plugins\maven-plugin\WEB-INF\lib\commons-cli-1.2.jar
File E:\jenkins\plugins\maven-plugin\WEB-INF\lib\commons-httpclient-3.1.jar
File E:\jenkins\plugins\maven-plugin\WEB-INF\lib\commons-io-1.4.jar
File E:\jenkins\plugins\maven-plugin\WEB-INF\lib\commons-net-3.0.1.jar
File E:\jenkins\plugins\maven-plugin\WEB-INF\lib\doxia-sink-api-1.0.jar
File E:\jenkins\plugins\maven-plugin\WEB-INF\lib\guava-11.0.1.jar
File E:\jenkins\plugins\maven-plugin\WEB-INF\lib\jackrabbit-jcr-commons-2.2.5.jar
File E:\jenkins\plugins\maven-plugin\WEB-INF\lib\jackrabbit-webdav-2.2.5.jar
File E:\jenkins\plugins\maven-plugin\WEB-INF\lib\javax.inject-1.jar
File E:\jenkins\plugins\maven-plugin\WEB-INF\lib\jsch-0.1.44-1.jar
File E:\jenkins\plugins\maven-plugin\WEB-INF\lib\jsr305-1.3.9.jar
File E:\jenkins\plugins\maven-plugin\WEB-INF\lib\lib-jenkins-maven-artifact-manager-1.2.jar
File E:\jenkins\plugins\maven-plugin\WEB-INF\lib\lib-jenkins-maven-embedder-3.9.jar
File E:\jenkins\plugins\maven-plugin\WEB-INF\lib\maven-aether-provider-3.0.4.jar
File E:\jenkins\plugins\maven-plugin\WEB-INF\lib\maven-agent-1.2.jar
File E:\jenkins\plugins\maven-plugin\WEB-INF\lib\maven-artifact-3.0.4.jar
File E:\jenkins\plugins\maven-plugin\WEB-INF\lib\maven-compat-3.0.4.jar
File E:\jenkins\plugins\maven-plugin\WEB-INF\lib\maven-core-3.0.4.jar
File E:\jenkins\plugins\maven-plugin\WEB-INF\lib\maven-embedder-3.0.4.jar
File E:\jenkins\plugins\maven-plugin\WEB-INF\lib\maven-interceptor-1.2.jar
File E:\jenkins\plugins\maven-plugin\WEB-INF\lib\maven-model-3.0.4.jar
File E:\jenkins\plugins\maven-plugin\WEB-INF\lib\maven-model-<username>-3.0.4.jar
File E:\jenkins\plugins\maven-plugin\WEB-INF\lib\maven-plugin-api-3.0.4.jar
File E:\jenkins\plugins\maven-plugin\WEB-INF\lib\maven-reporting-api-3.0.jar
File E:\jenkins\plugins\maven-plugin\WEB-INF\lib\maven-repository-metadata-3.0.4.jar
File E:\jenkins\plugins\maven-plugin\WEB-INF\lib\maven-settings-3.0.4.jar
File E:\jenkins\plugins\maven-plugin\WEB-INF\lib\maven-settings-<username>-3.0.4.jar
File E:\jenkins\plugins\maven-plugin\WEB-INF\lib\maven2.1-interceptor-1.2.jar
File E:\jenkins\plugins\maven-plugin\WEB-INF\lib\maven3-agent-1.2.jar
File E:\jenkins\plugins\maven-plugin\WEB-INF\lib\maven3-interceptor-1.2.jar
File E:\jenkins\plugins\maven-plugin\WEB-INF\lib\nekohtml-1.9.13.jar
File E:\jenkins\plugins\maven-plugin\WEB-INF\lib\plexus-cipher-1.7.jar
File E:\jenkins\plugins\maven-plugin\WEB-INF\lib\plexus-classworlds-2.3.jar
File E:\jenkins\plugins\maven-plugin\WEB-INF\lib\plexus-component-annotations-1.5.5.jar
File E:\jenkins\plugins\maven-plugin\WEB-INF\lib\plexus-interactivity-api-1.0-alpha-6.jar
File E:\jenkins\plugins\maven-plugin\WEB-INF\lib\plexus-interpolation-1.14.jar
File E:\jenkins\plugins\maven-plugin\WEB-INF\lib\plexus-sec-dispatcher-1.3.jar
File E:\jenkins\plugins\maven-plugin\WEB-INF\lib\plexus-utils-2.0.6.jar
File E:\jenkins\plugins\maven-plugin\WEB-INF\lib\sisu-guava-0.9.9.jar
File E:\jenkins\plugins\maven-plugin\WEB-INF\lib\sisu-guice-3.1.0.jar
File E:\jenkins\plugins\maven-plugin\WEB-INF\lib\sisu-inject-bean-2.3.0.jar
File E:\jenkins\plugins\maven-plugin\WEB-INF\lib\sisu-inject-plexus-2.3.0.jar
File E:\jenkins\plugins\maven-plugin\WEB-INF\lib\slf4j-api-1.6.2.jar
File E:\jenkins\plugins\maven-plugin\WEB-INF\lib\wagon-file-2.2.jar
File E:\jenkins\plugins\maven-plugin\WEB-INF\lib\wagon-ftp-2.2.jar
File E:\jenkins\plugins\maven-plugin\WEB-INF\lib\wagon-http-2.2.jar
File E:\jenkins\plugins\maven-plugin\WEB-INF\lib\wagon-http-shared-2.2.jar
File E:\jenkins\plugins\maven-plugin\WEB-INF\lib\wagon-provider-api-2.2.jar
File E:\jenkins\plugins\maven-plugin\WEB-INF\lib\wagon-ssh-2.2.jar
File E:\jenkins\plugins\maven-plugin\WEB-INF\lib\wagon-ssh-common-2.2.jar
File E:\jenkins\plugins\maven-plugin\WEB-INF\lib\wagon-ssh-external-2.2.jar
File E:\jenkins\plugins\maven-plugin\WEB-INF\lib\wagon-webdav-jackrabbit-2.2.jar
File E:\jenkins\plugins\maven-plugin\WEB-INF\lib\xercesImpl-2.9.1.jar
File E:\jenkins\plugins\maven-plugin\WEB-INF\lib\xml-apis-1.3.04.jar
File E:\jenkins\plugins\active-directory\WEB-INF\lib\active-directory-1.0.jar
File E:\jenkins\plugins\active-directory\WEB-INF\lib\ado20-1.0.jar
File E:\jenkins\plugins\active-directory\WEB-INF\lib\com4j-20080107.jar
File E:\jenkins\plugins\artifactdeployer\WEB-INF\lib\ant-filesystem-tasks-0.0.2.jar
File E:\jenkins\plugins\artifactdeployer\WEB-INF\lib\avalon-framework-4.1.3.jar
File E:\jenkins\plugins\artifactdeployer\WEB-INF\lib\commons-codec-1.4.jar
File E:\jenkins\plugins\artifactdeployer\WEB-INF\lib\commons-logging-1.1.jar
File E:\jenkins\plugins\artifactdeployer\WEB-INF\lib\log4j-1.2.9.jar
File E:\jenkins\plugins\artifactdeployer\WEB-INF\lib\logkit-1.0.1.jar
File E:\jenkins\plugins\git\WEB-INF\lib\annotation-indexer-1.2.jar
File E:\jenkins\plugins\git\WEB-INF\lib\bridge-method-annotation-1.4.jar
File E:\jenkins\plugins\git\WEB-INF\lib\joda-time-1.5.1.jar
File E:\jenkins\plugins\git\WEB-INF\lib\jsch-0.1.44-1.jar
File E:\jenkins\plugins\git\WEB-INF\lib\org.eclipse.jgit-0.12.1.jar
File E:\jenkins\plugins\jira\WEB-INF\lib\activation-1.1.1.jar
File E:\jenkins\plugins\jira\WEB-INF\lib\axis-1.4.jar
File E:\jenkins\plugins\jira\WEB-INF\lib\commons-codec-1.4.jar
File E:\jenkins\plugins\jira\WEB-INF\lib\commons-discovery-0.4.jar
File E:\jenkins\plugins\jira\WEB-INF\lib\commons-logging-1.0.4.jar
File E:\jenkins\plugins\jira\WEB-INF\lib\jaxrpc-api-1.1.jar
File E:\jenkins\plugins\jira\WEB-INF\lib\log4j-1.2.9.jar
File E:\jenkins\plugins\jira\WEB-INF\lib\saaj-api-1.3.jar
File E:\jenkins\plugins\jira\WEB-INF\lib\wsdl4j-1.6.2.jar
File E:\jenkins\plugins\periodicbackup\WEB-INF\lib\guava-r05.jar
File E:\jenkins\plugins\periodicbackup\WEB-INF\lib\junit-4.7.jar
File E:\jenkins\plugins\periodicbackup\WEB-INF\lib\plexus-archiver-1.0-alpha-11.jar
File E:\jenkins\plugins\periodicbackup\WEB-INF\lib\plexus-classworlds-1.2-alpha-6.jar
File E:\jenkins\plugins\periodicbackup\WEB-INF\lib\plexus-component-api-1.0-alpha-15.jar
File E:\jenkins\plugins\periodicbackup\WEB-INF\lib\plexus-container-default-1.0-alpha-15.jar
File E:\jenkins\plugins\periodicbackup\WEB-INF\lib\plexus-io-1.0-alpha-3.jar
File E:\jenkins\plugins\periodicbackup\WEB-INF\lib\plexus-utils-1.5.1.jar
File E:\jenkins\plugins\subversion\WEB-INF\lib\svnkit-1.3.4-jenkins-4.jar
File \Device\Afd
File \Device\Afd
File \Device\Afd
File \Device\Afd
File \Device\Afd
File \Device\Afd
File \Device\Afd
File \Device\Afd
File \Device\Afd
File \Device\Afd
File \Device\Afd
File \Device\Afd
File \Device\Afd
File \Device\Afd
File E:\jenkins\workspace\<job2>\.git\objects\pack\pack-a25789d9a15085fdc370bf63603670b6ef0aa516.pack
File E:\jenkins\workspace\<job3>\.git\objects\pack\pack-3debf683446a7b50138fa83d20b8a176adc40d74.pack
File E:\jenkins\workspace\<job4>\.git\objects\pack\pack-08e86702e225df334aa0281cdc34f6fe04a1a896.pack
File E:\jenkins\workspace\<job5>\.git\objects\pack\pack-691d5f70f196faae3152545cc4e8a0668ee43182.pack
File E:\jenkins\workspace\<job6>\.git\objects\pack\pack-a1f605f6d4ea56878d88c9d85c40884f7c9dc2e9.pack
File E:\jenkins\workspace\<job7>\.git\objects\pack\pack-77c1adab9d7dcd56337a59bf7aa6ab1fc5423f0c.pack
File \Device\NamedPipe\
File C:\Windows\Fonts\arial.ttf
File C:\Windows\Fonts\wingding.ttf
File \Device\Afd
File E:\jenkins\workspace\<job4>\.git\objects\pack\pack-29e3fac2d55ff8f5851726098c1310848ba61982.pack
File E:\jenkins\jobs\<job2>\scm-polling.log
File C:\Windows\winsxs\amd64_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7600.16385_none_a44af8ec57f961cf
File \Device\Afd
File C:\Program Files\Apache Software Foundation\Tomcat 6.0\work\Catalina\localhost\gitblit-0.9.3\wicketFilter-filestore\9946\429\2051F8E78B66AEB8107264447FDEE93E\pm-null
File \Device\Afd
File C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\jenkins\WEB-INF\lib\jenkins-core-1.461.jar
File E:\jenkins\workspace\<job3>\.git\objects\pack\pack-df631556f14db215a3790cdb2dbdc2d8ec6a4dce.pack
File E:\jenkins\workspace\<job3>\.git\objects\pack\pack-41dc6597dd98bff4284be2be0437bc96b14a660f.pack
File C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\jenkins\WEB-INF\lib\jenkins-core-1.461.jar
Key HKLM\SYSTEM\ControlSet001\Control\Nls\Sorting\Versions
Key HKLM
Key HKLM\SYSTEM\ControlSet001\Control\SESSION MANAGER
Key HKU\S-1-5-21-1089811676-525746212-2675575413-1203\Control Panel\International
Key HKU\S-1-5-21-1089811676-525746212-2675575413-1203
Key HKLM\SYSTEM\ControlSet001\services\WinSock2\Parameters\Protocol_Catalog9
Key HKLM\SYSTEM\ControlSet001\services\WinSock2\Parameters\NameSpace_Catalog5
Key HKU
Key HKU\S-1-5-21-1089811676-525746212-2675575413-1203\Software\Microsoft\Windows\CurrentVersion\Explorer
Key HKU\S-1-5-21-1089811676-525746212-2675575413-1203\Software\Microsoft\Windows NT\CurrentVersion
Key HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags
Key HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options
Process git.exe(1812)
Section \BaseNamedObjects\hsperfdata_<username>_1308
Section \BaseNamedObjects\windows_shell_global_counters
WindowStation \Windows\WindowStations\Service-0x0-12330$
WindowStation \Windows\WindowStations\Service-0x0-12330$
@Vonc Here is the SSH search (from a different point in time than the list of processes above). I don't know what to make of it.
Source: (StackOverflow)
I am trying Gitblit, which seems quite a good web-UI for Git. The installation through the war file is pretty easy and works out-of-the-box. However, I am running into a strange issue.
I am sharing a Maven project which has a standard folder structure
project
pom.xml
src
src/test-file.txt (I added this file to verify the issue)
src/java
src/java/main
src/java/main/package
src/java/main/package/File.java
As long as I try to navigate the first level (so, pom.xml
and src
) everything is fine, I can open and read the file correctly. However, when I try to open the folder java
under src
, the link is rendered as localhost:8080/gitblit/tree/project/commit-id/src%2Fjava
and I am presented a white page. The request is not forwarded to the server (tomcat 7.0.32 if this can help) and firebug simply tells me Error 400: Bad Request
.
That %2F
looks weird, so I manually tried to fix the link in localhost:8080/gitblit/tree/project/commit-id/src/java
, but then an internal server error is generated. Looking at the logs, I read
INFO Found more URL path parts then expected, these will be ignored. Url: 'http://localhost:8080/gitblit/tree/project/commit-id/src/java', mountpath: 'blob', urlPath: 'project/commit-id/src/java', expected 3 parameters was 4
Then, I added that test-file.txt
. If I navigate to src
and try to open test-file.txt
, firstly the link tries to open localhost:8080/gitblit/blob/project/commit-id/src%2Ftest-file.txt
, presenting a html page stating that the file is not found. If I try the same trick as before (%2F
to /
), then I receive this Exception:
INFO Found more URL path parts then expected, these will be ignored. Url: 'http://localhost:8080/gitblit/blob/project/commit-id/src/test-file.txt', mountpath: 'blob', urlPath: 'project/commit-id/src/test-file.txt', expected 3 parameters was 4
ERROR /path/to/project/.git cant find {1} in tree {2}
org.eclipse.jgit.errors.IncorrectObjectTypeException: Object commit-id is not a blob.
at org.eclipse.jgit.storage.file.WindowCursor.open(WindowCursor.java:130)
at org.eclipse.jgit.lib.ObjectDatabase.open(ObjectDatabase.java:176)
at org.eclipse.jgit.lib.Repository.open(Repository.java:278)
at com.gitblit.utils.JGitUtils.getByteContent(JGitUtils.java:563)
at com.gitblit.utils.JGitUtils.getStringContent(JGitUtils.java:596)
at com.gitblit.wicket.pages.BlobPage.<init>(BlobPage.java:133)
at sun.reflect.GeneratedConstructorAccessor22.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at org.apache.wicket.session.DefaultPageFactory.createPage(DefaultPageFactory.java:188)
at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:89)
at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.newPage(BookmarkablePageRequestTarget.java:305)
at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.getPage(BookmarkablePageRequestTarget.java:320)
at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.processEvents(BookmarkablePageRequestTarget.java:234)
at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)
at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1279)
at org.apache.wicket.RequestCycle.step(RequestCycle.java:1358)
at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1465)
at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:486)
at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:319)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:662)
ERROR Can't instantiate page using constructor public com.gitblit.wicket.pages.BlobPage(org.apache.wicket.PageParameters) and argument r = "project" h = "commit-id" f = "src"
org.apache.wicket.WicketRuntimeException: Can't instantiate page using constructor public com.gitblit.wicket.pages.BlobPage(org.apache.wicket.PageParameters) and argument r = "project" h = "commit-id" f = "src"
at org.apache.wicket.session.DefaultPageFactory.createPage(DefaultPageFactory.java:212)
at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:89)
at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.newPage(BookmarkablePageRequestTarget.java:305)
at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.getPage(BookmarkablePageRequestTarget.java:320)
at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.processEvents(BookmarkablePageRequestTarget.java:234)
at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)
at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1279)
at org.apache.wicket.RequestCycle.step(RequestCycle.java:1358)
at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1465)
at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:486)
at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:319)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedConstructorAccessor22.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at org.apache.wicket.session.DefaultPageFactory.createPage(DefaultPageFactory.java:188)
... 27 more
Caused by: java.lang.NullPointerException
at com.gitblit.wicket.pages.BlobPage.generateSourceView(BlobPage.java:142)
at com.gitblit.wicket.pages.BlobPage.<init>(BlobPage.java:134)
... 31 more
I basically did not configure gitblit itself (no changes to gitblit.properties
), so my problem could reside in a missed-configuration, but I could figure out where. Any hint?
Source: (StackOverflow)
I know when we create a repository we have to give the repo server URL as
baseUrl + "rpc?req=CREATE_REPOSITORY&name="+ repoName;
when we delete the repo is it
baseUrl + "rpc?req=DELETE_REPOSITORY&name="+ repoName;
Source: (StackOverflow)
I need to set up post-receive hook script on Gitblit server that will pull changes to a website on the same server. In a bash script, command would look something like this:
sudo git --work-tree=/var/www/html/mysite --git-dir=/var/www/html/mysite/.git pull
But as I understand, Gitblit uses groovy hooks scripts, and I'm completely new to this. Can someone please help me with creating a groovy script for this, or at least direct me to some good examples or tutorial for Groovy.
Thanks
Source: (StackOverflow)
I have GitBlit V1.2.1 Running on Jboss V7.1.1.Final
Each time i restart Jboss, GitBlit (Cant Read/looses) the repositories i had.
After Searching for the repos i found one in:
C:\Program Files\jboss-as-7.1.1.Final\standalone\tmp\vfs\temp80c1b03732519896\gitblit.war-c0e0d54fb24b902\WEB-INF\data\git\test.git
What should be done to make sure that GitBlit dose not loose the repositories after Jboss restarts?
Source: (StackOverflow)
I am running gitblit on a windows server and am trying to push data to a repository from another machine on the network. I have used a SSL certificate ( not self signed, but I think signed by my company? Not really sure how that works but chrome/IE/etc see it is identity verified.)
The server that runs gitblit is named itscm and on the developer's desktop I am using this URL to push data via tortoisegit:
git.exe push --progress "https://itscm:8234/git/TestRepo.git" master
However, I get this error:
fatal: unable to access 'https://itscm:8234/git/TestRepo.git/': SSL certificate problem: self signed certificate in certificate chain
When I go to that address in chrome, I get a 404 on the page, BUT I see that the padlock in the URL bar is green. When I click the padlock I see that the identity is verified. I don't understand how my browser sees this certificate as valid but when I try to push data to it via git, it fails. Any ideas?
Source: (StackOverflow)
Setup gitlbit on my Mac OS X 10.8, but keeps failing to push!
In the Gitblit web interface, I created an empty repository called empty and cloned it to local storage by the following command:
git clone https://localhost:8443/git/test/empty.git
I added a file and commit the change and added a remote
git remote add gitblit https://localhost:8443/git/test/empty.git
then I try to push with:
git push -v gitblit master
and the error shows:
Pushing to https://localhost:8443/git/test/empty.git
Counting objects: 3, done.
Writing objects: 100% (3/3), 215 bytes, done.
Total 3 (delta 0), reused 0 (delta 0)
POST git-receive-pack (351 bytes)
error: RPC failed; result=52, HTTP code = 0
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Everything up-to-date
I tried the ssl and the buffer settings, but no help.
git config http.postBuffer 524288000
git config http.sslVerify false
git config --global http.postBuffer 524288000
config --global --bool --add http.sslVerify false
My Gitblit settings of bindings are all set to blank to accept binding to all interfaces:
server.httpBindInterface =
server.httpsBindInterface =
server.ajpBindInterface =
Any help would be appreciated!
Source: (StackOverflow)
We need GIT server in our local server. After searched on the internet, we decided to use Gitblit
which is easy to install.
But we have problems when we want to access the Gitblit
from other machines. As the setup documents mentioned in the Creating your own Self-Signed Certificate', we should 'Set your hostname into the HOSTNAME variable. Here is my makekeystore.cmd file.
@SET HOSTNAME=my-server-ip<br/>
@del keystore<br/>
@java -cp gitblit.jar;"%CD%\ext\*" com.gitblit.MakeCertificate --hostname %HOSTNAME% --subject "CN=%HOSTNAME%, OU=Gitblit, O=Gitblit, L=Some Town, ST=Some State, C=US"
And we have update the gitblit.properties as followed
server.httpBindInterface = my server ip
server.httpsBindInterface = my server ip
server.httpPort = 9090
server.httpsPort = 9443
After this settings, we still can't access the Gitblit. When we input the http: my-server-ip:9090
the page can't be opened.
If we change all this values back to localhost and input http: //localhost:9090, it works.
So is there anyone know how to setup Gitblit, I have read the official document many times, but no results. Who can give me a simple?
Thanks so much! :)
Source: (StackOverflow)
I have a post commit hook (a groovy script) in gitblit to invoke a REST endpoint. In this script I am executing a curl command. But it seems to fail. The curl command works fine when executed from the commandline.
Following is my groovy script.
#!/usr/bin/env groovy
def repoUrl= "https://gitblit.myhost.com/git/" + repository + ".git"
json='{"repository":{"url":"'+repoUrl+'"}}'
def response = "curl -v -k -X POST -H \"Content-Type: application/json\" -d '${json}' https://username:password@anotherhost.com:9443/restendpoint".execute().text
println response
repository is passed by gitblit to this script and I have verified it.
Can somebody help me with this.
Source: (StackOverflow)
I have a strange git problem.
After checking out one of the branches (that is remotely tracked) I instantly get modified and unstaged changes in that branch.
I have cloned the repository again to verify the problem still exists.
I am using Windows and gitblit as Git server.
Do you have any ideas why this could happen?
The output of git status is as follows:
$ git status
# On branch RSD-5393
# Changes not staged for commit:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# modified: apis.releng/cquery/apis.RSD-4780.cquery
# modified: apis.releng/cquery/apis.RSD-4782.cquery
# modified: apis.releng/cquery/apis.RSD-4786.cquery
# modified: apis.releng/cquery/apis.RSD-4799.cquery
# modified: apis.releng/cquery/apis.RSD-4812.cquery
# modified: apis.releng/cquery/apis.RSD-4815.cquery
# modified: apis.releng/cquery/apis.RSD-4821.cquery
# modified: apis.releng/cquery/apis.RSD-4823.cquery
# modified: apis.releng/cquery/apis.RSD-4826.cquery
# modified: apis.releng/cquery/apis.RSD-4827.cquery
# modified: apis.releng/cquery/apis.RSD-4828.cquery
# modified: apis.releng/cquery/apis.RSD-4829.cquery
# modified: apis.releng/cquery/apis.RSD-4831.cquery
# modified: apis.releng/cquery/apis.RSD-4846.cquery
# modified: apis.releng/cquery/apis.RSD-4861.cquery
# modified: apis.releng/cquery/apis.RSD-4862.cquery
# modified: apis.releng/cquery/apis.RSD-4863.cquery
# modified: apis.releng/cquery/apis.RSD-4864.cquery
# modified: apis.releng/cquery/apis.RSD-4865.cquery
# modified: apis.releng/cquery/apis.RSD-4866.cquery
# ....
no changes added to commit (use "git add" and/or "git commit -a")
.gitconfig:
[core]
autocrlf = true
.gitattributes in repository:
# Set the default behaviour, in case people don't have core.autocrlf set.
* text=auto
Source: (StackOverflow)
I just changed from svn to git.
I use gitblit as a team git server.
Usually it works perfectly.
But when I fork some project into my account, the repository url looks like "http://git.somewhere.com/~myid/project.git".
It's ok with windows and ubuntu packaged git client.
But when it comes to manually compiled git(I tried 1.7.x, 1.8.x), git client encodes the url like "http://git.somewhere.com/%7Emyid/project.git"
tild(~) is changed to %7E.
Because of this, I cannot use the forked project in some linux machines(actually deployment machines). Linux distro is CentOS 5.9.
How can I fix this problem??
Source: (StackOverflow)
we would like to change from svn to git. We have a svn-server in our intranet and would like to have the equivalent for git.
gitblit seems interesting to use because there is tomcat running on our server.
So, what's the easiest way to migrate all the repositories from svn?
One way I could think of is the following:
- migrate each repository somewhere to a git client (something like this)
- create the git-repo on gitblit
- push to gitblit
Should we go for this?
Source: (StackOverflow)
Trying to setup Gitblit (http://gitblit.com/setup_go.html) to make it easier for those on my team to access what we've got going on.
Anyway, I followed the instructions on this site: (http://gitblit.com/setup_go.html)
And now have a project in https://localhost:8443/repositories/
For access permissions I have two sets project_users and admin
Access restrictions are set to: authenticated clone & push
Auuthorization control: grant RW+ permission to all authenticated users
I also users to fork
When I go to the project page I'm told there's nothing there and to add some comments and push to https://admin@localhost:8443/r/myProject.git
So I run : git clone https://admin@localhost:8443/r/myProject.git
and am given the error:
Cloning into 'myProject'...
fatal: unable to access 'https://admin@localhost:8443/r/myProject.git/': Received HTTP code 504 from proxy after CONNECT
Is there something else configuration wise that I'm missing?
Source: (StackOverflow)
I use GitBlit (1.3.2), Jenkins (1.534) on RedHat 6
I created a Git repository on a local GitBlit. Access is restricted to authenticated users. This works fine.
When I try to configure a new job in Jenkins to enable continuous Integration, I enter the Git repository URL as follow:
http://jenkins@myhost.local/gitblit/git/testing/secured_repo.git
I received the error message below and I don't know where to set the jenkins's password...
Failed to connect to repository : Failed to connect to http://jenkins@myhost.local/gitblit/git/testing/secured_repo.git (status =
401)
Help is very welcome!
Source: (StackOverflow)
Gitblit looks pretty interessting to run a GIT server, so I installed it (which is realy easy).
But now I'm having some problems to get my way around the tool. Its easy to create repos, but after that, I'm stuck - after creation I was not able to "dive" into the repo itself e.g. like on this screenshot: http://gitblit.com/screenshots/03.png
I also noticed that in my installation I have only the first three menu items on top ('repositories', 'users' and 'federation') - which seems logical, as they should appear when "diving" into a repo e.g. 'branches', 'tags' and 'tree'.
I think it is not a security issue, as I disabled security and I also was able to greate a repo.
I'm just missing a link or a button to select a reo and see all the infos about it. There is only a 'edit' link, but that brings me back to the same screen as when creating a repo.
Source: (StackOverflow)