Plugin Build fails with "JellyTestSuiteBuilder"

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Plugin Build fails with "JellyTestSuiteBuilder"

Stephan Watermeyer
I am trying to release a new version of my plugin but the build keeps failing with the exception

Caused by: java.lang.IllegalArgumentException: Comparison method violates its general contract! at java.util.ComparableTimSort.mergeLo(ComparableTimSort.java:744) at java.util.ComparableTimSort.mergeAt(ComparableTimSort.java:481) at java.util.ComparableTimSort.mergeCollapse(ComparableTimSort.java:406) at java.util.ComparableTimSort.sort(ComparableTimSort.java:213) at java.util.Arrays.sort(Arrays.java:1312) at java.util.Arrays.sort(Arrays.java:1506) at java.util.ArrayList.sort(ArrayList.java:1462) at java.util.Collections.sort(Collections.java:143) at hudson.ExtensionList.sort(ExtensionList.java:320) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:255) at hudson.ExtensionList.iterator(ExtensionList.java:143) at hudson.diagnosis.NullIdDescriptorMonitor.verify(NullIdDescriptorMonitor.java:68) at hudson.diagnosis.NullIdDescriptorMonitor.verifyId(NullIdDescriptorMonitor.java:89)  

I dont have a clue where the exception is comming from or what is wrong in my plugin. I would need some advise how to fix it.

Failing Build: 
https://ci.jenkins.io/job/Plugins/job/maven-artifact-choicelistprovider-plugin/job/master/58/testReport/junit/org.jvnet.hudson.test.junit/FailedTest/windows_8___Build__windows_8____org_jvnet_hudson_test_JellyTestSuiteBuilder$JellyTestSuite/

Code:
https://github.com/jenkinsci/maven-artifact-choicelistprovider-plugin

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/260866c9-2b2a-44a7-96fd-f8879382646cn%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: Plugin Build fails with "JellyTestSuiteBuilder"

Björn Pedersen
My first guess would be the  Jenkinsfile ( it seems like a null is passed where null is not expected:


buildPlugin(jenkinsVersions: [null, '1.651.2'], failFast: false)
                                                ^^ 
[hidden email] schrieb am Donnerstag, 28. Januar 2021 um 15:05:04 UTC+1:
I am trying to release a new version of my plugin but the build keeps failing with the exception

Caused by: java.lang.IllegalArgumentException: Comparison method violates its general contract! at java.util.ComparableTimSort.mergeLo(ComparableTimSort.java:744) at java.util.ComparableTimSort.mergeAt(ComparableTimSort.java:481) at java.util.ComparableTimSort.mergeCollapse(ComparableTimSort.java:406) at java.util.ComparableTimSort.sort(ComparableTimSort.java:213) at java.util.Arrays.sort(Arrays.java:1312) at java.util.Arrays.sort(Arrays.java:1506) at java.util.ArrayList.sort(ArrayList.java:1462) at java.util.Collections.sort(Collections.java:143) at hudson.ExtensionList.sort(ExtensionList.java:320) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:255) at hudson.ExtensionList.iterator(ExtensionList.java:143) at hudson.diagnosis.NullIdDescriptorMonitor.verify(NullIdDescriptorMonitor.java:68) at hudson.diagnosis.NullIdDescriptorMonitor.verifyId(NullIdDescriptorMonitor.java:89)  

I dont have a clue where the exception is comming from or what is wrong in my plugin. I would need some advise how to fix it.

Failing Build: 

Code:

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/0e708411-5e6f-4ff9-9441-0ab7781f23c3n%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: Plugin Build fails with "JellyTestSuiteBuilder"

Stephan Watermeyer
Thanks. But its also failing for local mvn builds. 
[hidden email] schrieb am Donnerstag, 28. Januar 2021 um 16:19:44 UTC+1:
My first guess would be the  Jenkinsfile ( it seems like a null is passed where null is not expected:


buildPlugin(jenkinsVersions: [null, '1.651.2'], failFast: false)
                                                ^^ 
[hidden email] schrieb am Donnerstag, 28. Januar 2021 um 15:05:04 UTC+1:
I am trying to release a new version of my plugin but the build keeps failing with the exception

Caused by: java.lang.IllegalArgumentException: Comparison method violates its general contract! at java.util.ComparableTimSort.mergeLo(ComparableTimSort.java:744) at java.util.ComparableTimSort.mergeAt(ComparableTimSort.java:481) at java.util.ComparableTimSort.mergeCollapse(ComparableTimSort.java:406) at java.util.ComparableTimSort.sort(ComparableTimSort.java:213) at java.util.Arrays.sort(Arrays.java:1312) at java.util.Arrays.sort(Arrays.java:1506) at java.util.ArrayList.sort(ArrayList.java:1462) at java.util.Collections.sort(Collections.java:143) at hudson.ExtensionList.sort(ExtensionList.java:320) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:255) at hudson.ExtensionList.iterator(ExtensionList.java:143) at hudson.diagnosis.NullIdDescriptorMonitor.verify(NullIdDescriptorMonitor.java:68) at hudson.diagnosis.NullIdDescriptorMonitor.verifyId(NullIdDescriptorMonitor.java:89)  

I dont have a clue where the exception is comming from or what is wrong in my plugin. I would need some advise how to fix it.

Failing Build: 

Code:

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/ef75343d-19fc-4e8a-91b2-049bac2eb07cn%40googlegroups.com.