[JIRA] (JENKINS-58636) Tests failing with mvn package

8 views
Skip to first unread message

abhiinblack@gmail.com (JIRA)

unread,
Jul 24, 2019, 6:03:03 AM7/24/19
to jenkinsc...@googlegroups.com
AB S created an issue
 
Jenkins / Bug JENKINS-58636
Tests failing with mvn package
Issue Type: Bug Bug
Assignee: ikedam
Components: groovy-label-assignment-plugin
Created: 2019-07-24 10:02
Environment: Windows 10, plugin version 1.2, java 1.8
Priority: Major Major
Reporter: AB S

-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running InjectedTest
Tests run: 10, Failures: 0, Errors: 10, Skipped: 0, Time elapsed: 14.067 sec <<< FAILURE! - in InjectedTest
org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite(org.jvnet.hudson.test.junit.FailedTest) Time elapsed: 0.006 sec <<< ERROR!
java.lang.ArrayIndexOutOfBoundsException: -1

testCliSanity(org.jvnet.hudson.test.PluginAutomaticTestBuilder$CliSanityTest) Time elapsed: 0.805 sec <<< ERROR!
java.lang.IllegalStateException: second instance

initializationError(org.junit.runner.manipulation.Filter) Time elapsed: 0 sec <<< ERROR!
java.lang.Exception: No tests found matching Method org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite(org.jvnet.hudson.test.junit.FailedTest) from org.junit.internal.requests.ClassRequest@743c6ce4

testCliSanity(org.jvnet.hudson.test.PluginAutomaticTestBuilder$CliSanityTest) Time elapsed: 1.26 sec <<< ERROR!
java.lang.ArrayIndexOutOfBoundsException: -1

testCliSanity(org.jvnet.hudson.test.PluginAutomaticTestBuilder$CliSanityTest) Time elapsed: 0.865 sec <<< ERROR!
java.lang.IllegalStateException: second instance

initializationError(org.junit.runner.manipulation.Filter) Time elapsed: 0 sec <<< ERROR!
java.lang.Exception: No runnable methods

initializationError(org.junit.runner.manipulation.Filter) Time elapsed: 0 sec <<< ERROR!
java.lang.Exception: No runnable methods

testCliSanity(org.jvnet.hudson.test.PluginAutomaticTestBuilder$CliSanityTest) Time elapsed: 1.121 sec <<< ERROR!
java.lang.ArrayIndexOutOfBoundsException: -1

testCliSanity(org.jvnet.hudson.test.PluginAutomaticTestBuilder$CliSanityTest) Time elapsed: 0.846 sec <<< ERROR!
java.lang.IllegalStateException: second instance

initializationError(org.junit.runner.manipulation.Filter) Time elapsed: 0.001 sec <<< ERROR!
java.lang.Exception: No runnable methods

Running jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest
Tests run: 60, Failures: 0, Errors: 60, Skipped: 0, Time elapsed: 20.159 sec <<< FAILURE! - in jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest
testLabelIsOnceRemoved(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest) Time elapsed: 0.482 sec <<< ERROR!
java.lang.ArrayIndexOutOfBoundsException: -1

testMatrixProjectWithoutGroovyLabelAssignmentProperty(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest) Time elapsed: 0.1 sec <<< ERROR!
java.lang.IllegalStateException: second instance

testCurrentJobWithMatrixProject(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest) Time elapsed: 0.635 sec <<< ERROR!
java.lang.ArrayIndexOutOfBoundsException: -1

testConfiguration1(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest) Time elapsed: 0.117 sec <<< ERROR!
java.lang.IllegalStateException: second instance

testConfiguration2(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest) Time elapsed: 0.59 sec <<< ERROR!
java.lang.ArrayIndexOutOfBoundsException: -1

testMigrationFrom1_1_1(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest) Time elapsed: 0.113 sec <<< ERROR!
java.lang.IllegalStateException: second instance

testMatrixProjectWithGroovyLabelAssignmentProperty(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest) Time elapsed: 0.438 sec <<< ERROR!
java.lang.ArrayIndexOutOfBoundsException: -1

testNoConfiguration(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest) Time elapsed: 0.093 sec <<< ERROR!
java.lang.IllegalStateException: second instance

testCurrentJobWithFreeStyleProject(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest) Time elapsed: 0.486 sec <<< ERROR!
java.lang.ArrayIndexOutOfBoundsException: -1

testFreeStyleProjectWithGroovyLabelAssignmentProperty(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest) Time elapsed: 0.111 sec <<< ERROR!
java.lang.IllegalStateException: second instance

testFreeStyleProjectWithoutGroovyLabelAssignmentProperty(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest) Time elapsed: 0.51 sec <<< ERROR!
java.lang.ArrayIndexOutOfBoundsException: -1

testGroovyLabelAssignmentPropertyError(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest) Time elapsed: 0.076 sec <<< ERROR!
java.lang.IllegalStateException: second instance

testCurrentJobWithFreeStyleProject(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest) Time elapsed: 0.441 sec <<< ERROR!
java.lang.ArrayIndexOutOfBoundsException: -1

testConfiguration2(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest) Time elapsed: 0.084 sec <<< ERROR!
java.lang.IllegalStateException: second instance

testNoConfiguration(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest) Time elapsed: 0.523 sec <<< ERROR!
java.lang.ArrayIndexOutOfBoundsException: -1

testMatrixProjectWithGroovyLabelAssignmentProperty(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest) Time elapsed: 0.083 sec <<< ERROR!
java.lang.IllegalStateException: second instance

testGroovyLabelAssignmentPropertyError(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest) Time elapsed: 0.583 sec <<< ERROR!
java.lang.ArrayIndexOutOfBoundsException: -1

testMatrixProjectWithoutGroovyLabelAssignmentProperty(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest) Time elapsed: 0.083 sec <<< ERROR!
java.lang.IllegalStateException: second instance

testConfiguration1(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest) Time elapsed: 0.541 sec <<< ERROR!
java.lang.ArrayIndexOutOfBoundsException: -1

testMigrationFrom1_1_1(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest) Time elapsed: 0.097 sec <<< ERROR!
java.lang.IllegalStateException: second instance

testLabelIsOnceRemoved(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest) Time elapsed: 0.531 sec <<< ERROR!
java.lang.ArrayIndexOutOfBoundsException: -1

testFreeStyleProjectWithGroovyLabelAssignmentProperty(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest) Time elapsed: 0.095 sec <<< ERROR!
java.lang.IllegalStateException: second instance

testFreeStyleProjectWithoutGroovyLabelAssignmentProperty(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest) Time elapsed: 0.449 sec <<< ERROR!
java.lang.ArrayIndexOutOfBoundsException: -1

testCurrentJobWithMatrixProject(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest) Time elapsed: 0.082 sec <<< ERROR!
java.lang.IllegalStateException: second instance

testCurrentJobWithMatrixProject(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest) Time elapsed: 0.543 sec <<< ERROR!
java.lang.ArrayIndexOutOfBoundsException: -1

testMigrationFrom1_1_1(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest) Time elapsed: 0.089 sec <<< ERROR!
java.lang.IllegalStateException: second instance

testFreeStyleProjectWithGroovyLabelAssignmentProperty(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest) Time elapsed: 0.603 sec <<< ERROR!
java.lang.ArrayIndexOutOfBoundsException: -1

testConfiguration2(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest) Time elapsed: 0.083 sec <<< ERROR!
java.lang.IllegalStateException: second instance

testMatrixProjectWithoutGroovyLabelAssignmentProperty(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest) Time elapsed: 0.57 sec <<< ERROR!
java.lang.ArrayIndexOutOfBoundsException: -1

testGroovyLabelAssignmentPropertyError(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest) Time elapsed: 0.088 sec <<< ERROR!
java.lang.IllegalStateException: second instance

testFreeStyleProjectWithoutGroovyLabelAssignmentProperty(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest) Time elapsed: 0.523 sec <<< ERROR!
java.lang.ArrayIndexOutOfBoundsException: -1

testConfiguration1(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest) Time elapsed: 0.093 sec <<< ERROR!
java.lang.IllegalStateException: second instance

testMatrixProjectWithGroovyLabelAssignmentProperty(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest) Time elapsed: 0.566 sec <<< ERROR!
java.lang.ArrayIndexOutOfBoundsException: -1

testNoConfiguration(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest) Time elapsed: 0.078 sec <<< ERROR!
java.lang.IllegalStateException: second instance

testLabelIsOnceRemoved(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest) Time elapsed: 0.546 sec <<< ERROR!
java.lang.ArrayIndexOutOfBoundsException: -1

testCurrentJobWithFreeStyleProject(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest) Time elapsed: 0.081 sec <<< ERROR!
java.lang.IllegalStateException: second instance

testFreeStyleProjectWithGroovyLabelAssignmentProperty(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest) Time elapsed: 0.472 sec <<< ERROR!
java.lang.ArrayIndexOutOfBoundsException: -1

testGroovyLabelAssignmentPropertyError(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest) Time elapsed: 0.086 sec <<< ERROR!
java.lang.IllegalStateException: second instance

testMatrixProjectWithGroovyLabelAssignmentProperty(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest) Time elapsed: 0.764 sec <<< ERROR!
java.lang.ArrayIndexOutOfBoundsException: -1

testLabelIsOnceRemoved(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest) Time elapsed: 0.083 sec <<< ERROR!
java.lang.IllegalStateException: second instance

testConfiguration1(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest) Time elapsed: 0.789 sec <<< ERROR!
java.lang.ArrayIndexOutOfBoundsException: -1

testMatrixProjectWithoutGroovyLabelAssignmentProperty(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest) Time elapsed: 0.079 sec <<< ERROR!
java.lang.IllegalStateException: second instance

testConfiguration2(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest) Time elapsed: 0.501 sec <<< ERROR!
java.lang.ArrayIndexOutOfBoundsException: -1

testCurrentJobWithFreeStyleProject(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest) Time elapsed: 0.079 sec <<< ERROR!
java.lang.IllegalStateException: second instance

testCurrentJobWithMatrixProject(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest) Time elapsed: 0.526 sec <<< ERROR!
java.lang.ArrayIndexOutOfBoundsException: -1

testNoConfiguration(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest) Time elapsed: 0.089 sec <<< ERROR!
java.lang.IllegalStateException: second instance

testMigrationFrom1_1_1(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest) Time elapsed: 0.149 sec <<< ERROR!
org.jvnet.hudson.reactor.ReactorException: hudson.util.IOException2: Unable to read C:\Users\ABHINA~1.SIN\AppData\Local\Temp\hudson7175449697619618300test\config.xml
Caused by: hudson.util.IOException2: Unable to read C:\Users\ABHINA~1.SIN\AppData\Local\Temp\hudson7175449697619618300test\config.xml
Caused by: com.thoughtworks.xstream.converters.ConversionException:
-1 : -1
---- Debugging information ----
message : -1
cause-exception : java.lang.ArrayIndexOutOfBoundsException
cause-message : -1
class : hudson.model.Hudson
required-type : hudson.model.Hudson
converter-type : hudson.util.RobustReflectionConverter
path : /hudson/version
line number : 3
version : null
-------------------------------
Caused by: java.lang.ArrayIndexOutOfBoundsException: -1

testFreeStyleProjectWithoutGroovyLabelAssignmentProperty(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest) Time elapsed: 0.612 sec <<< ERROR!
java.lang.ArrayIndexOutOfBoundsException: -1

testFreeStyleProjectWithGroovyLabelAssignmentProperty(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest) Time elapsed: 0.082 sec <<< ERROR!
java.lang.IllegalStateException: second instance

testGroovyLabelAssignmentPropertyError(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest) Time elapsed: 0.62 sec <<< ERROR!
java.lang.ArrayIndexOutOfBoundsException: -1

testNoConfiguration(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest) Time elapsed: 0.095 sec <<< ERROR!
java.lang.IllegalStateException: second instance

testFreeStyleProjectWithoutGroovyLabelAssignmentProperty(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest) Time elapsed: 0.674 sec <<< ERROR!
java.lang.ArrayIndexOutOfBoundsException: -1

testMatrixProjectWithGroovyLabelAssignmentProperty(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest) Time elapsed: 0.082 sec <<< ERROR!
java.lang.IllegalStateException: second instance

testCurrentJobWithMatrixProject(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest) Time elapsed: 0.939 sec <<< ERROR!
java.lang.ArrayIndexOutOfBoundsException: -1

testMigrationFrom1_1_1(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest) Time elapsed: 0.087 sec <<< ERROR!
java.lang.IllegalStateException: second instance

testLabelIsOnceRemoved(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest) Time elapsed: 0.628 sec <<< ERROR!
java.lang.ArrayIndexOutOfBoundsException: -1

testCurrentJobWithFreeStyleProject(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest) Time elapsed: 0.074 sec <<< ERROR!
java.lang.IllegalStateException: second instance

testConfiguration1(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest) Time elapsed: 0.833 sec <<< ERROR!
java.lang.ArrayIndexOutOfBoundsException: -1

testMatrixProjectWithoutGroovyLabelAssignmentProperty(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest) Time elapsed: 0.077 sec <<< ERROR!
java.lang.IllegalStateException: second instance

testConfiguration2(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest) Time elapsed: 0.512 sec <<< ERROR!
java.lang.ArrayIndexOutOfBoundsException: -1

Results :

Tests in error:
jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest.testConfiguration1(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest)
Run 1: GroovyLabelAssignmentPropertyJenkinsTest.testConfiguration1 » IllegalState sec...
Run 2: GroovyLabelAssignmentPropertyJenkinsTest.testConfiguration1 » ArrayIndexOutOfBounds
Run 3: GroovyLabelAssignmentPropertyJenkinsTest.testConfiguration1 » IllegalState sec...
Run 4: GroovyLabelAssignmentPropertyJenkinsTest.testConfiguration1 » ArrayIndexOutOfBounds
Run 5: GroovyLabelAssignmentPropertyJenkinsTest.testConfiguration1 » ArrayIndexOutOfBounds

jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest.testConfiguration2(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest)
Run 1: GroovyLabelAssignmentPropertyJenkinsTest.testConfiguration2 » ArrayIndexOutOfBounds
Run 2: GroovyLabelAssignmentPropertyJenkinsTest.testConfiguration2 » IllegalState sec...
Run 3: GroovyLabelAssignmentPropertyJenkinsTest.testConfiguration2 » IllegalState sec...
Run 4: GroovyLabelAssignmentPropertyJenkinsTest.testConfiguration2 » ArrayIndexOutOfBounds
Run 5: GroovyLabelAssignmentPropertyJenkinsTest.testConfiguration2 » ArrayIndexOutOfBounds

jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest.testCurrentJobWithFreeStyleProject(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest)
Run 1: GroovyLabelAssignmentPropertyJenkinsTest.testCurrentJobWithFreeStyleProject » ArrayIndexOutOfBounds
Run 2: GroovyLabelAssignmentPropertyJenkinsTest.testCurrentJobWithFreeStyleProject » ArrayIndexOutOfBounds
Run 3: GroovyLabelAssignmentPropertyJenkinsTest.testCurrentJobWithFreeStyleProject » IllegalState
Run 4: GroovyLabelAssignmentPropertyJenkinsTest.testCurrentJobWithFreeStyleProject » IllegalState
Run 5: GroovyLabelAssignmentPropertyJenkinsTest.testCurrentJobWithFreeStyleProject » IllegalState

jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest.testCurrentJobWithMatrixProject(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest)
Run 1: GroovyLabelAssignmentPropertyJenkinsTest.testCurrentJobWithMatrixProject » ArrayIndexOutOfBounds
Run 2: GroovyLabelAssignmentPropertyJenkinsTest.testCurrentJobWithMatrixProject » IllegalState
Run 3: GroovyLabelAssignmentPropertyJenkinsTest.testCurrentJobWithMatrixProject » ArrayIndexOutOfBounds
Run 4: GroovyLabelAssignmentPropertyJenkinsTest.testCurrentJobWithMatrixProject » ArrayIndexOutOfBounds
Run 5: GroovyLabelAssignmentPropertyJenkinsTest.testCurrentJobWithMatrixProject » ArrayIndexOutOfBounds

jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest.testFreeStyleProjectWithGroovyLabelAssignmentProperty(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest)
Run 1: GroovyLabelAssignmentPropertyJenkinsTest.testFreeStyleProjectWithGroovyLabelAssignmentProperty » IllegalState
Run 2: GroovyLabelAssignmentPropertyJenkinsTest.testFreeStyleProjectWithGroovyLabelAssignmentProperty » IllegalState
Run 3: GroovyLabelAssignmentPropertyJenkinsTest.testFreeStyleProjectWithGroovyLabelAssignmentProperty » ArrayIndexOutOfBounds
Run 4: GroovyLabelAssignmentPropertyJenkinsTest.testFreeStyleProjectWithGroovyLabelAssignmentProperty » ArrayIndexOutOfBounds
Run 5: GroovyLabelAssignmentPropertyJenkinsTest.testFreeStyleProjectWithGroovyLabelAssignmentProperty » IllegalState

jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest.testFreeStyleProjectWithoutGroovyLabelAssignmentProperty(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest)
Run 1: GroovyLabelAssignmentPropertyJenkinsTest.testFreeStyleProjectWithoutGroovyLabelAssignmentProperty » ArrayIndexOutOfBounds
Run 2: GroovyLabelAssignmentPropertyJenkinsTest.testFreeStyleProjectWithoutGroovyLabelAssignmentProperty » ArrayIndexOutOfBounds
Run 3: GroovyLabelAssignmentPropertyJenkinsTest.testFreeStyleProjectWithoutGroovyLabelAssignmentProperty » ArrayIndexOutOfBounds
Run 4: GroovyLabelAssignmentPropertyJenkinsTest.testFreeStyleProjectWithoutGroovyLabelAssignmentProperty » ArrayIndexOutOfBounds
Run 5: GroovyLabelAssignmentPropertyJenkinsTest.testFreeStyleProjectWithoutGroovyLabelAssignmentProperty » ArrayIndexOutOfBounds

jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest.testGroovyLabelAssignmentPropertyError(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest)
Run 1: GroovyLabelAssignmentPropertyJenkinsTest.testGroovyLabelAssignmentPropertyError » IllegalState
Run 2: GroovyLabelAssignmentPropertyJenkinsTest.testGroovyLabelAssignmentPropertyError » ArrayIndexOutOfBounds
Run 3: GroovyLabelAssignmentPropertyJenkinsTest.testGroovyLabelAssignmentPropertyError » IllegalState
Run 4: GroovyLabelAssignmentPropertyJenkinsTest.testGroovyLabelAssignmentPropertyError » IllegalState
Run 5: GroovyLabelAssignmentPropertyJenkinsTest.testGroovyLabelAssignmentPropertyError » ArrayIndexOutOfBounds

jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest.testLabelIsOnceRemoved(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest)
Run 1: GroovyLabelAssignmentPropertyJenkinsTest.testLabelIsOnceRemoved » ArrayIndexOutOfBounds
Run 2: GroovyLabelAssignmentPropertyJenkinsTest.testLabelIsOnceRemoved » ArrayIndexOutOfBounds
Run 3: GroovyLabelAssignmentPropertyJenkinsTest.testLabelIsOnceRemoved » ArrayIndexOutOfBounds
Run 4: GroovyLabelAssignmentPropertyJenkinsTest.testLabelIsOnceRemoved » IllegalState
Run 5: GroovyLabelAssignmentPropertyJenkinsTest.testLabelIsOnceRemoved » ArrayIndexOutOfBounds

jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest.testMatrixProjectWithGroovyLabelAssignmentProperty(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest)
Run 1: GroovyLabelAssignmentPropertyJenkinsTest.testMatrixProjectWithGroovyLabelAssignmentProperty » ArrayIndexOutOfBounds
Run 2: GroovyLabelAssignmentPropertyJenkinsTest.testMatrixProjectWithGroovyLabelAssignmentProperty » IllegalState
Run 3: GroovyLabelAssignmentPropertyJenkinsTest.testMatrixProjectWithGroovyLabelAssignmentProperty » ArrayIndexOutOfBounds
Run 4: GroovyLabelAssignmentPropertyJenkinsTest.testMatrixProjectWithGroovyLabelAssignmentProperty » ArrayIndexOutOfBounds
Run 5: GroovyLabelAssignmentPropertyJenkinsTest.testMatrixProjectWithGroovyLabelAssignmentProperty » IllegalState

jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest.testMatrixProjectWithoutGroovyLabelAssignmentProperty(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest)
Run 1: GroovyLabelAssignmentPropertyJenkinsTest.testMatrixProjectWithoutGroovyLabelAssignmentProperty » IllegalState
Run 2: GroovyLabelAssignmentPropertyJenkinsTest.testMatrixProjectWithoutGroovyLabelAssignmentProperty » IllegalState
Run 3: GroovyLabelAssignmentPropertyJenkinsTest.testMatrixProjectWithoutGroovyLabelAssignmentProperty » ArrayIndexOutOfBounds
Run 4: GroovyLabelAssignmentPropertyJenkinsTest.testMatrixProjectWithoutGroovyLabelAssignmentProperty » IllegalState
Run 5: GroovyLabelAssignmentPropertyJenkinsTest.testMatrixProjectWithoutGroovyLabelAssignmentProperty » IllegalState

jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest.testMigrationFrom1_1_1(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest)
Run 1: GroovyLabelAssignmentPropertyJenkinsTest.testMigrationFrom1_1_1 » IllegalState
Run 2: GroovyLabelAssignmentPropertyJenkinsTest.testMigrationFrom1_1_1 » IllegalState
Run 3: GroovyLabelAssignmentPropertyJenkinsTest.testMigrationFrom1_1_1 » IllegalState
Run 4: GroovyLabelAssignmentPropertyJenkinsTest.testMigrationFrom1_1_1 » Reactor huds...
Run 5: GroovyLabelAssignmentPropertyJenkinsTest.testMigrationFrom1_1_1 » IllegalState

jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest.testNoConfiguration(jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentPropertyJenkinsTest)
Run 1: GroovyLabelAssignmentPropertyJenkinsTest.testNoConfiguration » IllegalState se...
Run 2: GroovyLabelAssignmentPropertyJenkinsTest.testNoConfiguration » ArrayIndexOutOfBounds
Run 3: GroovyLabelAssignmentPropertyJenkinsTest.testNoConfiguration » IllegalState se...
Run 4: GroovyLabelAssignmentPropertyJenkinsTest.testNoConfiguration » IllegalState se...
Run 5: GroovyLabelAssignmentPropertyJenkinsTest.testNoConfiguration » IllegalState se...

org.junit.runner.manipulation.Filter.initializationError(org.junit.runner.manipulation.Filter)
Run 1: Filter.initializationError » No tests found matching Method org.jvnet.hudson....
Run 2: Filter.initializationError » No runnable methods
Run 3: Filter.initializationError » No runnable methods
Run 4: Filter.initializationError » No runnable methods

