My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 467: repo sync: IOError: [Errno 11] Resource temporarily unavailable
2 people starred this issue and may be notified of changes. Back to list
Status:  Invalid
Owner:  ----
Closed:  Feb 2010


Sign in to add a comment
 
Project Member Reported by ulrik.sj...@gmail.com, Feb 24, 2010
Affected Version:
at least 2.1.1.1

What steps will reproduce the problem?
1. Repo init
2. Repo sync
3. goto 1 many times ;-)

What is the expected output? 
The repo sync should finish without errors.
What do you see instead?
Traceback (most recent call last):
  File
"/home/hudsonslave/root/workspace/offbuild_deckard-integration/.repo/repo/main.py",
line 235, in <module>
    _Main(sys.argv[1:])
  File
"/home/hudsonslave/root/workspace/offbuild_deckard-integration/.repo/repo/main.py",
line 217, in _Main
    repo._Run(argv)
  File
"/home/hudsonslave/root/workspace/offbuild_deckard-integration/.repo/repo/main.py",
line 123, in _Run
    cmd.Execute(copts, cargs)
  File
"/home/hudsonslave/root/workspace/offbuild_deckard-integration/.repo/repo/subcmds/sync.py",
line 212, in Execute
    fetched = self._Fetch(to_fetch)
  File
"/home/hudsonslave/root/workspace/offbuild_deckard-integration/.repo/repo/subcmds/sync.py",
line 114, in _Fetch
    if project.Sync_NetworkHalf():
  File
"/home/hudsonslave/root/workspace/offbuild_deckard-integration/.repo/repo/project.py",
line 593, in Sync_NetworkHalf
    print >>sys.stderr, 'Initializing project %s ...' % self.name
IOError: [Errno 11] Resource temporarily unavailable


Please provide any additional information below.
We have started to see this error more often lately perhaps its a memory
leak or so... I am pretty sure that a restart of the Gerrit service would
make things go back to normal.
Feb 24, 2010
#1 sop@google.com
Huh.  Isn't this a python error?  Its python that got errno 11,
resource temporarily unavailable.  Line 593 of project.py is it
trying to print out a message to stderr console to let you know
how the sync progress is progressing.

This looks like your Hudson CI server can't keep up with the
data being output by Python... and then Python flips out and
throws a stack trace rather than waiting for the pipe to get
consumed and make space ready.

Doesn't look like a Gerrit bug to me.
Status: Invalid
Cc: -s...@google.com
Sign in to add a comment

Powered by Google Project Hosting