{"action":"created","issue":{"url":"https://api.github.com/repos/appc/docker2aci/issues/73","labels_url":"https://api.github.com/repos/appc/docker2aci/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/appc/docker2aci/issues/73/comments","events_url":"https://api.github.com/repos/appc/docker2aci/issues/73/events","html_url":"https://github.com/appc/docker2aci/issues/73","id":98051608,"number":73,"title":"failed to convert docker://kubernetes/redis-slave:v2","user":{"login":"yifan-gu","id":3278588,"avatar_url":"https://avatars.githubusercontent.com/u/3278588?v=3","gravatar_id":"","url":"https://api.github.com/users/yifan-gu","html_url":"https://github.com/yifan-gu","followers_url":"https://api.github.com/users/yifan-gu/followers","following_url":"https://api.github.com/users/yifan-gu/following{/other_user}","gists_url":"https://api.github.com/users/yifan-gu/gists{/gist_id}","starred_url":"https://api.github.com/users/yifan-gu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yifan-gu/subscriptions","organizations_url":"https://api.github.com/users/yifan-gu/orgs","repos_url":"https://api.github.com/users/yifan-gu/repos","events_url":"https://api.github.com/users/yifan-gu/events{/privacy}","received_events_url":"https://api.github.com/users/yifan-gu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"iaguis","id":507354,"avatar_url":"https://avatars.githubusercontent.com/u/507354?v=3","gravatar_id":"","url":"https://api.github.com/users/iaguis","html_url":"https://github.com/iaguis","followers_url":"https://api.github.com/users/iaguis/followers","following_url":"https://api.github.com/users/iaguis/following{/other_user}","gists_url":"https://api.github.com/users/iaguis/gists{/gist_id}","starred_url":"https://api.github.com/users/iaguis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iaguis/subscriptions","organizations_url":"https://api.github.com/users/iaguis/orgs","repos_url":"https://api.github.com/users/iaguis/repos","events_url":"https://api.github.com/users/iaguis/events{/privacy}","received_events_url":"https://api.github.com/users/iaguis/received_events","type":"User","site_admin":false},"milestone":null,"comments":7,"created_at":"2015-07-29T23:37:47Z","updated_at":"2015-08-05T09:01:46Z","closed_at":null,"body":"```\r\n$ sudo /home/yifan/rkt/build-rkt-0.7.0+git/bin/rkt --debug=false --insecure-skip-verify=true fetch docker://kubernetes/redis-slave:v2\r\n[sudo] password for yifan: \r\nDownloading 511136ea3c5a: [====================================] 32 B/32 B\r\nDownloading f0dde87450ec: [====================================] 65.8 MB/65.8 MB\r\nDownloading 76b658ecb564: [====================================] 71.5 KB/71.5 KB\r\nDownloading 4faa69f72743: [====================================] 679 B/679 B\r\nDownloading 2103b00b3fdf: [====================================] 32 B/32 B\r\nDownloading 4303edc5e986: [====================================] 85.4 MB/85.4 MB\r\nDownloading 14dfde0f38c5: [====================================] 643 B/643 B\r\nDownloading d489fc3e869f: [====================================] 438 B/438 B\r\nDownloading a8253f7d9cc1: [====================================] 22.7 KB/22.7 KB\r\nDownloading 38cf7a363b14: [====================================] 32 B/32 B\r\nDownloading d9343f29a1c4: [====================================] 32 B/32 B\r\nDownloading 9cb3dca21a1f: [====================================] 32 B/32 B\r\nDownloading c9eda0ec97c0: [====================================] 2.93 MB/2.93 MB\r\nDownloading a44f8ddf5fb8: [====================================] 32 B/32 B\r\nDownloading cf0fc1a9cd2b: [====================================] 32 B/32 B\r\nDownloading 8567350addd7: [====================================] 32 B/32 B\r\nDownloading dff9dfa9220d: [====================================] 32 B/32 B\r\nDownloading 3fd8168c2f23: [====================================] 511 B/511 B\r\nDownloading 85b1106c3ae7: [====================================] 544 B/544 B\r\nDownloading 48a1e2b8f859: [====================================] 32 B/32 B\r\nerror converting docker image to ACI: error squashing image: error validating image: flate: corrupt input before offset 105339330\r\n```"},"comment":{"url":"https://api.github.com/repos/appc/docker2aci/issues/comments/127923971","html_url":"https://github.com/appc/docker2aci/issues/73#issuecomment-127923971","issue_url":"https://api.github.com/repos/appc/docker2aci/issues/73","id":127923971,"user":{"login":"sgotti","id":1690273,"avatar_url":"https://avatars.githubusercontent.com/u/1690273?v=3","gravatar_id":"","url":"https://api.github.com/users/sgotti","html_url":"https://github.com/sgotti","followers_url":"https://api.github.com/users/sgotti/followers","following_url":"https://api.github.com/users/sgotti/following{/other_user}","gists_url":"https://api.github.com/users/sgotti/gists{/gist_id}","starred_url":"https://api.github.com/users/sgotti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgotti/subscriptions","organizations_url":"https://api.github.com/users/sgotti/orgs","repos_url":"https://api.github.com/users/sgotti/repos","events_url":"https://api.github.com/users/sgotti/events{/privacy}","received_events_url":"https://api.github.com/users/sgotti/received_events","type":"User","site_admin":false},"created_at":"2015-08-05T09:01:46Z","updated_at":"2015-08-05T09:01:46Z","body":"@iaguis I was thinking that the race was caused primarly by rkt:\r\n\r\nNow running two `rkt fetch` passes to docker2aci.Convert the same tmpDir as the output dir (https://github.com/coreos/rkt/blob/master/rkt/images.go#L385), so what happens is that a file generated by the first rkt is overwritten by the second. Probably that's not a problem if the first rkt already has open the file descriptor to the first file but it doesn't look very clean.\r\n\r\nPerhaps providing different tmpDir will be cleaner."}}