]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: enable the git clone debug logs 61279/head
authorXiubo Li <xiubli@redhat.com>
Wed, 7 Aug 2024 03:51:14 +0000 (11:51 +0800)
committerVenky Shankar <vshankar@redhat.com>
Thu, 9 Jan 2025 12:03:43 +0000 (17:33 +0530)
Fixes: https://tracker.ceph.com/issues/66991
Signed-off-by: Xiubo Li <xiubli@redhat.com>
(cherry picked from commit b6f8f83470f1888f4820bec9fe41507e444ca673)

qa/workunits/fs/snaps/snaptest-git-ceph.sh

index 4104f3c65e7218d2f36a11c58afd3a736d3bd535..6079ba8945b1412dc9a01eb11e9a1c82e8ac5912 100755 (executable)
@@ -8,6 +8,11 @@ sudo git config --global http.postBuffer 1024MB # default is 1MB
 sudo git config --global http.maxRequestBuffer 100M # default is 10MB
 sudo git config --global core.compression 0
 
+# enable the debug logs for git clone
+export GIT_TRACE_PACKET=1
+export GIT_TRACE=1
+export GIT_CURL_VERBOSE=1
+
 # try it again if the clone is slow and the second time
 retried=false
 trap -- 'retry' EXIT
@@ -21,6 +26,11 @@ timeout 1800 git clone https://git.ceph.com/ceph.git
 trap - EXIT
 cd ceph
 
+# disable the debug logs for git clone
+export GIT_TRACE_PACKET=0
+export GIT_TRACE=0
+export GIT_CURL_VERBOSE=0
+
 versions=`seq 1 90`
 
 for v in $versions