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

Hudson 1.395 logs many messages about RecordReaper IllegalArgumentException

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None
    • Debian, Windows

      I'm seeing new diagnostic output on several different machines running Hudson
      since I updated to 1.395.

      Machines which have shown these types of messages from the master server
      include:

      • Windows Server 2008 x64
      • Debian i386
      • Debian AMD64

      The message is:

      Jan 24, 2011 4:59:53 PM javax.jmdns.impl.tasks.RecordReaper run
      SEVERE: RecordReaper(mwaite2-deb.local.).Error while reaping records:
      [Pointer@21075506 type: TYPE_PTR index 12, class: CLASS_IN index 1, name:
      _services._dns-sd._udp.local. ttl: '2240/4500' alias:
      '_home-sharing._tcp.local.']
      java.lang.IllegalArgumentException: The instance name component of a fully
      qualified service cannot be empty.
      at
      javax.jmdns.impl.ServiceInfoImpl.checkQualifiedNameMap(ServiceInfoImpl.java:356)
      at javax.jmdns.impl.ServiceInfoImpl.<init>(ServiceInfoImpl.java:197)
      at javax.jmdns.impl.DNSRecord$Pointer.getServiceInfo(DNSRecord.java:540)
      at javax.jmdns.impl.DNSRecord.getServiceInfo(DNSRecord.java:1051)
      at javax.jmdns.impl.JmDNSImpl.renewServiceCollector(JmDNSImpl.java:1228)
      at javax.jmdns.impl.tasks.RecordReaper.run(RecordReaper.java:80)
      at java.util.TimerThread.mainLoop(Timer.java:512)
      at java.util.TimerThread.run(Timer.java:462)
      Jan 24, 2011 4:59:54 PM javax.jmdns.impl.tasks.RecordReaper run
      SEVERE: ---- Local Host -----
      local host info[mwaite2-deb.local., eth0:132.253.117.116, DNS:
      mwaite2-deb.local. state: announced task: Renewer(mwaite2-deb.local.) state:
      announced]
      ---- Services -----
      Service: hudson (14)._hudson._tcp.local.:
      [ServiceInfoImpl@11418595 name: 'hudson (14)._hudson._tcp.local.' address:
      'mwaite2-deb.ptcnet.ptc.com/132.253.117.116:80' status: 'DNS: mwaite2-deb.local.
      state: announced task: Renewer(mwaite2-deb.local.) state: announced', has data
      \020slave-port=35469+url=http://mwaite2-deb.ptcnet.ptc.com:8080/\015version=1.395]

      ---- Types ----
      Type: _afpovertcp._tcp.local.: no subtypes
      Type: _hudson._tcp.local.: no subtypes

          [JENKINS-8647] Hudson 1.395 logs many messages about RecordReaper IllegalArgumentException

          Code changed in jenkins
          User: Jesse Farinacci
          Path:
          core/pom.xml
          core/src/main/java/hudson/DNSMultiCast.java
          http://jenkins-ci.org/commit/core/53f0274753d7a90a47726831011fa35874c83056
          Log:
          [FIXED JENKINS-8647] Many messages about RecordReaper IllegalArgumentException

          I did a checkout for our internal fork of JmDNS [1] and the
          upstream version [2] to compare what the differences were..
          I found none. There do not appear to be any local edits to
          our fork so I can not figure out why we did the fork to
          begin with.

          Perhaps some older version had locally patched bugs which
          have since been resolved? Anyhow, given that JENKINS-8647
          is causing lots of people lots of grief, and it is enabled
          by default, I went ahead and bumped to jmdns-3.4.0 upstream.

          I think reduction of forks for library projects is generally
          good, and especially when we have no practical changes made
          to our version.

          [1] https://github.com/jenkinsci/jmdns
          [2] https://jmdns.svn.sourceforge.net/svnroot/jmdns/tags/JmDNS_3_2_1/

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Farinacci Path: core/pom.xml core/src/main/java/hudson/DNSMultiCast.java http://jenkins-ci.org/commit/core/53f0274753d7a90a47726831011fa35874c83056 Log: [FIXED JENKINS-8647] Many messages about RecordReaper IllegalArgumentException I did a checkout for our internal fork of JmDNS [1] and the upstream version [2] to compare what the differences were.. I found none. There do not appear to be any local edits to our fork so I can not figure out why we did the fork to begin with. Perhaps some older version had locally patched bugs which have since been resolved? Anyhow, given that JENKINS-8647 is causing lots of people lots of grief, and it is enabled by default, I went ahead and bumped to jmdns-3.4.0 upstream. I think reduction of forks for library projects is generally good, and especially when we have no practical changes made to our version. [1] https://github.com/jenkinsci/jmdns [2] https://jmdns.svn.sourceforge.net/svnroot/jmdns/tags/JmDNS_3_2_1/

          Code changed in jenkins
          User: Jesse Farinacci
          Path:
          changelog.html
          http://jenkins-ci.org/commit/core/22d2dc487ddb5558694efd3d17e49d07adda19b3
          Log:
          update changelog for fix to JENKINS-8647

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Farinacci Path: changelog.html http://jenkins-ci.org/commit/core/22d2dc487ddb5558694efd3d17e49d07adda19b3 Log: update changelog for fix to JENKINS-8647

          jieryn

          I did rebuild the war. I thought this was why we have CI. Actually the fix runs, but as you point out, don't compile. But it's not rocket surgery to fix the problem, I see you already did.

          Rickard von Essen added a comment - jieryn I did rebuild the war. I thought this was why we have CI. Actually the fix runs, but as you point out, don't compile. But it's not rocket surgery to fix the problem, I see you already did.

          dogfood added a comment -

          Integrated in jenkins_main_trunk #512
          [FIXED JENKINS-8647] Many messages about RecordReaper IllegalArgumentException
          update changelog for fix to JENKINS-8647

          Kohsuke Kawaguchi :
          Files :

          • core/src/main/java/hudson/DNSMultiCast.java
          • core/pom.xml

          Kohsuke Kawaguchi :
          Files :

          • changelog.html

          dogfood added a comment - Integrated in jenkins_main_trunk #512 [FIXED JENKINS-8647] Many messages about RecordReaper IllegalArgumentException update changelog for fix to JENKINS-8647 Kohsuke Kawaguchi : Files : core/src/main/java/hudson/DNSMultiCast.java core/pom.xml Kohsuke Kawaguchi : Files : changelog.html

          I deployed the latest jenkins.war of 21-Feb-2011 04:02, but we still get these verbose RecordReaper errors.
          The version of the included jmdns lib is 'jmdns-3.2.1-hudson-1.jar'.

          Was this supposed to be fixed in that version or is there anything else we can try?

          Eddy Op de Beeck added a comment - I deployed the latest jenkins.war of 21-Feb-2011 04:02, but we still get these verbose RecordReaper errors. The version of the included jmdns lib is 'jmdns-3.2.1-hudson-1.jar'. Was this supposed to be fixed in that version or is there anything else we can try?

          jieryn added a comment -

          I believe this is incorporated into v1.399.

          jieryn added a comment - I believe this is incorporated into v1.399.

          yrsone added a comment -

          The problem still exists in Jenkins 1.398.

          yrsone added a comment - The problem still exists in Jenkins 1.398.

          yrsone added a comment -

          Oops, my mistake ... sorry for watchers.

          yrsone added a comment - Oops, my mistake ... sorry for watchers.

          Marco Rothe added a comment -

          Fixed with 1.399, but jmdns 3.4.0 breaks the JDK 5 compatibility of hudson (see JENKINS-8914).

          Marco Rothe added a comment - Fixed with 1.399, but jmdns 3.4.0 breaks the JDK 5 compatibility of hudson (see JENKINS-8914 ).

          Mark Waite added a comment -

          Confirmed fixes long ago.

          Mark Waite added a comment - Confirmed fixes long ago.

            Unassigned Unassigned
            MarkEWaite MarkEWaite
            Votes:
            4 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved: