• Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • git-plugin
    • Jenkins 2.60.1
      Git Plugin 3.3.1
      Windows Server 2012R2
      Java 1.8.0_111

      We have had a few intermittent issues with the GIT plugin and are unable to checkout from our GIT repo on TFS.

      Started by remote host 10.97.31.118
      Checking out git https://tfs.contoso.com/TfsVersionControl/myGitRepo/_git/myPipeline to read Pipeline/DeploymentOrchestration/Jenkins/Jenkinsfile
       > git.exe rev-parse --is-inside-work-tree # timeout=10
      Fetching changes from the remote Git repository
       > git.exe config remote.origin.url https://tfs.contoso.com/TfsVersionControl/myGitRepo/_git/myPipeline # timeout=10
      Fetching upstream changes from https://tfs.contoso.com/TfsVersionControl/myGitRepo/_git/myPipeline
       > git.exe --version # timeout=10
      using GIT_ASKPASS to set credentials 
       > git.exe fetch --tags --progress https://tfs.contoso.com/TfsVersionControl/myGitRepo/_git/myPipeline +refs/heads/*:refs/remotes/origin/*
      ERROR: Error fetching remote repo 'origin'
      hudson.plugins.git.GitException: Failed to fetch from https://tfs.contoso.com/TfsVersionControl/myGitRepo/_git/myPipeline
      	at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:812)
      	at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1079)
      	at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1110)
      	at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:109)
      	at org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:130)
      	at org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:59)
      	at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:246)
      	at hudson.model.ResourceController.execute(ResourceController.java:97)
      	at hudson.model.Executor.run(Executor.java:405)
      Caused by: hudson.plugins.git.GitException: Command "git.exe fetch --tags --progress https://tfs.contoso.com/TfsVersionControl/myGitRepo/_git/myPipeline +refs/heads/*:refs/remotes/origin/*" returned status code 128:
      stdout: 
      stderr: fatal: unable to access 'https://tfs.contoso.com/TfsVersionControl/myGitRepo/_git/myPipeline/': schannel: next InitializeSecurityContext failed: SEC_E_BUFFER_TOO_SMALL (0x80090321) - The buffers supplied to a function was too small.
      
      	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1903)
      	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1622)
      	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:71)
      	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:348)
      	at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:810)
      	... 8 more
      ERROR: Error fetching remote repo 'origin'
      Finished: FAILURE
      

       

          [JENKINS-47739] GIT Error: SEC_E_BUFFER_TOO_SMALL

          Jared Kauppila created issue -
          Jared Kauppila made changes -
          Environment Original: Jenkins 2.60.1
          Git Plugin 3.3.1
          Windows Server 2012R2
          New: Jenkins 2.60.1
          Git Plugin 3.3.1
          Windows Server 2012R2
          Java 1.8.0_111
          Jared Kauppila made changes -
          Description Original: We have had a few intermittent issues with the GIT plugin and being unable to checkout from our TFS server:
          {noformat}
          Started by remote host 10.97.31.118
          Checking out git https://tfs.contoso.com/TfsVersionControl/myGitRepo/_git/myPipeline to read Pipeline/DeploymentOrchestration/Jenkins/Jenkinsfile
           > git.exe rev-parse --is-inside-work-tree # timeout=10
          Fetching changes from the remote Git repository
           > git.exe config remote.origin.url https://tfs.contoso.com/TfsVersionControl/myGitRepo/_git/myPipeline # timeout=10
          Fetching upstream changes from https://tfs.contoso.com/TfsVersionControl/myGitRepo/_git/myPipeline
           > git.exe --version # timeout=10
          using GIT_ASKPASS to set credentials
           > git.exe fetch --tags --progress https://tfs.contoso.com/TfsVersionControl/myGitRepo/_git/myPipeline +refs/heads/*:refs/remotes/origin/*
          ERROR: Error fetching remote repo 'origin'
          hudson.plugins.git.GitException: Failed to fetch from https://tfs.contoso.com/TfsVersionControl/myGitRepo/_git/myPipeline
          at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:812)
          at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1079)
          at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1110)
          at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:109)
          at org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:130)
          at org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:59)
          at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:246)
          at hudson.model.ResourceController.execute(ResourceController.java:97)
          at hudson.model.Executor.run(Executor.java:405)
          Caused by: hudson.plugins.git.GitException: Command "git.exe fetch --tags --progress https://tfs.contoso.com/TfsVersionControl/myGitRepo/_git/myPipeline +refs/heads/*:refs/remotes/origin/*" returned status code 128:
          stdout:
          stderr: fatal: unable to access 'https://tfs.contoso.com/TfsVersionControl/myGitRepo/_git/myPipeline/': schannel: next InitializeSecurityContext failed: SEC_E_BUFFER_TOO_SMALL (0x80090321) - The buffers supplied to a function was too small.

          at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1903)
          at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1622)
          at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:71)
          at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:348)
          at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:810)
          ... 8 more
          ERROR: Error fetching remote repo 'origin'
          Finished: FAILURE
          {noformat}
           
          New: We have had a few intermittent issues with the GIT plugin and are unable to checkout from our GIT repo on TFS.
          {noformat}
          Started by remote host 10.97.31.118
          Checking out git https://tfs.contoso.com/TfsVersionControl/myGitRepo/_git/myPipeline to read Pipeline/DeploymentOrchestration/Jenkins/Jenkinsfile
           > git.exe rev-parse --is-inside-work-tree # timeout=10
          Fetching changes from the remote Git repository
           > git.exe config remote.origin.url https://tfs.contoso.com/TfsVersionControl/myGitRepo/_git/myPipeline # timeout=10
          Fetching upstream changes from https://tfs.contoso.com/TfsVersionControl/myGitRepo/_git/myPipeline
           > git.exe --version # timeout=10
          using GIT_ASKPASS to set credentials
           > git.exe fetch --tags --progress https://tfs.contoso.com/TfsVersionControl/myGitRepo/_git/myPipeline +refs/heads/*:refs/remotes/origin/*
          ERROR: Error fetching remote repo 'origin'
          hudson.plugins.git.GitException: Failed to fetch from https://tfs.contoso.com/TfsVersionControl/myGitRepo/_git/myPipeline
          at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:812)
          at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1079)
          at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1110)
          at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:109)
          at org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:130)
          at org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:59)
          at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:246)
          at hudson.model.ResourceController.execute(ResourceController.java:97)
          at hudson.model.Executor.run(Executor.java:405)
          Caused by: hudson.plugins.git.GitException: Command "git.exe fetch --tags --progress https://tfs.contoso.com/TfsVersionControl/myGitRepo/_git/myPipeline +refs/heads/*:refs/remotes/origin/*" returned status code 128:
          stdout:
          stderr: fatal: unable to access 'https://tfs.contoso.com/TfsVersionControl/myGitRepo/_git/myPipeline/': schannel: next InitializeSecurityContext failed: SEC_E_BUFFER_TOO_SMALL (0x80090321) - The buffers supplied to a function was too small.

          at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1903)
          at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1622)
          at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:71)
          at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:348)
          at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:810)
          ... 8 more
          ERROR: Error fetching remote repo 'origin'
          Finished: FAILURE
          {noformat}
           
          Mark Waite made changes -
          Assignee Original: Mark Waite [ markewaite ]
          Mark Waite made changes -
          Resolution New: Not A Defect [ 7 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Mark Waite made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]

            Unassigned Unassigned
            jakauppila Jared Kauppila
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: