-
Bug
-
Resolution: Not A Defect
-
Major
-
None
-
The plugin build fails when trying maven build using Jdk 1.8.but it works fine in Jdk 1.7.
The plugin build fails when trying maven build using Jdk 1.8.but it works fine in Jdk 1.7.
Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building patch-parameter 1.3-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] — maven-hpi-plugin:1.93:validate (default-validate) @ patch-parameter —
[INFO]
[INFO] — maven-enforcer-plugin:1.0.1:enforce (enforce-maven) @ patch-parameter —
[INFO]
[INFO] — maven-enforcer-plugin:1.0.1:display-info (display-info) @ patch-parameter —
[INFO] Maven Version: 3.2.5
[INFO] JDK Version: 1.8.0_31 normalized as: 1.8.0-31
[INFO] OS Info: Arch: amd64 Family: dos Name: windows 7 Version: 6.1
[INFO]
[INFO] — maven-localizer-plugin:1.14:generate (default) @ patch-parameter —
[INFO]
[INFO] — maven-resources-plugin:2.5:resources (default-resources) @ patch-parameter —
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 4 resources
[INFO]
[INFO] — maven-compiler-plugin:2.5:compile (default-compile) @ patch-parameter —
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] — access-modifier-checker:1.4:enforce (default-enforce) @ patch-parameter —
[INFO]
[INFO] — maven-hpi-plugin:1.93:insert-test (default-insert-test) @ patch-parameter —
[INFO]
[INFO] — gmaven-plugin:1.3:generateTestStubs (test-in-groovy) @ patch-parameter —
[INFO] No sources found for Java stub generation
[INFO]
[INFO] — maven-resources-plugin:2.5:testResources (default-testResources) @ patch-parameter —
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] — maven-compiler-plugin:2.5:testCompile (default-testCompile) @ patch-parameter —
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] — maven-hpi-plugin:1.93:test-hpl (default-test-hpl) @ patch-parameter —
[INFO] Generating E:\views\patchpulgin\patch-parameter-plugin-master\target\test-classes\the.hpl
[INFO]
[INFO] — maven-hpi-plugin:1.93:resolve-test-dependencies (default-resolve-test-dependencies) @ patch-parameter —
[INFO]
[INFO] — gmaven-plugin:1.3:testCompile (test-in-groovy) @ patch-parameter —
[INFO] No sources found to compile
[INFO]
[INFO] — maven-surefire-plugin:2.9:test (default-test) @ patch-parameter —
[INFO] Surefire report directory: E:\views\patchpulgin\patch-parameter-plugin-master\target\surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running InjectedTest
Picking up existing exploded jenkins.war at E:\views\patchpulgin\patch-parameter-plugin-master\.\target\jenkins-for-test
Feb 27, 2015 9:25:33 AM org.mortbay.log.Slf4jLog info
INFO: Logging to org.slf4j.impl.JDK14LoggerAdapter(org.mortbay.log) via org.mortbay.log.Slf4jLog
Feb 27, 2015 9:25:33 AM org.mortbay.log.Slf4jLog info
INFO: jetty-6.1.26
Feb 27, 2015 9:25:36 AM org.mortbay.log.Slf4jLog info
INFO: NO JSP Support for , did not find org.apache.jasper.servlet.JspServlet
Feb 27, 2015 9:25:36 AM org.mortbay.log.Slf4jLog info
INFO: Copy E:\views\patchpulgin\patch-parameter-plugin-master\target\jenkins-for-test to C:\Users\shahh5\AppData\Local\Temp\Jetty_0_0_0_0_0_jenkins.for.test___.bj8wp3\webapp
Feb 27, 2015 9:25:38 AM org.mortbay.log.Slf4jLog info
INFO: Started SocketConnector@0.0.0.0:55769
Feb 27, 2015 9:25:38 AM jenkins.InitReactorRunner$1 onAttained
INFO: Started initialization
Feb 27, 2015 9:25:46 AM jenkins.InitReactorRunner$1 onAttained
INFO: Listed all plugins
Feb 27, 2015 9:25:46 AM jenkins.InitReactorRunner$1 onAttained
INFO: Prepared all plugins
Feb 27, 2015 9:25:46 AM jenkins.InitReactorRunner$1 onAttained
INFO: Started all plugins
Feb 27, 2015 9:25:46 AM jenkins.InitReactorRunner$1 onAttained
INFO: Augmented all extensions
Feb 27, 2015 9:25:46 AM jenkins.InitReactorRunner$1 onAttained
INFO: Loaded all jobs
Feb 27, 2015 9:25:48 AM jenkins.InitReactorRunner$1 onAttained
INFO: Completed initialization
Feb 27, 2015 9:25:48 AM hudson.TcpSlaveAgentListener <init>
INFO: JNLP slave agent listener started on TCP port 50034
Feb 27, 2015 9:25:48 AM org.mortbay.log.Slf4jLog info
INFO: jetty-6.1.26
Feb 27, 2015 9:25:55 AM org.mortbay.log.Slf4jLog info
INFO: NO JSP Support for , did not find org.apache.jasper.servlet.JspServlet
Feb 27, 2015 9:25:55 AM org.mortbay.log.Slf4jLog info
SEVERE: Timer task hudson.model.LoadStatistics$LoadStatisticsUpdater@34b396ce failed
java.lang.NoClassDefFoundError: Could not initialize class hudson.model.ComputerSet
at hudson.model.OverallLoadStatistics.computeTotalExecutors(OverallLoadStatistics.java:63)
at hudson.model.LoadStatistics.updateExecutorCounts(LoadStatistics.java:188)
at hudson.model.LoadStatistics$LoadStatisticsUpdater.doRun(LoadStatistics.java:226)
at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:54)
at java.util.TimerThread.mainLoop(Timer.java:555)
at java.util.TimerThread.run(Timer.java:505)
Feb 27, 2015 9:25:58 AM org.mortbay.log.Slf4jLog info
INFO: Started SocketConnector@0.0.0.0:50035
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 26.005 sec <<< FAILURE!
Running org.jenkinsci.plugins.patch.SomeTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.047 sec
Results :
Tests in error:
org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite(org.jvnet.hudson.test.junit.FailedTest): -1
testCliSanity(org.jvnet.hudson.test.PluginAutomaticTestBuilder$CliSanityTest): second instance
Tests run: 3, Failures: 0, Errors: 2, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 35.299 s
[INFO] Finished at: 2015-02-27T09:25:59-08:00
[INFO] Final Memory: 22M/362M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.9:test (default-test) on project patch-parameter: There are test failures.
Thank you for the help.
H Shah
- duplicates
-
JENKINS-18537 ArrayIndexOutOfBoundsException during Jenkins.doConfigSubmit; need XStream 1.4.6
- Resolved