Actions
Bug #5496
closed[SDKs] PySDK test_rewrite_on_empty_file is not reliable
Status:
Resolved
Priority:
Normal
Assigned To:
-
Category:
SDKs
Target version:
-
Story points:
0.5
Description
From build 1393:
====================================================================== ERROR: test_rewrite_on_empty_file (tests.test_arvfile.ArvadosFileWriterTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/data/1/jenkins/workspace/arvados-api-server/sdk/python/tests/test_arvfile.py", line 234, in test_rewrite_on_empty_file self.assertEqual("0123456789", writer.readfrom(0, 20)) File "/data/1/jenkins/workspace/arvados-api-server/sdk/python/arvados/arvfile.py", line 45, in before_close_wrapper return orig_func(self, *args, **kwargs) File "/data/1/jenkins/workspace/arvados-api-server/sdk/python/arvados/retry.py", line 157, in num_retries_setter return orig_func(self, *args, **kwargs) File "/data/1/jenkins/workspace/arvados-api-server/sdk/python/arvados/arvfile.py", line 878, in readfrom return self.arvadosfile.readfrom(offset, size, num_retries) File "/data/1/jenkins/workspace/arvados-api-server/sdk/python/arvados/arvfile.py", line 732, in readfrom block = self.parent._my_block_manager().get_block_contents(lr.locator, num_retries=num_retries, cache_only=bool(data)) File "/data/1/jenkins/workspace/arvados-api-server/sdk/python/arvados/arvfile.py", line 506, in get_block_contents return bufferblock.buffer_view[0:bufferblock.write_pointer].tobytes() TypeError: 'NoneType' object has no attribute '__getitem__' ----------------------------------------------------------------------
Related issues
Updated by Peter Amstutz over 9 years ago
- Target version changed from Bug Triage to 2015-04-01 sprint
Updated by Peter Amstutz over 9 years ago
- Target version changed from 2015-04-01 sprint to 2015-04-29 sprint
Updated by Tom Clegg over 9 years ago
- Target version changed from 2015-04-29 sprint to Arvados Future Sprints
Updated by Tom Clegg over 6 years ago
- Status changed from New to Resolved
- Target version deleted (
Arvados Future Sprints)
Actions