Tests failed on a virtualenv on Archlinux (tests/t3_fs_api.py) (S3QL 2.14)

21 views
Skip to first unread message

Thomas Sarboni

unread,
Sep 17, 2015, 8:46:19 PM9/17/15
to s3ql
Tests are failing when I try S3QL on my box.
I post the error here so perhaps it can help, or perhaps someone can help me :-)

Here are my infos :

$ bin/s3qlctrl --version
S3QL 2.14

$ uname -srm
Linux 4.1.6-1-ARCH x86_64

$ python --version
Python 3.4.3

$ pip freeze
apsw==3.8.8.2.post1
defusedxml==0.4.1
dugong==3.5
llfuse==0.41.1
py==1.4.30
pycrypto==2.6.1
pytest==2.7.3
python-systemd==0.0.9
requests==2.7.0
wheel==0.24.0

$ py.test tests/t3_fs_api.py
============================= test session starts ==============================
platform linux -- Python 3.4.3 -- py-1.4.30 -- pytest-2.7.3 -- /home/tsarboni/.virtualenvs/s3ql/bin/python3
rootdir: /home/tsarboni/projets/s3ql/s3ql-2.14/tests, inifile: pytest.ini
collected 31 items

tests/t3_fs_api.py::fs_api_tests::test_copy_tree PASSED
tests/t3_fs_api.py::fs_api_tests::test_copy_tree_2 PASSED
tests/t3_fs_api.py::fs_api_tests::test_create PASSED
tests/t3_fs_api.py::fs_api_tests::test_create_open PASSED
tests/t3_fs_api.py::fs_api_tests::test_edit PASSED
tests/t3_fs_api.py::fs_api_tests::test_extstat PASSED
tests/t3_fs_api.py::fs_api_tests::test_failsafe PASSED
tests/t3_fs_api.py::fs_api_tests::test_forget PASSED
tests/t3_fs_api.py::fs_api_tests::test_getattr_root PASSED
tests/t3_fs_api.py::fs_api_tests::test_getxattr PASSED
tests/t3_fs_api.py::fs_api_tests::test_link PASSED
tests/t3_fs_api.py::fs_api_tests::test_listxattr PASSED
tests/t3_fs_api.py::fs_api_tests::test_lock_tree PASSED
tests/t3_fs_api.py::fs_api_tests::test_names PASSED
tests/t3_fs_api.py::fs_api_tests::test_read PASSED
tests/t3_fs_api.py::fs_api_tests::test_readdir PASSED
tests/t3_fs_api.py::fs_api_tests::test_relink PASSED
tests/t3_fs_api.py::fs_api_tests::test_remove_tree PASSED
tests/t3_fs_api.py::fs_api_tests::test_removexattr PASSED
tests/t3_fs_api.py::fs_api_tests::test_rename PASSED
tests/t3_fs_api.py::fs_api_tests::test_replace_dir PASSED
tests/t3_fs_api.py::fs_api_tests::test_replace_file PASSED
tests/t3_fs_api.py::fs_api_tests::test_rmdir PASSED
tests/t3_fs_api.py::fs_api_tests::test_setattr FAILED

=================================== FAILURES ===================================
__________________________ fs_api_tests.test_setattr ___________________________
Traceback (most recent call last):
  File "/home/tsarboni/projets/s3ql/s3ql-2.14/tests/t3_fs_api.py", line 447, in test_setattr
    self.assertGreater(inode_new.ctime, inode_old.ctime)
  File "/usr/lib64/python3.4/unittest/case.py", line 1188, in assertGreater
    self.fail(self._formatMessage(msg, standardMsg))
  File "/usr/lib64/python3.4/unittest/case.py", line 642, in fail
    raise self.failureException(msg)
AssertionError: 0 not greater than 1442536481.6721318
!!!!!!!!!!!!!!!!!!!! Interrupted: stopping after 1 failures !!!!!!!!!!!!!!!!!!!!
===================== 1 failed, 23 passed in 0.68 seconds ======================

Thanks

Nikolaus Rath

unread,
Sep 18, 2015, 1:04:10 AM9/18/15
to s3...@googlegroups.com

On Sep 17 2015, Thomas Sarboni <t.sa...@gmail.com> wrote:
> tests/t3_fs_api.py::fs_api_tests::test_setattr FAILED
>
> =================================== FAILURES
> ===================================
> __________________________ fs_api_tests.test_setattr
> ___________________________
> Traceback (most recent call last):
> File "/home/tsarboni/projets/s3ql/s3ql-2.14/tests/t3_fs_api.py", line
> 447, in test_setattr
> self.assertGreater(inode_new.ctime, inode_old.ctime)
> File "/usr/lib64/python3.4/unittest/case.py", line 1188, in assertGreater
> self.fail(self._formatMessage(msg, standardMsg))
> File "/usr/lib64/python3.4/unittest/case.py", line 642, in fail
> raise self.failureException(msg)
> AssertionError: 0 not greater than 1442536481.6721318
> !!!!!!!!!!!!!!!!!!!! Interrupted: stopping after 1 failures
> !!!!!!!!!!!!!!!!!!!!
> ===================== 1 failed, 23 passed in 0.68 seconds
> ======================


Downgrading to llfuse 0.39 or applying
https://anonscm.debian.org/viewvc/python-apps?view=revision&revision=12347
should help.


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.«

thomas sarboni

unread,
Sep 18, 2015, 3:40:49 AM9/18/15
to s3...@googlegroups.com
Thank you very much.
It works now.

--
Thomas Sarboni
> --
> You received this message because you are subscribed to a topic in the Google Groups "s3ql" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/topic/s3ql/z7M1GLBW6qQ/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to s3ql+uns...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages