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

Swarm client tries to access a non existing directory

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • maven-plugin
    • None
    • Windows7 64bit

      Jenkins Master is running on a linux box with current swarm plugin installed. I download the client and started it on my windows maschine.

      The build is started with a strange command line argument -Dm3plugin.lib=D:\jenkins-slave\workspace\ci-parent-pom-commit\2.0.3 which points to a non existing directory. This causes the build to fail with an FileNotFoundException.

      When i create the directory manually, this build succeeds and the ../2.0.3 directory contains several jar files.

      Perhaps it is an misconfiguration by myself - but than it seems to be a documentation bug.

      Gestartet durch Benutzer anonymous
      Baue auf Slave guido-PC.fritz.box
      Checkout:ci-parent-pom-commit / D:\jenkins-slave\workspace\ci-parent-pom-commit - hudson.remoting.Channel@1e5dc39:guido-PC.fritz.box
      Using strategy: Default
      Last Built Revision: Revision def8521d9df13c1af1dfb77ac67b3b8079e55026 (origin/HEAD, origin/master)
      Checkout:ci-parent-pom-commit / D:\jenkins-slave\workspace\ci-parent-pom-commit - hudson.remoting.LocalChannel@5aad1d4
      Cloning the remote Git repository
      Cloning repository origin
      Fetching upstream changes from git@github.com:MehrCurry/ci-parent-pom.git
      Seen branch in repository origin/HEAD
      Seen branch in repository origin/master
      Commencing build of Revision def8521d9df13c1af1dfb77ac67b3b8079e55026 (origin/HEAD, origin/master)
      Checking out Revision def8521d9df13c1af1dfb77ac67b3b8079e55026 (origin/HEAD, origin/master)
      Warning : There are multiple branch changesets here
      Parsing POMs
      [ci-parent-pom-commit] $ java -Xmx1024m -Dm3plugin.lib=D:\jenkins-slave\workspace\ci-parent-pom-commit\2.0.3 -cp D:\jenkins-slave\maven3-agent.jar;D:\jenkins-slave\tools\Maven303\boot\plexus-classworlds-2.4.jar org.jvnet.hudson.maven3.agent.Maven3Main D:\jenkins-slave\tools\Maven303 D:\jenkins-slave\swarm-client-1.6-jar-with-dependencies.jar D:\jenkins-slave\maven3-interceptor.jar 64643
      Exception in thread "main" java.io.FileNotFoundException: D:\jenkins-slave\workspace\ci-parent-pom-commit\2.0.3
      at org.codehaus.plexus.classworlds.launcher.ConfigurationParser.loadGlob(ConfigurationParser.java:336)
      at org.codehaus.plexus.classworlds.launcher.ConfigurationParser.parse(ConfigurationParser.java:247)
      at org.codehaus.plexus.classworlds.launcher.Configurator.configure(Configurator.java:135)
      at org.codehaus.plexus.classworlds.launcher.Launcher.configure(Launcher.java:132)
      at org.jvnet.hudson.maven3.agent.Maven3Main.main(Maven3Main.java:106)
      at org.jvnet.hudson.maven3.agent.Maven3Main.main(Maven3Main.java:63)
      ERROR: Failed to launch Maven. Exit code = 1
      Build step 'Dependency analysis' marked build as failure
      Build did not succeed and the project is configured to only push after a successful build, so no pushing will occur.
      [ci-game] evaluating rule: Build result
      [ci-game] scored: -10.0
      [ci-game] evaluating rule: Increased number of failed tests
      [ci-game] evaluating rule: Increased number of passed tests
      [ci-game] evaluating rule: Decreased number of failed tests
      [ci-game] evaluating rule: Decreased number of passed tests
      Finished: FAILURE

          [JENKINS-10786] Swarm client tries to access a non existing directory

          Guido Zockoll added a comment -

          I would like to add that the project is being build with maven3. When i switch back to maven2 than the offending -Dm3plugin.lib disappears and all works fine.

          Guido Zockoll added a comment - I would like to add that the project is being build with maven3. When i switch back to maven2 than the offending -Dm3plugin.lib disappears and all works fine.

          sogabe added a comment -

          Which version of jenkins do you use?

          sogabe added a comment - Which version of jenkins do you use?

          Guido Zockoll added a comment -

          Jenkins 1.425 ... i downgraded from 1.426 due to the NPE Problem

          Guido Zockoll added a comment - Jenkins 1.425 ... i downgraded from 1.426 due to the NPE Problem

            Unassigned Unassigned
            mehrcurry Guido Zockoll
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: