Brian Pribis <brian.pri...@boxcarpress.com> writes:
> Compiled s3ql 2.8.1 on ubuntu 14.04.  I get a fail on my tests like:
>
> Exception ignored in: <bound method BlockCache.__del__ of 
> <s3ql.block_cache.BlockCache object at 0xb65cd24c>>
> Traceback (most recent call last):
>   File "/mnt/netshare/home/brian/s3ql-2.8.1/src/s3ql/block_cache.py", line 
> 923, in __del__
>     raise RuntimeError("BlockManager instance was destroyed without calling 
> destroy()!")
> RuntimeError: BlockManager instance was destroyed without calling
> destroy()!

Please provide more context. Which test is failing?


> I'm not running the test as sudo (not sure if that makes a difference).  If 
> I run as sudo I get:
>
> Traceback (most recent call last):
>   File "/mnt/netshare/home/brian/s3ql-2.8.1/tests/t2_block_cache.py", line 
> 163, in test_destroy_deadlock
>     self.cache.destroy()
>   File "_pytest.python", line 1009, in __exit__
>     pytest.fail("DID NOT RAISE")
>   File "_pytest.runner", line 456, in fail
>     raise Failed(msg=msg, pytrace=pytrace)
> Failed: DID NOT RAISE

This is a known problem when running tests as root. It will be fixed in
the next release. That said, I'd very much recommend to never ever run
tests as root.


Best,
-Nikolaus

-- 
GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F
Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F

             »Time flies like an arrow, fruit flies like a Banana.«

-- 
You received this message because you are subscribed to the Google Groups 
"s3ql" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to s3ql+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to