FWIW I have this fixed locally. Just get rid of the copies of the TarInput/OutputStreams in hudson.org.apache.tools.tar, update Ant in pom.xml from 1.8.3 to 1.9.4, and change the import in TarArchiver. No need for a patched implementation anymore AFAICT. I just haven't published this yet because I have no idea what possible regressions might be.
That said, a test in the acceptance test harness may be suitable. It wouldn't be the first test of this kind, the one for Compress Artifacts Plugin creates a workspace of >4GB and zips it. https://github.com/jenkinsci/acceptance-test-harness/blob/master/src/test/java/plugins/CompressArtifactsPluginTest.java#L89 On 24.03.2015, at 12:28, Olaf Lenz <[email protected]> wrote: > Hi! > > My name is Olaf Lenz, I'm a software engineer from Germany. Although I have > already made some (small) contributions to various plugins, I have not yet > any experience with Jenkins core development. > What I want to do is to fix the following issue: > https://issues.jenkins-ci.org/browse/JENKINS-10629 > > At first, I would try to update the Tar{Input,Output}Stream to a recent > version, as suggested by Daniel Beck. If that doesn't solve the issue (from > looking at the code changes I don't think it does), I will see what needs to > be done. > > The "Contributing to Jenkins"-page tells me that I should provide a unit test > for the modification. However, as this is about files >8GB, and sending these > via stream is pretty costly, I am not sure whether it is a good idea to make > this unit test part of the standard test suite. Are there any suggestions > from the experienced developers? > > Olaf > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-dev/84dab44f-e3ed-4c66-a9b1-0cd68a4c2db9%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/88E55117-93BC-4689-B318-BC771EBC88C0%40beckweb.net. For more options, visit https://groups.google.com/d/optout.
