When I tried to upgrade guava as used in git client, I initially went with the most recent version. Tests failed.
The guidance I received was to not attempt to upgrade newer than the version in Jenkins core. That worked for me. That kept the tests working and had been delivered in the most recent release of the git client plugin. Mark Waite On Feb 18, 2014 2:52 PM, "Andrew Bayer" <[email protected]> wrote: > https://gist.github.com/abayer/e3b431c0cdf4e728b81d is all I can find > from the test output... > > A. > > > On Tue, Feb 18, 2014 at 1:50 PM, Jesse Glick <[email protected]> wrote: > >> On Tue, Feb 18, 2014 at 4:47 PM, Andrew Bayer <[email protected]> >> wrote: >> > com.gargoylesoftware.htmlunit.FailingHttpStatusCodeException: 500 Could >> not >> > initialize class org.kohsuke.stapler.Function$InstanceFunction for >> > http://localhost:59217/configure" - that's with Jenkins core 1.509. But >> > everything works fine when I do mvn hpi:run >> >> The test harness does not accurately mimic the class loader >> environment of Jenkins, unfortunately. (It does start up Jenkins with >> the full plugin class loader, but neglects to block loading of classes >> from the test classpath, which normally includes the tested plugin and >> all its dependencies.) Someone ambitious could look at something like >> NbTestSuite in NetBeans and try to do something analogous for Jenkins. >> >> > When I switch to 1.532, I get different errors - mvn hpi:run still >> works, >> > but now when the tests are running, they're getting 500s on attempts to >> hit >> > "configure" - i.e., via configRoundTrip(). >> >> Probably a stack trace is being printed to the Jenkins console when >> this happens, no? Check the test output. >> >> -- >> 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]. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > -- > 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]. > For more options, visit https://groups.google.com/groups/opt_out. > -- 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]. For more options, visit https://groups.google.com/groups/opt_out.
