lsb

rsync test fails on some systems

Bug #1332160 reported by Jeff Johnson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lsb
In Progress
Medium
Unassigned
Mandriva
In Progress
Medium

Bug Description

For some reason this fails pretty consistently on Mandriva. I seem to be able
to manually run through the FVT, so I'm not sure what's going on:

List localhost::rsync failed
Test Description:
Run the command: /opt/lsb/appbat/bin/rsync localhost::rsync
- Expected result: Files available on local rsync server are listed

Message from the test:
rsync: failed to connect to localhost: Connection refused (111)
rsync error: error in socket IO (code 10) at clientserver.c(124)
[receiver=3.0.6]
Comment:
The command has returned non-zero code: 2560

Retrieve localhost::rsync/rsyncd.conf failed

Test Description:
Run the command: /opt/lsb/appbat/bin/rsync localhost::rsync/rsyncd.conf . (ends
with dot)
- Expected result: rsync config file copied to /tmp/rsync.test directory
Message from the test:
%> /opt/lsb/appbat/bin/rsync localhost::rsync/rsyncd.conf .
rsync: failed to connect to localhost: Connection refused (111)
rsync error: error in socket IO (code 10) at clientserver.c(124)
[receiver=3.0.6]
Comment:
The command has returned non-zero code: 2560

Upload localhost::rsync/rsyncd.conf failed

Test Description:
Run the command: /opt/lsb/appbat/bin/rsync rsyncd.conf
localhost::rsync/rsyncd.new
- Expected result: rsync config file copied back to local rsync server
directory with a new name.
Message from the test:
%> /opt/lsb/appbat/bin/rsync rsyncd.conf localhost::rsync/rsyncd.new
rsync: failed to connect to localhost: Connection refused (111)
rsync error: error in socket IO (code 10) at clientserver.c(124) [sender=3.0.6]
Comment:
The command has returned non-zero code: 2560

Compare uploaded file with the original one failed

Test Description:
Run the command: diff /tmp/rsync/rsyncd.conf /tmp/rsync/rsyncd.new to compare
the two files copied to and from the rsync server
- Expected result: Both files are identical
[reply] [-] Comment 1

Tags: rsync
Changed in mandriva:
importance: Unknown → Medium
status: Unknown → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

Bug watches keep track of this bug in other bug trackers.