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

DNS multicast error messages

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: core
    • Environment:
    • Similar Issues:

      Description

      I've seen these error messages in my console output, which comes from jmdns.

      The level of the logging messages should be toned down significantly given that these are from a relatively minor feature in Jenkins.

        Attachments

          Issue Links

            Activity

            uday Udaypal Aarkoti created issue -
            uday Udaypal Aarkoti made changes -
            Field Original Value New Value
            Description Oct 29, 2014 4:04:50 PM javax.jmdns.impl.DNSIncoming readAnswer
            WARNING: There was an OPT answer. Not currently handled. Option code: 0 data:
            Oct 29, 2014 4:04:50 PM javax.jmdns.impl.DNSIncoming readAnswer
            WARNING: There was an OPT answer. Not currently handled. Option code: 40960 data:
            Oct 29, 2014 4:04:50 PM javax.jmdns.impl.DNSIncoming readAnswer
            WARNING: There was an OPT answer. Not currently handled. Option code: 0 data:
            Oct 29, 2014 4:04:50 PM javax.jmdns.impl.DNSIncoming readAnswer
            WARNING: There was an OPT answer. Not currently handled. Option code: 59904 data:
            Oct 29, 2014 4:04:50 PM javax.jmdns.impl.DNSIncoming readAnswer
            WARNING: There was an OPT answer. Not currently handled. Option code: 65486 data:
            Oct 29, 2014 4:04:50 PM javax.jmdns.impl.DNSIncoming readAnswer
            WARNING: There was a problem reading the OPT record. Ignoring.
            Oct 29, 2014 4:04:50 PM javax.jmdns.impl.DNSIncoming$MessageInputStream readName
            SEVERE: Extended label are not currently supported.
            Oct 29, 2014 4:04:50 PM javax.jmdns.impl.DNSIncoming$MessageInputStream readName
            SEVERE: bad domain name: possible circular name detected. Bad offset: 0xffffffff at 0x249
            Oct 29, 2014 4:04:50 PM javax.jmdns.impl.constants.DNSRecordType typeForIndex
            SEVERE: Could not find record type for index: -1
            Oct 29, 2014 4:04:50 PM javax.jmdns.impl.DNSIncoming readAnswer
            SEVERE: Could not find record type. domain:
            dns[query,192.168.253.42:5353, length=587, id=0x0, questions=7, authorities=9
            questions:
            [AllRecords@1075896505 type: TYPE_ANY index 255, class: CLASS_IN index 1, name: zero._ssh._tcp.local.]
            [AllRecords@1126595816 type: TYPE_ANY index 255, class: CLASS_IN index 1, name: zero.local.]
            [AllRecords@1227188214 type: TYPE_ANY index 255, class: CLASS_IN index 1, name: zero._sftp-ssh._tcp.local.]
            [AllRecords@1475477511 type: TYPE_ANY index 255, class: CLASS_IN index 1, name: 42.253.168.192.in-addr.arpa.]
            [AllRecords@269490024 type: TYPE_ANY index 255, class: CLASS_IN index 1, name: zero._device-info._tcp.local.]
            [AllRecords@1612835006 type: TYPE_ANY index 255, class: CLASS_IN index 1, name: 52821._keepalive._dns-sd._udp.local.]
            [AllRecords@47790491 type: TYPE_ANY index 255, class: CLASS_IN index 1, name: 2.6.b.4.d.0.e.f.f.f.0.5.6.e.2.8.0.0.0.0.0.0.0.0.0.0.0.0.0.8.e.f.ip6.arpa.]
            authorities:
            [Service@1164768255 type: TYPE_SRV index 33, class: CLASS_IN index 1, name: zero._ssh._tcp.local. ttl: '4499/4500' server: 'zero.local.:22']
            [Text@1431766893 type: TYPE_TXT index 16, class: CLASS_IN index 1, name: zero._ssh._tcp.local. ttl: '4499/4500' text: '']
            [IPv6Address@987521377 type: TYPE_AAAA index 28, class: CLASS_IN index 1, name: zero.local. ttl: '119/120' address: 'fe80:0:0:0:82e6:50ff:fe0d:4b62']
            [IPv4Address@1895993920 type: TYPE_A index 1, class: CLASS_IN index 1, name: zero.local. ttl: '119/120' address: '192.168.253.42']
            [Service@1406366868 type: TYPE_SRV index 33, class: CLASS_IN index 1, name: zero._sftp-ssh._tcp.local. ttl: '4499/4500' server: 'zero.local.:22']
            [Text@1053978092 type: TYPE_TXT index 16, class: CLASS_IN index 1, name: zero._sftp-ssh._tcp.local. ttl: '4499/4500' text: '']
            [Pointer@1742521406 type: TYPE_PTR index 12, class: CLASS_IN index 1, name: 42.253.168.192.in-addr.arpa. ttl: '119/120' alias: 'zero.local.']
            [Text@44681751 type: TYPE_TXT index 16, class: CLASS_IN index 1, name: zero._device-info._tcp.local. ttl: '4499/4500' text: 'model=MacBookPro...']
            [Pointer@1251375362 type: TYPE_PTR index 12, class: CLASS_IN index 1, name: 2.6.b.4.d.0.e.f.f.f.0.5.6.e.2.8.0.0.0.0.0.0.0.0.0.0.0.0.0.8.e.f.ip6.arpa. ttl: '119/120' alias: 'zero.local.']]
            question: [AllRecords@1075896505 type: TYPE_ANY index 255, class: CLASS_IN index 1, name: zero._ssh._tcp.local.]
            question: [AllRecords@1126595816 type: TYPE_ANY index 255, class: CLASS_IN index 1, name: zero.local.]
            question: [AllRecords@1227188214 type: TYPE_ANY index 255, class: CLASS_IN index 1, name: zero._sftp-ssh._tcp.local.]
            question: [AllRecords@1475477511 type: TYPE_ANY index 255, class: CLASS_IN index 1, name: 42.253.168.192.in-addr.arpa.]
            question: [AllRecords@269490024 type: TYPE_ANY index 255, class: CLASS_IN index 1, name: zero._device-info._tcp.local.]
            question: [AllRecords@1612835006 type: TYPE_ANY index 255, class: CLASS_IN index 1, name: 52821._keepalive._dns-sd._udp.local.]
            question: [AllRecords@47790491 type: TYPE_ANY index 255, class: CLASS_IN index 1, name: 2.6.b.4.d.0.e.f.f.f.0.5.6.e.2.8.0.0.0.0.0.0.0.0.0.0.0.0.0.8.e.f.ip6.arpa.]
            authoritative: [Service@1164768255 type: TYPE_SRV index 33, class: CLASS_IN index 1, name: zero._ssh._tcp.local. ttl: '4499/4500' server: 'zero.local.:22']
            authoritative: [Text@1431766893 type: TYPE_TXT index 16, class: CLASS_IN index 1, name: zero._ssh._tcp.local. ttl: '4499/4500' text: '']
            authoritative: [IPv6Address@987521377 type: TYPE_AAAA index 28, class: CLASS_IN index 1, name: zero.local. ttl: '119/120' address: 'fe80:0:0:0:82e6:50ff:fe0d:4b62']
            authoritative: [IPv4Address@1895993920 type: TYPE_A index 1, class: CLASS_IN index 1, name: zero.local. ttl: '119/120' address: '192.168.253.42']
            authoritative: [Service@1406366868 type: TYPE_SRV index 33, class: CLASS_IN index 1, name: zero._sftp-ssh._tcp.local. ttl: '4499/4500' server: 'zero.local.:22']
            authoritative: [Text@1053978092 type: TYPE_TXT index 16, class: CLASS_IN index 1, name: zero._sftp-ssh._tcp.local. ttl: '4499/4500' text: '']
            authoritative: [Pointer@1742521406 type: TYPE_PTR index 12, class: CLASS_IN index 1, name: 42.253.168.192.in-addr.arpa. ttl: '119/120' alias: 'zero.local.']
            authoritative: [Text@44681751 type: TYPE_TXT index 16, class: CLASS_IN index 1, name: zero._device-info._tcp.local. ttl: '4499/4500' text: 'model=MacBookPro...']
            authoritative: [Pointer@1251375362 type: TYPE_PTR index 12, class: CLASS_IN index 1, name: 2.6.b.4.d.0.e.f.f.f.0.5.6.e.2.8.0.0.0.0.0.0.0.0.0.0.0.0.0.8.e.f.ip6.arpa. ttl: '119/120' alias: 'zero.local.']
               0: 0000000000070000 000a0002047a6572 6f045f737368045f 746370056c6f6361 ........ .....zer o._ssh._ tcp.loca
              20: 6c0000ff0001047a 65726fc01b00ff00 01047a65726f095f 736674702d737368 l......z ero..... ..zero._ sftp-ssh
              40: c01600ff00010234 3203323533033136 380331393207696e 2d61646472046172 .......4 2.253.16 8.192.in -addr.ar
              60: 70610000ff000104 7a65726f0c5f6465 766963652d696e66 6fc01600ff000105 pa...... zero._de vice-inf o.......
              80: 35323832310a5f6b 656570616c697665 075f646e732d7364 045f756470c01b00 52821._k eepalive ._dns-sd ._udp...
              a0: ff00010132013601 6201340164013001 6501660166016601 3001350136016501 ....2.6. b.4.d.0. e.f.f.f. 0.5.6.e.
              c0: 3201380130013001 3001300130013001 3001300130013001 3001300130013801 2.8.0.0. 0.0.0.0. 0.0.0.0. 0.0.0.8.
              e0: 65016603697036c0 5d00ff0001c00c00 2100010000119400 08000000000016c0 e.f.ip6. ]....... !....... ........
             100: 26c00c0010000100 001194000100c026 001c000100000078 0010fe8000000000 &....... .......& .......x ........
             120: 000082e650fffe0d 4b62c02600010001 000000780004c0a8 fd2ac03100210001 ....P... Kb.&.... ...x.... .*.1.!..
             140: 0000119400080000 00000016c026c031 0010000100001194 000100c046000c00 ........ .....&.1 ........ ....F...
             160: 01000000780002c0 26c0670010000100 0011940020146d6f 64656c3d4d616342 ....x... &.g..... ......mo del=MacB
             180: 6f6f6b50726f3131 2c330a6f73787665 72733d3134c07f00 0a00010000119400 ookPro11 ,3.osxve rs=14... ........
             1a0: 6261743d39303020 20693d333020633d 313020683d313932 2e3136382e323533 bat=900. .i=30.c= 10.h=192 .168.253
             1c0: 2e343220643d3137 2e3137322e323339 2e313332206c3d35 3038393120723d35 .42.d=17 .172.239 .132.l=5 0891.r=5
             1e0: 323233206d3d3930 3a37323a34303a35 3a39303a32332073 3d3020613d302077 223.m=90 :72:40:5 :90:23.s =0.a=0.w
             200: 3d3000c0a3000c00 01000000780002c0 2600002905a00000 0000001800040014 =0...... ....x... &..).... ........
             220: 00a280e6500d4b62 80e6500d4b620000 0000000000002905 a000000000000cfd ....P.Kb ..P.Kb.. ......). ........
             240: ea0008afffce2e8f 2f8878 ........ /.x
            URL https://gist.github.com/uaarkoti/75fc1292ed921238770e
            kohsuke Kohsuke Kawaguchi made changes -
            Summary Recurring error messages on a plain vanilla jenkins (no jobs configured) DNS multicast error messages
            Description I've seen [these error messages|https://gist.github.com/uaarkoti/75fc1292ed921238770e] in my console output, which comes from jmdns.

            The level of the logging messages should be toned down significantly given that these are from a relatively minor feature in Jenkins.
            Hide
            danielbeck Daniel Beck added a comment -

            Since they're in a third party component, I don't think effort/gain works out in favor of reducing log level.

            Workaround: java -Dhudson.DNSMultiCast.disabled=true

            Show
            danielbeck Daniel Beck added a comment - Since they're in a third party component, I don't think effort/gain works out in favor of reducing log level. Workaround: java -Dhudson.DNSMultiCast.disabled=true
            derfunk Andreas Katzig made changes -
            Assignee Andreas Katzig [ derfunk ]
            Hide
            derfunk Andreas Katzig added a comment -

            unintentional self assign, sorry.

            Show
            derfunk Andreas Katzig added a comment - unintentional self assign, sorry.
            derfunk Andreas Katzig made changes -
            Assignee Andreas Katzig [ derfunk ]
            Hide
            ayursha Alex Yursha added a comment - - edited

            So is it going to be fixed as this logging spam is pretty annoying? jmnds original package has not been updated for a while, so we could either fix the fork or drop this dependency completely if we don't need that functionality.

            Show
            ayursha Alex Yursha added a comment - - edited So is it going to be fixed as this logging spam is pretty annoying? jmnds original package has not been updated for a while, so we could either fix the fork or drop this dependency completely if we don't need that functionality.
            Hide
            danielbeck Daniel Beck added a comment -

            It doesn't look to me like it's that annoying if you're not even going to disable the feature and restart Jenkins once in 6+ weeks.

            Show
            danielbeck Daniel Beck added a comment - It doesn't look to me like it's that annoying if you're not even going to disable the feature and restart Jenkins once in 6+ weeks.
            Hide
            neerajlad Neeraj Lad added a comment -

            Does this could harm any execution? since i ma also getting same this when i run sonar-plugin into jenkins.

            Show
            neerajlad Neeraj Lad added a comment - Does this could harm any execution? since i ma also getting same this when i run sonar-plugin into jenkins.
            Hide
            kbaltrinic Kenneth Baltrinic added a comment -

            For those with size based log rotation strategies, this is more than an annoyance; it greatly diminishes the amount of meaningful log data that gets retained. Sampling my current logs, this message looks to comprise 70 - 80% of Jenkins log output. I consider that to be significant.

            Show
            kbaltrinic Kenneth Baltrinic added a comment - For those with size based log rotation strategies, this is more than an annoyance; it greatly diminishes the amount of meaningful log data that gets retained. Sampling my current logs, this message looks to comprise 70 - 80% of Jenkins log output. I consider that to be significant.
            Hide
            danielbeck Daniel Beck added a comment -

            Kenneth Baltrinic The feature causing the log messages can easily be disabled from the next time you start Jenkins again, see my comment from 30/Oct/14 1:31 AM. There's a good chance you're not even using it.

            Show
            danielbeck Daniel Beck added a comment - Kenneth Baltrinic The feature causing the log messages can easily be disabled from the next time you start Jenkins again, see my comment from 30/Oct/14 1:31 AM. There's a good chance you're not even using it.
            Hide
            dzschille David Zschille added a comment -

            This error message flooded our log this weekend, till there was no disc space left. The log file was more than 430 GB big. The messages mostly like this one: https://gist.github.com/dzschille/ed739c040b0a5ba4d23c

            Show
            dzschille David Zschille added a comment - This error message flooded our log this weekend, till there was no disc space left. The log file was more than 430 GB big. The messages mostly like this one: https://gist.github.com/dzschille/ed739c040b0a5ba4d23c
            danielbeck Daniel Beck made changes -
            Link This issue is duplicated by JENKINS-29490 [ JENKINS-29490 ]
            Hide
            danielbeck Daniel Beck added a comment -

            Related to JENKINS-10160, possibly a duplicate.

            Show
            danielbeck Daniel Beck added a comment - Related to JENKINS-10160 , possibly a duplicate.
            danielbeck Daniel Beck made changes -
            Link This issue is related to JENKINS-10160 [ JENKINS-10160 ]
            jglick Jesse Glick made changes -
            Link This issue is related to JENKINS-33596 [ JENKINS-33596 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 159334 ] JNJira + In-Review [ 179947 ]
            furai Lucas Grzegorczyk made changes -
            Comment [ I'm running into similar issue right now. My syslog is getting filled with messages from jmdns

            https://file.furai.pl/2018-02-15-09-18-46.txt
            And from this point onward it just keeps looping over and over again.
            Increasing that question (queue?) by 1 entry. ]
            oleg_nenashev Oleg Nenashev made changes -
            Assignee Oleg Nenashev [ oleg_nenashev ]
            oleg_nenashev Oleg Nenashev made changes -
            Link This issue is duplicated by JENKINS-50812 [ JENKINS-50812 ]
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            It may happen even without network issues, e.g. when there is an unsupported DNS Message type coming from DNS. We use an old library version, and not all DNS Message types are supported (discovered in JENKINS-50812)

            Record type enumeration in the lib: https://github.com/jenkinsci/jmdns/blob/64f48ab717e0c8022f60d7dcb7f148f47c7f1227/src/main/java/javax/jmdns/impl/constants/DNSRecordType.java

            List of all DNS record types: https://en.wikipedia.org/wiki/List_of_DNS_record_types . Likely some types have been added in new DNS versions via RFCs. E.g. URI identifier has been added in 2015 by https://tools.ietf.org/html/rfc7553 , so no wonder it's not supported by the lib.

            There is https://github.com/jenkinsci/jmdns/pull/2 , which may resolve the issue by bumping to the new version

            Show
            oleg_nenashev Oleg Nenashev added a comment - It may happen even without network issues, e.g. when there is an unsupported DNS Message type coming from DNS. We use an old library version, and not all DNS Message types are supported (discovered in JENKINS-50812 ) Record type enumeration in the lib: https://github.com/jenkinsci/jmdns/blob/64f48ab717e0c8022f60d7dcb7f148f47c7f1227/src/main/java/javax/jmdns/impl/constants/DNSRecordType.java List of all DNS record types: https://en.wikipedia.org/wiki/List_of_DNS_record_types . Likely some types have been added in new DNS versions via RFCs. E.g. URI identifier has been added in 2015 by https://tools.ietf.org/html/rfc7553 , so no wonder it's not supported by the lib. There is https://github.com/jenkinsci/jmdns/pull/2 , which may resolve the issue by bumping to the new version
            oleg_nenashev Oleg Nenashev made changes -
            Labels dns dnsquestion sip
            oleg_nenashev Oleg Nenashev made changes -
            Labels dns dnsquestion sip dns dnsquestion logging sip

              People

              • Assignee:
                oleg_nenashev Oleg Nenashev
                Reporter:
                uday Udaypal Aarkoti
              • Votes:
                12 Vote for this issue
                Watchers:
                23 Start watching this issue

                Dates

                • Created:
                  Updated: