{"action":"created","issue":{"url":"https://api.github.com/repos/travis-ci/travis-ci/issues/6001","repository_url":"https://api.github.com/repos/travis-ci/travis-ci","labels_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/6001/labels{/name}","comments_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/6001/comments","events_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/6001/events","html_url":"https://github.com/travis-ci/travis-ci/issues/6001","id":153296056,"number":6001,"title":"Multiple builds (different JDK) don't use the cache","user":{"login":"ctubbsii","id":1280725,"avatar_url":"https://avatars.githubusercontent.com/u/1280725?v=3","gravatar_id":"","url":"https://api.github.com/users/ctubbsii","html_url":"https://github.com/ctubbsii","followers_url":"https://api.github.com/users/ctubbsii/followers","following_url":"https://api.github.com/users/ctubbsii/following{/other_user}","gists_url":"https://api.github.com/users/ctubbsii/gists{/gist_id}","starred_url":"https://api.github.com/users/ctubbsii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ctubbsii/subscriptions","organizations_url":"https://api.github.com/users/ctubbsii/orgs","repos_url":"https://api.github.com/users/ctubbsii/repos","events_url":"https://api.github.com/users/ctubbsii/events{/privacy}","received_events_url":"https://api.github.com/users/ctubbsii/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2016-05-05T18:42:02Z","updated_at":"2016-05-11T18:11:32Z","closed_at":"2016-05-05T20:59:37Z","body":"Looking at [this build][1], for example, it's clear that the cache isn't being used for multiple builds on different JDKs. You can see that cached maven dependencies are used fine for the oraclejdk8 build, but the cache is completely ignored for the other JDKs. This results in the 10m timeout problem, probably due to stalled IO activity downloading maven dependencies.\r\n\r\n[1]: https://travis-ci.org/apache/accumulo/builds/128105257"},"comment":{"url":"https://api.github.com/repos/travis-ci/travis-ci/issues/comments/218542877","html_url":"https://github.com/travis-ci/travis-ci/issues/6001#issuecomment-218542877","issue_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/6001","id":218542877,"user":{"login":"ctubbsii","id":1280725,"avatar_url":"https://avatars.githubusercontent.com/u/1280725?v=3","gravatar_id":"","url":"https://api.github.com/users/ctubbsii","html_url":"https://github.com/ctubbsii","followers_url":"https://api.github.com/users/ctubbsii/followers","following_url":"https://api.github.com/users/ctubbsii/following{/other_user}","gists_url":"https://api.github.com/users/ctubbsii/gists{/gist_id}","starred_url":"https://api.github.com/users/ctubbsii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ctubbsii/subscriptions","organizations_url":"https://api.github.com/users/ctubbsii/orgs","repos_url":"https://api.github.com/users/ctubbsii/repos","events_url":"https://api.github.com/users/ctubbsii/events{/privacy}","received_events_url":"https://api.github.com/users/ctubbsii/received_events","type":"User","site_admin":false},"created_at":"2016-05-11T18:11:32Z","updated_at":"2016-05-11T18:11:32Z","body":"If anybody could confirm that using `jdk_switcher` would allow us to reuse the same cache for multiple JDK builds, that would be helpful. Thanks."}}