{"thread":{"id":"45875","subject":"git client debug with customer ssh client","startedAt":"2017-05-05T11:49:55Z","lastAt":"2017-05-09T21:42:40Z","messageCount":2,"participants":["Pierre J. Ludwick","Randall S. Becker"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"318836","messageId":"75e9acf2-006e-9844-2e91-ac48cde625c0@gmail.com","threadId":"45875","inReplyTo":"0629aefd-d6f9-ee6c-27f6-1244552e3550@yahoo.com","subject":"git client debug with customer ssh client","fromName":"Pierre J. Ludwick","fromEmail":"pierrelud@gmail.com","sentAt":"2017-05-05T11:49:45Z","receivedAt":"2017-05-05T11:49:55Z","isPatch":false,"sender":{"key":"pierrelud@gmail.com","avatar":null},"body":"\n> Hi,\n>\n> Git client has been ported to HPE NonStop. This OS is Posix called OSS.\n>\n> Currently this git client works with openSSH ssh client also ported to \n> OSS.\n>\n>  When we try to use our \"native\" ssh client, a custom written ssh \n> client, using GIT_SSH= to point to it we are running into some \n> problems. We are this custom ssh developers.\n>\n> The problem is there is establish connection to Gitlab, the server, \n> and some work is done between git client and git server, but then it \n> seems git client just sits waiting. We can't figure out what it \n> waiting for not knowing this client/server protocol and would need \n> some way of knowing to more productively debug our custom ssh client \n> code.\n>\n> We are not an actor in the communication between git client and git \n> server, we just transport data packets transparently with ssh. So \n> either one of the communication partners do not go on with the \n> protocol or some data is stuck in ssh (or the pipe server on the OS). \n> We can only know the details if we know what the git server \n> sent/received and what we sent/received. From our side the only thing \n> we can do is to dump the data from the git server when we receive it. \n> Beyond that we need the data dump from the git server and the git \n> client. Additional state info from the git client and server would \n> help to understand what went wrong, which data is missing, which state \n> it is in.\n>\n> How can we get more info from git client? Any helps suggestions welcomed?\n>\n>\n> Here is the output of a clone cmd, with tracing turned on in git client:\n> ------------------------------------------------------------------------------------- \n>\n>\n> root-pl@BWNS02-ZTC0:~$ cat ~/bin/plsh_sshgit\n>\n> #!/bin/sh\n> run -name=/G/plsh3 /home/pl/bin/ssh -oIdentity=rsa2k -S \\$plssh -S \n> \\$plssh -Q -Z \"$@\"\n>\n>\n>\n> cmd & output:\n> ------------------\n>\n> GIT_SSH=/home/pl/bin/plsh_sshgit GIT_TRACE=true GIT_TRACE_PACKET=true \n> GIT_TRACE_PACK_ACCESS=true GIT_TRACE_SETUP=true git clone \n> git@dev-ssh-debian.comforte.local:pl/test.git\n>\n> Cloning into 'test'...\n> warning: templates not found /usr/local/share/git-core/templates\n> 06:04:25.030966 trace: run_command: '/home/pl/bin/plsh_sshgit' \n> 'git@dev-ssh-debian.comforte.local' 'git-upload-pack '\\''pl/test.git'\n> \\'''\n> 06:05:10.517100 packet:        clone< \n> d789ced47cd9cca76409656507ea5bdc646c4051 HEAD\\0multi_ack thin-pack \n> side-band side-band-64k ofs\n> -delta shallow no-progress include-tag multi_ack_detailed \n> symref=HEAD:refs/heads/master agent=git/2.10.2\n> 06:05:10.524625 packet:        clone< \n> 7bdce38446aae35c92dbab790257313c4d9d950f refs/heads/18-management-fix\n> 06:05:10.524782 packet:        clone< \n> bafcadca5e47b0949ce3135312f587fbc80db237 refs/heads/2452-pw-reset-email\n> 06:05:10.524937 packet:        clone< \n> a927a7c30759c4ad7461525ee55e1a7aed1d490c refs/heads/add-build-signals\n> 06:05:10.525094 packet:        clone< \n> 717faa92a7ef00c5cfca7f56dbb0658751e421e5 refs/heads/add-call-to-theme-js\n> 06:05:10.525271 packet:        clone< \n> 299ea53cf39c670399d3d09ff30be5efab2749c0 refs/heads/add-docsearch-url\n> 06:05:10.525433 packet:        clone< \n> beed6029b7035ed9c47ed604bb0d19372a7c720b refs/heads/add-gold-projects\n> 06:05:10.525627 packet:        clone< \n> ef5c7090095c4004f052d816b759ef441d3f68d0 \n> refs/heads/add-page-suffix-support\n> 06:05:10.525801 packet:        clone< \n> 0384faf59f796a8c6617239f0abe1604416c9acb refs/heads/add-payment-form\n> 06:05:10.525997 packet:        clone< \n> 277e9c0701d14375e2a83ba4821545add35789f9 \n> refs/heads/add-project-container-image\n> 06:05:10.526150 packet:        clone< \n> 28d240bbef04b55fe4a6b856f146e5003f1d540e refs/heads/add-wipe-button-to-ui\n> 06:05:10.526356 packet:        clone< \n> bf0363cd0a566f8077ceb159094e87019a9c8d7b refs/heads/admin-icon\n> 06:05:10.526516 packet:        clone< \n> 5aa5151470bc8029b027d207fd71e81808361f40 refs/heads/api-v2-docs\n> 06:05:10.526736 packet:        clone< \n> 399f924f8067595ad5d2296898ad0761e7a60a02 refs/heads/auth-cas-dev\n> 06:05:10.526888 packet:        clone< \n> 249421d0b13c335a37b5ed695274070da8dd5e32 refs/heads/auto-import\n> 06:05:10.527531 packet:        clone< \n> c922688c4d88dc831541d40e7251c74a11a783d1 refs/heads/backport-style\n> 06:05:10.527680 packet:        clone< \n> fa501c59dd1a96009ad2f7ee1a577662699348d9 refs/heads/badge-v2\n> 06:05:10.527897 packet:        clone< \n> 4b1453954179d21ded05479f3fe469851fd1b815 refs/heads/bitbucket-oauth2\n> 06:05:10.528054 packet:        clone< \n> a1f4b96f2a521c3214cef9f4f54a8f15750fadc2 \n> refs/heads/break-out-core-urls-views\n> 06:05:10.528267 packet:        clone< \n> 9dfa0de18ec8c2a0f5a3e2dad0bb3aebf39b73b0 refs/heads/build-command-shebang\n> 06:05:10.528421 packet:        clone< \n> e7a86d67695d0224629abdccf9cf4c732b7915c0 refs/heads/build-complete-signal\n> 06:05:10.528638 packet:        clone< \n> a5be71f425379ac722c8f507355b070f46fc4d29 refs/heads/build-failure-email\n> 06:05:10.528882 packet:        clone< \n> dd7db9e1f5524e14215ede8e58ecd21ebe3cd223 refs/heads/build-filtering\n> 06:05:10.529066 packet:        clone< \n> 5ee3f2ba081531c98f3a37220f8c4bc8f24e2b7b refs/heads/build-indexes\n> 06:05:10.529219 packet:        clone< \n> e4824a0f35a893f7ed1040a9684297752a657f97 refs/heads/build-pdf-ret-val\n> 06:05:10.529399 packet:        clone< \n> 057d6faf5d3c4a2dd91b0fb8495e755ac824d32e refs/heads/build_stats\n> 06:05:10.529552 packet:        clone< \n> 51b540e0a51732eb94fc8df7a9f89d9ca7ba15f1 refs/heads/builder-standards\n> 06:05:10.529754 packet:        clone< \n> d907aef4ab007833d6ad76098b4671873ea0eec8 refs/heads/bump-sphinx-ext\n> 06:05:10.529906 packet:        clone< \n> d78528903d5da7216b834790bcfbbbaadb3ae65d refs/heads/cdn-abstraction\n> 06:05:10.530114 packet:        clone< \n> 9595beac70fe94d1137cc41d6a7270da33817b11 refs/heads/cleanup-oauth-app\n> 06:05:10.530266 packet:        clone< \n> 77255c6655fa86321e95d8e19a59ca4a2a0f0f9b refs/heads/commenting\n> 06:05:10.530527 packet:        clone< \n> 0100b127b63dd0d4f2a06e91a59e7ec57e26528e refs/heads/conda-env-create\n> 06:05:10.530679 packet:        clone< \n> 5ab86d075bc89121f75cf02a369e891f4e99f637 refs/heads/conda-support\n> 06:05:10.530893 packet:        clone< \n> d325a501664cc6e673b6570a4e581f7905dc66d8 \n> refs/heads/delete-broken-search-code\n> 06:05:10.531052 packet:        clone< \n> ea37e3e3745b8ebc343569ec1d77e7fdc7b7ef91 refs/heads/display-yml\n> 06:05:10.531348 packet:        clone< \n> 869e1c79af58c5e662143f561947f08f055504c8 refs/heads/doc-cleanup\n> 06:05:10.531506 packet:        clone< \n> 722a269033b14eb838aad801210033add39b0ccb refs/heads/doc-docsearch\n> 06:05:10.531710 packet:        clone< \n> a67a4a8de3d706e04a62220ee7099af3891bc8a9 refs/heads/docker-api-change\n> 06:05:10.531870 packet:        clone< \n> 98b776a53460da099d94d127ada2bed1f1f848d2 refs/heads/docker-mkdocs-mount\n> 06:05:10.532061 packet:        clone< \n> bf73f4008bdd2b3bf7312b2144961b7e12f56410 \n> refs/heads/dont-move-index-to-readme\n> 06:05:10.532220 packet:        clone< \n> f2b48646455da792912b5c7340730acd35472315 refs/heads/dont-session-footer\n> 06:05:10.533500 packet:        clone< \n> 6f9ba09587e22a752cc5204642f27c3ff1a3cdd8 \n> refs/heads/dont-set-build-state-on-exit\n> 06:05:10.533652 packet:        clone< \n> 9e528f2e8b5599376df53ab082b2b61f74a9cbd7 refs/heads/drop-bzr-requirement\n> 06:05:10.533932 packet:        clone< \n> 32494143cc7d077e7f960fcfbe524bf2bb4baa60 \n> refs/heads/fix-18-template-context\n> 06:05:10.534086 packet:        clone< \n> 529acff30cce0ec9d29988d2d378ae45834a1a3c \n> refs/heads/fix-apirestrictedpermission\n> 06:05:10.534309 packet:        clone< \n> 7e45481d6b19ae23dc28c9d52b823ac3b34f4fa4 refs/heads/fix-build-output\n> 06:05:10.534471 packet:        clone< \n> af81a01578781a6d81096b5e8d2b225dca79cf98 refs/heads/fix-conda-env\n> 06:05:10.534694 packet:        clone< \n> 50afa534de4122bdd31d601a4dc9ddac94a734fd \n> refs/heads/fix-config-class-setting\n> 06:05:10.534847 packet:        clone< \n> a8c2d8e9a8520243eb9b52cd315e58730e235b4b \n> refs/heads/fix-gulpfile-manage-py\n> 06:05:10.535060 packet:        clone< \n> 7ee93a63da64f1adcc4a0e3263399536984ce611 \n> refs/heads/fix-language-links-on-cname-projects\n> 06:05:10.535222 packet:        clone< \n> 7c723b0a1e125891542f40dc22851e145157ead3 refs/heads/fix-linting\n> 06:05:10.535417 packet:        clone< \n> b81ad9e5db1707fe9cb15fa21396883267b370be refs/heads/fix-projectimport-js\n> 06:05:10.535570 packet:        clone< \n> 1d422dcf8446a4773d3a28a99409a9e71597c12b \n> refs/heads/fix-reindex-elasticsearch\n> 06:05:10.535782 packet:        clone< \n> cf23d9af0618410d2d9d67f0c13150d368737e31 refs/heads/fix-yaml-order\n> 06:05:10.535939 packet:        clone< \n> 2eb8d893347fa195904511f8da38e8719e6ffb39 \n> refs/heads/front-end-standardization\n> 06:05:10.536142 packet:        clone< \n> 1329d221f10700eb144c19ec1f3df4dc457b3c03 refs/heads/github_import\n> 06:05:10.536302 packet:        clone< \n> b4771ca285ab2d6201905a65e7acdfa798852d1c refs/heads/gold\n> 06:05:10.536522 packet:        clone< \n> 552d036d826ac84e689c47803dee75356338d2ab refs/heads/hack-pdf-success\n> 06:05:10.536678 packet:        clone< \n> 3c931c4faf5c59b37de67d52b3280e3a7ef2b619 \n> refs/heads/hide-edit-github-link-for-invalid-pages\n> 06:05:10.536898 packet:        clone< \n> a28ff54d02b235d3d6298a0f191fcd7e049e263f \n> refs/heads/highlight-searchterm-in-mkdocs\n> 06:05:10.537050 packet:        clone< \n> a42303bbe8eb81395038f5f16af4eeff5c3504f2 refs/heads/host-badges\n> 06:05:10.537412 packet:        clone< \n> a2b3a824c4ac5000f0f68d9627c9394da9cc1a2e refs/heads/hotfix-confpy-path\n> 06:05:10.537633 packet:        clone< \n> 1ac50586de88ace7f38e7ac0378a9e8114617628 \n> refs/heads/hotfix-docker-build-bug\n> 06:05:10.537811 packet:        clone< \n> 2c57e9414bcec5c513a706604e1be7a59a332909 refs/heads/hotfix-frontpage-list\n> 06:05:10.538048 packet:        clone< \n> fab3799afd6a476a3a93fd788c95b3ed81736857 refs/heads/hotfix-import\n> 06:05:10.538202 packet:        clone< \n> c49f20a002d24bdb2537c75d7c58446f9e65ba94 refs/heads/hotfix-remote-sync\n> 06:05:10.538418 packet:        clone< \n> a4e6d4795516e6a70e118e0b2556ebf99c12730e \n> refs/heads/hotfix-virtualenv-no-downlaod\n> 06:05:10.538574 packet:        clone< \n> a4e6d4795516e6a70e118e0b2556ebf99c12730e \n> refs/heads/hotfix-virtualenv-no-download\n> 06:05:10.538779 packet:        clone< \n> 20ce8a01eba16d9cb00112857e8327677cb70471 refs/heads/hotifx-frontpage-list\n> 06:05:10.538933 packet:        clone< \n> 9f59c2e7fd9fbfefd4ecf48f488e0853e62ac5e0 refs/heads/hotifx-search-linking\n> 06:05:10.539144 packet:        clone< \n> 2ce07cf65edade653cb333d98cc21ab231a564d4 \n> refs/heads/import-github-language\n> 06:05:10.539308 packet:        clone< \n> e3f4c6230130eee750eed4b750d015f847eb2af6 refs/heads/import-improve-ux\n> 06:05:10.539515 packet:        clone< \n> f2178708198f68b1b367efd802f52e9cabfd57ea refs/heads/import-updates\n> 06:05:10.539667 packet:        clone< \n> 4d0aaf4030ef7d85bb9bbf1a2c7a1831560cab40 refs/heads/improved_search\n> 06:05:10.539879 packet:        clone< \n> e65c272342c64a28942b21f7b3851e190795900e refs/heads/js-theme-bundle\n> 06:05:10.540035 packet:        clone< \n> a49a85eb6e1b6f453083bbf6e06fb20d295b8622 \n> refs/heads/less-strict-oauth-patterns\n> 06:05:10.540247 packet:        clone< \n> 3fcf523598555c6c23e4cee99ff49aa2dedddfa7 refs/heads/lint-project\n> 06:05:10.540398 packet:        clone< \n> 49624cb9b31f08d0c75ee6f6bf2e2565015c83c4 refs/heads/lint-raise-profile\n> 06:05:10.541513 packet:        clone< \n> e7848bf2f3b862bf95ce6944264fb1583f132e5f refs/heads/maintenance-mode\n> 06:05:10.541669 packet:        clone< \n> d789ced47cd9cca76409656507ea5bdc646c4051 refs/heads/master\n> 06:05:10.541949 packet:        clone< \n> e422ffb2ce1173ad94e908aeb206122690043215 refs/heads/move-doctrees\n> 06:05:10.542108 packet:        clone< \n> 01e3709543e7b00aafe7af7cd640effe26e38c4e \n> refs/heads/no-sphinx-build-subprocess\n> 06:05:10.542299 packet:        clone< \n> c39e5369a7d736910e48f54bfa10f14e5c9b0b5f refs/heads/no-www\n> 06:05:10.542449 packet:        clone< \n> 3590d4aa1752342927f4915e951f6a3321ac24f6 refs/heads/ops-docs\n> 06:05:10.542672 packet:        clone< \n> e21c857cef2a0e5a512aa7baba8ccb1f509cf1f1 refs/heads/privacy-backends\n> 06:05:10.542825 packet:        clone< \n> 68eba9cb5fd319020972b30d74985c2dd9cb1e38 refs/heads/privacy-filtering\n> 06:05:10.543037 packet:        clone< \n> a4c1333f480e30511f613bc870624e722b9181f0 \n> refs/heads/private-repo-resolving\n> 06:05:10.543203 packet:        clone< \n> e6cfd9604ec5bec9a9c9bc2a322b8741a6bc1122 \n> refs/heads/programming-language-support\n> 06:05:10.543432 packet:        clone< \n> 28bcd521dbf5fb0e08036159a2307b9ca583d3df \n> refs/heads/project-container-settings\n> 06:05:10.543586 packet:        clone< \n> b8aa29a0d4b00b7a9bb39de75b218000e3fb95fa \n> refs/heads/project-migration-sync\n> 06:05:10.543774 packet:        clone< \n> b13d24aa1d7b87c6d8371d767bfc2313f82988d3 \n> refs/heads/public-private-symlinks\n> 06:05:10.543951 packet:        clone< \n> a37d34a770b7fe5dc301e7386f09877b8eafb34e refs/heads/python3-port\n> 06:05:10.544163 packet:        clone< \n> 10231547896ec495ce64d18737339b62b02c6df8 refs/heads/rate-limit-builds\n> 06:05:10.544321 packet:        clone< \n> 18ce6ce0f8da0f9369235b081901c69738266e24 refs/heads/redirect-keep-version\n> 06:05:10.545439 packet:        clone< \n> 01565fb6eea8183fdb2d895dcf566786f885cfea refs/heads/refactor-builder\n> 06:05:10.545605 packet:        clone< \n> 89f3aef86db05d84839e31ff219d283791c58acc refs/heads/refactor-redirect\n> 06:05:10.545807 packet:        clone< \n> 8238bfc9f34c2699275a4befa850f2c621367456 refs/heads/rel\n> 06:05:10.545956 packet:        clone< \n> 28848a0405b966ef93a5c5b5477ff88c4675fef8 refs/heads/relcorp\n> 06:05:10.546179 packet:        clone< \n> f60e4cf16ffc8bea83db73b1bbb1219544897830 \n> refs/heads/remote-oauth-constants\n> 06:05:10.546341 packet:        clone< \n> d67360a1d240af0835b531ce51570be15d037bff \n> refs/heads/remove-manager-public-kwargs\n> 06:05:10.546544 packet:        clone< \n> 38b762008930f9af7290af5595a19ef6d428db87 \n> refs/heads/remove-user-project-permissions\n> 06:05:10.546701 packet:        clone< \n> 0704513323d95710a7a777eb410b7521a68dbeee refs/heads/rename-docker-image\n> 06:05:10.546919 packet:        clone< \n> 67e105846f25fc6416b0bec181ce92fa7b561766 \n> refs/heads/respect-domain-in-middleware\n> 06:05:10.547073 packet:        clone< \n> 905486a40fa386d444505def314ade5957ca2c8e \n> refs/heads/revert-1568-haystack_upgrade\n> 06:05:10.547282 packet:        clone< \n> 602f08c858e831349eb665d3c56e3b035b0bcb89 refs/heads/revert-conf-changes\n> 06:05:10.547434 packet:        clone< \n> 2227afeed39ed9e256e9618ec9fcd97b69819088 refs/heads/rtd-build-backend\n> 06:05:10.547651 packet:        clone< \n> f0f3f4b2824c0c2b28bcd79dd647c66615c07a4b refs/heads/rtd2\n\n\n"},{"id":"319229","messageId":"000001d2c90d$25f09f90$71d1deb0$@nexbridge.com","threadId":"45875","inReplyTo":"75e9acf2-006e-9844-2e91-ac48cde625c0@gmail.com","subject":"RE: git client debug with customer ssh client","fromName":"Randall S. Becker","fromEmail":"rsbecker@nexbridge.com","sentAt":"2017-05-09T21:42:19Z","receivedAt":"2017-05-09T21:42:40Z","isPatch":false,"sender":{"key":"randall.becker@nexbridge.ca","avatar":"https://avatars.githubusercontent.com/u/28956764?v=4"},"body":"On May 5, 2017 7:50 AM  Pierre J. Ludwick wrote:\n<big snip>\n> How can we get more info from git client? Any helps suggestions welcomed?\n\nIt might be helpful to put a full trace in OpenSSH. Running ssh with -vvv should give you a lot of noise. I have used \nhttps://en.wikibooks.org/wiki/OpenSSH/Logging_and_Troubleshooting\nto pull information when the platform's OpenSSH port was done. If you need access to the ported code, the sources are available in the usual spot at ITUGLIB.\n\nCheers,\nRandall\n\n"}]}