close or truncate of os-locked file gives EIO on some NFSv4 servers
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Incomplete
|
Low
|
Unassigned |
Bug Description
I am having some strange error message that decorate the end of the output generated by many of the bzr commands. Here it is a sample:
yml@ssh1:
modified:
dj_project/
unknown:
dj_project/
web_server_
web_server_
bzr: ERROR: [Errno 5] Input/output error
/usr/lib/
warn("file group %r was not explicitly unlocked" % self)
/usr/lib/
warn("lock on %r not released" % self.f)
Exception exceptions.
/usr/lib/
warn("lock on %r not released" % self.f)
In case the log file would be usefull here it is the last lines of ".bzr.log":
Plugin name __init__ already loaded
Plugin name __init__ already loaded
encoding stdout as sys.stdout encoding 'UTF-8'
return code 0
bzr arguments: [u'status']
looking for plugins in /home/yml/
looking for plugins in /usr/lib/
Plugin name __init__ already loaded
Plugin name __init__ already loaded
encoding stdout as sys.stdout encoding 'UTF-8'
opening working tree '/nfs/http1/
check paths: None
Traceback (most recent call last):
File "/usr/lib/
return run_bzr(argv)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
result = func(*args, **kwargs)
File "/usr/lib/
to_
File "/usr/lib/
wt.unlock()
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self._clear_f()
File "/usr/lib/
self.f.close()
IOError: [Errno 5] Input/output error
tags: | added: dirstate dirstate2 |
Something is wrong in the lock code.
importance high
status triaged