org.jenkinsci.test.acceptance.po.UpdateCenter$InstallationFailedException: failed, see log

Google Groups | ogo...@gmail.com (JIRA) | 3 months ago
  1. 0

    [JIRA] (JENKINS-38015) @WithPlugins fail badly in case the plugin is not available in UC

    Google Groups | 3 months ago | ogo...@gmail.com (JIRA)
    org.jenkinsci.test.acceptance.po.UpdateCenter$InstallationFailedException: failed, see log
  2. 0

    Stacktrace: {noformat} org.jenkinsci.test.acceptance.po.UpdateCenter$InstallationFailedException: failed, see log at org.jenkinsci.test.acceptance.po.UpdateCenter.isInstalled(UpdateCenter.java:50) at org.jenkinsci.test.acceptance.po.UpdateCenter$1.call(UpdateCenter.java:73) at org.jenkinsci.test.acceptance.po.UpdateCenter$1.call(UpdateCenter.java:70) at org.jenkinsci.test.acceptance.junit.Wait$1.apply(Wait.java:78) at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:238) at org.jenkinsci.test.acceptance.junit.Wait.until(Wait.java:74) at org.jenkinsci.test.acceptance.po.UpdateCenter.waitForInstallationToComplete(UpdateCenter.java:70) at org.jenkinsci.test.acceptance.po.PluginManager.installPlugins(PluginManager.java:206) at org.jenkinsci.test.acceptance.junit.WithPlugins$RuleImpl$1.doInstall(WithPlugins.java:141) at org.jenkinsci.test.acceptance.junit.WithPlugins$RuleImpl$1.installPlugins(WithPlugins.java:121) at org.jenkinsci.test.acceptance.junit.WithPlugins$RuleImpl$1.evaluate(WithPlugins.java:92) at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55) at org.jenkinsci.test.acceptance.junit.JenkinsAcceptanceTestRule$1$2$1.evaluate(JenkinsAcceptanceTestRule.java:172) at org.jenkinsci.test.acceptance.junit.FilterRule$1.evaluate(FilterRule.java:63) at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55) at org.jenkinsci.test.acceptance.junit.JenkinsAcceptanceTestRule$1.evaluate(JenkinsAcceptanceTestRule.java:60) ... {noformat} Stdout: {noformat} ... master54727|Sep 03, 2016 9:30:38 PM hudson.PluginManager dynamicLoad master54727|INFO: Attempting to dynamic load /scratch/jenkins/workspace/core/acceptance-test-harness-stable/jenkins6214212410789716894home/plugins/cloudbees-folder.jpi master54727|Sep 03, 2016 9:30:38 PM hudson.model.UpdateCenter$DownloadJob run master54727|SEVERE: Failed to install cloudbees-folder master54727|java.io.IOException: Failed to dynamically deploy this plugin master54727| at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1883) master54727| at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1640) master54727| at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) master54727| at java.util.concurrent.FutureTask.run(FutureTask.java:262) master54727| at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:110) master54727| at java.lang.Thread.run(Thread.java:745) master54727|Caused by: java.io.IOException: Failed to install cloudbees-folder plugin master54727| at hudson.PluginManager.dynamicLoad(PluginManager.java:873) master54727| at hudson.PluginManager.dynamicLoad(PluginManager.java:813) master54727| at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1879) master54727| ... 5 more master54727|Caused by: java.io.IOException: Folders Plugin v5.12 failed to load. master54727| - Credentials Plugin v1.18 is older than required. To fix, install v2.0.4 or later. master54727| at hudson.PluginWrapper.resolvePluginDependencies(PluginWrapper.java:621) master54727| at hudson.PluginManager.dynamicLoad(PluginManager.java:863) master54727| ... 7 more ... {noformat} I lean towards failing such test with better message instead of skipping as that can mask tests referring to plugins or their versions that does not exist and never will (typo in annotation, etc.).

    Jenkins JIRA | 3 months ago | Oliver Gond┼ża
    org.jenkinsci.test.acceptance.po.UpdateCenter$InstallationFailedException: failed, see log

    Root Cause Analysis

    1. org.jenkinsci.test.acceptance.po.UpdateCenter$InstallationFailedException

      failed, see log

      at org.jenkinsci.test.acceptance.po.UpdateCenter.isInstalled()
    2. org.jenkinsci.test
      Wait$1.apply
      1. org.jenkinsci.test.acceptance.po.UpdateCenter.isInstalled(UpdateCenter.java:50)
      2. org.jenkinsci.test.acceptance.po.UpdateCenter$1.call(UpdateCenter.java:73)
      3. org.jenkinsci.test.acceptance.po.UpdateCenter$1.call(UpdateCenter.java:70)
      4. org.jenkinsci.test.acceptance.junit.Wait$1.apply(Wait.java:78)
      4 frames
    3. selenium-support
      FluentWait.until
      1. org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:238)
      1 frame
    4. org.jenkinsci.test
      WithPlugins$RuleImpl$1.evaluate
      1. org.jenkinsci.test.acceptance.junit.Wait.until(Wait.java:74)
      2. org.jenkinsci.test.acceptance.po.UpdateCenter.waitForInstallationToComplete(UpdateCenter.java:70)
      3. org.jenkinsci.test.acceptance.po.PluginManager.installPlugins(PluginManager.java:206)
      4. org.jenkinsci.test.acceptance.junit.WithPlugins$RuleImpl$1.doInstall(WithPlugins.java:141)
      5. org.jenkinsci.test.acceptance.junit.WithPlugins$RuleImpl$1.installPlugins(WithPlugins.java:121)
      6. org.jenkinsci.test.acceptance.junit.WithPlugins$RuleImpl$1.evaluate(WithPlugins.java:92)
      6 frames
    5. JUnit
      TestWatcher$1.evaluate
      1. org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
      1 frame
    6. org.jenkinsci.test
      FilterRule$1.evaluate
      1. org.jenkinsci.test.acceptance.junit.JenkinsAcceptanceTestRule$1$2$1.evaluate(JenkinsAcceptanceTestRule.java:172)
      2. org.jenkinsci.test.acceptance.junit.FilterRule$1.evaluate(FilterRule.java:63)
      2 frames
    7. JUnit
      TestWatcher$1.evaluate
      1. org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
      1 frame
    8. org.jenkinsci.test
      JenkinsAcceptanceTestRule$1.evaluate
      1. org.jenkinsci.test.acceptance.junit.JenkinsAcceptanceTestRule$1.evaluate(JenkinsAcceptanceTestRule.java:60)
      1 frame