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

After upgrade from 1.519 to 1.526 -> NumberFormatException occurs during maven 3 build

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Component/s: maven-plugin
    • Labels:
    • Environment:
    • Similar Issues:

      Description

      Builds of type Maven2/3 Build.

      Started by timer
      [EnvInject] - Loading node environment variables.
      Building remotely on KO.LINUX.05 in workspace XXXx
      
      Cleaning up /var/lib/jenkins/workspace/fb_g3his.tea.wma-root_deploy/.
      
      Updating XXXXXX/wma.3.1.x-fb/wma-root at revision '2013-08-18T22:00:13.715 +0200'
      At revision 134474
      
      no change for http://XXXXXX/wma.3.1.x-fb/wma-root since the previous build
      
      Parsing POMs
      
      Downloaded artifacts..... 
      
      [wma-root_deploy] $ /var/lib/jenkins/tools/jdk/jdk1.6.0_45/bin/java -Xmx580M -cp /var/lib/jenkins/maven3-agent.jar:/var/lib/jenkins/tools/maven/apache-maven-3.0.4/boot/plexus-classworlds-2.4.jar org.jvnet.hudson.maven3.agent.Maven3Main /var/lib/jenkins/tools/maven/apache-maven-3.0.4 /var/lib/jenkins/slave.jar /var/lib/jenkins/maven3-interceptor.jar /var/lib/jenkins/maven3-interceptor-commons.jar 48798
      Exception in thread "main" java.lang.NumberFormatException: For input string: "/var/lib/jenkins/maven3-interceptor-commons.jar"
      	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
      	at java.lang.Integer.parseInt(Integer.java:449)
      	at java.lang.Integer.parseInt(Integer.java:499)
      	at org.jvnet.hudson.maven3.agent.Maven3Main.main(Maven3Main.java:65)
      
      ERROR: Failed to launch Maven. Exit code = 1
      An attempt to send an e-mail to empty list of recipients, ignored.
      Notifying upstream projects of job completion
      Finished: FAILURE
      
      

      Other info:

      • What is funny that upgrade was done on Friday -> builds were working throught weekend without any biggers problems, on Monday this bug appears.
      • it affects about 50% of builds of most projects - undeterministic ...
        When builds passed corresponding maven line has the different numbers or arguments - without "/var/lib/jenkins/maven3-interceptor-commons.jar"
      [wma-root_deploy] $ /var/lib/jenkins/tools/jdk/jdk1.6.0_45/bin/java -Xmx580M -cp /var/lib/jenkins/maven3-agent.jar:/var/lib/jenkins/tools/maven/apache-maven-3.0.4/boot/plexus-classworlds-2.4.jar org.jvnet.hudson.maven3.agent.Maven3Main /var/lib/jenkins/tools/maven/apache-maven-3.0.4 /var/lib/jenkins/slave.jar /var/lib/jenkins/maven3-interceptor.jar 46450
      
      • when I rollback to 1.519 its gone
      • after week once again upgraded but to 1.527 and the same bug shown
      • rollback to 1.519 helped..

      I can deliver more info just need to know what...

        Attachments

          Issue Links

            Activity

            Hide
            kreyssel Conny Kreyßel added a comment -

            We run into the same problem. After deleting the maven3-*.jar's and restarting the node all runs fine.

            Show
            kreyssel Conny Kreyßel added a comment - We run into the same problem. After deleting the maven3-*.jar's and restarting the node all runs fine.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Jesse Glick
            Path:
            changelog.html
            maven-plugin/src/main/java/hudson/maven/AbstractMavenProcessFactory.java
            maven-plugin/src/main/java/hudson/maven/MavenProcessFactory.java
            http://jenkins-ci.org/commit/jenkins/6b6a69ec0d63986d82616794d5a7fcf93df14b0e
            Log:
            [FIXED JENKINS-19251] Use hashes rather than modification time to determine if Maven agent JARs are up to date.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: changelog.html maven-plugin/src/main/java/hudson/maven/AbstractMavenProcessFactory.java maven-plugin/src/main/java/hudson/maven/MavenProcessFactory.java http://jenkins-ci.org/commit/jenkins/6b6a69ec0d63986d82616794d5a7fcf93df14b0e Log: [FIXED JENKINS-19251] Use hashes rather than modification time to determine if Maven agent JARs are up to date.
            Hide
            dogfood dogfood added a comment -

            Integrated in jenkins_main_trunk #2907
            [FIXED JENKINS-19251] Use hashes rather than modification time to determine if Maven agent JARs are up to date. (Revision 6b6a69ec0d63986d82616794d5a7fcf93df14b0e)

            Result = SUCCESS
            Jesse Glick : 6b6a69ec0d63986d82616794d5a7fcf93df14b0e
            Files :

            • changelog.html
            • maven-plugin/src/main/java/hudson/maven/MavenProcessFactory.java
            • maven-plugin/src/main/java/hudson/maven/AbstractMavenProcessFactory.java
            Show
            dogfood dogfood added a comment - Integrated in jenkins_main_trunk #2907 [FIXED JENKINS-19251] Use hashes rather than modification time to determine if Maven agent JARs are up to date. (Revision 6b6a69ec0d63986d82616794d5a7fcf93df14b0e) Result = SUCCESS Jesse Glick : 6b6a69ec0d63986d82616794d5a7fcf93df14b0e Files : changelog.html maven-plugin/src/main/java/hudson/maven/MavenProcessFactory.java maven-plugin/src/main/java/hudson/maven/AbstractMavenProcessFactory.java
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Jesse Glick
            Path:
            src/main/java/hudson/maven/AbstractMavenProcessFactory.java
            src/main/java/hudson/maven/MavenProcessFactory.java
            http://jenkins-ci.org/commit/maven-plugin/92e23770a12e0815e81d72aa63ead9c04c1a8cc2
            Log:
            [FIXED JENKINS-19251] Use hashes rather than modification time to determine if Maven agent JARs are up to date.

            Originally-Committed-As: 6b6a69ec0d63986d82616794d5a7fcf93df14b0e

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: src/main/java/hudson/maven/AbstractMavenProcessFactory.java src/main/java/hudson/maven/MavenProcessFactory.java http://jenkins-ci.org/commit/maven-plugin/92e23770a12e0815e81d72aa63ead9c04c1a8cc2 Log: [FIXED JENKINS-19251] Use hashes rather than modification time to determine if Maven agent JARs are up to date. Originally-Committed-As: 6b6a69ec0d63986d82616794d5a7fcf93df14b0e
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Jesse Glick
            Path:
            maven-plugin/src/main/java/hudson/maven/AbstractMavenProcessFactory.java
            maven-plugin/src/main/java/hudson/maven/MavenProcessFactory.java
            http://jenkins-ci.org/commit/jenkins/022a98b8d3b6bcb8b0ff150ec194ee103de6fef6
            Log:
            [FIXED JENKINS-19251] Use hashes rather than modification time to determine if Maven agent JARs are up to date.

            (cherry picked from commit 6b6a69ec0d63986d82616794d5a7fcf93df14b0e)

            Conflicts:
            changelog.html

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: maven-plugin/src/main/java/hudson/maven/AbstractMavenProcessFactory.java maven-plugin/src/main/java/hudson/maven/MavenProcessFactory.java http://jenkins-ci.org/commit/jenkins/022a98b8d3b6bcb8b0ff150ec194ee103de6fef6 Log: [FIXED JENKINS-19251] Use hashes rather than modification time to determine if Maven agent JARs are up to date. (cherry picked from commit 6b6a69ec0d63986d82616794d5a7fcf93df14b0e) Conflicts: changelog.html

              People

              • Assignee:
                jglick Jesse Glick
                Reporter:
                marecki Marek Marzec
              • Votes:
                4 Vote for this issue
                Watchers:
                13 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: