Details
-
Bug
-
Resolution: Fixed
-
Low
Description
I was removing my branches using xargs in two processes (-P2) and I got the following error when I tried to remove some branch:
remote: Traceback (most recent call last): remote: File "/opt/python/domains/bitbucket.org/current/bitbucket/local/env/lib/python2.7/site-packages/django/core/handlers/base.py", line 185, in _get_response remote: response = wrapped_callback(request, *callback_args, **callback_kwargs) remote: File "/opt/python/domains/bitbucket.org/current/bitbucket/local/env/lib/python2.7/site-packages/newrelic/hooks/framework_django.py", line 527, in wrapper remote: return wrapped(*args, **kwargs) remote: File "/opt/python/domains/bitbucket.org/current/bitbucket/local/env/lib/python2.7/site-packages/django/views/decorators/csrf.py", line 58, in wrapped_view remote: return view_func(*args, **kwargs) remote: File "/opt/python/domains/bitbucket.org/current/bitbucket/apps/httphooks/views.py", line 39, in inner remote: content = func(request, environ=environ) remote: File "/opt/python/domains/bitbucket.org/current/bitbucket/apps/httphooks/views.py", line 56, in postgithook remote: return posthooks.githooks(request, environ) remote: File "/opt/python/domains/bitbucket.org/current/bitbucket/local/env/lib/python2.7/site-packages/orochi/git.py", line 1859, in wrapper remote: push = GitPush.fromfile(repo, input_ or sys.stdin) remote: File "/opt/python/domains/bitbucket.org/current/bitbucket/local/env/lib/python2.7/site-packages/orochi/git.py", line 1953, in fromfile remote: for ref in repo._repo.listall_reference_objects(): remote: OSError: failed to read descriptor: Stale file handle