No title Revision 396330373234 (Wed Apr 06 2011 at 09:36) - Diff Link to this snippet: https://friendpaste.com/3ioOBHOy6o9Eb8NtTFOXGF Embed: manni perldoc borland colorful default murphy trac fruity autumn bw emacs pastie friendly Show line numbers Wrap lines 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332make[1]: Leaving directory `/tmp/couchdb-upgrade-1.0-to-1.1/src/couchdb'+ cd ../..+ cd 1.0+ echo [couchdb]+ echo delayed_commits=false+ echo + ./bin/couchdb -b -a llocal.iniApache CouchDB has started, time to relax.+ cd ..+ cd 1.1+ echo [couchdb]+ echo delayed_commits=false+ echo [httpd]+ echo port=5985+ echo + ./bin/couchdb -b -a llocal.iniApache CouchDB has started, time to relax.+ sleep 2+ cd ..+ COUCH10=http://127.0.0.1:5984+ curl -X PUT http://127.0.0.1:5984/test-db{"error":"file_exists","reason":"The database could not be created, the file already exists."}+ SIZES=1k 2k 3k 4095 4096 4097 8191 8192 8193 1M 10M 20M 25M 50M 75M 100M+ dd if=/dev/urandom of=1k bs=1 count=1k1024+0 records in1024+0 records out1024 bytes (1.0 kB) copied, 0.0043219 s, 237 kB/s+ curl -X PUT http://127.0.0.1:5984/test-db/test-doc-1k/1k -H Content-Type: application/octet-stream --data-binary @1k{"error":"conflict","reason":"Document update conflict."}+ dd if=/dev/urandom of=2k bs=1 count=2k2048+0 records in2048+0 records out2048 bytes (2.0 kB) copied, 0.00876951 s, 234 kB/s+ curl -X PUT http://127.0.0.1:5984/test-db/test-doc-2k/2k -H Content-Type: application/octet-stream --data-binary @2k{"error":"conflict","reason":"Document update conflict."}+ dd if=/dev/urandom of=3k bs=1 count=3k3072+0 records in3072+0 records out3072 bytes (3.1 kB) copied, 0.0167801 s, 183 kB/s+ curl -X PUT http://127.0.0.1:5984/test-db/test-doc-3k/3k -H Content-Type: application/octet-stream --data-binary @3k{"error":"conflict","reason":"Document update conflict."}+ dd if=/dev/urandom of=4095 bs=1 count=40954095+0 records in4095+0 records out4095 bytes (4.1 kB) copied, 0.0177462 s, 231 kB/s+ curl -X PUT http://127.0.0.1:5984/test-db/test-doc-4095/4095 -H Content-Type: application/octet-stream --data-binary @4095{"error":"conflict","reason":"Document update conflict."}+ dd if=/dev/urandom of=4096 bs=1 count=40964096+0 records in4096+0 records out4096 bytes (4.1 kB) copied, 0.0156096 s, 262 kB/s+ curl -X PUT http://127.0.0.1:5984/test-db/test-doc-4096/4096 -H Content-Type: application/octet-stream --data-binary @4096{"error":"conflict","reason":"Document update conflict."}+ dd if=/dev/urandom of=4097 bs=1 count=40974097+0 records in4097+0 records out4097 bytes (4.1 kB) copied, 0.015329 s, 267 kB/s+ curl -X PUT http://127.0.0.1:5984/test-db/test-doc-4097/4097 -H Content-Type: application/octet-stream --data-binary @4097{"error":"conflict","reason":"Document update conflict."}+ dd if=/dev/urandom of=8191 bs=1 count=81918191+0 records in8191+0 records out8191 bytes (8.2 kB) copied, 0.0314981 s, 260 kB/s+ curl -X PUT http://127.0.0.1:5984/test-db/test-doc-8191/8191 -H Content-Type: application/octet-stream --data-binary @8191{"error":"conflict","reason":"Document update conflict."}+ dd if=/dev/urandom of=8192 bs=1 count=81928192+0 records in8192+0 records out8192 bytes (8.2 kB) copied, 0.0314052 s, 261 kB/s+ curl -X PUT http://127.0.0.1:5984/test-db/test-doc-8192/8192 -H Content-Type: application/octet-stream --data-binary @8192{"error":"conflict","reason":"Document update conflict."}+ dd if=/dev/urandom of=8193 bs=1 count=81938193+0 records in8193+0 records out8193 bytes (8.2 kB) copied, 0.030666 s, 267 kB/s+ curl -X PUT http://127.0.0.1:5984/test-db/test-doc-8193/8193 -H Content-Type: application/octet-stream --data-binary @8193{"error":"conflict","reason":"Document update conflict."}+ dd if=/dev/urandom of=1M bs=1 count=1M1048576+0 records in1048576+0 records out1048576 bytes (1.0 MB) copied, 3.91318 s, 268 kB/s+ curl -X PUT http://127.0.0.1:5984/test-db/test-doc-1M/1M -H Content-Type: application/octet-stream --data-binary @1M{"ok":true,"id":"test-doc-1M","rev":"1-3fe394b17b188a62ed8ece80ec532595"}+ dd if=/dev/urandom of=10M bs=1 count=10M10485760+0 records in10485760+0 records out10485760 bytes (10 MB) copied, 38.8289 s, 270 kB/s+ curl -X PUT http://127.0.0.1:5984/test-db/test-doc-10M/10M -H Content-Type: application/octet-stream --data-binary @10M{"ok":true,"id":"test-doc-10M","rev":"1-48747f6c56b0c835a83a9f1901023a0b"}+ dd if=/dev/urandom of=20M bs=1 count=20M20971520+0 records in20971520+0 records out20971520 bytes (21 MB) copied, 78.7688 s, 266 kB/s+ curl -X PUT http://127.0.0.1:5984/test-db/test-doc-20M/20M -H Content-Type: application/octet-stream --data-binary @20M{"ok":true,"id":"test-doc-20M","rev":"1-7f711fd836f59101cb173629a281842e"}+ dd if=/dev/urandom of=25M bs=1 count=25M26214400+0 records in26214400+0 records out26214400 bytes (26 MB) copied, 96.8492 s, 271 kB/s+ curl -X PUT http://127.0.0.1:5984/test-db/test-doc-25M/25M -H Content-Type: application/octet-stream --data-binary @25M{"ok":true,"id":"test-doc-25M","rev":"1-5bbc1b13e8f7ddecacadb7fa4acfdcdf"}+ dd if=/dev/urandom of=50M bs=1 count=50M52428800+0 records in52428800+0 records out52428800 bytes (52 MB) copied, 193.507 s, 271 kB/s+ curl -X PUT http://127.0.0.1:5984/test-db/test-doc-50M/50M -H Content-Type: application/octet-stream --data-binary @50M{"ok":true,"id":"test-doc-50M","rev":"1-9258ad64a72ab09098281d38929703ee"}+ dd if=/dev/urandom of=75M bs=1 count=75M78643200+0 records in78643200+0 records out78643200 bytes (79 MB) copied, 291.859 s, 269 kB/s+ curl -X PUT http://127.0.0.1:5984/test-db/test-doc-75M/75M -H Content-Type: application/octet-stream --data-binary @75M{"ok":true,"id":"test-doc-75M","rev":"1-b48a5a0f111e4dfa654cbbaf3fba6d3f"}+ dd if=/dev/urandom of=100M bs=1 count=100M104857600+0 records in104857600+0 records out104857600 bytes (105 MB) copied, 387.119 s, 271 kB/s+ curl -X PUT http://127.0.0.1:5984/test-db/test-doc-100M/100M -H Content-Type: application/octet-stream --data-binary @100M{"ok":true,"id":"test-doc-100M","rev":"1-c5a7134f4b7bfbd98e12897fe6794e18"}+ cp 1.0/var/lib/couchdb/test-db.couch 1.1/var/lib/couchdb/test-db.couch+ COUCH11=http://127.0.0.1:5985+ curl -X POST http://127.0.0.1:5985/test-db/_compact -H Content-Type: application/json{"ok":true}+ TEST_PASSED=true+ mkdir results+ cd results+ curl -O http://127.0.0.1:5985/test-db/test-doc-1k/1k % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed100 41 100 41 0 0 27834 0 --:--:-- --:--:-- --:--:-- 41000+ /usr/bin/openssl sha ../1k+ awk {print $2}+ BEFORE=7c3081e976d187e2332f031e073f850bfc0e44c1+ /usr/bin/openssl sha 1k+ awk {print $2}+ AFTER=2cd2e91a9cbd2bcaec2d3599d35cb7aaae645f0b+ [ 7c3081e976d187e2332f031e073f850bfc0e44c1 != 2cd2e91a9cbd2bcaec2d3599d35cb7aaae645f0b ]+ TEST_PASSED=false+ curl -O http://127.0.0.1:5985/test-db/test-doc-2k/2k % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed100 41 100 41 0 0 26955 0 --:--:-- --:--:-- --:--:-- 41000+ /usr/bin/openssl sha ../2k+ awk {print $2}+ BEFORE=f2074144682ff957cfa840add422d8ce78efe80b+ /usr/bin/openssl sha 2k+ awk {print $2}+ AFTER=2cd2e91a9cbd2bcaec2d3599d35cb7aaae645f0b+ [ f2074144682ff957cfa840add422d8ce78efe80b != 2cd2e91a9cbd2bcaec2d3599d35cb7aaae645f0b ]+ TEST_PASSED=false+ curl -O http://127.0.0.1:5985/test-db/test-doc-3k/3k % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed100 41 100 41 0 0 27152 0 --:--:-- --:--:-- --:--:-- 41000+ /usr/bin/openssl sha ../3k+ awk {print $2}+ BEFORE=10d41629f3f65469bdf8b027f8681d8df3fd4cad+ /usr/bin/openssl sha 3k+ awk {print $2}+ AFTER=2cd2e91a9cbd2bcaec2d3599d35cb7aaae645f0b+ [ 10d41629f3f65469bdf8b027f8681d8df3fd4cad != 2cd2e91a9cbd2bcaec2d3599d35cb7aaae645f0b ]+ TEST_PASSED=false+ curl -O http://127.0.0.1:5985/test-db/test-doc-4095/4095 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed100 41 100 41 0 0 7712 0 --:--:-- --:--:-- --:--:-- 8200+ /usr/bin/openssl sha ../4095+ awk {print $2}+ BEFORE=987d412e77c0f96500be71dfc7cb31b21892a8a9+ /usr/bin/openssl sha 4095+ awk {print $2}+ AFTER=2cd2e91a9cbd2bcaec2d3599d35cb7aaae645f0b+ [ 987d412e77c0f96500be71dfc7cb31b21892a8a9 != 2cd2e91a9cbd2bcaec2d3599d35cb7aaae645f0b ]+ TEST_PASSED=false+ curl -O http://127.0.0.1:5985/test-db/test-doc-4096/4096 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed100 41 100 41 0 0 25199 0 --:--:-- --:--:-- --:--:-- 41000+ /usr/bin/openssl sha ../4096+ awk {print $2}+ BEFORE=01f47f6451525e0c4d635c67b84e8bd4eb7f4187+ /usr/bin/openssl sha 4096+ awk {print $2}+ AFTER=2cd2e91a9cbd2bcaec2d3599d35cb7aaae645f0b+ [ 01f47f6451525e0c4d635c67b84e8bd4eb7f4187 != 2cd2e91a9cbd2bcaec2d3599d35cb7aaae645f0b ]+ TEST_PASSED=false+ curl -O http://127.0.0.1:5985/test-db/test-doc-4097/4097 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed100 41 100 41 0 0 27758 0 --:--:-- --:--:-- --:--:-- 41000+ /usr/bin/openssl sha ../4097+ awk {print $2}+ BEFORE=f865b0fce1501f1d7b1b407567acf5d138488263+ /usr/bin/openssl sha 4097+ awk {print $2}+ AFTER=2cd2e91a9cbd2bcaec2d3599d35cb7aaae645f0b+ [ f865b0fce1501f1d7b1b407567acf5d138488263 != 2cd2e91a9cbd2bcaec2d3599d35cb7aaae645f0b ]+ TEST_PASSED=false+ curl -O http://127.0.0.1:5985/test-db/test-doc-8191/8191 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed100 41 100 41 0 0 25137 0 --:--:-- --:--:-- --:--:-- 41000+ /usr/bin/openssl sha ../8191+ awk {print $2}+ BEFORE=d00b97508e30432de380fd5567b0ec71706db43e+ /usr/bin/openssl sha 8191+ awk {print $2}+ AFTER=2cd2e91a9cbd2bcaec2d3599d35cb7aaae645f0b+ [ d00b97508e30432de380fd5567b0ec71706db43e != 2cd2e91a9cbd2bcaec2d3599d35cb7aaae645f0b ]+ TEST_PASSED=false+ curl -O http://127.0.0.1:5985/test-db/test-doc-8192/8192 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed100 41 100 41 0 0 27260 0 --:--:-- --:--:-- --:--:-- 41000+ /usr/bin/openssl sha ../8192+ awk {print $2}+ BEFORE=f25e23da7474f310d879c86eeb8a9daa1066e29a+ /usr/bin/openssl sha 8192+ awk {print $2}+ AFTER=2cd2e91a9cbd2bcaec2d3599d35cb7aaae645f0b+ [ f25e23da7474f310d879c86eeb8a9daa1066e29a != 2cd2e91a9cbd2bcaec2d3599d35cb7aaae645f0b ]+ TEST_PASSED=false+ curl -O http://127.0.0.1:5985/test-db/test-doc-8193/8193 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed100 41 100 41 0 0 31037 0 --:--:-- --:--:-- --:--:-- 41000+ /usr/bin/openssl sha ../8193+ awk {print $2}+ BEFORE=552a043f3f467f19aa215b530f7f4a80bc9543b9+ /usr/bin/openssl sha 8193+ awk {print $2}+ AFTER=2cd2e91a9cbd2bcaec2d3599d35cb7aaae645f0b+ [ 552a043f3f467f19aa215b530f7f4a80bc9543b9 != 2cd2e91a9cbd2bcaec2d3599d35cb7aaae645f0b ]+ TEST_PASSED=false+ curl -O http://127.0.0.1:5985/test-db/test-doc-1M/1M % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed100 41 100 41 0 0 23892 0 --:--:-- --:--:-- --:--:-- 41000+ /usr/bin/openssl sha ../1M+ awk {print $2}+ BEFORE=84582454dd6446002743875ff3cce3ea8c8be93a+ /usr/bin/openssl sha 1M+ awk {print $2}+ AFTER=2cd2e91a9cbd2bcaec2d3599d35cb7aaae645f0b+ [ 84582454dd6446002743875ff3cce3ea8c8be93a != 2cd2e91a9cbd2bcaec2d3599d35cb7aaae645f0b ]+ TEST_PASSED=false+ curl -O http://127.0.0.1:5985/test-db/test-doc-10M/10M % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed100 41 100 41 0 0 8297 0 --:--:-- --:--:-- --:--:-- 10250+ /usr/bin/openssl sha ../10M+ awk {print $2}+ BEFORE=58372da7ff303b5b412b2e9030a496cf57ab8922+ /usr/bin/openssl sha 10M+ awk {print $2}+ AFTER=2cd2e91a9cbd2bcaec2d3599d35cb7aaae645f0b+ [ 58372da7ff303b5b412b2e9030a496cf57ab8922 != 2cd2e91a9cbd2bcaec2d3599d35cb7aaae645f0b ]+ TEST_PASSED=false+ curl -O http://127.0.0.1:5985/test-db/test-doc-20M/20M % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed100 41 100 41 0 0 27702 0 --:--:-- --:--:-- --:--:-- 41000+ /usr/bin/openssl sha ../20M+ awk {print $2}+ BEFORE=91b2ecdc7793f44f11ca8b9604b78ca6cb1f0273+ /usr/bin/openssl sha 20M+ awk {print $2}+ AFTER=2cd2e91a9cbd2bcaec2d3599d35cb7aaae645f0b+ [ 91b2ecdc7793f44f11ca8b9604b78ca6cb1f0273 != 2cd2e91a9cbd2bcaec2d3599d35cb7aaae645f0b ]+ TEST_PASSED=false+ curl -O http://127.0.0.1:5985/test-db/test-doc-25M/25M % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed100 41 100 41 0 0 29560 0 --:--:-- --:--:-- --:--:-- 41000+ /usr/bin/openssl sha ../25M+ awk {print $2}+ BEFORE=67ea2c5edb2bb8807f59d9e690e83683d0f95a54+ /usr/bin/openssl sha 25M+ awk {print $2}+ AFTER=2cd2e91a9cbd2bcaec2d3599d35cb7aaae645f0b+ [ 67ea2c5edb2bb8807f59d9e690e83683d0f95a54 != 2cd2e91a9cbd2bcaec2d3599d35cb7aaae645f0b ]+ TEST_PASSED=false+ curl -O http://127.0.0.1:5985/test-db/test-doc-50M/50M % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed100 41 100 41 0 0 26417 0 --:--:-- --:--:-- --:--:-- 41000+ /usr/bin/openssl sha ../50M+ awk {print $2}+ BEFORE=1cc42be78490deb4e696428c4e5d6f48af00dc1d+ /usr/bin/openssl sha 50M+ awk {print $2}+ AFTER=2cd2e91a9cbd2bcaec2d3599d35cb7aaae645f0b+ [ 1cc42be78490deb4e696428c4e5d6f48af00dc1d != 2cd2e91a9cbd2bcaec2d3599d35cb7aaae645f0b ]+ TEST_PASSED=false+ curl -O http://127.0.0.1:5985/test-db/test-doc-75M/75M % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed100 41 100 41 0 0 24103 0 --:--:-- --:--:-- --:--:-- 41000+ /usr/bin/openssl sha ../75M+ awk {print $2}+ BEFORE=c9ce5960d56dffafab77946c3a2ca30cad1ddd10+ /usr/bin/openssl sha 75M+ awk {print $2}+ AFTER=2cd2e91a9cbd2bcaec2d3599d35cb7aaae645f0b+ [ c9ce5960d56dffafab77946c3a2ca30cad1ddd10 != 2cd2e91a9cbd2bcaec2d3599d35cb7aaae645f0b ]+ TEST_PASSED=false+ curl -O http://127.0.0.1:5985/test-db/test-doc-100M/100M % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed100 41 100 41 0 0 30058 0 --:--:-- --:--:-- --:--:-- 41000+ /usr/bin/openssl sha ../100M+ awk {print $2}+ BEFORE=d6af484f8d03f162ec27df912b1809aee0c6eb50+ /usr/bin/openssl sha 100M+ awk {print $2}+ AFTER=2cd2e91a9cbd2bcaec2d3599d35cb7aaae645f0b+ [ d6af484f8d03f162ec27df912b1809aee0c6eb50 != 2cd2e91a9cbd2bcaec2d3599d35cb7aaae645f0b ]+ TEST_PASSED=false+ cd ..+ cd /tmp/couchdb-upgrade-1.0-to-1.1+ cd 1.0+ ./bin/couchdb -dApache CouchDB has been shutdown.+ cd ..+ cd 1.1+ ./bin/couchdb -dApache CouchDB has been shutdown.+ rm -f 1k 2k 3k 4095 4096 4097 8191 8192 8193 1M 10M 20M 25M 50M 75M 100M+ [ false = false ]+ echo UPGRADE FAILEDUPGRADE FAILEDfdmanana 10:36:07 ~/tmp >