{"action":"created","issue":{"url":"https://api.github.com/repos/distributed-system-analysis/pbench/issues/570","repository_url":"https://api.github.com/repos/distributed-system-analysis/pbench","labels_url":"https://api.github.com/repos/distributed-system-analysis/pbench/issues/570/labels{/name}","comments_url":"https://api.github.com/repos/distributed-system-analysis/pbench/issues/570/comments","events_url":"https://api.github.com/repos/distributed-system-analysis/pbench/issues/570/events","html_url":"https://github.com/distributed-system-analysis/pbench/issues/570","id":227120043,"number":570,"title":"pbench-unpack-tarballs: rmdir: failed to remove ‘<$incoming>’: Directory not empty","user":{"login":"ndokos","id":687010,"avatar_url":"https://avatars3.githubusercontent.com/u/687010?v=3","gravatar_id":"","url":"https://api.github.com/users/ndokos","html_url":"https://github.com/ndokos","followers_url":"https://api.github.com/users/ndokos/followers","following_url":"https://api.github.com/users/ndokos/following{/other_user}","gists_url":"https://api.github.com/users/ndokos/gists{/gist_id}","starred_url":"https://api.github.com/users/ndokos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ndokos/subscriptions","organizations_url":"https://api.github.com/users/ndokos/orgs","repos_url":"https://api.github.com/users/ndokos/repos","events_url":"https://api.github.com/users/ndokos/events{/privacy}","received_events_url":"https://api.github.com/users/ndokos/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"tenstormavi","id":3798130,"avatar_url":"https://avatars0.githubusercontent.com/u/3798130?v=3","gravatar_id":"","url":"https://api.github.com/users/tenstormavi","html_url":"https://github.com/tenstormavi","followers_url":"https://api.github.com/users/tenstormavi/followers","following_url":"https://api.github.com/users/tenstormavi/following{/other_user}","gists_url":"https://api.github.com/users/tenstormavi/gists{/gist_id}","starred_url":"https://api.github.com/users/tenstormavi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tenstormavi/subscriptions","organizations_url":"https://api.github.com/users/tenstormavi/orgs","repos_url":"https://api.github.com/users/tenstormavi/repos","events_url":"https://api.github.com/users/tenstormavi/events{/privacy}","received_events_url":"https://api.github.com/users/tenstormavi/received_events","type":"User","site_admin":false},"assignees":[{"login":"tenstormavi","id":3798130,"avatar_url":"https://avatars0.githubusercontent.com/u/3798130?v=3","gravatar_id":"","url":"https://api.github.com/users/tenstormavi","html_url":"https://github.com/tenstormavi","followers_url":"https://api.github.com/users/tenstormavi/followers","following_url":"https://api.github.com/users/tenstormavi/following{/other_user}","gists_url":"https://api.github.com/users/tenstormavi/gists{/gist_id}","starred_url":"https://api.github.com/users/tenstormavi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tenstormavi/subscriptions","organizations_url":"https://api.github.com/users/tenstormavi/orgs","repos_url":"https://api.github.com/users/tenstormavi/repos","events_url":"https://api.github.com/users/tenstormavi/events{/privacy}","received_events_url":"https://api.github.com/users/tenstormavi/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2017-05-08T17:41:26Z","updated_at":"2017-05-10T12:30:55Z","closed_at":null,"body":"pbench-unpack-tarballs creates the $incoming dir (something like ..../incoming/<hostname>/<run-name>) early in its processing loop and adds an index.html file that indicates that the unpacking of that particular run is in progress. After the unpacking is done, the index.html file is removed, the $incoming $dir is removed (with `rmdir`) and the unpacked tarball is moved from temporary storage to $incoming.\r\n\r\nSometimes, the `rmdir` fails as indicated above. Checking after the fact shows that the only file in it is `index.html`. Checking the return code of the removal of `index.html` does not trigger any diagnostic output, so (unless the check is wrong) the file removal returned success. But the subsequent rmdir fails so the file cannot have been removed.\r\n\r\nMaybe there is an obvious cause to this, but if so I don't see it."},"comment":{"url":"https://api.github.com/repos/distributed-system-analysis/pbench/issues/comments/300467203","html_url":"https://github.com/distributed-system-analysis/pbench/issues/570#issuecomment-300467203","issue_url":"https://api.github.com/repos/distributed-system-analysis/pbench/issues/570","id":300467203,"user":{"login":"tenstormavi","id":3798130,"avatar_url":"https://avatars0.githubusercontent.com/u/3798130?v=3","gravatar_id":"","url":"https://api.github.com/users/tenstormavi","html_url":"https://github.com/tenstormavi","followers_url":"https://api.github.com/users/tenstormavi/followers","following_url":"https://api.github.com/users/tenstormavi/following{/other_user}","gists_url":"https://api.github.com/users/tenstormavi/gists{/gist_id}","starred_url":"https://api.github.com/users/tenstormavi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tenstormavi/subscriptions","organizations_url":"https://api.github.com/users/tenstormavi/orgs","repos_url":"https://api.github.com/users/tenstormavi/repos","events_url":"https://api.github.com/users/tenstormavi/events{/privacy}","received_events_url":"https://api.github.com/users/tenstormavi/received_events","type":"User","site_admin":false},"created_at":"2017-05-10T12:30:55Z","updated_at":"2017-05-10T12:30:55Z","body":"![](https://github.trello.services/images/mini-trello-icon.png) [pbench-unpack-tarballs: rmdir: failed to remove ‘<$incoming>’: Directory not empty](https://trello.com/c/O8GBZvi6/18-pbench-unpack-tarballs-rmdir-failed-to-remove-incoming-directory-not-empty)"}}
{"actor":{"display_login":"tenstormavi"}}