org.jvnet.hudson.test.PluginAutomaticTestBuilder$CliSanityTest.testCliSanity(org.jvnet.hudson.test.PluginAutomaticTestBuilder$CliSanityTest)
Run 1: PluginAutomaticTestBuilder$CliSanityTest>HudsonTestCase.runBare:296->HudsonTestCase.setUp:318->HudsonTestCase.newHudson:481 » IllegalState
Run 2: PluginAutomaticTestBuilder$CliSanityTest>HudsonTestCase.runBare:296->HudsonTestCase.setUp:326 » ArrayIndexOutOfBounds
Run 3: PluginAutomaticTestBuilder$CliSanityTest>HudsonTestCase.runBare:296->HudsonTestCase.setUp:318->HudsonTestCase.newHudson:481 » IllegalState
Run 4: PluginAutomaticTestBuilder$CliSanityTest>HudsonTestCase.runBare:296->HudsonTestCase.setUp:326 » ArrayIndexOutOfBounds
Run 5: PluginAutomaticTestBuilder$CliSanityTest>HudsonTestCase.runBare:296->HudsonTestCase.setUp:318->HudsonTestCase.newHudson:481 » IllegalState

FailedTest.org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite » ArrayIndexOutOfBounds

Tests run: 15, Failures: 0, Errors: 15, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 56.860 s
[INFO] Finished at: 2019-07-24T15:30:59+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project groovy-label-assignment: There are test failures.
[ERROR]
[ERROR] Please refer to C:\Users\abhinavkumar.singh\Downloads\groovy-label-assignment-plugin-master\target\surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

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

devld@ikedam.jp (JIRA)

unread,
Jul 24, 2019, 4:53:02 PM7/24/19
to jenkinsc...@googlegroups.com
ikedam updated Bug JENKINS-58636
 

See JENKINS-18537.

It can be fixed with any of following ways:

  • Target jenkins 1.557 or 1554.1 or later.
  • Use java6. Using a docker image is the easy way to prepare an environment.
  • Add xstream-1.4.7-jenkins-1 as test dependency.
Change By: ikedam
Status: Open Fixed but Unreleased
Assignee: ikedam AB S
Resolution: Duplicate

abhiinblack@gmail.com (JIRA)

unread,
Jul 25, 2019, 12:56:02 PM7/25/19
to jenkinsc...@googlegroups.com
AB S commented on Bug JENKINS-58636
 
Re: Tests failing with mvn package

I tried to change the following in plugin POM and try 'mvn clean package':

1- <java.level>6</java.level> (was 5 by default), did not work. Same error as in this Jira issue description

2-  <jenkins.version>1.557</jenkins.version>
<jenkins-test-harness.version>1.557</jenkins-test-harness.version>

(earlier 1.509), now its giving the error:

 

 

[INFO] — maven-compiler-plugin:3.3:testCompile (default-testCompile) @ groovy-label-assignment —
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 3 source files to C:\Users\abhinavkumar.singh\Downloads\groovy-label-assignment-plugin-master\target\test-classes
[INFO] /C:/Users/abhinavkumar.singh/Downloads/groovy-label-assignment-plugin-master/src/test/java/jp/ikedam/jenkins/plugins/groovy_label_assignment/GroovyLabelAssignmentJenkinsRule.java: C:\Users\abhinavkumar.singh\Downloads\groovy-label-assignment-plugin-master\src\test\java\jp\ikedam\jenkins\plugins\groovy_label_assignment\GroovyLabelAssignmentJenkinsRule.java uses or overrides a deprecated API.
[INFO] /C:/Users/abhinavkumar.singh/Downloads/groovy-label-assignment-plugin-master/src/test/java/jp/ikedam/jenkins/plugins/groovy_label_assignment/GroovyLabelAssignmentJenkinsRule.java: Recompile with -Xlint:deprecation for details.
[INFO] /C:/Users/abhinavkumar.singh/Downloads/groovy-label-assignment-plugin-master/target/generated-test-sources/injected/InjectedTest.java: C:\Users\abhinavkumar.singh\Downloads\groovy-label-assignment-plugin-master\target\generated-test-sources\injected\InjectedTest.java uses unchecked or unsafe operations.
[INFO] /C:/Users/abhinavkumar.singh/Downloads/groovy-label-assignment-plugin-master/target/generated-test-sources/injected/InjectedTest.java: Recompile with -Xlint:unchecked for details.
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /C:/Users/abhinavkumar.singh/Downloads/groovy-label-assignment-plugin-master/src/test/java/jp/ikedam/jenkins/plugins/groovy_label_assignment/GroovyLabelAssignmentJenkinsRule.java:[58,20] before() in jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentJenkinsRule cannot override before() in org.jvnet.hudson.test.JenkinsRule
attempting to assign weaker access privileges; was public
[ERROR] /C:/Users/abhinavkumar.singh/Downloads/groovy-label-assignment-plugin-master/src/test/java/jp/ikedam/jenkins/plugins/groovy_label_assignment/GroovyLabelAssignmentJenkinsRule.java:[93,20] after() in jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentJenkinsRule cannot override after() in org.jvnet.hudson.test.JenkinsRule
attempting to assign weaker access privileges; was public
[INFO] 2 errors
[INFO] -------------------------------------------------------------


[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------

[INFO] Total time: 02:46 min
[INFO] Finished at: 2019-07-25T22:17:36+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:testCompile (default-testCompile) on project groovy-label-assignment: Compilation failure: Compilation failure:
[ERROR] /C:/Users/abhinavkumar.singh/Downloads/groovy-label-assignment-plugin-master/src/test/java/jp/ikedam/jenkins/plugins/groovy_label_assignment/GroovyLabelAssignmentJenkinsRule.java:[58,20] before() in jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentJenkinsRule cannot override before() in org.jvnet.hudson.test.JenkinsRule
[ERROR] attempting to assign weaker access privileges; was public
[ERROR] /C:/Users/abhinavkumar.singh/Downloads/groovy-label-assignment-plugin-master/src/test/java/jp/ikedam/jenkins/plugins/groovy_label_assignment/GroovyLabelAssignmentJenkinsRule.java:[93,20] after() in jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentJenkinsRule cannot override after() in org.jvnet.hudson.test.JenkinsRule
[ERROR] attempting to assign weaker access privileges; was public


[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

abhiinblack@gmail.com (JIRA)

unread,
Jul 25, 2019, 12:58:02 PM7/25/19
to jenkinsc...@googlegroups.com
AB S updated Bug JENKINS-58636
 
Change By: AB S
Resolution: Duplicate
Status: Fixed but Unreleased Reopened

abhiinblack@gmail.com (JIRA)

unread,
Jul 25, 2019, 1:09:02 PM7/25/19
to jenkinsc...@googlegroups.com
AB S commented on Bug JENKINS-58636
 
Re: Tests failing with mvn package

Update

I changed access level of before and after methods to public in file GroovyLabelAssignmentJenkinsRule.

Now the error is:

[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------

[ERROR] /C:/Users/abhinavkumar.singh/Downloads/groovy-label-assignment-plugin-master/src/test/java/jp/ikedam/jenkins/plugins/groovy_label_assignment/GroovyLabelAssignmentJenkinsRule.java:[103,20] unreported exception java.lang.Exception; must be caught or declared to be thrown
[INFO] 1 error


[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------

[INFO] Total time: 20.598 s
[INFO] Finished at: 2019-07-25T22:35:04+05:30


[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:testCompile (default-testCompile) on project groovy-label-assignment: Compilation failure

[ERROR] /C:/Users/abhinavkumar.singh/Downloads/groovy-label-assignment-plugin-master/src/test/java/jp/ikedam/jenkins/plugins/groovy_label_assignment/GroovyLabelAssignmentJenkinsRule.java:[103,20] unreported exception java.lang.Exception; must be caught or declared to be thrown

 

 

devld@ikedam.jp (JIRA)

unread,
Jul 25, 2019, 4:16:02 PM7/25/19
to jenkinsc...@googlegroups.com
ikedam updated an issue
 
Jenkins / Task JENKINS-58636
Change By: ikedam
Issue Type: Bug Task
Reply all
Reply to author
Forward
0 new messages