[MacPorts] #51085: fusioninventory-agent: fails a test with 'Unable to resolve the UDP/IPv4 address "none")'
#51085: fusioninventory-agent: fails a test with 'Unable to resolve the UDP/IPv4 address "none")' ---------------------+----------------------------------- Reporter: mojca@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: fusioninventory-agent ---------------------+----------------------------------- One of the tests in fusioninventory-agent fails: {{{ t/agent/logger.t ................................. ok # Failed test 'instanciation: unresolvable host' # at t/agent/snmp/live.t line 52. # expecting: Regexp ((?^:^Unable to resolve the UDP/IPv4 address "none")) # found: no response from host none # Looks like you failed 1 test of 12. t/agent/snmp/live.t .............................. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/12 subtests (less 6 skipped subtests: 5 okay) t/agent/snmp/mock.t .............................. ok }}} -- Ticket URL: <https://trac.macports.org/ticket/51085> MacPorts <https://www.macports.org/> Ports system for OS X
#51085: fusioninventory-agent: fails a test with 'Unable to resolve the UDP/IPv4 address "none")' ------------------------------------+-------------------------------- Reporter: mojca@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: fusioninventory-agent | ------------------------------------+-------------------------------- Comment (by devans@…): Works for me. {{{ t/agent/logger.t ................................. ok t/agent/snmp/live.t .............................. ok t/agent/snmp/mock.t .............................. ok }}} It failed for you because your system responded with 'no response from host none' rather than 'Unable to resolve the UDP/IPv4 address "none"'. If you look at the code in t/agent/snmp/live.t at line 52 and following you can see that the response you got is the one they expect for a resolvable host (1.1.1.1) that just isn't responding rather than a host named "none" that they assume to be unresolvable by DNS. Perhaps "none" is a resolvable host on your system. What does {{{ $ host none }}} tell you. -- Ticket URL: <https://trac.macports.org/ticket/51085#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#51085: fusioninventory-agent: fails a test with 'Unable to resolve the UDP/IPv4 address "none")' ------------------------------------+-------------------------------- Reporter: mojca@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: invalid | Keywords: Port: fusioninventory-agent | ------------------------------------+-------------------------------- Changes (by mojca@…): * status: new => closed * resolution: => invalid Comment: It seems to be a bug in the settings of the router that belongs to my ISP. If I connect with DHCP, I automatically get `domain <some-domain-that- resolves-everything>` in `/etc/resolv.conf`. So whatever I try, `ping whatever` would resolve to an IP, followed by `Request timeout for icmp_seq 0`. I talked to tech support. The problem is temporary solved if I turn DHCP off and manually enter an IP address. They promised to look into it. After turning DHCP off, I tried to run the test suite again and now it succeeds. -- Ticket URL: <https://trac.macports.org/ticket/51085#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts