make[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.ini Apache 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.ini Apache 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=1k 1024+0 records in 1024+0 records out 1024 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=2k 2048+0 records in 2048+0 records out 2048 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=3k 3072+0 records in 3072+0 records out 3072 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=4095 4095+0 records in 4095+0 records out 4095 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=4096 4096+0 records in 4096+0 records out 4096 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=4097 4097+0 records in 4097+0 records out 4097 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=8191 8191+0 records in 8191+0 records out 8191 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=8192 8192+0 records in 8192+0 records out 8192 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=8193 8193+0 records in 8193+0 records out 8193 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=1M 1048576+0 records in 1048576+0 records out 1048576 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=10M 10485760+0 records in 10485760+0 records out 10485760 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=20M 20971520+0 records in 20971520+0 records out 20971520 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=25M 26214400+0 records in 26214400+0 records out 26214400 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=50M 52428800+0 records in 52428800+0 records out 52428800 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=75M 78643200+0 records in 78643200+0 records out 78643200 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=100M 104857600+0 records in 104857600+0 records out 104857600 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 Speed 100 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 Speed 100 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 Speed 100 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 Speed 100 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 Speed 100 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 Speed 100 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 Speed 100 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 Speed 100 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 Speed 100 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 Speed 100 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 Speed 100 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 Speed 100 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 Speed 100 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 Speed 100 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 Speed 100 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 Speed 100 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 -d Apache CouchDB has been shutdown. + cd .. + cd 1.1 + ./bin/couchdb -d Apache 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 FAILED UPGRADE FAILED fdmanana 10:36:07 ~/tmp >