Bitbucket failures pulling from public repos

We've seeing this error off and on since yesterday. It's causing our Jenkins builds to fail. It failed four times this morning, May 12, 2016, from 8:06 to 8:36 AM. There are at least two different errors:

> git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url https://bitbucket.org/xnatdev/xnat-data-models.git # timeout=10
Fetching upstream changes from https://bitbucket.org/xnatdev/xnat-data-models.git
> git --version # timeout=10
> git -c core.askpass=true fetch --tags --progress https://bitbucket.org/xnatdev/xnat-data-models.git +refs/heads/*:refs/remotes/origin/*
ERROR: Error fetching remote repo 'origin'
^[[8mha:AAAAWB+LCAAAAAAAAP9b85aBtbiIQSmjNKU4P08vOT+vOD8nVc8DzHWtSE4tKMnMz/PLL0ldFVf2c+b/lb5MDAwVRQxSaBqcITRIIQMEMIIUFgAAckCEiWAAAAA=^[[0mhudson.plugins.git.GitException: Failed to fetch from https://bitbucket.org/xnatdev/xnat-data-models.git
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:810)
at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1066)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1097)
at hudson.scm.SCM.checkout(SCM.java:485)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1269)
at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:607)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529)
at hudson.model.Run.execute(Run.java:1738)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:410)
Caused by: hudson.plugins.git.GitException: Command "git -c core.askpass=true fetch --tags --progress https://bitbucket.org/xnatdev/xnat-data-models.git +refs/heads/*:refs/remotes/origin/*" returned status code 128:
stdout:
stderr: fatal: The remote end hung up unexpectedly
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1719)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1463)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:63)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:314)
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:808)
... 11 more
ERROR: null

And also:

> git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url https://bitbucket.org/xnatdev/xnat-data-models.git # timeout=10
Fetching upstream changes from https://bitbucket.org/xnatdev/xnat-data-models.git
> git --version # timeout=10
> git -c core.askpass=true fetch --tags --progress https://bitbucket.org/xnatdev/xnat-data-models.git +refs/heads/*:refs/remotes/origin/*
ERROR: Error fetching remote repo 'origin'
hudson.plugins.git.GitException: Failed to fetch from https://bitbucket.org/xnatdev/xnat-data-models.git
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:810)
at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1066)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1097)
at hudson.scm.SCM.checkout(SCM.java:485)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1269)
at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:607)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529)
at hudson.model.Run.execute(Run.java:1738)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:410)
Caused by: hudson.plugins.git.GitException: Command "git -c core.askpass=true fetch --tags --progress https://bitbucket.org/xnatdev/xnat-data-models.git +refs/heads/*:refs/remotes/origin/*" returned status code 128:
stdout: 
stderr: fatal: Authentication failed
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1719)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1463)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:63)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:314)
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:808)
... 11 more
ERROR: null

And then it worked suddenly at 8:41 AM:

> git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url https://bitbucket.org/xnatdev/xnat-data-models.git # timeout=10
Fetching upstream changes from https://bitbucket.org/xnatdev/xnat-data-models.git
> git --version # timeout=10
> git -c core.askpass=true fetch --tags --progress https://bitbucket.org/xnatdev/xnat-data-models.git +refs/heads/*:refs/remotes/origin/*
> git rev-parse refs/remotes/origin/master^{commit} # timeout=10
> git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision 9f72886ea2fac6aeda3755c84dffecd009494d89 (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 9f72886ea2fac6aeda3755c84dffecd009494d89
> git rev-list 16e6748cf54d8a24cb84dac8baae1e281ad4ff09 # timeout=10

We did nothing to our configuration or anything else in the meantime. It's affected multiple repos:

* https://bitbucket.org/rherrick/xnat-deploy.git
* https://bitbucket.org/xnatdev/spawner.git
* https://bitbucket.org/xnatdev/xnat-data-models.git
* https://bitbucket.org/xnatdev/xnat-deploy.git
* https://bitbucket.org/xnatdev/xnat-web.git

Let me know if I can get you any other info on our side.

2 answers

Seems to be happening more frequently now as well. It's turning our build list red, which is not good.

Answers is a community Q&A site, but what you're describing sounds like an issue with the Bitbucket service. You might get some faster attention on this if you contact support@bitbucket.org

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

23,452 views 26 12
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you