{"action":"opened","issue":{"url":"https://api.github.com/repos/robolectric/robolectric/issues/1682","labels_url":"https://api.github.com/repos/robolectric/robolectric/issues/1682/labels{/name}","comments_url":"https://api.github.com/repos/robolectric/robolectric/issues/1682/comments","events_url":"https://api.github.com/repos/robolectric/robolectric/issues/1682/events","html_url":"https://github.com/robolectric/robolectric/issues/1682","id":68504082,"number":1682,"title":"Builds failing only on Travis","user":{"login":"flyingtoaster0","id":4213078,"avatar_url":"https://avatars.githubusercontent.com/u/4213078?v=3","gravatar_id":"","url":"https://api.github.com/users/flyingtoaster0","html_url":"https://github.com/flyingtoaster0","followers_url":"https://api.github.com/users/flyingtoaster0/followers","following_url":"https://api.github.com/users/flyingtoaster0/following{/other_user}","gists_url":"https://api.github.com/users/flyingtoaster0/gists{/gist_id}","starred_url":"https://api.github.com/users/flyingtoaster0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flyingtoaster0/subscriptions","organizations_url":"https://api.github.com/users/flyingtoaster0/orgs","repos_url":"https://api.github.com/users/flyingtoaster0/repos","events_url":"https://api.github.com/users/flyingtoaster0/events{/privacy}","received_events_url":"https://api.github.com/users/flyingtoaster0/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-14T21:36:36Z","updated_at":"2015-04-14T21:36:36Z","closed_at":null,"body":"I recently created a branch on my project and migrated to Robolectric 3.0 RC2. Everything worked fine locally, but Travis was having trouble running my build. On RC2, about 80% of the time, Travis will fail my first 1 to 4 tests with and EOFException. The stack trace is the same for every test that fails in this manner. It looks like the following:\r\n\r\n```\r\ncom.package.activities.MainNavigationTest > shouldHaveThreeTabs FAILED\r\n    org.apache.tools.ant.BuildException\r\n        Caused by: org.apache.maven.artifact.resolver.ArtifactResolutionException\r\n            Caused by: org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException\r\n                Caused by: org.apache.maven.project.ProjectBuildingException\r\n                    Caused by: java.io.EOFException\r\n```\r\n\r\nI then made a commit with debug enabled, and found the following interesting line when Travis ran my build:\r\n\r\n```\r\n18:49:28.959 [DEBUG] [TestEventLogger]         Caused by:\r\n18:49:28.959 [DEBUG] [TestEventLogger]         org.apache.maven.artifact.resolver.ArtifactResolutionException: Unable to get dependency information: Unable to read the metadata file for artifact 'org.robolectric:shadows-core:jar:18': Failed to build model from file '/home/travis/.m2/repository/org/robolectric/shadows-core/3.0-rc2/shadows-core-3.0-rc2.pom'.\r\n18:49:28.960 [DEBUG] [TestEventLogger]         Error: 'no more data available - expected end tags </compilerArguments></configuration></plugin></plugins></build></project> to close start tag <compilerArguments> from line 234 and start tag <configuration> from line 229 and start tag <plugin> from line 225 and start tag <plugins> from line 126 and start tag <build> from line 112 and start tag <project> from line 2, parser stopped on START_TAG seen ...<compilerArguments>\\n... @235:1' for project org.robolectric:shadows-core\r\n18:49:28.960 [DEBUG] [TestEventLogger]           org.robolectric:shadows-core:jar:3.0-rc2\r\n```\r\n\r\nIt looks like, for some reason, that the line after the <compilerArguments> tag from the pom.xml in shadows-core can't be parsed on Travis. I've included the whole debug log from Travis. The first failure occurs at line 12354. Let me know if you need more info!"}}