Google Groups | (JIRA) | 2 months ago
  1. 0

    Hello, I have recently started using the Amazon EC2 plugin to bring up Jenkins build slaves on demand. They are all created from the same AMI and set to shut down instead of terminate. The transition went very smoothly (as soon as the AMI had everything that was needed) however two of our builds are now misbehaving every single time. I've been able to find some very old slightly similar issues in Jira and Stackoverflow but nothing identical (and nothing using recent version of Jenkins). I am not 100% convinced the EC2 plugin has anything to do with this however this is when the problem started exhibiting. I've managed to narrow this issue to the 'Clean up unused Subversion modules' option in 'Build environment'. Whenever the build starts (either by SCM poll trigger or manually triggerred), the SCM checkout happens successfully (this is regardless of there being changes) and after the 'At revision xxx' message is printed out in the log, nothing happens anymore (no matter how long the job is left running) apart from the spinning circle. I have discovered that hitting the cancel button when in the console log page (top right next to the progress bar) will display a stacktrace in the build but the build will continue happily afterwards. Here's the stacktrace: {noformat} java.lang.InterruptedException at java.lang.Object.wait(Native Method) at at at hudson.FilePath.act( at hudson.FilePath.act( at hudson.FilePath.isDirectory( at jenkins.plugins.workspace_cleaner.FilePathAdapter.isDirectory( at jenkins.plugins.workspace_cleaner.ModuleCleaner.getSvnModulesIn( at jenkins.plugins.workspace_cleaner.ModuleCleaner.getSvnModulesIn( at jenkins.plugins.workspace_cleaner.ModuleCleaner.getSvnModulesIn( at jenkins.plugins.workspace_cleaner.ModuleCleaner.getSvnModulesInFileSystem( at jenkins.plugins.workspace_cleaner.ModuleCleaner.removeUnconfiguredModules( at jenkins.plugins.workspace_cleaner.JenkinsGlue.setUp( at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun( at hudson.model.AbstractBuild$ at hudson.model.Run.execute( at at hudson.model.ResourceController.execute( at {noformat} I've worked around this by disabling this option. Let me know if I can provide any more info that could help.

    Jenkins JIRA | 2 months ago | Simon SzumyƂowicz
  2. 0

    GitHub comment 18980#174621206

    GitHub | 9 months ago | lavalamp
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    [JIRA] [ec2-plugin] (JENKINS-15931) Build is hanging on newly created EC2 slaves

    Google Groups | 10 months ago | (JIRA)
  5. 0

    GitHub comment 24267#210178583

    GitHub | 6 months ago | lavalamp
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.InterruptedException

    No message provided

    at java.lang.Object.wait()
  2. Java RT
    1. java.lang.Object.wait(Native Method)
    1 frame
  3. Hudson :: Remoting Layer
    2 frames
  4. Hudson
    1. hudson.FilePath.act(
    2. hudson.FilePath.act(
    3. hudson.FilePath.isDirectory(
    3 frames
  5. jenkins.plugins.workspace_cleaner
    1. jenkins.plugins.workspace_cleaner.FilePathAdapter.isDirectory(
    2. jenkins.plugins.workspace_cleaner.ModuleCleaner.getSvnModulesIn(
    3. jenkins.plugins.workspace_cleaner.ModuleCleaner.getSvnModulesIn(
    4. jenkins.plugins.workspace_cleaner.ModuleCleaner.getSvnModulesIn(
    5. jenkins.plugins.workspace_cleaner.ModuleCleaner.getSvnModulesInFileSystem(
    6. jenkins.plugins.workspace_cleaner.ModuleCleaner.removeUnconfiguredModules(
    7. jenkins.plugins.workspace_cleaner.JenkinsGlue.setUp(
    7 frames
  6. Hudson Maven Embedder
    1. hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(
    1 frame
  7. Hudson
    1. hudson.model.AbstractBuild$
    2. hudson.model.Run.execute(
    2 frames
  8. Hudson Maven Embedder
    1 frame
  9. Hudson
    1. hudson.model.ResourceController.execute(
    2 frames