From: SourceForge.net <no...@so...> - 2006-05-18 21:13:16
|
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: Remind Priority: 5 Submitted By: OpenMacNews (openmacnews) Assigned to: Robert Story (rstory) >Summary: v5.3.1.pre2 test 37 fails on OSX 10.4.6 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: 2006-05-18 14:13 Message: Logged In: YES user_id=1401559 on OSX 10.4.6, config'ing 5.3.1.pre2 w/: ./configure \ --prefix=/usr/local/net-snmp-53 \ --with-logfile=/var/Logs/snmpd.log \ --sysconfdir=/var/Conf/NetSNMPd \ --mandir=/var/Documentation/man \ --with-persistent-directory=/var/Conf/NetSNMPd \ --with-defaults \ --disable-mini-agent \ --enable-shared --enable-static \ --with-libwrap \ --with-default-snmp-version=3 \ --with-openssl=/usr/local/ssl \ --with-sys-contact=nobody@no.where \ --with-perl-modules --enable-embedded-perl \ --without-rpm \ --with-transports="UDP TCP Unix Callback" \ --with-mib-modules="agentx disman/event smux ucd_snmp examples/example" \ --with-out-mib-modules="host mibII/mta_sendmail" \ --disable-ipv6 results in: --------------------------------------------------------- Net-SNMP configuration summary: --------------------------------------------------------- SNMP Versions Supported: 1 2c 3 Net-SNMP Version: 5.3.1.0.2 Building for: darwin8 Network transport support: UDP TCP Unix Callback SNMPv3 Security Modules: usm Agent MIB code: mibII ucd_snmp snmpv3mibs notification notification-log-mib target agent_mibs agentx disman/event-mib disman/schedule utilities agentx disman/event smux ucd_snmp examples/example SNMP Perl modules: building -- embeddable Embedded perl support: enabled Authentication support: MD5 SHA1 Encryption support: DES AES WARNING: New version of the Event MIB which may be subtly different from the original implementation - configure with 'disman/old-event-mib' for the previous version --------------------------------------------------------- subsequent: make umask 022 make install gives: /usr/local/net-snmp-53/sbin/snmpd -v NET-SNMP version: 5.3.1.pre2 Web: http://www.net-snmp.org/ Email: net...@li... but, still: make test reports: ... 37:testing snmpd embedded perl support (using NetSNMP::agent)...FAIL ... Summary: 57 / 58 succeeded. make[1]: *** [test] Error 1 make: *** [test] Error 2 checking further w/: testing/RUNTESTS -T 37 reports: No "include/net-snmp/net-snmp-config.h" in /usr/ports/net-snmp . Some tests will be skipped 37:testing snmpd embedded perl support (using NetSNMP::agent)...grep: /usr/ports/net-snmp/include/net-snmp/net-snmp-config.h: No such file or directory grep: /usr/ports/net-snmp/include/net-snmp/agent/mib_module_config.h: No such file or directory grep: /usr/ports/net-snmp/include/net-snmp/agent/agent_module_config.h: No such file or directory grep: /usr/ports/net-snmp/include/net-snmp/net-snmp-config.h: No such file or directory grep: /usr/ports/net-snmp/include/net-snmp/agent/mib_module_config.h: No such file or directory grep: /usr/ports/net-snmp/include/net-snmp/agent/agent_module_config.h: No such file or directory SKIPPED Summary: 1 / 1 succeeded. ---------------------------------------------------------------------- Comment By: Thomas Anders (tanders) Date: 2006-05-17 23:56 Message: Logged In: YES user_id=848638 Can anyone retest with 5.3.1.pre2 or later, please? ---------------------------------------------------------------------- Comment By: OpenMacNews (openmacnews) Date: 2005-12-11 21:42 Message: Logged In: YES user_id=1401559 still an issue with 53rc1. no surprise, just reporting richard ---------------------------------------------------------------------- Comment By: OpenMacNews (openmacnews) Date: 2005-12-10 09:59 Message: Logged In: YES user_id=1401559 add'l info: % perl -V Summary of my perl5 (revision 5 version 8 subversion 7) configuration: Platform: osname=darwin, osvers=8.2.0, archname=darwin-thread-multi-2level uname='darwin devbox 8.2.0 darwin kernel version 8.2.0: fri jun 24 17:46:54 pdt 2005; root:xnu-792.2.4.obj~3release_ppc power macintosh powerpc ' output of: snmpd -f -Le -D perl for: snmpwalk -v2c -c public localhost netSnmp.999 case: v53pre5 on OSX 10.4.3 http://paste.lisp.org/display/14507 case: v522 on OSX 10.4.3 http://paste.lisp.org/display/14509 no perl tokens seen in *either* walk trace ... ---------------------------------------------------------------------- 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 |