Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-55541

PCT on git plugin with JDK11 fails because of old powermock versions and xstream library dependencies

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      I ran the PCT against the git-plugin using JDK11, and AbstractGitSCMSourceRetrieveHeadsTest failed during the initial run.  After consulting with Adrien Lecharpentier I removed dependency versions for powermock-module-junit4, powermock-api-mockito2, and then mockito-core and reran the PCT specifying just the AbstractGitSCMSourceRetrieveHeadsTest.   This resulted in an IllegalAccessError based on usage of com.thoughtworks.xstream.converters.DurationConverter.

      I have attached the full log.

       

       

       

        Attachments

          Activity

          Hide
          batmat Baptiste Mathus added a comment -

          Mark Waite if you have some time to check this is actual or not, that would be great. If you cannot, then that is absolutely fine, please then tell us so that we dedicate some time to analyze and fix this.

          Thanks!

          Show
          batmat Baptiste Mathus added a comment - Mark Waite if you have some time to check this is actual or not, that would be great. If you cannot, then that is absolutely fine, please then tell us so that we dedicate some time to analyze and fix this. Thanks!
          Hide
          markewaite Mark Waite added a comment -

          I'm reasonably confident this is actual. The mocking libraries tend to be problematic. I'm quite weak in use of mocks and mocking libraries and don't have time to investigate this currently. If there is someone with experience using mocking libraries, they will find and resolve the problem sooner than I will.

          Show
          markewaite Mark Waite added a comment - I'm reasonably confident this is actual. The mocking libraries tend to be problematic. I'm quite weak in use of mocks and mocking libraries and don't have time to investigate this currently. If there is someone with experience using mocking libraries, they will find and resolve the problem sooner than I will.

            People

            • Assignee:
              Unassigned
              Reporter:
              kearls Kevin EARLS
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: