Skip to content

Instantly share code, notes, and snippets.

@panih2o
Created October 14, 2015 21:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save panih2o/b009a5ad5d308cd95975 to your computer and use it in GitHub Desktop.
Save panih2o/b009a5ad5d308cd95975 to your computer and use it in GitHub Desktop.
S3Cmd Test Run
Using bucket prefix: 'puneet-'
1 Remove test buckets ..... OK
2 Verify no test buckets .. OK
3 Create one bucket (EU) .. OK
4 Create multiple buckets . OK
5 Invalid bucket name ..... OK
6 Buckets list ............ OK
7 Sync to S3 .............. FAIL ('pattern found: \\.png$ (match: .png)')
----
python2 s3cmd -c /home/puneet/.s3cfg sync testsuite/ s3://puneet-s3cmd-autotest-1/xyz/ --exclude demo/* --exclude *.png --no-encrypt --exclude-from testsuite/exclude.encodings
----
WARNING: Skipping over symbolic link: testsuite/test_rm/linked.png
WARNING: Skipping over symbolic link: testsuite/test_rm/linked1.png
WARNING: Skipping over non-existing file: testsuite/test_rm/brokenlink.png
WARNING: Skipping over non-existing file: testsuite/permission-tests/permission-denied-dir/inaccessible.txt
WARNING: Skipping over symbolic link: testsuite/etc/linked.png
WARNING: Skipping over symbolic link: testsuite/etc/linked1.png
WARNING: Skipping over non-existing file: testsuite/etc/brokenlink.png
WARNING: 32 non-printable characters replaced in: crappy-file-name/non-printables ^A^B^C^D^E^F^G^H^I^J^K^L^M^N^O^P^Q^R^S^T^U^V^W^X^Y^Z^[^\^]^^^_^? +-[\]^<>%%"'#{}`&?.end
'testsuite/binary/random-crap' -> 's3://puneet-s3cmd-autotest-1/xyz/binary/random-crap' [1 of 19]
20480 of 20480 100% in 0s 13.06 MB/s
20480 of 20480 100% in 0s 53.63 kB/s done
'testsuite/binary/random-crap.md5' -> 's3://puneet-s3cmd-autotest-1/xyz/binary/random-crap.md5' [2 of 19]
46 of 46 100% in 0s 58.34 kB/s
46 of 46 100% in 0s 103.94 B/s done
'testsuite/blahBlah/Blah.txt' -> 's3://puneet-s3cmd-autotest-1/xyz/blahBlah/Blah.txt' [3 of 19]
5 of 5 100% in 0s 6.47 kB/s
5 of 5 100% in 0s 13.24 B/s done
'testsuite/blahBlah/blah.txt' -> 's3://puneet-s3cmd-autotest-1/xyz/blahBlah/blah.txt' [4 of 19]
5 of 5 100% in 0s 5.43 kB/s
5 of 5 100% in 0s 12.06 B/s done
'testsuite/checksum.tar' -> 's3://puneet-s3cmd-autotest-1/xyz/checksum.tar' [5 of 19]
10240 of 10240 100% in 0s 10.89 MB/s
10240 of 10240 100% in 0s 26.81 kB/s done
'testsuite/checksum/cksum1.txt' -> 's3://puneet-s3cmd-autotest-1/xyz/checksum/cksum1.txt' [6 of 19]
14 of 14 100% in 0s 18.53 kB/s
14 of 14 100% in 0s 30.59 B/s done
'testsuite/checksum/cksum2.txt' -> 's3://puneet-s3cmd-autotest-1/xyz/checksum/cksum2.txt' [7 of 19]
14 of 14 100% in 0s 18.33 kB/s
14 of 14 100% in 0s 34.98 B/s done
'testsuite/checksum/cksum33.txt' -> 's3://puneet-s3cmd-autotest-1/xyz/checksum/cksum33.txt' [8 of 19]
15 of 15 100% in 0s 20.12 kB/s
15 of 15 100% in 0s 37.50 B/s done
'testsuite/crappy-file-name.tar.gz' -> 's3://puneet-s3cmd-autotest-1/xyz/crappy-file-name.tar.gz' [9 of 19]
281 of 281 100% in 0s 390.35 kB/s
281 of 281 100% in 0s 542.47 B/s done
'testsuite/crappy-file-name/non-printables
 +-[\]^<>%%"'#{}`&?.end' -> 's3://puneet-s3cmd-autotest-1/xyz/crappy-file-name/non-printables ^A^B^C^D^E^F^G^H^I^J^K^L^M^N^O^P^Q^R^S^T^U^V^W^X^Y^Z^[^\^]^^^_^? +-[\]^<>%%"'#{}`&?.end' [10 of 19]
70 of 70 100% in 0s 79.21 kB/s
70 of 70 100% in 0s 122.30 B/s done
'testsuite/dir-test/file-dir' -> 's3://puneet-s3cmd-autotest-1/xyz/dir-test/file-dir' [11 of 19]
9 of 9 100% in 0s 9.63 kB/s
9 of 9 100% in 0s 14.39 B/s done
'testsuite/etc/AtomicClockRadio.ttf' -> 's3://puneet-s3cmd-autotest-1/xyz/etc/AtomicClockRadio.ttf' [12 of 19]
34532 of 34532 100% in 0s 20.20 MB/s
34532 of 34532 100% in 0s 79.33 kB/s done
'testsuite/etc/TypeRa.ttf' -> 's3://puneet-s3cmd-autotest-1/xyz/etc/TypeRa.ttf' [13 of 19]
56708 of 56708 100% in 0s 27.71 MB/s
56708 of 56708 100% in 0s 139.67 kB/s done
'testsuite/etc/more/give-me-more.txt' -> 's3://puneet-s3cmd-autotest-1/xyz/etc/more/give-me-more.txt' [14 of 19]
0 of 0 0% in 0s 0.00 B/s
0 of 0 0% in 0s 0.00 B/s done
'testsuite/exclude.encodings' -> 's3://puneet-s3cmd-autotest-1/xyz/exclude.encodings' [15 of 19]
12 of 12 100% in 0s 13.04 kB/s
12 of 12 100% in 0s 25.53 B/s done
'testsuite/permission-tests/.svnignore' -> 's3://puneet-s3cmd-autotest-1/xyz/permission-tests/.svnignore' [16 of 19]
98 of 98 100% in 0s 128.12 kB/s
98 of 98 100% in 0s 178.94 B/s done
ERROR: Upload of 'testsuite/permission-tests/permission-denied.txt' is not possible (Reason: Permission denied)
'testsuite/single-file/single-file.txt' -> 's3://puneet-s3cmd-autotest-1/xyz/single-file/single-file.txt' [18 of 19]
13 of 13 100% in 0s 11.64 kB/s
13 of 13 100% in 0s 28.76 B/s done
'testsuite/test_rm/more/give-me-more.txt' -> 's3://puneet-s3cmd-autotest-1/xyz/test_rm/more/give-me-more.txt' [19 of 19]
0 of 0 0% in 0s 0.00 B/s
0 of 0 0% in 0s 0.00 B/s done
remote copy: 'etc/AtomicClockRadio.ttf' -> 'test_rm/AtomicClockRadio.ttf'
remote copy: 'etc/TypeRa.ttf' -> 'test_rm/TypeRa.ttf'
Done. Uploaded 122542 bytes in 9.9 seconds, 12.07 kB/s. Copied 2 files saving 91240 bytes transfer.
----
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment