Menu

#2142 V5.4, Cygwin: certain regression tests fail

windows
open
nobody
5
2012-11-08
2010-04-28
No

Net-SNMP version: V5.4 branch r18617 (which is 5.4.3.rc2 with a few MSVC and Cygwin build fixes).

Build and test command:
./configure \
--disable-embedded-perl \
--enable-ipv6 \
--prefix=/cygdrive/c/usr \
--with-cflags="-g -O1 -pipe -fno-strict-aliasing" \
--with-defaults \
--with-transports="TCPIPv6 UDPIPv6" \
--without-perl-modules \
--with-mib-modules="smux examples/example" \
&& make -s && make -s test

Result:
1:testing SNMPv1 support.......ok
2:testing SNMPv2c get of system.sysUpTime.0...ok
3:testing SNMPv2c getnext of system.sysUpTime...ok
4:testing SNMPv2c bulkget of system components......ok
5:testing for failure of SNMPv2c get with wrong community...ok
6:testing for failure of SNMPv2c get against SNMPv1 agent...ok
7:testing for failure of SNMPv1 get against SNMPv2c agent...ok
8:testing SNMPv2c get of system.sysUpTime.1...ok
9:testing SNMPv3 get using noAuthNoPriv of .1.3.6.1.2.1.1.3.0...ok
10:testing SNMPv3 getnext using initial of .1.3.6.1.2.1.1.3.0...ok
11:testing SNMPv3 bulkget of system......ok
12:testing SNMPv3 get using MD5/noPriv of .1.3.6.1.2.1.1.3.0...ok
13:testing SNMPv3 get using MD5/AES of .1.3.6.1.2.1.1.3.0...ok
14:testing SNMPv3 get using MD5/DES of .1.3.6.1.2.1.1.3.0...ok
15:testing SNMPv3 get using SHA/noPriv of .1.3.6.1.2.1.1.3.0...ok
16:testing SNMPv3 get using SHA/DES of .1.3.6.1.2.1.1.3.0...ok
17:testing SNMPv3 get using SHA/AES of .1.3.6.1.2.1.1.3.0...ok
18:testing for failure of SNMPv3 get using unknown user....ok
19:testing SNMPv3 agent USM user management with snmpusm................FAIL
20:testing SNMPv3 snmptrapd USM user management with snmpusm...FAIL
21:testing SNMPv3 informs (noAuthNoPriv) received and sent by tools...FAIL
22:testing SNMPv3 informs (authNoPriv) received and sent by tools...FAIL
23:testing SNMPv3 informs (authPriv) received and sent by tools...FAIL
24:testing SNMPv3 traps received and sent by tools...FAIL
25:testing SNMPv2c traps received and sent by tools...FAIL
26:testing SNMPv2c informs received and sent by tools...FAIL
27:testing snmpv1 traps are sent by snmpd API...FAIL
28:testing snmpv2c traps are sent by snmpd API...FAIL
29:testing snmpv1 traps are sent by snmpd without notification mib support...FAIL
30:testing snmpv2c traps are sent by snmpd without notification mib support...FAIL
31:testing snmptrapd authorization failure of non authorized users...ok
32:testing snmptrapd discards of unauthorized notification types...ok
33:testing snmptrapd discards of incorrect view types...ok
34:testing authentication failure traps are sent by snmpd...FAIL
35:testing snmptrapd traphandle: launching external shell script.....FAIL
36:testing snmptrapd embedded perl support (NetSNMP::TrapReceiver)...SKIPPED
37:testing snmpd embedded perl support (using NetSNMP::agent)...SKIPPED
38:testing extending agent functionality with extend........ok
39:testing that the agent responds properly to a kill -HUP...ok
40:testing AgentX GET support...ok
41:testing AgentX SET support...ok
42:testing AgentX illegal SET handling support...ok
43:testing AgentX trap sending support...FAIL
44:testing AgentX subagent in Perl (using NetSNMP::agent)...SKIPPED
45:testing Proxy GET support...FAIL
46:testing Proxy SET support...FAIL
47:testing Proxy illegal SET handling support...ok
48:testing SNMPv1 vacm acceptance support....ok
49:testing SNMPv2 vacm acceptance support....ok
50:testing SNMPv3 vacm acceptance support....ok
51:testing SNMPv1 vacm denial support.....ok
52:testing SNMPv2 vacm denial support.........ok
53:testing SNMPv3 vacm denial support.....ok
54:testing 1st CPU on Solaris using HOST-RESOURCES...SKIPPED
55:testing initial load device on Solaris using HOST-RESOURCES...SKIPPED
56:testing uptime using HOST-RESOURCES...SKIPPED
57:testing swap on Solaris using HOST-RESOURCES...SKIPPED
58:testing if snmpnetstat finds the running agent in udpTable...FAIL
59:testing full snmpwalk (SNMPv2c) against agent (may take time).....ok
Summary: 41 / 59 succeeded.

