[JIRA] (JENKINS-55541) PCT on git plugin with JDK11 fails because of old powermock versions and xstream library dependencies

5 views
Skip to first unread message

kearls@cloudbees.com (JIRA)

unread,
Jan 11, 2019, 7:20:03 AM1/11/19
to jenkinsc...@googlegroups.com
Kevin EARLS created an issue
 
Jenkins / Bug JENKINS-55541
PCT on git plugin with JDK11 fails because of old powermock versions and xstream library dependencies
Issue Type: Bug Bug
Assignee: Mark Waite
Attachments: puke3.txt
Components: git-plugin
Created: 2019-01-11 12:19
Environment: jdk11
Priority: Major Major
Reporter: Kevin EARLS

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.

 

 

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

batmat@batmat.net (JIRA)

unread,
Jan 14, 2019, 9:08:02 AM1/14/19
to jenkinsc...@googlegroups.com

batmat@batmat.net (JIRA)

unread,
Jan 14, 2019, 9:12:02 AM1/14/19
to jenkinsc...@googlegroups.com
Baptiste Mathus commented on Bug JENKINS-55541
 
Re: PCT on git plugin with JDK11 fails because of old powermock versions and xstream library dependencies

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!

mark.earl.waite@gmail.com (JIRA)

unread,
Jan 14, 2019, 10:12:02 AM1/14/19
to jenkinsc...@googlegroups.com

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.

m.vilacides@gmail.com (JIRA)

unread,
Jan 15, 2019, 4:24:02 AM1/15/19
to jenkinsc...@googlegroups.com

mark.earl.waite@gmail.com (JIRA)

unread,
Jan 19, 2019, 11:30:01 AM1/19/19
to jenkinsc...@googlegroups.com

batmat@batmat.net (JIRA)

unread,
Jan 20, 2019, 11:41:02 AM1/20/19
to jenkinsc...@googlegroups.com

batmat@batmat.net (JIRA)

unread,
Jan 21, 2019, 10:02:03 AM1/21/19
to jenkinsc...@googlegroups.com

batmat@batmat.net (JIRA)

unread,
Jan 22, 2019, 3:39:03 AM1/22/19
to jenkinsc...@googlegroups.com

mark.earl.waite@gmail.com (JIRA)

unread,
May 19, 2019, 9:28:02 PM5/19/19
to jenkinsc...@googlegroups.com

mark.earl.waite@gmail.com (JIRA)

unread,
May 19, 2019, 9:28:03 PM5/19/19
to jenkinsc...@googlegroups.com
 

Mocking libraries have been removed from git plugin 3.10.0. Minimum Java requirement has been increased from Java 7 to Java 8. Minimum Jenkins version has increased from 1.642 to 2.121.1. PCT now passes.

Change By: Mark Waite
Status: Open Fixed but Unreleased
Resolution: Fixed
Reply all
Reply to author
Forward
0 new messages