Hi all,

just a quick note, I *think *I have discovered a regression in 2.204 
upcoming LTS due to commons-compress library bump.

One of our plugins was using TarInputStream 
<https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/hudson/org/apache/tools/tar/TarInputStream.java#L47>for
 
2.190 but this is now restricted.
so without bumping core we moved the code over to use the commons-compress 
version (and all is happy).

However when bumping the Jenkins version to 2.204 which picks up the newer 
compress we have lots of unit test failures due to what seems like (at very 
first glance as I just narrowed it down and its late!) empty tar files 
(when they should not be empty)

as a (quick and dirty) test I made the commons-compress version 
configurable and it does seem like this is the issue

mvn test -Dtest=TheTest -Djenkins.version=2.204 -DcompressVersion=1.19 
-Denforcer.skip *fails*
mvn test -Dtest=TheTest -Djenkins.version=2.204 -DcompressVersion=1.10 
-Denforcer.skip passes
mvn test -Dtest=TheTest -Djenkins.version=2.190.3 -DcompressVersion=1.10 
-Denforcer.skip passes
mvn test -Dtest=TheTest -Djenkins.version=2.190.3 -DcompressVersion=1.19 
-Denforcer.skip 
*fails*
doing some more bisection

mvn test -Dtest=TheTest -Djenkins.version=2.190.3 -DcompressVersion=1.15 
-Denforcer.skip 
*fails*mvn test -Dtest=TheTest -Djenkins.version=2.190.3 
-DcompressVersion=1.13 -Denforcer.skip passes
mvn test -Dtest=TheTest -Djenkins.version=2.190.3 -DcompressVersion=1.14 
-Denforcer.skip passes


I don't yet know what is causing this (but it does appear to be something 
in commons-compress 1.15 and I will investigate that.  (changelog 
<https://commons.apache.org/proper/commons-compress/changes-report.html#a1.15>
)

But this seems very scary to me (and I am surprised there has not been some 
reports in the weeklies of archives etc not working correctly).  Also very 
weired as 1.15 has been released for a good amount of time.

Will continue the investigation tomorrow but if this rings a bell with 
anyone in any reported Jiras it would be good to correlate.

/James

-- 
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/14e1d85b-2702-496b-9cd0-e3a42896341a%40googlegroups.com.

Reply via email to