org.jvnet.hudson.reactor.ReactorException: java.lang.Error: Unable to find /Users/danielbeck/two-oh-test/target/jenkins-for-test/WEB-INF/plugins

Jenkins JIRA | Daniel Beck | 10 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Steps to reproduce: * {{mvn -U org.jenkins-ci.tools:maven-hpi-plugin:create}} * open {pom.xml}} and change {{jenkins.version}} to {{2.0}} * {{mvn clean verify}} Expected result: it works Actual result: {noformat}Running InjectedTest Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.752 sec <<< FAILURE! - in InjectedTest org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite(org.jvnet.hudson.test.junit.FailedTest) Time elapsed: 0.023 sec <<< ERROR! org.jvnet.hudson.reactor.ReactorException: java.lang.Error: Unable to find /Users/danielbeck/two-oh-test/target/jenkins-for-test/WEB-INF/plugins at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:269) at jenkins.InitReactorRunner.run(InitReactorRunner.java:44) at jenkins.model.Jenkins.executeReactor(Jenkins.java:1020) at jenkins.model.Jenkins.<init>(Jenkins.java:864) at hudson.model.Hudson.<init>(Hudson.java:85) at org.jvnet.hudson.test.HudsonTestCase.newHudson(HudsonTestCase.java:487) at org.jvnet.hudson.test.HudsonTestCase.setUp(HudsonTestCase.java:318) at org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite.setUp(JellyTestSuiteBuilder.java:143) at org.jvnet.hudson.test.junit.GroupedTest.run(GroupedTest.java:49) at junit.framework.TestSuite.runTest(TestSuite.java:252) at junit.framework.TestSuite.run(TestSuite.java:247) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:283) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:173) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:128) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103) Caused by: java.lang.Error: Unable to find /Users/danielbeck/two-oh-test/target/jenkins-for-test/WEB-INF/plugins at org.jvnet.hudson.test.TestPluginManager.loadBundledPlugins(TestPluginManager.java:70) at hudson.PluginManager$1$1.run(PluginManager.java:272) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$8.runTask(Jenkins.java:1009) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744){noformat} Lack of 'jenkins-test-harness' component means I'm filing against core.

    Jenkins JIRA | 10 months ago | Daniel Beck
    org.jvnet.hudson.reactor.ReactorException: java.lang.Error: Unable to find /Users/danielbeck/two-oh-test/target/jenkins-for-test/WEB-INF/plugins
  2. 0

    Steps to reproduce: * {{mvn -U org.jenkins-ci.tools:maven-hpi-plugin:create}} * open {pom.xml}} and change {{jenkins.version}} to {{2.0}} * {{mvn clean verify}} Expected result: it works Actual result: {noformat}Running InjectedTest Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.752 sec <<< FAILURE! - in InjectedTest org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite(org.jvnet.hudson.test.junit.FailedTest) Time elapsed: 0.023 sec <<< ERROR! org.jvnet.hudson.reactor.ReactorException: java.lang.Error: Unable to find /Users/danielbeck/two-oh-test/target/jenkins-for-test/WEB-INF/plugins at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:269) at jenkins.InitReactorRunner.run(InitReactorRunner.java:44) at jenkins.model.Jenkins.executeReactor(Jenkins.java:1020) at jenkins.model.Jenkins.<init>(Jenkins.java:864) at hudson.model.Hudson.<init>(Hudson.java:85) at org.jvnet.hudson.test.HudsonTestCase.newHudson(HudsonTestCase.java:487) at org.jvnet.hudson.test.HudsonTestCase.setUp(HudsonTestCase.java:318) at org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite.setUp(JellyTestSuiteBuilder.java:143) at org.jvnet.hudson.test.junit.GroupedTest.run(GroupedTest.java:49) at junit.framework.TestSuite.runTest(TestSuite.java:252) at junit.framework.TestSuite.run(TestSuite.java:247) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:283) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:173) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:128) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103) Caused by: java.lang.Error: Unable to find /Users/danielbeck/two-oh-test/target/jenkins-for-test/WEB-INF/plugins at org.jvnet.hudson.test.TestPluginManager.loadBundledPlugins(TestPluginManager.java:70) at hudson.PluginManager$1$1.run(PluginManager.java:272) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$8.runTask(Jenkins.java:1009) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744){noformat} Lack of 'jenkins-test-harness' component means I'm filing against core.

    Jenkins JIRA | 10 months ago | Daniel Beck
    org.jvnet.hudson.reactor.ReactorException: java.lang.Error: Unable to find /Users/danielbeck/two-oh-test/target/jenkins-for-test/WEB-INF/plugins

Root Cause Analysis

  1. java.lang.Error

    Unable to find /Users/danielbeck/two-oh-test/target/jenkins-for-test/WEB-INF/plugins

    at org.jvnet.hudson.test.TestPluginManager.loadBundledPlugins()
  2. Hudson :: Test Framework
    TestPluginManager.loadBundledPlugins
    1. org.jvnet.hudson.test.TestPluginManager.loadBundledPlugins(TestPluginManager.java:70)
    1 frame
  3. Hudson
    PluginManager$1$1.run
    1. hudson.PluginManager$1$1.run(PluginManager.java:272)
    1 frame
  4. init
    Reactor.runTask
    1. org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
    2. org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
    2 frames
  5. jenkins.model
    Jenkins$8.runTask
    1. jenkins.model.Jenkins$8.runTask(Jenkins.java:1009)
    1 frame
  6. init
    Reactor$Node.run
    1. org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
    2. org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
    2 frames
  7. Java RT
    ThreadPoolExecutor$Worker.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    2 frames