From fda0050d867bcbe4f1d7e024b08e9881d0f57735 Mon Sep 17 00:00:00 2001 From: Kelly Brazil Date: Fri, 4 Feb 2022 14:39:45 -0800 Subject: [PATCH] add rsync-s tests --- .../centos-7.7/rsync-i-logfile-streaming.json | 1 + .../centos-7.7/rsync-i-streaming.json | 1 + .../rsync-i-v-logfile-streaming.json | 1 + .../rsync-i-vv-logfile-streaming.json | 1 + ...sync-i-vvv-logfile-nochange-streaming.json | 1 + .../rsync-i-vvv-logfile-streaming.json | 1 + .../rsync-ivvv-nochange-streaming.json | 1 + .../centos-7.7/rsync-ivvv-streaming.json | 1 + tests/fixtures/generic/rsync-i-streaming.json | 1 + ...sync-i-vvv-logfile-nochange-streaming.json | 1 + .../rsync-i-vvv-nochange-streaming.json | 1 + .../osx-10.14.6/rsync-i-vvv-streaming.json | 1 + tests/test_rsync_s.py | 179 ++++++++++++++++++ 13 files changed, 191 insertions(+) create mode 100644 tests/fixtures/centos-7.7/rsync-i-logfile-streaming.json create mode 100644 tests/fixtures/centos-7.7/rsync-i-streaming.json create mode 100644 tests/fixtures/centos-7.7/rsync-i-v-logfile-streaming.json create mode 100644 tests/fixtures/centos-7.7/rsync-i-vv-logfile-streaming.json create mode 100644 tests/fixtures/centos-7.7/rsync-i-vvv-logfile-nochange-streaming.json create mode 100644 tests/fixtures/centos-7.7/rsync-i-vvv-logfile-streaming.json create mode 100644 tests/fixtures/centos-7.7/rsync-ivvv-nochange-streaming.json create mode 100644 tests/fixtures/centos-7.7/rsync-ivvv-streaming.json create mode 100644 tests/fixtures/generic/rsync-i-streaming.json create mode 100644 tests/fixtures/osx-10.14.6/rsync-i-vvv-logfile-nochange-streaming.json create mode 100644 tests/fixtures/osx-10.14.6/rsync-i-vvv-nochange-streaming.json create mode 100644 tests/fixtures/osx-10.14.6/rsync-i-vvv-streaming.json create mode 100644 tests/test_rsync_s.py diff --git a/tests/fixtures/centos-7.7/rsync-i-logfile-streaming.json b/tests/fixtures/centos-7.7/rsync-i-logfile-streaming.json new file mode 100644 index 00000000..12b3210b --- /dev/null +++ b/tests/fixtures/centos-7.7/rsync-i-logfile-streaming.json @@ -0,0 +1 @@ +[{"type":"file","filename":"./","date":"2022/01/28","time":"03:53:52","process":9190,"metadata":".d..t......","update_type":"not updated","file_type":"directory","checksum_or_value_different":false,"size_different":false,"modification_time_different":true,"permissions_different":false,"owner_different":false,"group_different":false,"acl_different":false,"extended_attribute_different":false,"epoch":1643370832},{"type":"file","filename":"a.txt","date":"2022/01/28","time":"03:53:52","process":9190,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643370832},{"type":"file","filename":"b.txt","date":"2022/01/28","time":"03:53:52","process":9190,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643370832},{"type":"file","filename":"c.txt","date":"2022/01/28","time":"03:53:52","process":9190,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643370832},{"type":"file","filename":"d.txt","date":"2022/01/28","time":"03:53:52","process":9190,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643370832},{"type":"file","filename":"file with spaces.txt","date":"2022/01/28","time":"03:53:52","process":9190,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643370832},{"type":"file","filename":"folder/","date":"2022/01/28","time":"03:53:52","process":9190,"metadata":"cd+++++++++","update_type":"local change or creation","file_type":"directory","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643370832},{"type":"file","filename":"folder/file1","date":"2022/01/28","time":"03:53:52","process":9190,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643370832},{"type":"file","filename":"folder/file10","date":"2022/01/28","time":"03:53:52","process":9190,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643370832},{"type":"file","filename":"folder/file11","date":"2022/01/28","time":"03:53:52","process":9190,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643370832},{"type":"file","filename":"folder/file12","date":"2022/01/28","time":"03:53:52","process":9190,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643370832},{"type":"file","filename":"folder/file13","date":"2022/01/28","time":"03:53:52","process":9190,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643370832},{"type":"file","filename":"folder/file14","date":"2022/01/28","time":"03:53:52","process":9190,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643370832},{"type":"file","filename":"folder/file15","date":"2022/01/28","time":"03:53:52","process":9190,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643370832},{"type":"file","filename":"folder/file16","date":"2022/01/28","time":"03:53:52","process":9190,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643370832},{"type":"file","filename":"folder/file17","date":"2022/01/28","time":"03:53:52","process":9190,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643370832},{"type":"file","filename":"folder/file18","date":"2022/01/28","time":"03:53:52","process":9190,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643370832},{"type":"file","filename":"folder/file19","date":"2022/01/28","time":"03:53:52","process":9190,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643370832},{"type":"file","filename":"folder/file2","date":"2022/01/28","time":"03:53:52","process":9190,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643370832},{"type":"file","filename":"folder/file20","date":"2022/01/28","time":"03:53:52","process":9190,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643370832},{"type":"file","filename":"folder/file3","date":"2022/01/28","time":"03:53:52","process":9190,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643370832},{"type":"file","filename":"folder/file4","date":"2022/01/28","time":"03:53:52","process":9190,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643370832},{"type":"file","filename":"folder/file5","date":"2022/01/28","time":"03:53:52","process":9190,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643370832},{"type":"file","filename":"folder/file6","date":"2022/01/28","time":"03:53:52","process":9190,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643370832},{"type":"file","filename":"folder/file7","date":"2022/01/28","time":"03:53:52","process":9190,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643370832},{"type":"file","filename":"folder/file8","date":"2022/01/28","time":"03:53:52","process":9190,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643370832},{"type":"file","filename":"folder/file9","date":"2022/01/28","time":"03:53:52","process":9190,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643370832},{"type":"file","filename":"./","date":"2022/01/28","time":"03:55:00","process":9198,"metadata":".d..t......","update_type":"not updated","file_type":"directory","checksum_or_value_different":false,"size_different":false,"modification_time_different":true,"permissions_different":false,"owner_different":false,"group_different":false,"acl_different":false,"extended_attribute_different":false,"epoch":1643370900},{},{"type":"file","filename":"a.txt","date":"2022/01/28","time":"03:55:00","process":9198,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643370900},{"type":"file","filename":"b.txt","date":"2022/01/28","time":"03:55:00","process":9198,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643370900},{"type":"file","filename":"c.txt","date":"2022/01/28","time":"03:55:00","process":9198,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643370900},{"type":"file","filename":"d.txt","date":"2022/01/28","time":"03:55:00","process":9198,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643370900},{"type":"file","filename":"file with spaces.txt","date":"2022/01/28","time":"03:55:00","process":9198,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643370900},{"type":"file","filename":"folder/","date":"2022/01/28","time":"03:55:00","process":9198,"metadata":"cd+++++++++","update_type":"local change or creation","file_type":"directory","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643370900},{"type":"file","filename":"folder/file1","date":"2022/01/28","time":"03:55:00","process":9198,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643370900},{"type":"file","filename":"folder/file10","date":"2022/01/28","time":"03:55:00","process":9198,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643370900},{"type":"file","filename":"folder/file11","date":"2022/01/28","time":"03:55:00","process":9198,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643370900},{"type":"file","filename":"folder/file12","date":"2022/01/28","time":"03:55:00","process":9198,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643370900},{"type":"file","filename":"folder/file13","date":"2022/01/28","time":"03:55:00","process":9198,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643370900},{"type":"file","filename":"folder/file14","date":"2022/01/28","time":"03:55:00","process":9198,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643370900},{"type":"file","filename":"folder/file15","date":"2022/01/28","time":"03:55:00","process":9198,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643370900},{"type":"file","filename":"folder/file16","date":"2022/01/28","time":"03:55:00","process":9198,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643370900},{"type":"file","filename":"folder/file17","date":"2022/01/28","time":"03:55:00","process":9198,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643370900},{"type":"file","filename":"folder/file18","date":"2022/01/28","time":"03:55:00","process":9198,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643370900},{"type":"file","filename":"folder/file19","date":"2022/01/28","time":"03:55:00","process":9198,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643370900},{"type":"file","filename":"folder/file2","date":"2022/01/28","time":"03:55:00","process":9198,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643370900},{"type":"file","filename":"folder/file20","date":"2022/01/28","time":"03:55:00","process":9198,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643370900},{"type":"file","filename":"folder/file3","date":"2022/01/28","time":"03:55:00","process":9198,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643370900},{"type":"file","filename":"folder/file4","date":"2022/01/28","time":"03:55:00","process":9198,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643370900},{"type":"file","filename":"folder/file5","date":"2022/01/28","time":"03:55:00","process":9198,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643370900},{"type":"file","filename":"folder/file6","date":"2022/01/28","time":"03:55:00","process":9198,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643370900},{"type":"file","filename":"folder/file7","date":"2022/01/28","time":"03:55:00","process":9198,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643370900},{"type":"file","filename":"folder/file8","date":"2022/01/28","time":"03:55:00","process":9198,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643370900},{"type":"file","filename":"folder/file9","date":"2022/01/28","time":"03:55:00","process":9198,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643370900},{"type":"summary","date":"2022/01/28","time":"03:55:00","process":9198,"sent":1713,"received":507,"total_size":235,"epoch":1643370900}] diff --git a/tests/fixtures/centos-7.7/rsync-i-streaming.json b/tests/fixtures/centos-7.7/rsync-i-streaming.json new file mode 100644 index 00000000..b46e142a --- /dev/null +++ b/tests/fixtures/centos-7.7/rsync-i-streaming.json @@ -0,0 +1 @@ +[{"type":"file","filename":"./","metadata":".d..t......","update_type":"not updated","file_type":"directory","checksum_or_value_different":false,"size_different":false,"modification_time_different":true,"permissions_different":false,"owner_different":false,"group_different":false,"acl_different":false,"extended_attribute_different":false},{"type":"file","filename":"a.txt","metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"b.txt","metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"c.txt","metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"d.txt","metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"file with spaces.txt","metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"folder/","metadata":"cd+++++++++","update_type":"local change or creation","file_type":"directory","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"folder/file1","metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"folder/file10","metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"folder/file11","metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"folder/file12","metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"folder/file13","metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"folder/file14","metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"folder/file15","metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"folder/file16","metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"folder/file17","metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"folder/file18","metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"folder/file19","metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"folder/file2","metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"folder/file20","metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"folder/file3","metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"folder/file4","metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"folder/file5","metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"folder/file6","metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"folder/file7","metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"folder/file8","metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"folder/file9","metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null}] diff --git a/tests/fixtures/centos-7.7/rsync-i-v-logfile-streaming.json b/tests/fixtures/centos-7.7/rsync-i-v-logfile-streaming.json new file mode 100644 index 00000000..792481b8 --- /dev/null +++ b/tests/fixtures/centos-7.7/rsync-i-v-logfile-streaming.json @@ -0,0 +1 @@ +[{"type":"file","filename":"./","date":"2022/01/28","time":"04:22:10","process":9306,"metadata":".d..t......","update_type":"not updated","file_type":"directory","checksum_or_value_different":false,"size_different":false,"modification_time_different":true,"permissions_different":false,"owner_different":false,"group_different":false,"acl_different":false,"extended_attribute_different":false,"epoch":1643372530},{"type":"file","filename":"a.txt","date":"2022/01/28","time":"04:22:10","process":9306,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643372530},{"type":"file","filename":"b.txt","date":"2022/01/28","time":"04:22:10","process":9306,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643372530},{"type":"file","filename":"c.txt","date":"2022/01/28","time":"04:22:10","process":9306,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643372530},{"type":"file","filename":"d.txt","date":"2022/01/28","time":"04:22:10","process":9306,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643372530},{"type":"file","filename":"file with spaces.txt","date":"2022/01/28","time":"04:22:10","process":9306,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643372530},{"type":"file","filename":"folder/","date":"2022/01/28","time":"04:22:10","process":9306,"metadata":"cd+++++++++","update_type":"local change or creation","file_type":"directory","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643372530},{"type":"file","filename":"folder/file1","date":"2022/01/28","time":"04:22:10","process":9306,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643372530},{"type":"file","filename":"folder/file10","date":"2022/01/28","time":"04:22:10","process":9306,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643372530},{"type":"file","filename":"folder/file11","date":"2022/01/28","time":"04:22:10","process":9306,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643372530},{"type":"file","filename":"folder/file12","date":"2022/01/28","time":"04:22:10","process":9306,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643372530},{"type":"file","filename":"folder/file13","date":"2022/01/28","time":"04:22:10","process":9306,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643372530},{"type":"file","filename":"folder/file14","date":"2022/01/28","time":"04:22:10","process":9306,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643372530},{"type":"file","filename":"folder/file15","date":"2022/01/28","time":"04:22:10","process":9306,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643372530},{"type":"file","filename":"folder/file16","date":"2022/01/28","time":"04:22:10","process":9306,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643372530},{"type":"file","filename":"folder/file17","date":"2022/01/28","time":"04:22:10","process":9306,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643372530},{"type":"file","filename":"folder/file18","date":"2022/01/28","time":"04:22:10","process":9306,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643372530},{"type":"file","filename":"folder/file19","date":"2022/01/28","time":"04:22:10","process":9306,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643372530},{"type":"file","filename":"folder/file2","date":"2022/01/28","time":"04:22:10","process":9306,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643372530},{"type":"file","filename":"folder/file20","date":"2022/01/28","time":"04:22:10","process":9306,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643372530},{"type":"file","filename":"folder/file3","date":"2022/01/28","time":"04:22:10","process":9306,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643372530},{"type":"file","filename":"folder/file4","date":"2022/01/28","time":"04:22:10","process":9306,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643372530},{"type":"file","filename":"folder/file5","date":"2022/01/28","time":"04:22:10","process":9306,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643372530},{"type":"file","filename":"folder/file6","date":"2022/01/28","time":"04:22:10","process":9306,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643372530},{"type":"file","filename":"folder/file7","date":"2022/01/28","time":"04:22:10","process":9306,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643372530},{"type":"file","filename":"folder/file8","date":"2022/01/28","time":"04:22:10","process":9306,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643372530},{"type":"file","filename":"folder/file9","date":"2022/01/28","time":"04:22:10","process":9306,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643372530},{"type":"file","filename":"./","date":"2022/01/28","time":"11:07:21","process":10540,"metadata":".d..t......","update_type":"not updated","file_type":"directory","checksum_or_value_different":false,"size_different":false,"modification_time_different":true,"permissions_different":false,"owner_different":false,"group_different":false,"acl_different":false,"extended_attribute_different":false,"epoch":1643396841},{},{"type":"file","filename":"a.txt","date":"2022/01/28","time":"11:07:21","process":10540,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643396841},{"type":"file","filename":"b.txt","date":"2022/01/28","time":"11:07:21","process":10540,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643396841},{"type":"file","filename":"c.txt","date":"2022/01/28","time":"11:07:21","process":10540,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643396841},{"type":"file","filename":"d.txt","date":"2022/01/28","time":"11:07:21","process":10540,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643396841},{"type":"file","filename":"file with spaces.txt","date":"2022/01/28","time":"11:07:21","process":10540,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643396841},{"type":"file","filename":"folder/","date":"2022/01/28","time":"11:07:21","process":10540,"metadata":"cd+++++++++","update_type":"local change or creation","file_type":"directory","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643396841},{"type":"file","filename":"folder/file1","date":"2022/01/28","time":"11:07:21","process":10540,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643396841},{"type":"file","filename":"folder/file10","date":"2022/01/28","time":"11:07:21","process":10540,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643396841},{"type":"file","filename":"folder/file11","date":"2022/01/28","time":"11:07:21","process":10540,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643396841},{"type":"file","filename":"folder/file12","date":"2022/01/28","time":"11:07:21","process":10540,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643396841},{"type":"file","filename":"folder/file13","date":"2022/01/28","time":"11:07:21","process":10540,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643396841},{"type":"file","filename":"folder/file14","date":"2022/01/28","time":"11:07:21","process":10540,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643396841},{"type":"file","filename":"folder/file15","date":"2022/01/28","time":"11:07:21","process":10540,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643396841},{"type":"file","filename":"folder/file16","date":"2022/01/28","time":"11:07:21","process":10540,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643396841},{"type":"file","filename":"folder/file17","date":"2022/01/28","time":"11:07:21","process":10540,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643396841},{"type":"file","filename":"folder/file18","date":"2022/01/28","time":"11:07:21","process":10540,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643396841},{"type":"file","filename":"folder/file19","date":"2022/01/28","time":"11:07:21","process":10540,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643396841},{"type":"file","filename":"folder/file2","date":"2022/01/28","time":"11:07:21","process":10540,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643396841},{"type":"file","filename":"folder/file20","date":"2022/01/28","time":"11:07:21","process":10540,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643396841},{"type":"file","filename":"folder/file3","date":"2022/01/28","time":"11:07:21","process":10540,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643396841},{"type":"file","filename":"folder/file4","date":"2022/01/28","time":"11:07:21","process":10540,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643396841},{"type":"file","filename":"folder/file5","date":"2022/01/28","time":"11:07:21","process":10540,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643396841},{"type":"file","filename":"folder/file6","date":"2022/01/28","time":"11:07:21","process":10540,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643396841},{"type":"file","filename":"folder/file7","date":"2022/01/28","time":"11:07:21","process":10540,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643396841},{"type":"file","filename":"folder/file8","date":"2022/01/28","time":"11:07:21","process":10540,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643396841},{"type":"file","filename":"folder/file9","date":"2022/01/28","time":"11:07:21","process":10540,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643396841},{"sent":1708,"received":502,"bytes_sec":4420.0,"total_size":235,"speedup":0.11}] diff --git a/tests/fixtures/centos-7.7/rsync-i-vv-logfile-streaming.json b/tests/fixtures/centos-7.7/rsync-i-vv-logfile-streaming.json new file mode 100644 index 00000000..c5a27af8 --- /dev/null +++ b/tests/fixtures/centos-7.7/rsync-i-vv-logfile-streaming.json @@ -0,0 +1 @@ +[{"type":"file","filename":"./","date":"2022/01/28","time":"04:37:34","process":9349,"metadata":".d..t......","update_type":"not updated","file_type":"directory","checksum_or_value_different":false,"size_different":false,"modification_time_different":true,"permissions_different":false,"owner_different":false,"group_different":false,"acl_different":false,"extended_attribute_different":false,"epoch":1643373454},{"type":"file","filename":"a.txt","date":"2022/01/28","time":"04:37:34","process":9349,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643373454},{"type":"file","filename":"b.txt","date":"2022/01/28","time":"04:37:34","process":9349,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643373454},{"type":"file","filename":"c.txt","date":"2022/01/28","time":"04:37:34","process":9349,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643373454},{"type":"file","filename":"d.txt","date":"2022/01/28","time":"04:37:34","process":9349,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643373454},{"type":"file","filename":"file with spaces.txt","date":"2022/01/28","time":"04:37:34","process":9349,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643373454},{"type":"file","filename":"folder/","date":"2022/01/28","time":"04:37:34","process":9349,"metadata":"cd+++++++++","update_type":"local change or creation","file_type":"directory","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643373454},{"type":"file","filename":"folder/file1","date":"2022/01/28","time":"04:37:34","process":9349,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643373454},{"type":"file","filename":"folder/file10","date":"2022/01/28","time":"04:37:34","process":9349,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643373454},{"type":"file","filename":"folder/file11","date":"2022/01/28","time":"04:37:34","process":9349,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643373454},{"type":"file","filename":"folder/file12","date":"2022/01/28","time":"04:37:34","process":9349,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643373454},{"type":"file","filename":"folder/file13","date":"2022/01/28","time":"04:37:34","process":9349,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643373454},{"type":"file","filename":"folder/file14","date":"2022/01/28","time":"04:37:34","process":9349,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643373454},{"type":"file","filename":"folder/file15","date":"2022/01/28","time":"04:37:34","process":9349,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643373454},{"type":"file","filename":"folder/file16","date":"2022/01/28","time":"04:37:34","process":9349,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643373454},{"type":"file","filename":"folder/file17","date":"2022/01/28","time":"04:37:34","process":9349,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643373454},{"type":"file","filename":"folder/file18","date":"2022/01/28","time":"04:37:34","process":9349,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643373454},{"type":"file","filename":"folder/file19","date":"2022/01/28","time":"04:37:34","process":9349,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643373454},{"type":"file","filename":"folder/file2","date":"2022/01/28","time":"04:37:34","process":9349,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643373454},{"type":"file","filename":"folder/file20","date":"2022/01/28","time":"04:37:34","process":9349,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643373454},{"type":"file","filename":"folder/file3","date":"2022/01/28","time":"04:37:34","process":9349,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643373454},{"type":"file","filename":"folder/file4","date":"2022/01/28","time":"04:37:34","process":9349,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643373454},{"type":"file","filename":"folder/file5","date":"2022/01/28","time":"04:37:34","process":9349,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643373454},{"type":"file","filename":"folder/file6","date":"2022/01/28","time":"04:37:34","process":9349,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643373454},{"type":"file","filename":"folder/file7","date":"2022/01/28","time":"04:37:34","process":9349,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643373454},{"type":"file","filename":"folder/file8","date":"2022/01/28","time":"04:37:34","process":9349,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643373454},{"type":"file","filename":"folder/file9","date":"2022/01/28","time":"04:37:34","process":9349,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643373454},{"type":"file","filename":"./","date":"2022/01/28","time":"11:20:55","process":10585,"metadata":".d..t......","update_type":"not updated","file_type":"directory","checksum_or_value_different":false,"size_different":false,"modification_time_different":true,"permissions_different":false,"owner_different":false,"group_different":false,"acl_different":false,"extended_attribute_different":false,"epoch":1643397655},{},{"type":"file","filename":"a.txt","date":"2022/01/28","time":"11:20:55","process":10585,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643397655},{"type":"file","filename":"b.txt","date":"2022/01/28","time":"11:20:55","process":10585,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643397655},{"type":"file","filename":"c.txt","date":"2022/01/28","time":"11:20:55","process":10585,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643397655},{"type":"file","filename":"d.txt","date":"2022/01/28","time":"11:20:55","process":10585,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643397655},{"type":"file","filename":"file with spaces.txt","date":"2022/01/28","time":"11:20:55","process":10585,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643397655},{"type":"file","filename":"folder/","date":"2022/01/28","time":"11:20:55","process":10585,"metadata":"cd+++++++++","update_type":"local change or creation","file_type":"directory","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643397655},{"type":"file","filename":"folder/file1","date":"2022/01/28","time":"11:20:55","process":10585,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643397655},{"type":"file","filename":"folder/file10","date":"2022/01/28","time":"11:20:55","process":10585,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643397655},{"type":"file","filename":"folder/file11","date":"2022/01/28","time":"11:20:55","process":10585,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643397655},{"type":"file","filename":"folder/file12","date":"2022/01/28","time":"11:20:55","process":10585,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643397655},{"type":"file","filename":"folder/file13","date":"2022/01/28","time":"11:20:55","process":10585,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643397655},{"type":"file","filename":"folder/file14","date":"2022/01/28","time":"11:20:55","process":10585,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643397655},{"type":"file","filename":"folder/file15","date":"2022/01/28","time":"11:20:55","process":10585,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643397655},{"type":"file","filename":"folder/file16","date":"2022/01/28","time":"11:20:55","process":10585,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643397655},{"type":"file","filename":"folder/file17","date":"2022/01/28","time":"11:20:55","process":10585,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643397655},{"type":"file","filename":"folder/file18","date":"2022/01/28","time":"11:20:55","process":10585,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643397655},{"type":"file","filename":"folder/file19","date":"2022/01/28","time":"11:20:55","process":10585,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643397655},{"type":"file","filename":"folder/file2","date":"2022/01/28","time":"11:20:55","process":10585,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643397655},{"type":"file","filename":"folder/file20","date":"2022/01/28","time":"11:20:55","process":10585,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643397655},{"type":"file","filename":"folder/file3","date":"2022/01/28","time":"11:20:55","process":10585,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643397655},{"type":"file","filename":"folder/file4","date":"2022/01/28","time":"11:20:55","process":10585,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643397655},{"type":"file","filename":"folder/file5","date":"2022/01/28","time":"11:20:55","process":10585,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643397655},{"type":"file","filename":"folder/file6","date":"2022/01/28","time":"11:20:55","process":10585,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643397655},{"type":"file","filename":"folder/file7","date":"2022/01/28","time":"11:20:55","process":10585,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643397655},{"type":"file","filename":"folder/file8","date":"2022/01/28","time":"11:20:55","process":10585,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643397655},{"type":"file","filename":"folder/file9","date":"2022/01/28","time":"11:20:55","process":10585,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643397655},{"type":"summary","date":"2022/01/28","time":"11:20:55","process":10585,"matches":0,"hash_hits":0,"false_alarms":0,"data":235,"sent":1708,"received":569,"bytes_sec":4554.0,"total_size":235,"speedup":0.1,"epoch":1643397655}] diff --git a/tests/fixtures/centos-7.7/rsync-i-vvv-logfile-nochange-streaming.json b/tests/fixtures/centos-7.7/rsync-i-vvv-logfile-nochange-streaming.json new file mode 100644 index 00000000..f5fcb7ec --- /dev/null +++ b/tests/fixtures/centos-7.7/rsync-i-vvv-logfile-nochange-streaming.json @@ -0,0 +1 @@ +[{"type":"file","filename":"./","date":"2022/01/29","time":"07:11:29","process":49859,"metadata":".d..t......","update_type":"not updated","file_type":"directory","checksum_or_value_different":false,"size_different":false,"modification_time_different":true,"permissions_different":false,"owner_different":false,"group_different":false,"acl_different":false,"extended_attribute_different":false,"epoch":1643469089},{"type":"file","filename":"a.txt","date":"2022/01/29","time":"07:11:29","process":49859,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643469089},{"type":"file","filename":"b.txt","date":"2022/01/29","time":"07:11:29","process":49859,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643469089},{"type":"file","filename":"c.txt","date":"2022/01/29","time":"07:11:29","process":49859,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643469089},{"type":"file","filename":"d.txt","date":"2022/01/29","time":"07:11:29","process":49859,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643469089},{"type":"file","filename":"file with spaces.txt","date":"2022/01/29","time":"07:11:29","process":49859,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643469089},{"type":"file","filename":"pyspark-2.4.5-py2.py3-none-any.whl","date":"2022/01/29","time":"07:11:31","process":49859,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643469091},{"type":"file","filename":"folder/","date":"2022/01/29","time":"07:11:31","process":49859,"metadata":"cd+++++++++","update_type":"local change or creation","file_type":"directory","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643469091},{"type":"file","filename":"folder/file1","date":"2022/01/29","time":"07:11:31","process":49859,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643469091},{"type":"file","filename":"folder/file10","date":"2022/01/29","time":"07:11:31","process":49859,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643469091},{"type":"file","filename":"folder/file11","date":"2022/01/29","time":"07:11:31","process":49859,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643469091},{"type":"file","filename":"folder/file12","date":"2022/01/29","time":"07:11:31","process":49859,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643469091},{"type":"file","filename":"folder/file13","date":"2022/01/29","time":"07:11:31","process":49859,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643469091},{"type":"file","filename":"folder/file14","date":"2022/01/29","time":"07:11:31","process":49859,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643469091},{"type":"file","filename":"folder/file15","date":"2022/01/29","time":"07:11:31","process":49859,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643469091},{"type":"file","filename":"folder/file16","date":"2022/01/29","time":"07:11:31","process":49859,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643469091},{"type":"file","filename":"folder/file17","date":"2022/01/29","time":"07:11:31","process":49859,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643469091},{"type":"file","filename":"folder/file18","date":"2022/01/29","time":"07:11:31","process":49859,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643469091},{"type":"file","filename":"folder/file19","date":"2022/01/29","time":"07:11:31","process":49859,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643469091},{"type":"file","filename":"folder/file2","date":"2022/01/29","time":"07:11:31","process":49859,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643469091},{"type":"file","filename":"folder/file20","date":"2022/01/29","time":"07:11:31","process":49859,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643469091},{"type":"file","filename":"folder/file3","date":"2022/01/29","time":"07:11:31","process":49859,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643469091},{"type":"file","filename":"folder/file4","date":"2022/01/29","time":"07:11:31","process":49859,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643469091},{"type":"file","filename":"folder/file5","date":"2022/01/29","time":"07:11:31","process":49859,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643469091},{"type":"file","filename":"folder/file6","date":"2022/01/29","time":"07:11:31","process":49859,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643469091},{"type":"file","filename":"folder/file7","date":"2022/01/29","time":"07:11:31","process":49859,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643469091},{"type":"file","filename":"folder/file8","date":"2022/01/29","time":"07:11:31","process":49859,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643469091},{"type":"file","filename":"folder/file9","date":"2022/01/29","time":"07:11:31","process":49859,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643469091},{"type":"file","filename":"./","date":"2022/01/29","time":"07:11:33","process":49865,"metadata":".d ","update_type":"not updated","file_type":"directory","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643469093},{},{"type":"file","filename":"a.txt","date":"2022/01/29","time":"07:11:33","process":49865,"metadata":".f ","update_type":"not updated","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643469093},{"type":"file","filename":"b.txt","date":"2022/01/29","time":"07:11:33","process":49865,"metadata":".f ","update_type":"not updated","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643469093},{"type":"file","filename":"c.txt","date":"2022/01/29","time":"07:11:33","process":49865,"metadata":".f ","update_type":"not updated","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643469093},{"type":"file","filename":"d.txt","date":"2022/01/29","time":"07:11:33","process":49865,"metadata":".f ","update_type":"not updated","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643469093},{"type":"file","filename":"file with spaces.txt","date":"2022/01/29","time":"07:11:33","process":49865,"metadata":".f ","update_type":"not updated","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643469093},{"type":"file","filename":"pyspark-2.4.5-py2.py3-none-any.whl","date":"2022/01/29","time":"07:11:33","process":49865,"metadata":".f ","update_type":"not updated","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643469093},{"type":"file","filename":"folder/","date":"2022/01/29","time":"07:11:33","process":49865,"metadata":".d ","update_type":"not updated","file_type":"directory","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643469093},{"type":"file","filename":"folder/file1","date":"2022/01/29","time":"07:11:33","process":49865,"metadata":".f ","update_type":"not updated","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643469093},{"type":"file","filename":"folder/file10","date":"2022/01/29","time":"07:11:33","process":49865,"metadata":".f ","update_type":"not updated","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643469093},{"type":"file","filename":"folder/file11","date":"2022/01/29","time":"07:11:33","process":49865,"metadata":".f ","update_type":"not updated","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643469093},{"type":"file","filename":"folder/file12","date":"2022/01/29","time":"07:11:33","process":49865,"metadata":".f ","update_type":"not updated","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643469093},{"type":"file","filename":"folder/file13","date":"2022/01/29","time":"07:11:33","process":49865,"metadata":".f ","update_type":"not updated","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643469093},{"type":"file","filename":"folder/file14","date":"2022/01/29","time":"07:11:33","process":49865,"metadata":".f ","update_type":"not updated","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643469093},{"type":"file","filename":"folder/file15","date":"2022/01/29","time":"07:11:33","process":49865,"metadata":".f ","update_type":"not updated","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643469093},{"type":"file","filename":"folder/file16","date":"2022/01/29","time":"07:11:33","process":49865,"metadata":".f ","update_type":"not updated","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643469093},{"type":"file","filename":"folder/file17","date":"2022/01/29","time":"07:11:33","process":49865,"metadata":".f ","update_type":"not updated","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643469093},{"type":"file","filename":"folder/file18","date":"2022/01/29","time":"07:11:33","process":49865,"metadata":".f ","update_type":"not updated","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643469093},{"type":"file","filename":"folder/file19","date":"2022/01/29","time":"07:11:33","process":49865,"metadata":".f ","update_type":"not updated","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643469093},{"type":"file","filename":"folder/file2","date":"2022/01/29","time":"07:11:33","process":49865,"metadata":".f ","update_type":"not updated","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643469093},{"type":"file","filename":"folder/file20","date":"2022/01/29","time":"07:11:33","process":49865,"metadata":".f ","update_type":"not updated","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643469093},{"type":"file","filename":"folder/file3","date":"2022/01/29","time":"07:11:33","process":49865,"metadata":".f ","update_type":"not updated","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643469093},{"type":"file","filename":"folder/file4","date":"2022/01/29","time":"07:11:33","process":49865,"metadata":".f ","update_type":"not updated","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643469093},{"type":"file","filename":"folder/file5","date":"2022/01/29","time":"07:11:33","process":49865,"metadata":".f ","update_type":"not updated","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643469093},{"type":"file","filename":"folder/file6","date":"2022/01/29","time":"07:11:33","process":49865,"metadata":".f ","update_type":"not updated","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643469093},{"type":"file","filename":"folder/file7","date":"2022/01/29","time":"07:11:33","process":49865,"metadata":".f ","update_type":"not updated","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643469093},{"type":"file","filename":"folder/file8","date":"2022/01/29","time":"07:11:33","process":49865,"metadata":".f ","update_type":"not updated","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643469093},{"type":"file","filename":"folder/file9","date":"2022/01/29","time":"07:11:33","process":49865,"metadata":".f ","update_type":"not updated","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643469093},{"type":"summary","date":"2022/01/29","time":"07:11:33","process":49865,"matches":0,"hash_hits":0,"false_alarms":0,"data":0,"sent":611,"received":4043,"bytes_sec":9308.0,"total_size":218258163,"speedup":46896.9,"epoch":1643469093}] diff --git a/tests/fixtures/centos-7.7/rsync-i-vvv-logfile-streaming.json b/tests/fixtures/centos-7.7/rsync-i-vvv-logfile-streaming.json new file mode 100644 index 00000000..c599ee56 --- /dev/null +++ b/tests/fixtures/centos-7.7/rsync-i-vvv-logfile-streaming.json @@ -0,0 +1 @@ +[{"type":"file","filename":"./","date":"2022/01/28","time":"04:50:27","process":9396,"metadata":".d..t......","update_type":"not updated","file_type":"directory","checksum_or_value_different":false,"size_different":false,"modification_time_different":true,"permissions_different":false,"owner_different":false,"group_different":false,"acl_different":false,"extended_attribute_different":false,"epoch":1643374227},{"type":"file","filename":"a.txt","date":"2022/01/28","time":"04:50:27","process":9396,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643374227},{"type":"file","filename":"b.txt","date":"2022/01/28","time":"04:50:27","process":9396,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643374227},{"type":"file","filename":"c.txt","date":"2022/01/28","time":"04:50:27","process":9396,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643374227},{"type":"file","filename":"d.txt","date":"2022/01/28","time":"04:50:27","process":9396,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643374227},{"type":"file","filename":"file with spaces.txt","date":"2022/01/28","time":"04:50:27","process":9396,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643374227},{"type":"file","filename":"folder/","date":"2022/01/28","time":"04:50:27","process":9396,"metadata":"cd+++++++++","update_type":"local change or creation","file_type":"directory","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643374227},{"type":"file","filename":"folder/file1","date":"2022/01/28","time":"04:50:27","process":9396,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643374227},{"type":"file","filename":"folder/file10","date":"2022/01/28","time":"04:50:27","process":9396,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643374227},{"type":"file","filename":"folder/file11","date":"2022/01/28","time":"04:50:27","process":9396,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643374227},{"type":"file","filename":"folder/file12","date":"2022/01/28","time":"04:50:27","process":9396,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643374227},{"type":"file","filename":"folder/file13","date":"2022/01/28","time":"04:50:27","process":9396,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643374227},{"type":"file","filename":"folder/file14","date":"2022/01/28","time":"04:50:27","process":9396,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643374227},{"type":"file","filename":"folder/file15","date":"2022/01/28","time":"04:50:27","process":9396,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643374227},{"type":"file","filename":"folder/file16","date":"2022/01/28","time":"04:50:27","process":9396,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643374227},{"type":"file","filename":"folder/file17","date":"2022/01/28","time":"04:50:27","process":9396,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643374227},{"type":"file","filename":"folder/file18","date":"2022/01/28","time":"04:50:27","process":9396,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643374227},{"type":"file","filename":"folder/file19","date":"2022/01/28","time":"04:50:27","process":9396,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643374227},{"type":"file","filename":"folder/file2","date":"2022/01/28","time":"04:50:27","process":9396,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643374227},{"type":"file","filename":"folder/file20","date":"2022/01/28","time":"04:50:27","process":9396,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643374227},{"type":"file","filename":"folder/file3","date":"2022/01/28","time":"04:50:27","process":9396,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643374227},{"type":"file","filename":"folder/file4","date":"2022/01/28","time":"04:50:27","process":9396,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643374227},{"type":"file","filename":"folder/file5","date":"2022/01/28","time":"04:50:27","process":9396,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643374227},{"type":"file","filename":"folder/file6","date":"2022/01/28","time":"04:50:27","process":9396,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643374227},{"type":"file","filename":"folder/file7","date":"2022/01/28","time":"04:50:27","process":9396,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643374227},{"type":"file","filename":"folder/file8","date":"2022/01/28","time":"04:50:27","process":9396,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643374227},{"type":"file","filename":"folder/file9","date":"2022/01/28","time":"04:50:27","process":9396,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643374227},{"type":"file","filename":"./","date":"2022/01/28","time":"11:24:48","process":10616,"metadata":".d..t......","update_type":"not updated","file_type":"directory","checksum_or_value_different":false,"size_different":false,"modification_time_different":true,"permissions_different":false,"owner_different":false,"group_different":false,"acl_different":false,"extended_attribute_different":false,"epoch":1643397888},{},{"type":"file","filename":"a.txt","date":"2022/01/28","time":"11:24:48","process":10616,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643397888},{"type":"file","filename":"b.txt","date":"2022/01/28","time":"11:24:48","process":10616,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643397888},{"type":"file","filename":"c.txt","date":"2022/01/28","time":"11:24:48","process":10616,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643397888},{"type":"file","filename":"d.txt","date":"2022/01/28","time":"11:24:48","process":10616,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643397888},{"type":"file","filename":"file with spaces.txt","date":"2022/01/28","time":"11:24:48","process":10616,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643397888},{"type":"file","filename":"folder/","date":"2022/01/28","time":"11:24:48","process":10616,"metadata":"cd+++++++++","update_type":"local change or creation","file_type":"directory","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643397888},{"type":"file","filename":"folder/file1","date":"2022/01/28","time":"11:24:48","process":10616,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643397888},{"type":"file","filename":"folder/file10","date":"2022/01/28","time":"11:24:48","process":10616,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643397888},{"type":"file","filename":"folder/file11","date":"2022/01/28","time":"11:24:48","process":10616,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643397888},{"type":"file","filename":"folder/file12","date":"2022/01/28","time":"11:24:48","process":10616,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643397888},{"type":"file","filename":"folder/file13","date":"2022/01/28","time":"11:24:48","process":10616,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643397888},{"type":"file","filename":"folder/file14","date":"2022/01/28","time":"11:24:48","process":10616,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643397888},{"type":"file","filename":"folder/file15","date":"2022/01/28","time":"11:24:48","process":10616,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643397888},{"type":"file","filename":"folder/file16","date":"2022/01/28","time":"11:24:48","process":10616,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643397888},{"type":"file","filename":"folder/file17","date":"2022/01/28","time":"11:24:48","process":10616,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643397888},{"type":"file","filename":"folder/file18","date":"2022/01/28","time":"11:24:48","process":10616,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643397888},{"type":"file","filename":"folder/file19","date":"2022/01/28","time":"11:24:48","process":10616,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643397888},{"type":"file","filename":"folder/file2","date":"2022/01/28","time":"11:24:48","process":10616,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643397888},{"type":"file","filename":"folder/file20","date":"2022/01/28","time":"11:24:48","process":10616,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643397888},{"type":"file","filename":"folder/file3","date":"2022/01/28","time":"11:24:48","process":10616,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643397888},{"type":"file","filename":"folder/file4","date":"2022/01/28","time":"11:24:48","process":10616,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643397888},{"type":"file","filename":"folder/file5","date":"2022/01/28","time":"11:24:48","process":10616,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643397888},{"type":"file","filename":"folder/file6","date":"2022/01/28","time":"11:24:48","process":10616,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643397888},{"type":"file","filename":"folder/file7","date":"2022/01/28","time":"11:24:48","process":10616,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643397888},{"type":"file","filename":"folder/file8","date":"2022/01/28","time":"11:24:48","process":10616,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643397888},{"type":"file","filename":"folder/file9","date":"2022/01/28","time":"11:24:48","process":10616,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643397888},{"type":"file","filename":"./","date":"2022/01/28","time":"18:56:24","process":12309,"metadata":".d..t......","update_type":"not updated","file_type":"directory","checksum_or_value_different":false,"size_different":false,"modification_time_different":true,"permissions_different":false,"owner_different":false,"group_different":false,"acl_different":false,"extended_attribute_different":false,"epoch":1643424984},{},{"type":"file","filename":"a.txt","date":"2022/01/28","time":"18:56:24","process":12309,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643424984},{"type":"file","filename":"b.txt","date":"2022/01/28","time":"18:56:24","process":12309,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643424984},{"type":"file","filename":"c.txt","date":"2022/01/28","time":"18:56:24","process":12309,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643424984},{"type":"file","filename":"d.txt","date":"2022/01/28","time":"18:56:24","process":12309,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643424984},{"type":"file","filename":"file with spaces.txt","date":"2022/01/28","time":"18:56:24","process":12309,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643424984},{"type":"file","filename":"pyspark-2.4.5-py2.py3-none-any.whl","date":"2022/01/28","time":"18:56:27","process":12309,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643424987},{"type":"file","filename":"folder/","date":"2022/01/28","time":"18:56:27","process":12309,"metadata":"cd+++++++++","update_type":"local change or creation","file_type":"directory","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643424987},{"type":"file","filename":"folder/file1","date":"2022/01/28","time":"18:56:27","process":12309,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643424987},{"type":"file","filename":"folder/file10","date":"2022/01/28","time":"18:56:27","process":12309,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643424987},{"type":"file","filename":"folder/file11","date":"2022/01/28","time":"18:56:27","process":12309,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643424987},{"type":"file","filename":"folder/file12","date":"2022/01/28","time":"18:56:27","process":12309,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643424987},{"type":"file","filename":"folder/file13","date":"2022/01/28","time":"18:56:27","process":12309,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643424987},{"type":"file","filename":"folder/file14","date":"2022/01/28","time":"18:56:27","process":12309,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643424987},{"type":"file","filename":"folder/file15","date":"2022/01/28","time":"18:56:27","process":12309,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643424987},{"type":"file","filename":"folder/file16","date":"2022/01/28","time":"18:56:27","process":12309,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643424987},{"type":"file","filename":"folder/file17","date":"2022/01/28","time":"18:56:27","process":12309,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643424987},{"type":"file","filename":"folder/file18","date":"2022/01/28","time":"18:56:27","process":12309,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643424987},{"type":"file","filename":"folder/file19","date":"2022/01/28","time":"18:56:27","process":12309,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643424987},{"type":"file","filename":"folder/file2","date":"2022/01/28","time":"18:56:27","process":12309,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643424987},{"type":"file","filename":"folder/file20","date":"2022/01/28","time":"18:56:27","process":12309,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643424987},{"type":"file","filename":"folder/file3","date":"2022/01/28","time":"18:56:27","process":12309,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643424987},{"type":"file","filename":"folder/file4","date":"2022/01/28","time":"18:56:27","process":12309,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643424987},{"type":"file","filename":"folder/file5","date":"2022/01/28","time":"18:56:27","process":12309,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643424987},{"type":"file","filename":"folder/file6","date":"2022/01/28","time":"18:56:27","process":12309,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643424987},{"type":"file","filename":"folder/file7","date":"2022/01/28","time":"18:56:27","process":12309,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643424987},{"type":"file","filename":"folder/file8","date":"2022/01/28","time":"18:56:27","process":12309,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643424987},{"type":"file","filename":"folder/file9","date":"2022/01/28","time":"18:56:27","process":12309,"metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null,"epoch":1643424987},{"type":"summary","date":"2022/01/28","time":"18:56:27","process":12309,"matches":0,"hash_hits":0,"false_alarms":0,"data":218258163,"sent":218313010,"received":8608,"bytes_sec":62377605.14,"total_size":218258163,"speedup":1.0,"epoch":1643424987}] diff --git a/tests/fixtures/centos-7.7/rsync-ivvv-nochange-streaming.json b/tests/fixtures/centos-7.7/rsync-ivvv-nochange-streaming.json new file mode 100644 index 00000000..958e4f9f --- /dev/null +++ b/tests/fixtures/centos-7.7/rsync-ivvv-nochange-streaming.json @@ -0,0 +1 @@ +[{"type":"file","filename":"./","metadata":".d ","update_type":"not updated","file_type":"directory","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"a.txt","metadata":".f ","update_type":"not updated","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"b.txt","metadata":".f ","update_type":"not updated","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"c.txt","metadata":".f ","update_type":"not updated","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"d.txt","metadata":".f ","update_type":"not updated","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"file with spaces.txt","metadata":".f ","update_type":"not updated","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"pyspark-2.4.5-py2.py3-none-any.whl","metadata":".f ","update_type":"not updated","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"folder/","metadata":".d ","update_type":"not updated","file_type":"directory","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"folder/file1","metadata":".f ","update_type":"not updated","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"folder/file10","metadata":".f ","update_type":"not updated","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"folder/file11","metadata":".f ","update_type":"not updated","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"folder/file12","metadata":".f ","update_type":"not updated","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"folder/file13","metadata":".f ","update_type":"not updated","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"folder/file14","metadata":".f ","update_type":"not updated","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"folder/file15","metadata":".f ","update_type":"not updated","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"folder/file16","metadata":".f ","update_type":"not updated","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"folder/file17","metadata":".f ","update_type":"not updated","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"folder/file18","metadata":".f ","update_type":"not updated","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"folder/file19","metadata":".f ","update_type":"not updated","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"folder/file2","metadata":".f ","update_type":"not updated","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"folder/file20","metadata":".f ","update_type":"not updated","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"folder/file3","metadata":".f ","update_type":"not updated","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"folder/file4","metadata":".f ","update_type":"not updated","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"folder/file5","metadata":".f ","update_type":"not updated","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"folder/file6","metadata":".f ","update_type":"not updated","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"folder/file7","metadata":".f ","update_type":"not updated","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"folder/file8","metadata":".f ","update_type":"not updated","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"folder/file9","metadata":".f ","update_type":"not updated","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"summary","sent":611,"received":4043,"bytes_sec":9308.0,"total_size":218258163,"speedup":46896.9}] diff --git a/tests/fixtures/centos-7.7/rsync-ivvv-streaming.json b/tests/fixtures/centos-7.7/rsync-ivvv-streaming.json new file mode 100644 index 00000000..a086dc5e --- /dev/null +++ b/tests/fixtures/centos-7.7/rsync-ivvv-streaming.json @@ -0,0 +1 @@ +[{"type":"file","filename":"./","metadata":".d..t......","update_type":"not updated","file_type":"directory","checksum_or_value_different":false,"size_different":false,"modification_time_different":true,"permissions_different":false,"owner_different":false,"group_different":false,"acl_different":false,"extended_attribute_different":false},{"type":"file","filename":"a.txt","metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"b.txt","metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"c.txt","metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"d.txt","metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"file with spaces.txt","metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"folder/","metadata":"cd+++++++++","update_type":"local change or creation","file_type":"directory","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"folder/file1","metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"folder/file10","metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"folder/file11","metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"folder/file12","metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"folder/file13","metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"folder/file14","metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"folder/file15","metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"folder/file16","metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"folder/file17","metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"folder/file18","metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"folder/file19","metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"folder/file2","metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"folder/file20","metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"folder/file3","metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"folder/file4","metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"folder/file5","metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"folder/file6","metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"folder/file7","metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"folder/file8","metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"folder/file9","metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"summary","sent":1708,"received":8209,"bytes_sec":19834.0,"total_size":235,"speedup":0.02}] diff --git a/tests/fixtures/generic/rsync-i-streaming.json b/tests/fixtures/generic/rsync-i-streaming.json new file mode 100644 index 00000000..8b84a33c --- /dev/null +++ b/tests/fixtures/generic/rsync-i-streaming.json @@ -0,0 +1 @@ +[{"type":"file","filename":"some/dir/new-file.txt","metadata":">f+++++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"some/dir/existing-file-with-changed-owner-and-group.txt","metadata":".f....og..x","update_type":"not updated","file_type":"file","checksum_or_value_different":false,"size_different":false,"modification_time_different":false,"permissions_different":false,"owner_different":true,"group_different":true,"acl_different":false,"extended_attribute_different":true},{"type":"file","filename":"some/dir/existing-file-with-changed-unnamed-attribute.txt","metadata":".f........x","update_type":"not updated","file_type":"file","checksum_or_value_different":false,"size_different":false,"modification_time_different":false,"permissions_different":false,"owner_different":false,"group_different":false,"acl_different":false,"extended_attribute_different":true},{"type":"file","filename":"some/dir/existing-file-with-changed-permissions.txt","metadata":">f...p....x","update_type":"file received","file_type":"file","checksum_or_value_different":false,"size_different":false,"modification_time_different":false,"permissions_different":true,"owner_different":false,"group_different":false,"acl_different":false,"extended_attribute_different":true},{"type":"file","filename":"some/dir/existing-file-with-changed-time-and-group.txt","metadata":">f..t..g..x","update_type":"file received","file_type":"file","checksum_or_value_different":false,"size_different":false,"modification_time_different":true,"permissions_different":false,"owner_different":false,"group_different":true,"acl_different":false,"extended_attribute_different":true},{"type":"file","filename":"some/dir/existing-file-with-changed-size.txt","metadata":">f.s......x","update_type":"file received","file_type":"file","checksum_or_value_different":false,"size_different":true,"modification_time_different":false,"permissions_different":false,"owner_different":false,"group_different":false,"acl_different":false,"extended_attribute_different":true},{"type":"file","filename":"some/dir/existing-file-with-changed-size-and-time-stamp.txt ","metadata":">f.st.....x","update_type":"file received","file_type":"file","checksum_or_value_different":false,"size_different":true,"modification_time_different":true,"permissions_different":false,"owner_different":false,"group_different":false,"acl_different":false,"extended_attribute_different":true},{"type":"file","filename":"some/dir/new-directory/","metadata":"cd+++++++++","update_type":"local change or creation","file_type":"directory","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"acl_different":null,"extended_attribute_different":null},{"type":"file","filename":"some/dir/existing-directory-with-changed-owner-and-group/","metadata":".d....og...","update_type":"not updated","file_type":"directory","checksum_or_value_different":false,"size_different":false,"modification_time_different":false,"permissions_different":false,"owner_different":true,"group_different":true,"acl_different":false,"extended_attribute_different":false},{"type":"file","filename":"some/dir/existing-directory-with-different-time-stamp/","metadata":".d..t......","update_type":"not updated","file_type":"directory","checksum_or_value_different":false,"size_different":false,"modification_time_different":true,"permissions_different":false,"owner_different":false,"group_different":false,"acl_different":false,"extended_attribute_different":false}] diff --git a/tests/fixtures/osx-10.14.6/rsync-i-vvv-logfile-nochange-streaming.json b/tests/fixtures/osx-10.14.6/rsync-i-vvv-logfile-nochange-streaming.json new file mode 100644 index 00000000..05e7f5bd --- /dev/null +++ b/tests/fixtures/osx-10.14.6/rsync-i-vvv-logfile-nochange-streaming.json @@ -0,0 +1 @@ +[{"type":"file","filename":"./","date":"2022/02/01","time":"08:09:26","process":617,"metadata":".d..t....","update_type":"not updated","file_type":"directory","checksum_or_value_different":false,"size_different":false,"modification_time_different":true,"permissions_different":false,"owner_different":false,"group_different":false,"epoch":1643731766},{"type":"file","filename":"a.txt","date":"2022/02/01","time":"08:09:26","process":617,"metadata":">f+++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"epoch":1643731766},{"type":"file","filename":"b.txt","date":"2022/02/01","time":"08:09:26","process":617,"metadata":">f+++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"epoch":1643731766},{"type":"file","filename":"c.txt","date":"2022/02/01","time":"08:09:26","process":617,"metadata":">f+++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"epoch":1643731766},{"type":"file","filename":"d.txt","date":"2022/02/01","time":"08:09:26","process":617,"metadata":">f+++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"epoch":1643731766},{"type":"file","filename":"folder/","date":"2022/02/01","time":"08:09:26","process":617,"metadata":"cd+++++++","update_type":"local change or creation","file_type":"directory","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"epoch":1643731766},{"type":"file","filename":"folder/a.txt","date":"2022/02/01","time":"08:09:26","process":617,"metadata":">f+++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"epoch":1643731766},{"type":"file","filename":"folder/b.txt","date":"2022/02/01","time":"08:09:26","process":617,"metadata":">f+++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"epoch":1643731766},{"type":"file","filename":"folder/c.txt","date":"2022/02/01","time":"08:09:26","process":617,"metadata":">f+++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"epoch":1643731766},{"type":"file","filename":"folder/d.txt","date":"2022/02/01","time":"08:09:26","process":617,"metadata":">f+++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"epoch":1643731766},{"type":"file","filename":"./","date":"2022/02/01","time":"13:09:25","process":9503,"metadata":".d..t....","update_type":"not updated","file_type":"directory","checksum_or_value_different":false,"size_different":false,"modification_time_different":true,"permissions_different":false,"owner_different":false,"group_different":false,"epoch":1643749765},{},{"type":"file","filename":"a.txt","date":"2022/02/01","time":"13:09:25","process":9503,"metadata":">f+++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"epoch":1643749765},{"type":"file","filename":"b.txt","date":"2022/02/01","time":"13:09:25","process":9503,"metadata":">f+++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"epoch":1643749765},{"type":"file","filename":"c.txt","date":"2022/02/01","time":"13:09:25","process":9503,"metadata":">f+++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"epoch":1643749765},{"type":"file","filename":"d.txt","date":"2022/02/01","time":"13:09:25","process":9503,"metadata":">f+++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"epoch":1643749765},{"type":"file","filename":"folder/","date":"2022/02/01","time":"13:09:25","process":9503,"metadata":"cd+++++++","update_type":"local change or creation","file_type":"directory","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"epoch":1643749765},{"type":"file","filename":"folder/a.txt","date":"2022/02/01","time":"13:09:25","process":9503,"metadata":">f+++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"epoch":1643749765},{"type":"file","filename":"folder/b.txt","date":"2022/02/01","time":"13:09:25","process":9503,"metadata":">f+++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"epoch":1643749765},{"type":"file","filename":"folder/c.txt","date":"2022/02/01","time":"13:09:25","process":9503,"metadata":">f+++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"epoch":1643749765},{"type":"file","filename":"folder/d.txt","date":"2022/02/01","time":"13:09:25","process":9503,"metadata":">f+++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"epoch":1643749765},{"type":"file","filename":"./","date":"2022/02/01","time":"13:10:37","process":9546,"metadata":".d ","update_type":"not updated","file_type":"directory","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"epoch":1643749837},{},{"type":"file","filename":"a.txt","date":"2022/02/01","time":"13:10:37","process":9546,"metadata":".f ","update_type":"not updated","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"epoch":1643749837},{"type":"file","filename":"b.txt","date":"2022/02/01","time":"13:10:37","process":9546,"metadata":".f ","update_type":"not updated","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"epoch":1643749837},{"type":"file","filename":"c.txt","date":"2022/02/01","time":"13:10:37","process":9546,"metadata":".f ","update_type":"not updated","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"epoch":1643749837},{"type":"file","filename":"d.txt","date":"2022/02/01","time":"13:10:37","process":9546,"metadata":".f ","update_type":"not updated","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"epoch":1643749837},{"type":"file","filename":"folder/","date":"2022/02/01","time":"13:10:37","process":9546,"metadata":".d ","update_type":"not updated","file_type":"directory","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"epoch":1643749837},{"type":"file","filename":"folder/a.txt","date":"2022/02/01","time":"13:10:37","process":9546,"metadata":".f ","update_type":"not updated","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"epoch":1643749837},{"type":"file","filename":"folder/b.txt","date":"2022/02/01","time":"13:10:37","process":9546,"metadata":".f ","update_type":"not updated","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"epoch":1643749837},{"type":"file","filename":"folder/c.txt","date":"2022/02/01","time":"13:10:37","process":9546,"metadata":".f ","update_type":"not updated","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"epoch":1643749837},{"type":"file","filename":"folder/d.txt","date":"2022/02/01","time":"13:10:37","process":9546,"metadata":".f ","update_type":"not updated","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null,"epoch":1643749837},{"type":"summary","date":"2022/02/01","time":"13:10:37","process":9546,"sent":1403,"received":212,"total_size":320,"epoch":1643749837}] diff --git a/tests/fixtures/osx-10.14.6/rsync-i-vvv-nochange-streaming.json b/tests/fixtures/osx-10.14.6/rsync-i-vvv-nochange-streaming.json new file mode 100644 index 00000000..416c0933 --- /dev/null +++ b/tests/fixtures/osx-10.14.6/rsync-i-vvv-nochange-streaming.json @@ -0,0 +1 @@ +[{"type":"file","filename":"./","metadata":".d ","update_type":"not updated","file_type":"directory","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null},{"type":"file","filename":"a.txt","metadata":".f ","update_type":"not updated","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null},{"type":"file","filename":"b.txt","metadata":".f ","update_type":"not updated","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null},{"type":"file","filename":"c.txt","metadata":".f ","update_type":"not updated","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null},{"type":"file","filename":"d.txt","metadata":".f ","update_type":"not updated","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null},{"type":"file","filename":"folder/","metadata":".d ","update_type":"not updated","file_type":"directory","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null},{"type":"file","filename":"folder/a.txt","metadata":".f ","update_type":"not updated","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null},{"type":"file","filename":"folder/b.txt","metadata":".f ","update_type":"not updated","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null},{"type":"file","filename":"folder/c.txt","metadata":".f ","update_type":"not updated","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null},{"type":"file","filename":"folder/d.txt","metadata":".f ","update_type":"not updated","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null},{"type":"summary","sent":284,"received":80,"bytes_sec":728.0,"total_size":320,"speedup":0.88}] diff --git a/tests/fixtures/osx-10.14.6/rsync-i-vvv-streaming.json b/tests/fixtures/osx-10.14.6/rsync-i-vvv-streaming.json new file mode 100644 index 00000000..d0d3f2aa --- /dev/null +++ b/tests/fixtures/osx-10.14.6/rsync-i-vvv-streaming.json @@ -0,0 +1 @@ +[{"type":"file","filename":"./","metadata":".d..t....","update_type":"not updated","file_type":"directory","checksum_or_value_different":false,"size_different":false,"modification_time_different":true,"permissions_different":false,"owner_different":false,"group_different":false},{"type":"file","filename":"a.txt","metadata":">f+++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null},{"type":"file","filename":"b.txt","metadata":">f+++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null},{"type":"file","filename":"c.txt","metadata":">f+++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null},{"type":"file","filename":"d.txt","metadata":">f+++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null},{"type":"file","filename":"folder/","metadata":"cd+++++++","update_type":"local change or creation","file_type":"directory","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null},{"type":"file","filename":"folder/a.txt","metadata":">f+++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null},{"type":"file","filename":"folder/b.txt","metadata":">f+++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null},{"type":"file","filename":"folder/c.txt","metadata":">f+++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null},{"type":"file","filename":"folder/d.txt","metadata":">f+++++++","update_type":"file received","file_type":"file","checksum_or_value_different":null,"size_different":null,"modification_time_different":null,"permissions_different":null,"owner_different":null,"group_different":null},{"type":"summary","sent":924,"received":208,"bytes_sec":2264.0,"total_size":320,"speedup":0.28}] diff --git a/tests/test_rsync_s.py b/tests/test_rsync_s.py new file mode 100644 index 00000000..3ab72830 --- /dev/null +++ b/tests/test_rsync_s.py @@ -0,0 +1,179 @@ +import os +import sys +import time +import json +import unittest +import jc.parsers.rsync_s + +THIS_DIR = os.path.dirname(os.path.abspath(__file__)) + +# Set the timezone on POSIX systems. Need to manually set for Windows tests +if not sys.platform.startswith('win32'): + os.environ['TZ'] = 'America/Los_Angeles' + time.tzset() + + +# To create streaming output use: +# $ cat rsync.out | jc --rsync-s | jello -c > rsync-streaming.json + + +class MyTests(unittest.TestCase): + + def setUp(self): + pass + # input + with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/centos-7.7/rsync-i.out'), 'r', encoding='utf-8') as f: + self.centos_7_7_rsync_i = f.read() + + with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/generic/rsync-i.out'), 'r', encoding='utf-8') as f: + self.generic_rsync_i = f.read() + + with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/centos-7.7/rsync-ivvv.out'), 'r', encoding='utf-8') as f: + self.centos_7_7_rsync_ivvv = f.read() + + with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/osx-10.14.6/rsync-i-vvv.out'), 'r', encoding='utf-8') as f: + self.osx_10_14_6_rsync_ivvv = f.read() + + with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/centos-7.7/rsync-ivvv-nochange.out'), 'r', encoding='utf-8') as f: + self.centos_7_7_rsync_ivvv_nochange = f.read() + + with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/osx-10.14.6/rsync-i-vvv-nochange.out'), 'r', encoding='utf-8') as f: + self.osx_10_14_6_rsync_ivvv_nochange = f.read() + + with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/centos-7.7/rsync-i-logfile.out'), 'r', encoding='utf-8') as f: + self.centos_7_7_rsync_i_logfile = f.read() + + with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/centos-7.7/rsync-i-v-logfile.out'), 'r', encoding='utf-8') as f: + self.centos_7_7_rsync_i_v_logfile = f.read() + + with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/centos-7.7/rsync-i-vv-logfile.out'), 'r', encoding='utf-8') as f: + self.centos_7_7_rsync_i_vv_logfile = f.read() + + with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/centos-7.7/rsync-i-vvv-logfile.out'), 'r', encoding='utf-8') as f: + self.centos_7_7_rsync_i_vvv_logfile = f.read() + + with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/centos-7.7/rsync-i-vvv-logfile-nochange.out'), 'r', encoding='utf-8') as f: + self.centos_7_7_rsync_i_vvv_logfile_nochange = f.read() + + with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/osx-10.14.6/rsync-i-vvv-logfile-nochange.out'), 'r', encoding='utf-8') as f: + self.osx_10_14_6_rsync_i_vvv_logfile_nochange = f.read() + + # output + with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/centos-7.7/rsync-i-streaming.json'), 'r', encoding='utf-8') as f: + self.centos_7_7_rsync_i_streaming_json = json.loads(f.read()) + + with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/generic/rsync-i-streaming.json'), 'r', encoding='utf-8') as f: + self.generic_rsync_i_streaming_json = json.loads(f.read()) + + with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/centos-7.7/rsync-ivvv-streaming.json'), 'r', encoding='utf-8') as f: + self.centos_7_7_rsync_ivvv_streaming_json = json.loads(f.read()) + + with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/osx-10.14.6/rsync-i-vvv-streaming.json'), 'r', encoding='utf-8') as f: + self.osx_10_14_6_rsync_ivvv_streaming_json = json.loads(f.read()) + + with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/centos-7.7/rsync-ivvv-nochange-streaming.json'), 'r', encoding='utf-8') as f: + self.centos_7_7_rsync_ivvv_nochange_streaming_json = json.loads(f.read()) + + with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/osx-10.14.6/rsync-i-vvv-nochange-streaming.json'), 'r', encoding='utf-8') as f: + self.osx_10_14_6_rsync_ivvv_nochange_streaming_json = json.loads(f.read()) + + with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/centos-7.7/rsync-i-logfile-streaming.json'), 'r', encoding='utf-8') as f: + self.centos_7_7_rsync_i_logfile_streaming_json = json.loads(f.read()) + + with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/centos-7.7/rsync-i-v-logfile-streaming.json'), 'r', encoding='utf-8') as f: + self.centos_7_7_rsync_i_v_logfile_streaming_json = json.loads(f.read()) + + with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/centos-7.7/rsync-i-vv-logfile-streaming.json'), 'r', encoding='utf-8') as f: + self.centos_7_7_rsync_i_vv_logfile_streaming_json = json.loads(f.read()) + + with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/centos-7.7/rsync-i-vvv-logfile-streaming.json'), 'r', encoding='utf-8') as f: + self.centos_7_7_rsync_i_vvv_logfile_streaming_json = json.loads(f.read()) + + with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/centos-7.7/rsync-i-vvv-logfile-nochange-streaming.json'), 'r', encoding='utf-8') as f: + self.centos_7_7_rsync_i_vvv_logfile_nochange_streaming_json = json.loads(f.read()) + + with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/osx-10.14.6/rsync-i-vvv-logfile-nochange-streaming.json'), 'r', encoding='utf-8') as f: + self.osx_10_14_6_rsync_i_vvv_logfile_nochange_streaming_json = json.loads(f.read()) + + def test_rsync_s_nodata(self): + """ + Test 'rsync' with no data + """ + self.assertEqual(list(jc.parsers.rsync_s.parse([], quiet=True)), []) + + def test_rsync_s_i_centos_7_7(self): + """ + Test 'rsync -i' on Centos 7.7 + """ + self.assertEqual(list(jc.parsers.rsync_s.parse(self.centos_7_7_rsync_i.splitlines(), quiet=True)), self.centos_7_7_rsync_i_streaming_json) + + def test_rsync_s_i_generic(self): + """ + Test 'rsync -i' + """ + self.assertEqual(list(jc.parsers.rsync_s.parse(self.generic_rsync_i.splitlines(), quiet=True)), self.generic_rsync_i_streaming_json) + + def test_rsync_s_ivvv_centos_7_7(self): + """ + Test 'rsync -ivvv' on Centos 7.7 + """ + self.assertEqual(list(jc.parsers.rsync_s.parse(self.centos_7_7_rsync_ivvv.splitlines(), quiet=True)), self.centos_7_7_rsync_ivvv_streaming_json) + + def test_rsync_s_ivvv_osx_10_14_6(self): + """ + Test 'rsync -ivvv' on OSX 10.14.6 + """ + self.assertEqual(list(jc.parsers.rsync_s.parse(self.osx_10_14_6_rsync_ivvv.splitlines(), quiet=True)), self.osx_10_14_6_rsync_ivvv_streaming_json) + + def test_rsync_s_ivvv_nochange_centos_7_7(self): + """ + Test 'rsync -ivvv' on Centos 7.7 with no file changes + """ + self.assertEqual(list(jc.parsers.rsync_s.parse(self.centos_7_7_rsync_ivvv_nochange.splitlines(), quiet=True)), self.centos_7_7_rsync_ivvv_nochange_streaming_json) + + def test_rsync_s_ivvv_nochange_osx_10_14_6(self): + """ + Test 'rsync -ivvv' on OSX 10.14.6 with no file changes + """ + self.assertEqual(list(jc.parsers.rsync_s.parse(self.osx_10_14_6_rsync_ivvv_nochange.splitlines(), quiet=True)), self.osx_10_14_6_rsync_ivvv_nochange_streaming_json) + + def test_rsync_s_i_logfile_centos_7_7(self): + """ + Test 'rsync -i --logfile=xxx' on Centos 7.7 + """ + self.assertEqual(list(jc.parsers.rsync_s.parse(self.centos_7_7_rsync_i_logfile.splitlines(), quiet=True)), self.centos_7_7_rsync_i_logfile_streaming_json) + + def test_rsync_s_i_v_logfile_centos_7_7(self): + """ + Test 'rsync -iv --logfile=xxx' on Centos 7.7 + """ + self.assertEqual(list(jc.parsers.rsync_s.parse(self.centos_7_7_rsync_i_v_logfile.splitlines(), quiet=True)), self.centos_7_7_rsync_i_v_logfile_streaming_json) + + def test_rsync_s_i_vv_logfile_centos_7_7(self): + """ + Test 'rsync -ivv --logfile=xxx' on Centos 7.7 + """ + self.assertEqual(list(jc.parsers.rsync_s.parse(self.centos_7_7_rsync_i_vv_logfile.splitlines(), quiet=True)), self.centos_7_7_rsync_i_vv_logfile_streaming_json) + + def test_rsync_s_i_vvv_logfile_centos_7_7(self): + """ + Test 'rsync -ivvv --logfile=xxx' on Centos 7.7 + """ + self.assertEqual(list(jc.parsers.rsync_s.parse(self.centos_7_7_rsync_i_vvv_logfile.splitlines(), quiet=True)), self.centos_7_7_rsync_i_vvv_logfile_streaming_json) + + def test_rsync_s_i_vvv_logfile_nochange_centos_7_7(self): + """ + Test 'rsync -ivvv --logfile=xxx' on Centos 7.7 with no file changes + """ + self.assertEqual(list(jc.parsers.rsync_s.parse(self.centos_7_7_rsync_i_vvv_logfile_nochange.splitlines(), quiet=True)), self.centos_7_7_rsync_i_vvv_logfile_nochange_streaming_json) + + def test_rsync_s_i_vvv_logfile_nochange_osx_10_14_6(self): + """ + Test 'rsync -ivvv --logfile=xxx' on OSX 10.14.6 with no file changes + """ + self.assertEqual(list(jc.parsers.rsync_s.parse(self.osx_10_14_6_rsync_i_vvv_logfile_nochange.splitlines(), quiet=True)), self.osx_10_14_6_rsync_i_vvv_logfile_nochange_streaming_json) + + + +if __name__ == '__main__': + unittest.main()