Discussion

  • Bart Van Assche

    Bart Van Assche - 2010-04-30

    /tmp/snmp-test-* files

     
  • Bart Van Assche

    Bart Van Assche - 2010-04-30

    Regression test output with IPv6 support disabled.

     
  • Bart Van Assche

    Bart Van Assche - 2010-05-06

    Update: with r18651, the regression test output is as follows:
    [ ... ]
    58:testing if snmpnetstat finds the running agent in udpTable...FAIL
    [ ... ]
    Summary: 58 / 59 succeeded.

     
  • Bart Van Assche

    Bart Van Assche - 2010-05-06

    Has been fixed through r18651.

     
  • Bart Van Assche

    Bart Van Assche - 2010-09-29

    Regression test output on Cygwin for 5.6rc3:

    ./RUNFULLTESTS
    SNMPv1 support .................................................... ok
    SNMPv2c get of system.sysUpTime.0 ................................. ok
    SNMPv2c getnext of system.sysUpTime ............................... ok
    SNMPv2c bulkget of system components .............................. ok
    for failure of SNMPv2c get with wrong community ................... ok
    for failure of SNMPv2c get against SNMPv1 agent ................... ok
    for failure of SNMPv1 get against SNMPv2c agent ................... ok
    SNMPv2c get of system.sysUpTime.1 ................................. ok
    SNMPv3 get using noAuthNoPriv of .1.3.6.1.2.1.1.3.0 ............... ok
    SNMPv3 getnext using initial of .1.3.6.1.2.1.1.3 .................. ok
    SNMPv3 bulkget of system .......................................... ok
    SNMPv3 get using MD5/noPriv of .1.3.6.1.2.1.1.3.0 ................. ok
    SNMPv3 get using MD5/AES of .1.3.6.1.2.1.1.3.0 .................... ok
    SNMPv3 get using MD5/DES of .1.3.6.1.2.1.1.3.0 .................... ok
    SNMPv3 get using SHA/noPriv of .1.3.6.1.2.1.1.3.0 ................. ok
    SNMPv3 get using SHA/DES of .1.3.6.1.2.1.1.3.0 .................... ok
    SNMPv3 get using SHA/AES of .1.3.6.1.2.1.1.3.0 .................... ok
    for failure of SNMPv3 get using unknown user. ..................... ok
    SNMPv3 agent USM user management with snmpusm ..................... ok
    SNMPv3 snmptrapd USM user management with snmpusm ................. ok
    SNMPv3 informs (noAuthNoPriv) received and sent by tools .......... ok
    SNMPv3 informs (authNoPriv) received and sent by tools ............ ok
    SNMPv3 informs (authPriv) received and sent by tools .............. ok
    SNMPv3 traps received and sent by tools ........................... ok
    SNMPv2c traps received and sent by tools .......................... ok
    SNMPv2c informs received and sent by tools ........................ ok
    snmpv1 traps are sent by snmpd API ................................ ok
    snmpv2c traps are sent by snmpd API ............................... ok
    snmpv1 traps are sent by snmpd without notification mib support ... ok
    snmpv2c traps are sent by snmpd without notification mib support .. ok
    snmptrapd discards of unauthorized notification types ............ ok
    snmptrapd discards of incorrect view types ....................... ok
    snmptrapd authorization failure of non authorized users ........... ok
    authentication failure traps are sent by snmpd .................... ok
    snmptrapd traphandle: launching external shell script ............. ok
    snmptrapd embedded perl support (NetSNMP::TrapReceiver) ........... 3/?
    not ok 4 - found 0 copies of 'handled_by_embperl' in output (/tmp/snmp-test-T060trapdperl_simple-2844/embperl.log); expected 1
    not ok 5 - found 0 copies of 'handled_again_by_embperl' in output (/tmp/snmp-test-T060trapdperl_simple-2844/embperl.log); expected 1
    snmptrapd embedded perl support (NetSNMP::TrapReceiver) ........... Dubious, test returned 1 (wstat 256, 0x100)
    Failed 2/7 subtests
    snmpd embedded perl support (using NetSNMP::agent) ................ ok
    extending agent functionality with extend ......................... ok
    com2sec directive ................................................. ok
    com2sec6 directive ................................................ ok
    com2secunix directive ............................................. ok
    that the agent responds properly to a kill -HUP ................... ok
    AgentX GET support ................................................ ok
    AgentX SET support ................................................ ok
    AgentX illegal SET handling support ............................... ok
    AgentX trap sending support ....................................... ok
    AgentX trap sending support using agentxtrap ...................... ok
    AgentX subagent in Perl (using NetSNMP::agent) .................... 2/?
    not ok 2 - found 0 copies of 'hello world' in output (/tmp/snmp-test-T115agentxperl_simple-1676/output-simple_run1676-1); expected 1
    AgentX subagent in Perl (using NetSNMP::agent) .................... 4/?
    not ok 4 - found 0 copies of 'hello again world' in output (/tmp/snmp-test-T115agentxperl_simple-1676/output-simple_run1676-2); expected 1
    AgentX subagent in Perl (using NetSNMP::agent) .................... Dubious, test returned 1 (wstat 256, 0x100)
    Failed 2/7 subtests
    Proxy GET support ................................................. ok
    Proxy SET support ................................................. ok
    Proxy illegal SET handling support ................................ ok
    SNMPv1 vacm acceptance support .................................... ok
    SNMPv2 vacm acceptance support .................................... ok
    SNMPv3 vacm acceptance support .................................... ok
    SNMPv1 vacm denial support ........................................ ok
    SNMPv2 vacm denial support ........................................ ok
    SNMPv3 vacm denial support ........................................ ok
    1st CPU on Solaris using HOST-RESOURCES ........................... skipped: not running solaris
    initial load device on Solaris using HOST-RESOURCES ............... skipped: not running solaris
    uptime using HOST-RESOURCES ....................................... skipped: USING_HOST_HR_SYSTEM_MODULE is not defined
    swap on Solaris using HOST-RESOURCES .............................. skipped: not running solaris
    if snmpnetstat finds the running agent in udpTable ................ ok
    full snmpwalk (SNMPv2c) against agent (may take time) ............. ok

    Test Summary Report
    -------------------
    snmptrapd embedded perl support (NetSNMP::TrapReceiver) (Wstat: 256 Tests: 7 Failed: 2)
    Failed tests: 4-5
    Non-zero exit status: 1
    AgentX subagent in Perl (using NetSNMP::agent) (Wstat: 256 Tests: 7 Failed: 2)
    Failed tests: 2, 4
    Non-zero exit status: 1
    Files=63, Tests=479, 382 wallclock secs ( 0.05 usr 0.06 sys + 276.09 cusr 106.09 csys = 382.30 CPU)
    Result: FAIL

    We failed these 2 tests:
    snmptrapd embedded perl support (NetSNMP::TrapReceiver) ( /cygdrive/c/net-snmp/trunk/testing/fulltests/default/T060trapdperl_simple )
    AgentX subagent in Perl (using NetSNMP::agent) ( /cygdrive/c/net-snmp/trunk/testing/fulltests/default/T115agentxperl_simple )
    make[1]: *** [test] Error 1
    make: *** [test] Error 2

     

Log in to post a comment.

MongoDB Logo MongoDB