From: SourceForge.net <no...@so...> - 2005-12-10 16:39:26
|
Bugs item #1377478, was opened at 2005-12-09 17:41 Message generated for change (Comment added) made by openmacnews You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112694&aid=1377478&group_id=12694 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: build/test Group: macOS Status: Open Resolution: None Priority: 5 Submitted By: OpenMacNews (openmacnews) Assigned to: Robert Story (rstory) Summary: v53p5 test 37 fails on OSX 10.4.3 Initial Comment: hi. on OSX 10.4.3, w/ net-snmp 5.3pre5, 'make test' fails: 37:testing snmpd embedded perl support (using NetSNMP::agent)...FAIL more detail: /usr/ports/net-snmp/net-snmp-5.3.pre5/testing > ./RUNTESTS -T 37 -V /usr/ports/net-snmp/net-snmp-5.3.pre5/testing path is /usr/ports/net-snmp/net-snmp-5.3.pre5/testing:/usr/ports/net-snmp/net-snmp-5.3.pre5/agent:/usr/ports/net-snmp/net-snmp-5.3.pre5/apps: ... top of build is /usr/ports/net-snmp/net-snmp-5.3.pre5 source testing is /usr/ports/net-snmp/net-snmp-5.3.pre5/testing /usr/ports/net-snmp/net-snmp-5.3.pre5/apps/snmpusm 37:testing snmpd embedded perl support (using NetSNMP::agent).../tmp/snmp-test-37-29292/snmpd.conf contains: [snmp] persistentdir /tmp/snmp-test-37-29292/persist com2sec testcommunitysec default testcommunity group testcommunitygroup v2c testcommunitysec view all included .1 80 access testcommunitygroup "" any noauth exact all none none perlInitFile /tmp/snmp-test-37-29292/snmp_perl.pl perl do '/tmp/snmp-test-37-29292/hello.pl'; perl print STDERR "registered_perl_agent_ok\n"; running: snmpd -d -r -U -p /tmp/snmp-test-37-29292/snmpd.pid -Lf /tmp/snmp-test-37-29292/snmpd.log -C -c /tmp/snmp-test-37-29292/snmpd.conf checking output for "NET-SNMP version"...0 matches found checking output for "NET-SNMP version"...0 matches found checking output for "NET-SNMP version"...0 matches found checking output for "NET-SNMP version"...0 matches found checking output for "NET-SNMP version"...0 matches found checking output for "NET-SNMP version"...0 matches found checking output for "NET-SNMP version"...0 matches found checking output for "NET-SNMP version"...0 matches found checking output for "NET-SNMP version"...0 matches found checking output for "NET-SNMP version"...0 matches found checking output for "NET-SNMP version"...0 matches found checking output for "NET-SNMP version"...0 matches found checking output for "NET-SNMP version"...0 matches found checking output for "NET-SNMP version"...0 matches found checking output for "NET-SNMP version"...0 matches found checking output for "NET-SNMP version"...0 matches found checking output for "NET-SNMP version"...0 matches found checking output for "NET-SNMP version"...0 matches found checking output for "NET-SNMP version"...0 matches found checking output for "NET-SNMP version"...0 matches found checking output for "NET-SNMP version"...0 matches found checking output for "NET-SNMP version"...0 matches found checking output for "NET-SNMP version"...0 matches found checking output for "NET-SNMP version"...0 matches found checking output for "NET-SNMP version"...0 matches found checking output for "NET-SNMP version"...0 matches found checking output for "NET-SNMP version"...1 matches found EXECUTING: snmpget -v2c -c testcommunity udp:localhost:8765 .1.3.6.1.4.1.8872.9999.9999.1.0 Command Output: MIBDIR /usr/ports/net-snmp/net-snmp-5.3.pre5/testing/../mibs -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= SNMPv2-SMI::enterprises.8872.9999.9999.1.0 = No Such Object available on this agent at this OID -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= checking output for "hello world"...0 matches found checking output for "shutting down"...1 matches found Agent Output: -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= [stdout] -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= [logfile] NET-SNMP version 5.3.pre5 Received 55 bytes from UDP: [127.0.0.1]:52765 0000: 30 35 02 01 01 04 0D 74 65 73 74 63 6F 6D 6D 75 05.....testcommu 0016: 6E 69 74 79 A0 21 02 04 19 16 0B 76 02 01 00 02 nity.!.....v.... 0032: 01 00 30 13 30 11 06 0D 2B 06 01 04 01 C5 28 CE ..0.0...+.....(. 0048: 0F CE 0F 01 00 05 00 ....... Connection from UDP: [127.0.0.1]:52765 Received SNMP packet(s) from UDP: [127.0.0.1]:52765 GET message -- SNMPv2-SMI::enterprises.8872.9999.9999.1.0 Sending 55 bytes to UDP: [127.0.0.1]:52765 0000: 30 35 02 01 01 04 0D 74 65 73 74 63 6F 6D 6D 75 05.....testcommu 0016: 6E 69 74 79 A2 21 02 04 19 16 0B 76 02 01 00 02 nity.!.....v.... 0032: 01 00 30 13 30 11 06 0D 2B 06 01 04 01 C5 28 CE ..0.0...+.....(. 0048: 0F CE 0F 01 00 80 00 ....... Received TERM or STOP signal... shutting down... -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= checking output for "shutting down"...1 matches found Agent Output: -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= [stdout] -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= [logfile] NET-SNMP version 5.3.pre5 Received 55 bytes from UDP: [127.0.0.1]:52765 0000: 30 35 02 01 01 04 0D 74 65 73 74 63 6F 6D 6D 75 05.....testcommu 0016: 6E 69 74 79 A0 21 02 04 19 16 0B 76 02 01 00 02 nity.!.....v.... 0032: 01 00 30 13 30 11 06 0D 2B 06 01 04 01 C5 28 CE ..0.0...+.....(. 0048: 0F CE 0F 01 00 05 00 ....... Connection from UDP: [127.0.0.1]:52765 Received SNMP packet(s) from UDP: [127.0.0.1]:52765 GET message -- SNMPv2-SMI::enterprises.8872.9999.9999.1.0 Sending 55 bytes to UDP: [127.0.0.1]:52765 0000: 30 35 02 01 01 04 0D 74 65 73 74 63 6F 6D 6D 75 05.....testcommu 0016: 6E 69 74 79 A2 21 02 04 19 16 0B 76 02 01 00 02 nity.!.....v.... 0032: 01 00 30 13 30 11 06 0D 2B 06 01 04 01 C5 28 CE ..0.0...+.....(. 0048: 0F CE 0F 01 00 80 00 ....... Received TERM or STOP signal... shutting down... -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= FAIL Summary: 0 / 1 succeeded. ---------------------------------------------------------------------- >Comment By: OpenMacNews (openmacnews) Date: 2005-12-10 08:39 Message: Logged In: YES user_id=1401559 here's the test dir's tarball (attachment), and, using http://www.net-snmp.org/tutorial-5/toolkit/perl/perl_module.pl and enabling: perl do "/path/to/perl_module.pl" in snmpd.conf, then: % ./snmpd -f -Le -Dperl registered debug token perl, 1 perl: initializing perl (/usr/local/net-snmp-53p5/share/snmp/snmp_perl.pl) perl: done initializing perl perl: calling perl starting perl_module.pl perl_module.pl loaded ok registering at netSnmp.999 couldn't parse netSnmp.999 (reg name: myname) perl: finished calling perl NET-SNMP version 5.3.pre5 ---------------------------------------------------------------------- Comment By: Thomas Anders (tanders) Date: 2005-12-10 01:24 Message: Logged In: YES user_id=848638 Also, once you have *installed* 5.3.pre5, can you do a simple embedded perl test to verify whether it's actually *working*. We really need to determine whether the test is broken or the feature! ---------------------------------------------------------------------- Comment By: Thomas Anders (tanders) Date: 2005-12-10 00:40 Message: Logged In: YES user_id=848638 Please attach a gzipped tarball of the whole /tmp/snmp-test-37-29292 directory. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112694&aid=1377478&group_id=12694 |