{"action":"created","issue":{"url":"https://api.github.com/repos/appium/appium/issues/3179","repository_url":"https://api.github.com/repos/appium/appium","labels_url":"https://api.github.com/repos/appium/appium/issues/3179/labels{/name}","comments_url":"https://api.github.com/repos/appium/appium/issues/3179/comments","events_url":"https://api.github.com/repos/appium/appium/issues/3179/events","html_url":"https://github.com/appium/appium/issues/3179","id":38286250,"number":3179,"title":"Downloaded application is not removed when session ends.","user":{"login":"vgrigoruk","id":487261,"avatar_url":"https://avatars0.githubusercontent.com/u/487261?v=4","gravatar_id":"","url":"https://api.github.com/users/vgrigoruk","html_url":"https://github.com/vgrigoruk","followers_url":"https://api.github.com/users/vgrigoruk/followers","following_url":"https://api.github.com/users/vgrigoruk/following{/other_user}","gists_url":"https://api.github.com/users/vgrigoruk/gists{/gist_id}","starred_url":"https://api.github.com/users/vgrigoruk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vgrigoruk/subscriptions","organizations_url":"https://api.github.com/users/vgrigoruk/orgs","repos_url":"https://api.github.com/users/vgrigoruk/repos","events_url":"https://api.github.com/users/vgrigoruk/events{/privacy}","received_events_url":"https://api.github.com/users/vgrigoruk/received_events","type":"User","site_admin":false},"labels":[{"id":24368808,"url":"https://api.github.com/repos/appium/appium/labels/Enhancement","name":"Enhancement","color":"ffaa33","default":false},{"id":647299879,"url":"https://api.github.com/repos/appium/appium/labels/P1","name":"P1","color":"e99695","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2014-07-21T09:04:10Z","updated_at":"2018-02-16T11:39:11Z","closed_at":null,"author_association":"MEMBER","body":"I'm running iOS tests in a grid of OSX virtual machines and I noticed that VMs are running our of space, because appium doesn't clean the cached version of downloaded iOS app here: \n\n```\nguest2:114621-2287-1boqtyc vagrant$ pwd\n/private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/114621-2287-1boqtyc\nguest2:114621-2287-1boqtyc vagrant$ ls \nMyApp.app   appium-app.zip\n```\n\nThere is a huge amount of folders with the same appium-app.zip and MyApp.app/ inside `/private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/`\n\nMy app is hosted through http and url is passed to appium server via DesiredCapabilities. I expect that after session is terminated, this cache should be cleaned.\n"},"comment":{"url":"https://api.github.com/repos/appium/appium/issues/comments/366213646","html_url":"https://github.com/appium/appium/issues/3179#issuecomment-366213646","issue_url":"https://api.github.com/repos/appium/appium/issues/3179","id":366213646,"user":{"login":"mykola-mokhnach","id":7767781,"avatar_url":"https://avatars1.githubusercontent.com/u/7767781?v=4","gravatar_id":"","url":"https://api.github.com/users/mykola-mokhnach","html_url":"https://github.com/mykola-mokhnach","followers_url":"https://api.github.com/users/mykola-mokhnach/followers","following_url":"https://api.github.com/users/mykola-mokhnach/following{/other_user}","gists_url":"https://api.github.com/users/mykola-mokhnach/gists{/gist_id}","starred_url":"https://api.github.com/users/mykola-mokhnach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mykola-mokhnach/subscriptions","organizations_url":"https://api.github.com/users/mykola-mokhnach/orgs","repos_url":"https://api.github.com/users/mykola-mokhnach/repos","events_url":"https://api.github.com/users/mykola-mokhnach/events{/privacy}","received_events_url":"https://api.github.com/users/mykola-mokhnach/received_events","type":"User","site_admin":false},"created_at":"2018-02-16T11:39:11Z","updated_at":"2018-02-16T11:39:11Z","author_association":"COLLABORATOR","body":"the temporary .zip archive is now always removed. Android also removes the temporarily downloaded app if `clearSystemFiles` capability is enabled. Not sure if the same works for xcuitest driver though"}}
{"actor":{"display_login":"mykola-mokhnach"}}