Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-5505

slave cannot checkout correctly SVN repositories after upgrade from 1.335 to 1.343

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Blocker Blocker
    • subversion-plugin
    • None

      I use to following script to download slave.jar and start slave from ssh (initiated by hudson master).

      #!/bin/bash
      source /etc/profile
      /opt/applis/bin/downloadSlaveJar.sh
      java -jar /opt/data/slave.jar

      With version 1.335, all slaves are correctly working. When I migrate to hudson version 1.343, the slave starts correctly but each update of workspaces (configured with svn behind https apache server as reverse proxy) failed with this log message provided at the end of this message

      To know what's append, I've start the slave in debug mode and connect an eclipse workspace on it. The problem is that to do this action (update) the slave search for an SAX parser class from xerces jars in remoteClassLoader and doesn't found it.

      I've downloaded the xercesImple jar from my jboss server (which is running hudson master) and modify my script to load the slave with the downloaded jar in classpath :

      java -jar /opt/data/slave.jar -cp /opt/data/xercesImpl.jar

      All my jobs are now working fine.

      It seems you have problem of classpath dependencies in your remote classloader (especially when the required jar is in server libs, not WEB-INF one).

      regards,

      Ludovic SMADJA
      R&D - http://www.systar.com

      Log messages :

      Un changement dans la base de code a provoqué le lancement de ce job
      Construction à distance sur Calypso
      Reverting https://server/repositories/BBR/svn/BBrFundation/trunk
      Updating https://server/repositories/BBR/svn/BBrFundation/trunk
      remote file operation failed: /opt/data/build//workspace/FMK_trunk at hudson.remoting.Channel@2a43dfc2:Calypso
      Retrying after 10 seconds
      Reverting https://server/repositories/BBR/svn/BBrFundation/trunk
      Updating https://server/repositories/BBR/svn/BBrFundation/trunk
      remote file operation failed: /opt/data/build//workspace/FMK_trunk at hudson.remoting.Channel@2a43dfc2:Calypso
      Retrying after 10 seconds
      Reverting https://server/repositories/BBR/svn/BBrFundation/trunk
      Updating https://server/repositories/BBR/svn/BBrFundation/trunk
      remote file operation failed: /opt/data/build//workspace/FMK_trunk at hudson.remoting.Channel@2a43dfc2:Calypso
      Retrying after 10 seconds
      Reverting https://server/repositories/BBR/svn/BBrFundation/trunk
      Updating https://server/repositories/BBR/svn/BBrFundation/trunk
      remote file operation failed: /opt/data/build//workspace/FMK_trunk at hudson.remoting.Channel@2a43dfc2:Calypso
      Retrying after 10 seconds
      Reverting https://server/repositories/BBR/svn/BBrFundation/trunk
      Updating https://server/repositories/BBR/svn/BBrFundation/trunk
      remote file operation failed: /opt/data/build//workspace/FMK_trunk at hudson.remoting.Channel@2a43dfc2:Calypso
      Retrying after 10 seconds
      Reverting https://server/repositories/BBR/svn/BBrFundation/trunk
      Updating https://server/repositories/BBR/svn/BBrFundation/trunk
      remote file operation failed: /opt/data/build//workspace/FMK_trunk at hudson.remoting.Channel@2a43dfc2:Calypso
      Archiving artifacts
      Jabber notifier plugin: Sending notification to: castorls@tethys
      Jabber notifier plugin: Sending notification to: bruno@tethys
      Email was triggered for: Failure
      Sending email for trigger: Failure
      Sending email to: ludovic.smadja@systar.fr blateau@systar.fr
      Notifying upstream projects of job completion
      Finished: FAILURE

            Unassigned Unassigned
            castorls castorls
            Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: