[ 
https://issues.jenkins-ci.org/browse/JENKINS-8273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

pjdarton resolved JENKINS-8273.
-------------------------------

    Resolution: Fixed

Haven't seen this again.  I think it's fixed.
                
> java.io.EOFException when running AccuRev streams command
> ---------------------------------------------------------
>
>                 Key: JENKINS-8273
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-8273
>             Project: Jenkins
>          Issue Type: Bug
>          Components: accurev
>         Environment: Windows XP (32bit) and/or Windows 7 (64bit)
> AccuRev plugin 0.6.12-SNAPSHOT (private-10/27/2010 12:41-root)
>            Reporter: pjdarton
>            Assignee: Scott Tatum
>
> Sometimes, when a build (whose source code is stored in AccuRev) starts and 
> the AccuRev plugin starts talking to the AccuRev server, one gets the 
> following error:
> {noformat}
> Started by user anonymous
> Building remotely on uk-hudson-slave03
> Purging workspace...
> Workspace purged.
> Authenticating with Accurev server...
> [myHudsonProject] $ "C:\Program Files\AccuRev\bin\accurev.exe" login -H 
> accurev:5050 Build ********
> Authentication completed successfully.
> Getting a list of streams...
> [myHudsonProject] $ "C:\Program Files\AccuRev\bin\accurev.exe" show -H 
> accurev:5050 -fx -p MyDepot_ streams
> java.io.EOFException: no more data available - expected end tags 
> </stream></streams> to close start tag <stream> from line 4187 and start tag 
> <streams> from line 1, parser stopped on TEXT seen ...    
> depotName="MyDepot_"\r\n      streamNumber="4931"\r\n      isDynami... 
> @4193:15
>       at org.xmlpull.mxp1.MXParser.fillBuf(MXParser.java:3035)
>       at org.xmlpull.mxp1.MXParser.more(MXParser.java:3046)
>       at org.xmlpull.mxp1.MXParser.parseAttribute(MXParser.java:1944)
>       at org.xmlpull.mxp1.MXParser.parseStartTag(MXParser.java:1799)
>       at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1127)
>       at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093)
>       at hudson.plugins.accurev.AccurevSCM.getStreams(AccurevSCM.java:807)
>       at hudson.plugins.accurev.AccurevSCM.checkout(AccurevSCM.java:307)
>       at hudson.model.AbstractProject.checkout(AbstractProject.java:1119)
>       at 
> hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:479)
>       at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:411)
>       at hudson.model.Run.run(Run.java:1324)
>       at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
>       at hudson.model.ResourceController.execute(ResourceController.java:88)
>       at hudson.model.Executor.run(Executor.java:139)
> {noformat}
> When this happens, the subsequent SCM retries in the immediate aftermath 
> typically fail as well.
> If one waits a while before retrying, all is well (but by this time, we've 
> had a build failure reported).
> i.e. it appears to be a spurious, unpredictable failure.
> I can't be certain it's not the AccuRev server, but the only sure-fire way of 
> finding out would be if the plugin dumped the XML it got from the AccuRev 
> command into a file and then logged that on failure.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to