Bug 587617
Summary: | testsuite from net-snmp source package fails for tcp6/udp6 | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Karel Srot <ksrot> |
Component: | net-snmp | Assignee: | Jan Safranek <jsafrane> |
Status: | CLOSED ERRATA | QA Contact: | BaseOS QE Security Team <qe-baseos-security> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 5.5 | CC: | rvokal |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-07-21 09:11:52 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Karel Srot
2010-04-30 11:56:55 UTC
I think the reason is that on rhel5.5 "localhost" does not have IPv6 address - there is only "localhost6" in default /etc/hosts. The test runs local snmpd on "localhost", assuming it has both IPv6 and IPv4 address. You can try to try "export SNMP_TEST_DEST=localhost6:" (mind the double colon at the end!), but IMHO trap tests will still fail because plain "localhost" is used in test configuration files and tests with traps will fail. The safest way is to test if "localhost" has IPv6 address and add one into /etc/hosts if not: ::1 localhost6.localdomain6 localhost6 localhost Or is wrong /etc/hosts a bug in RHEL5.5? On RHEL6, "localhost" has both IPv4 and IPv6... Anyway, some tests still fail even with correct /etc/hosts - on my x86_64 it is test 45, 46 and 52 (udp6) - i.e. similar result as in bug #581873. Please fix the test and post new rhts log from all arches, I'll try to fix them. The ia64 is problematic... the test suite heavily uses /bin/netstat, which is unusually slow on ia64 and test "35: testing snmptrapd traphandle" times out. As workaround, you can try to pre-set SNMP ports on ia64: export SNMP_SNMPD_PORT=12301 export SNMP_SNMPTRAPD_PORT=12302 export SNMP_AGENTX_PORT=12303 You can use any other port numbers, just make sure they are free. I'll fix 'testing Proxy GET/SET support' and 'testing SNMPv2 vacm denial support' on net-snmp side. This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unfortunately unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux. This request was erroneously denied for the current release of Red Hat Enterprise Linux. The error has been fixed and this request has been re-proposed for the current release. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-1076.html An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-1076.html |