s3ql 2.16 - run tests fail

48 views
Skip to first unread message

phant...@gmail.com

unread,
Mar 1, 2016, 11:38:43 AM3/1/16
to s3ql
Hi,

I've successfully installed s3ql v2.16 but when running python3 runtests.py tests it fails.

Dependencies installed :

- psmisc 22.21
- python setuptools 18.0.1
- sqlite 3.11.0
- python apsw 3.8.4.3-r1
- python llfuse 0.43
- python dugong 3.5

Runtests output :

Traceback (most recent call last):
  File "/home/fedora/s3ql-2.16/tests/t5_cp.py", line 30, in test
    self.tst_cp()
  File "/home/fedora/s3ql-2.16/tests/t5_cp.py", line 42, in tst_cp
    os.path.join(self.mnt_dir, 'orig') + '/'])
  File "/usr/lib64/python3.4/subprocess.py", line 561, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['rsync', '-aHAX', '/tmp/s3ql-cp-d1xyn8ms/', '/tmp/s3ql-mnt-966han1y/orig/']' returned non-zero exit status 23

rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1165) [sender=3.1.1]

So my question is, is it ok running s3ql?

Thanks for your help.
Regards.

Jonathan

Nikolaus Rath

unread,
Mar 1, 2016, 11:55:33 AM3/1/16
to s3...@googlegroups.com
On Mar 01 2016, phant...@gmail.com wrote:
> *Runtests output :*
>
> Traceback (most recent call last):
> File "/home/fedora/s3ql-2.16/tests/t5_cp.py", line 30, in test
> self.tst_cp()
> File "/home/fedora/s3ql-2.16/tests/t5_cp.py", line 42, in tst_cp
> os.path.join(self.mnt_dir, 'orig') + '/'])
> File "/usr/lib64/python3.4/subprocess.py", line 561, in check_call
> raise CalledProcessError(retcode, cmd)
> subprocess.CalledProcessError: Command '['rsync', '-aHAX',
> '/tmp/s3ql-cp-d1xyn8ms/', '/tmp/s3ql-mnt-966han1y/orig/']' returned
> non-zero exit status 23
>
> rsync error: some files/attrs were not transferred (see previous errors)
> (code 23) at main.c(1165) [sender=3.1.1]

That's not good. But are you sure you pasted the complete output? It
looks as if the 'previous errors' are not actually included.


> So my question is, is it ok running s3ql?

Not sure.


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

phant...@gmail.com

unread,
Mar 1, 2016, 12:38:14 PM3/1/16
to s3ql
> That's not good. But are you sure you pasted the complete output? It
looks as if the 'previous errors' are not actually included.

 Please find attached the full log of the python runtests.

Just let me know if you need something else.

Regards.

Jonathan
s3ql-runtests.txt

Nikolaus Rath

unread,
Mar 1, 2016, 2:16:45 PM3/1/16
to s3...@googlegroups.com
On Mar 01 2016, phant...@gmail.com wrote:
>>
>> > That's not good. But are you sure you pasted the complete output? It
>> looks as if the 'previous errors' are not actually included.
>>
>
> Please find attached the full log of the python runtests.
>
[...]
> rsync: rsync_xal_set: lsetxattr(""/tmp/s3ql-mnt-oepvi18f/orig/."","security.selinux") failed: Operation not supported (95)
> rsync: rsync_xal_set: lsetxattr(""/tmp/s3ql-mnt-oepvi18f/orig/.sync*.5gLviy"","security.selinux") failed: Operation not supported (95)
> rsync: rsync_xal_set: lsetxattr(""/tmp/s3ql-mnt-oepvi18f/orig/.<66db_upgrade.fxTfiQ"","security.selinux") failed: Operation not supported (95)
> rsync: rsync_xal_set:
> lsetxattr(""/tmp/s3ql-mnt-oepvi18f/orig/apropos""","security.selinux")
> failed: Operation not supported (95)

Sounds like your system doesn't allow setting the "security.selinux"
extended attribute. Is that possible? Did it work with previous S3QL
versions?

phant...@gmail.com

unread,
Mar 2, 2016, 11:52:58 AM3/2/16
to s3ql
> Sounds like your system doesn't allow setting the "security.selinux"
extended attribute. Is that possible? Did it work with previous S3QL
versions?

Well, before I was using s3ql v2.13 (directly installed the rpm with dnf and didn't pay attention to dependencies or running tests but it was working great :-)

I've tried to set selinux to permissive mode but i get the same error...
Could you please tell me a bit more in order to search over internet?

I'm running the python3 runtests.py tests as root and the Amazon Instance EC2 is running under Fedora 23 Cloud.

Thanks again for your help.

Regards.
Jonathan



phant...@gmail.com

unread,
Mar 2, 2016, 12:14:01 PM3/2/16
to s3ql
Also could it be possible that attr cause problem?
Current installed version is attr-2.4.47 

Nikolaus Rath

unread,
Mar 2, 2016, 12:43:14 PM3/2/16
to s3...@googlegroups.com
On Mar 02 2016, phant...@gmail.com wrote:
>>
>> > Sounds like your system doesn't allow setting the "security.selinux"
>> extended attribute. Is that possible? Did it work with previous S3QL
>> versions?
>>
>
> Well, before I was using s3ql v2.13 (directly installed the rpm with dnf
> and didn't pay attention to dependencies or running tests but it was
> working great :-)
>
> I've tried to set selinux to permissive mode but i get the same error...
> Could you please tell me a bit more in order to search over internet?

Not really. I don't know what's going wrong on your system...

> I'm running the python3 runtests.py tests as root and the Amazon Instance
> EC2 is running under Fedora 23 Cloud.

It's probably worth trying a local installation first. For example, if
you boot from a Ubuntu Live CD, does it work? If so, try booting into
Fedora Cloud instead and see if it still works. If that works as well,
it's probably due to EC2.

Nikolaus Rath

unread,
Mar 2, 2016, 12:43:33 PM3/2/16
to s3...@googlegroups.com
On Mar 02 2016, phant...@gmail.com wrote:
>>
>> Also could it be possible that attr cause problem?

That's unlikely.

phant...@gmail.com

unread,
Mar 2, 2016, 12:50:40 PM3/2/16
to s3ql
I've just done some more tests :

- creating a new s3-bucket
- mount, unmount, check, copy file (2Go) both ways, deleting file, etc...

And everything is running just fine. No problem at all.

So I will continu testing with more data just to see how it runs and let you know about this.

Anyway thanks a lot for your help, your doing a really great job!
Regards.

Jonathan

Nikolaus Rath

unread,
Mar 2, 2016, 1:11:56 PM3/2/16
to s3...@googlegroups.com
On Mar 02 2016, phant...@gmail.com wrote:
> I've just done some more tests :
>
> - creating a new s3-bucket
> - mount, unmount, check, copy file (2Go) both ways, deleting file, etc...
>
> And everything is running just fine. No problem at all.
>
> So I will continu testing with more data just to see how it runs and let
> you know about this.


I'd rather have you look into the problem that you already identified.


Best,
-Nikoalus
Reply all
Reply to author
Forward
0 new messages