Opened at 2012-05-08T21:17:53Z
Last modified at 2012-10-16T15:11:29Z
#1731 new defect
httplib.BadStatusLine exception occurred once in 10000 "tahoe put"s to the same SDMF writecap
Reported by: | zancas | Owned by: | davidsarah |
---|---|---|---|
Priority: | major | Milestone: | undecided |
Component: | code-frontend | Version: | 1.9.1 |
Keywords: | reliability cli heisenbug error | Cc: | |
Launchpad Bug: |
Description (last modified by davidsarah)
Traceback (most recent call last): File "/home/arc/tahoe-lafs/support/bin/tahoe", line 9, in <module> load_entry_point(\'allmydata-tahoe==1.9.0.post132\', \'console_scripts\', \'tahoe\')() File "/home/arc/tahoe-lafs/src/allmydata/scripts/runner.py", line 116, in run rc = runner(sys.argv[1:], install_node_control=install_node_control) File "/home/arc/tahoe-lafs/src/allmydata/scripts/runner.py", line 102, in runner rc = cli.dispatch[command](so) File "/home/arc/tahoe-lafs/src/allmydata/scripts/cli.py", line 541, in put rc = tahoe_put.put(options) File "/home/arc/tahoe-lafs/src/allmydata/scripts/tahoe_put.py", line 85, in put resp = do_http("PUT", url, infileobj) File "/home/arc/tahoe-lafs/src/allmydata/scripts/common_http.py", line 68, in do_http return c.getresponse() File "/usr/lib/python2.7/httplib.py", line 1027, in getresponse response.begin() File "/usr/lib/python2.7/httplib.py", line 407, in begin version, status, reason = self._read_status() File "/usr/lib/python2.7/httplib.py", line 371, in _read_status raise BadStatusLine(line) httplib.BadStatusLine: \'\'
Change History (3)
comment:1 Changed at 2012-05-09T01:22:11Z by davidsarah
- Component changed from unknown to code-frontend
- Description modified (diff)
- Keywords reliability cli added
- Priority changed from normal to major
- Summary changed from With 10000 "tahoe put" 's to the same SDMF Write Cap A Previously Unseen Error was generated to httplib.BadStatusLine exception occurred once in 10000 "tahoe put"s to the same SDMF writecap
comment:2 Changed at 2012-05-09T01:25:40Z by davidsarah
- Keywords heisenbug added
The first thing to do here is to see if we can reproduce it with, say, 100000 CLI requests. We don't currently know whether this occurs only for the specific operation in the description (tahoe put on a writecap), or it is something that can happen with low probability on any connection to the gateway.
comment:3 Changed at 2012-10-16T15:11:29Z by davidsarah
- Keywords error added
A httplib.BadStatusLine exception also occurred in #1824 when the gateway was killed during a CLI operation. We should probably just catch it and report a friendlier error.
Note: See
TracTickets for help on using
tickets.
It looks as though either the gateway failed to output a valid first line in its HTTP response, or the CLI failed to read that line correctly.