{"action":"opened","issue":{"url":"https://api.github.com/repos/minio/minio/issues/1502","repository_url":"https://api.github.com/repos/minio/minio","labels_url":"https://api.github.com/repos/minio/minio/issues/1502/labels{/name}","comments_url":"https://api.github.com/repos/minio/minio/issues/1502/comments","events_url":"https://api.github.com/repos/minio/minio/issues/1502/events","html_url":"https://github.com/minio/minio/issues/1502","id":153383567,"number":1502,"title":"handlers: restic functional test crash with released binary","user":{"login":"harshavardhana","id":622699,"avatar_url":"https://avatars.githubusercontent.com/u/622699?v=3","gravatar_id":"","url":"https://api.github.com/users/harshavardhana","html_url":"https://github.com/harshavardhana","followers_url":"https://api.github.com/users/harshavardhana/followers","following_url":"https://api.github.com/users/harshavardhana/following{/other_user}","gists_url":"https://api.github.com/users/harshavardhana/gists{/gist_id}","starred_url":"https://api.github.com/users/harshavardhana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harshavardhana/subscriptions","organizations_url":"https://api.github.com/users/harshavardhana/orgs","repos_url":"https://api.github.com/users/harshavardhana/repos","events_url":"https://api.github.com/users/harshavardhana/events{/privacy}","received_events_url":"https://api.github.com/users/harshavardhana/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-06T05:59:42Z","updated_at":"2016-05-06T05:59:42Z","closed_at":null,"body":"```\r\nAccessKey: KEBIYDZ87HCIH5D17YCN  SecretKey: bVX1KhipSBPopEfmhc7rGz8ooxx27xdJ7Gkh1mVe  Region: us-east-1\r\nMinio Object Storage:\r\n    http://127.0.0.1:9000\r\nMinio Browser:\r\n    http://127.0.0.1:9000\r\nTo configure Minio Client:\r\n    $ wget https://dl.minio.io/client/mc/release/darwin-amd64/mc\r\n    $ chmod 755 mc\r\n    $ ./mc config host add myminio http://localhost:9000 KEBIYDZ87HCIH5D17YCN bVX1KhipSBPopEfmhc7rGz8ooxx27xdJ7Gkh1mVe\r\nCI: stderr: panic: runtime error: invalid memory address or nil pointer dereference\r\n[signal 0xb code=0x1 addr=0x18 pc=0x3261af]\r\ngoroutine 122 [running]:\r\npanic(0x536920, 0x8209f0110)\r\n\t/home/builder/.gimme/versions/go1.6.linux.amd64/src/runtime/panic.go:464 +0x3e6\r\nbufio.(*Writer).WriteString(0x0, 0x6483c0, 0x19, 0x45fb60, 0x0, 0x0)\r\n\t/home/builder/.gimme/versions/go1.6.linux.amd64/src/bufio/bufio.go:660 +0x3f\r\nnet/http.(*expectContinueReader).Read(0x820e03a40, 0x8214a0000, 0x8000, 0x8000, 0x7df06, 0x0, 0x0)\r\n\t/home/builder/.gimme/versions/go1.6.linux.amd64/src/net/http/server.go:636 +0xc7\r\nio.(*LimitedReader).Read(0x820dfbb20, 0x8214a0000, 0x8000, 0x8000, 0x8000, 0x0, 0x0)\r\n\t/home/builder/.gimme/versions/go1.6.linux.amd64/src/io/io.go:426 +0xbd\r\nio.copyBuffer(0x8820a3c778, 0x820dfbb00, 0x8820a7eb40, 0x820dfbb20, 0x8214a0000, 0x8000, 0x8000, 0x0, 0x0, 0x0)\r\n\t/home/builder/.gimme/versions/go1.6.linux.amd64/src/io/io.go:380 +0x247\r\nio.Copy(0x8820a3c778, 0x820dfbb00, 0x8820a7eb40, 0x820dfbb20, 0x820dfbb00, 0x0, 0x0)\r\n\t/home/builder/.gimme/versions/go1.6.linux.amd64/src/io/io.go:350 +0x64\r\nio.CopyN(0x8820a3c778, 0x820dfbb00, 0x8820a3c7a0, 0x820e03a40, 0x500000, 0x0, 0x0, 0x0)\r\n\t/home/builder/.gimme/versions/go1.6.linux.amd64/src/io/io.go:326 +0xf7\r\nmain.objectStorageAPI.PutObjectPartHandler.func1(0x820b92578, 0x821426620, 0x500000, 0x1)\r\n\t/home/builder/mygo/src/github.com/minio/minio/object-handlers.go:810 +0x1fb\r\ncreated by main.objectStorageAPI.PutObjectPartHandler\r\n\t/home/builder/mygo/src/github.com/minio/minio/object-handlers.go:832 +0xf32\r\ncommand [go test -cover -coverprofile /var/folders/gw/_2jq29095y7b__wtby9dg_5h0000gn/T/gotestcover-571319138 restic/backend/s3]: exit status 1\r\ntests.go:279: unexpected error: Put http://127.0.0.1:9000/restictestbucket/data/0000000000000000000000000000000000000000000000000000000000000000-1?partNumber=1&uploadId=e02b7ff1-0724-4679-b4ac-50188449bcc6: dial tcp 127.0.0.1:9000: getsockopt: connection refused\r\n--- FAIL: TestS3BackendSave (0.97s)\r\n--- FAIL: TestS3BackendSaveFilenames (0.00s)\r\n\ttests.go:52: Open returned unexpected error: Put http://127.0.0.1:9000/restictestbucket/?location=: dial tcp 127.0.0.1:9000: getsockopt: connection refused\r\n--- FAIL: TestS3BackendBackend (0.00s)\r\n\ttests.go:52: Open returned unexpected error: Put http://127.0.0.1:9000/restictestbucket/?location=: dial tcp 127.0.0.1:9000: getsockopt: connection refused\r\n--- FAIL: TestS3BackendDelete (0.00s)\r\n\ttests.go:52: Open returned unexpected error: Put http://127.0.0.1:9000/restictestbucket/?location=: dial tcp 127.0.0.1:9000: getsockopt: connection refused\r\nFAIL\r\ncoverage: 68.1% of statements\r\nFAIL\trestic/backend/s3\t2.082s\r\nok  \trestic/backend/sftp\t0.049s\tcoverage: 13.5% of statements\r\nok  \trestic/backend/test\t0.440s\tcoverage: 75.4% of statements\r\nok  \trestic/checker\t8.267s\tcoverage: 75.7% of statements\r\nok  \trestic/crypto\t0.527s\tcoverage: 64.6% of statements\r\n?   \trestic/debug\t[no test files]\r\nok  \trestic/filter\t0.335s\tcoverage: 84.8% of statements\r\n?   \trestic/fs\t[no test files]\r\nok  \trestic/fuse\t0.885s\tcoverage: 31.2% of statements\r\nok  \tcmds/restic\t186.673s\tcoverage: 47.0% of statements\r\nok  \trestic/location\t0.030s\tcoverage: 87.5% of statements\r\nok  \trestic/pack\t0.059s\tcoverage: 74.0% of statements\r\nok  \trestic/pipe\t0.101s\tcoverage: 78.9% of statements\r\n?   \trestic/test\t[no test files]\r\nok  \trestic/worker\t0.034s\tcoverage: 100.0% of statements\r\nok  \trestic/repository\t11.744s\tcoverage: 62.5% of statements\r\ntest failed\r\nerror: error running gotestcover -coverprofile all.cov cmds/... restic/...: exit status 1\r\nCI: run travis teardown\r\nCI: stopping minio server\r\nCI: minio server returned error: exit status 2\r\nCI: stdout: foo\r\nAccessKey: KEBIYDZ87HCIH5D17YCN  SecretKey: bVX1KhipSBPopEfmhc7rGz8ooxx27xdJ7Gkh1mVe  Region: us-east-1\r\nMinio Object Storage:\r\n    http://127.0.0.1:9000\r\nMinio Browser:\r\n    http://127.0.0.1:9000\r\nTo configure Minio Client:\r\n    $ wget https://dl.minio.io/client/mc/release/darwin-amd64/mc\r\n    $ chmod 755 mc\r\n    $ ./mc config host add myminio http://localhost:9000 KEBIYDZ87HCIH5D17YCN bVX1KhipSBPopEfmhc7rGz8ooxx27xdJ7Gkh1mVe\r\nCI: stderr: panic: runtime error: invalid memory address or nil pointer dereference\r\n[signal 0xb code=0x1 addr=0x18 pc=0x3261af]\r\ngoroutine 122 [running]:\r\npanic(0x536920, 0x8209f0110)\r\n\t/home/builder/.gimme/versions/go1.6.linux.amd64/src/runtime/panic.go:464 +0x3e6\r\nbufio.(*Writer).WriteString(0x0, 0x6483c0, 0x19, 0x45fb60, 0x0, 0x0)\r\n\t/home/builder/.gimme/versions/go1.6.linux.amd64/src/bufio/bufio.go:660 +0x3f\r\nnet/http.(*expectContinueReader).Read(0x820e03a40, 0x8214a0000, 0x8000, 0x8000, 0x7df06, 0x0, 0x0)\r\n\t/home/builder/.gimme/versions/go1.6.linux.amd64/src/net/http/server.go:636 +0xc7\r\nio.(*LimitedReader).Read(0x820dfbb20, 0x8214a0000, 0x8000, 0x8000, 0x8000, 0x0, 0x0)\r\n\t/home/builder/.gimme/versions/go1.6.linux.amd64/src/io/io.go:426 +0xbd\r\nio.copyBuffer(0x8820a3c778, 0x820dfbb00, 0x8820a7eb40, 0x820dfbb20, 0x8214a0000, 0x8000, 0x8000, 0x0, 0x0, 0x0)\r\n\t/home/builder/.gimme/versions/go1.6.linux.amd64/src/io/io.go:380 +0x247\r\nio.Copy(0x8820a3c778, 0x820dfbb00, 0x8820a7eb40, 0x820dfbb20, 0x820dfbb00, 0x0, 0x0)\r\n\t/home/builder/.gimme/versions/go1.6.linux.amd64/src/io/io.go:350 +0x64\r\nio.CopyN(0x8820a3c778, 0x820dfbb00, 0x8820a3c7a0, 0x820e03a40, 0x500000, 0x0, 0x0, 0x0)\r\n\t/home/builder/.gimme/versions/go1.6.linux.amd64/src/io/io.go:326 +0xf7\r\nmain.objectStorageAPI.PutObjectPartHandler.func1(0x820b92578, 0x821426620, 0x500000, 0x1)\r\n\t/home/builder/mygo/src/github.com/minio/minio/object-handlers.go:810 +0x1fb\r\ncreated by main.objectStorageAPI.PutObjectPartHandler\r\n\t/home/builder/mygo/src/github.com/minio/minio/object-handlers.go:832 +0xf32\r\n```"}}