com.atlassian.bamboo.repository.RepositoryException: com.atlassian.bamboo.plugins.git.GitCommandException: command /usr/bin/git ls-remote https://s********s:********@bitbucket.org/s********s/pjh-elect failed with code 128. Working directory was [.]., stderr: fatal: https://s********s:********@bitbucket.org/s********s/p*******/info/refs not valid: is this a git repository?

Atlassian JIRA | Muhammad Fahd [Atlassian] | 1 year ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    h3. Summary Bamboo Cloud shows "not valid: is this a git repository" system errors. It occurs when Bamboo runs the command {{/usr/bin/git ls-remote}} to check the remote Bitbucket repositories. {noformat} com.atlassian.bamboo.repository.RepositoryException: com.atlassian.bamboo.plugins.git.GitCommandException: command /usr/bin/git ls-remote https://s********s:********@bitbucket.org/s********s/pjh-elect failed with code 128. Working directory was [.]., stderr: fatal: https://s********s:********@bitbucket.org/s********s/p*******/info/refs not valid: is this a git repository? at com.atlassian.bamboo.plugins.git.GitRepository.collectChangesSinceLastBuild(GitRepository.java:314) at com.atlassian.bamboo.plugins.git.GitRepository.collectChangesSinceLastBuild(GitRepository.java:237) .... Caused by: com.atlassian.bamboo.plugins.git.GitCommandException: command /usr/bin/git ls-remote https://s********s:********@bitbucket.org/s********s/p****** failed with code 128. Working directory was [.]., stderr: fatal: https://s********s:********@bitbucket.org/s********s/p*******/info/refs not valid: is this a git repository? at com.atlassian.bamboo.plugins.git.GitCommandProcessor.runCommand(GitCommandProcessor.java:587) at com.atlassian.bamboo.plugins.git.GitCommandProcessor.getRemoteRefs(GitCommandProcessor.java:430) at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper$1.call(NativeGitOperationHelper.java:501) {noformat} The errors are intermittent and checking at a latter time will work again. h3. Environment * Bamboo * Bitbucket Cloud h3. Steps to reproduce: # Configure a "Bitbucket Cloud" repository under "Linked repositories" # Wait for at least 24 hours so Bamboo does multiple checks on the repositories. *Result:* The errors will appear of sporadic connection failures to Bitbucket on the section: /builds/admin/systemErrors.action h3. Workaround If the error is shown when running a build, try at a later time. Because the error is intermittent, if errors are found on the System Errors section, it can be discarded

    Atlassian JIRA | 1 year ago | Muhammad Fahd [Atlassian]
    com.atlassian.bamboo.repository.RepositoryException: com.atlassian.bamboo.plugins.git.GitCommandException: command /usr/bin/git ls-remote https://s********s:********@bitbucket.org/s********s/pjh-elect failed with code 128. Working directory was [.]., stderr: fatal: https://s********s:********@bitbucket.org/s********s/p*******/info/refs not valid: is this a git repository?
  2. 0

    h3. Summary Bamboo Cloud shows "not valid: is this a git repository" system errors. It occurs when Bamboo runs the command {{/usr/bin/git ls-remote}} to check the remote Bitbucket repositories. {noformat} com.atlassian.bamboo.repository.RepositoryException: com.atlassian.bamboo.plugins.git.GitCommandException: command /usr/bin/git ls-remote https://s********s:********@bitbucket.org/s********s/pjh-elect failed with code 128. Working directory was [.]., stderr: fatal: https://s********s:********@bitbucket.org/s********s/p*******/info/refs not valid: is this a git repository? at com.atlassian.bamboo.plugins.git.GitRepository.collectChangesSinceLastBuild(GitRepository.java:314) at com.atlassian.bamboo.plugins.git.GitRepository.collectChangesSinceLastBuild(GitRepository.java:237) .... Caused by: com.atlassian.bamboo.plugins.git.GitCommandException: command /usr/bin/git ls-remote https://s********s:********@bitbucket.org/s********s/p****** failed with code 128. Working directory was [.]., stderr: fatal: https://s********s:********@bitbucket.org/s********s/p*******/info/refs not valid: is this a git repository? at com.atlassian.bamboo.plugins.git.GitCommandProcessor.runCommand(GitCommandProcessor.java:587) at com.atlassian.bamboo.plugins.git.GitCommandProcessor.getRemoteRefs(GitCommandProcessor.java:430) at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper$1.call(NativeGitOperationHelper.java:501) {noformat} The errors are intermittent and checking at a latter time will work again. h3. Environment * Bamboo * Bitbucket Cloud h3. Steps to reproduce: # Configure a "Bitbucket Cloud" repository under "Linked repositories" # Wait for at least 24 hours so Bamboo does multiple checks on the repositories. *Result:* The errors will appear of sporadic connection failures to Bitbucket on the section: /builds/admin/systemErrors.action h3. Workaround If the error is shown when running a build, try at a later time. Because the error is intermittent, if errors are found on the System Errors section, it can be discarded

    Atlassian JIRA | 1 year ago | Muhammad Fahd [Atlassian]
    com.atlassian.bamboo.repository.RepositoryException: com.atlassian.bamboo.plugins.git.GitCommandException: command /usr/bin/git ls-remote https://s********s:********@bitbucket.org/s********s/pjh-elect failed with code 128. Working directory was [.]., stderr: fatal: https://s********s:********@bitbucket.org/s********s/p*******/info/refs not valid: is this a git repository?
  3. 0

    [BAM-7717] Support self signed SSL certificates when accessing Git repositories - Atlassian JIRA

    atlassian.com | 1 year ago
    com.atlassian.bamboo.repository.RepositoryException: https://forge.company.com/gitroot/forgetest: cannot open git-u pload-pack
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.atlassian.bamboo.repository.RepositoryException

      com.atlassian.bamboo.plugins.git.GitCommandException: command /usr/bin/git ls-remote https://s********s:********@bitbucket.org/s********s/pjh-elect failed with code 128. Working directory was [.]., stderr: fatal: https://s********s:********@bitbucket.org/s********s/p*******/info/refs not valid: is this a git repository?

      at com.atlassian.bamboo.plugins.git.GitRepository.collectChangesSinceLastBuild()
    2. com.atlassian.bamboo
      GitRepository.collectChangesSinceLastBuild
      1. com.atlassian.bamboo.plugins.git.GitRepository.collectChangesSinceLastBuild(GitRepository.java:314)
      2. com.atlassian.bamboo.plugins.git.GitRepository.collectChangesSinceLastBuild(GitRepository.java:237)
      2 frames