[ZODB-Dev] Relstorage Blob support and Oracle
Shane Hathaway
shane at hathawaymix.org
Fri Jun 10 10:34:10 EDT 2011
On 06/10/2011 06:38 AM, Hanno Schlichting wrote:
> On Fri, Jun 10, 2011 at 1:03 PM, Hanno Schlichting<hanno at hannosch.eu> wrote:
>> /me is still trying to get the postgres tests to run. I only just now
>> found the relstorage/tests/readme instructions
>
> I got the postgres tests running now and get actual test failures.
> They all look related to blobs.
>
> For example:
>
> Error in test test_storeBlob_replace
> (relstorage.tests.test_blobhelper.BlobHelperTest)
> Traceback (most recent call last):
> File "C:\Python\Python26-Installer\lib\unittest.py", line 289, in run
> self.tearDown()
> File "c:\relstorage\relstorage\tests\test_blobhelper.py", line 45, in tearDown
> shutil.rmtree(self.blob_dir)
> File "C:\Python\Python26-Installer\lib\shutil.py", line 216, in rmtree
> rmtree(fullname, ignore_errors, onerror)
> File "C:\Python\Python26-Installer\lib\shutil.py", line 221, in rmtree
> onerror(os.remove, fullname, sys.exc_info())
> File "C:\Python\Python26-Installer\lib\shutil.py", line 219, in rmtree
> os.remove(fullname)
> WindowsError: [Error 5] Access denied:
> 'c:\\users\\hannosch\\appdata\\local\\temp\\tmpcg4taz\\0x01\\0x02hrzkyf.tmp-'
>
> There's a couple more happening in the separate blob cleanup threads.
>
> Is this what are you seeing as well?
Yes. Here is the last part of the output from my buildbot testing ZODB
trunk and ZODB 3.9 on Windows:
Tests with errors:
test_restoreBlob_shared
(relstorage.tests.test_blobhelper.BlobHelperTest)
test_storeBlob_replace (relstorage.tests.test_blobhelper.BlobHelperTest)
test_storeBlob_shared (relstorage.tests.test_blobhelper.BlobHelperTest)
test_storeBlob_unshared
(relstorage.tests.test_blobhelper.BlobHelperTest)
test_vote (relstorage.tests.test_blobhelper.BlobHelperTest)
Total: 583 tests, 0 failures, 5 errors in 20 minutes 1.718 seconds.
The tests of ZODB 3.8 produce the same errors except
test_storeBlob_unshared (since unshared blobs don't work in ZODB 3.8).
Shane
More information about the ZODB-Dev
mailing list