START usr.sbin/snmpd 2024-11-11T01:27:25Z ==== setup ==== /etc/rc.d/snmpd stop > snmpd.log ==== run-snmpd ==== cc -O2 -pipe -MD -MP -c /usr/src/regress/usr.sbin/snmpd/snmpd_regress.c cc -O2 -pipe -MD -MP -c /usr/src/regress/usr.sbin/snmpd/agentx.c cc -O2 -pipe -MD -MP -c /usr/src/regress/usr.sbin/snmpd/backend.c cc -O2 -pipe -MD -MP -c /usr/src/regress/usr.sbin/snmpd/snmp.c cc -O2 -pipe -MD -MP -c /usr/src/regress/usr.sbin/snmpd/transport.c cc -o snmpd_regress snmpd_regress.o agentx.o backend.o snmp.o transport.o -lutil pkill -f /usr/sbin/snmpd *** Error 1 in target 'run-snmpd' (ignored) env OBJDIR=/usr/src/regress/usr.sbin/snmpd/obj sh /usr/src/regress/usr.sbin/snmpd/snmpd.sh Configuration: default community strings, trap receiver, trap handle ======= snmp walk -Oq -v2c -cpublic localhost 1.3 ======= snmp get -Oqv -v2c -cpublic localhost 1.3.6.1.2.1.1.5.0 ======= snmp get -On -v2c -cpublic localhost 1.3.6.1.4.1.30155.6.1.1.0 ======= snmp getnext -Onq -v2c -cpublic localhost 1.3.6.1.4.1.30155.6.1.1 ======= snmp trap -v2c -cpublic 127.0.0.1 '' 1.2.3.4 Configuration: seclevel auth ======= snmp get -r2 -v2c -cpublic localhost 1.3.6.1.2.1.1.5.0 ======= snmp get -v3 -Oq -l authNoPriv -u hans -a SHA -A password123 localhost system.sysDescr.0 Configuration: seclevel enc ======= snmp get -v3 -Oq -l authPriv -u hans -a SHA -A password123 -x AES -X 321drowssap localhost system.sysDescr.0 Configuration: non-default community strings, custom oids ======= snmp get -OfQ -v2c -c non-default-ro localhost 1.3.6.1.4.1.30155.6.1.1.0 ======= snmp get -Oqv -v2c -cnon-default-rw localhost 1.3.6.1.4.1.30155.42.1.0 ======= snmp get -Oqv -v2c -c non-default-rw localhost 1.3.6.1.4.1.30155.42.2.0 ==== agentx_open_nnbo ==== /usr/sbin/snmpd -Nvvdf /usr/src/regress/usr.sbin/snmpd/snmpd.conf >> snmpd.log 2>&1 & ./snmpd_regress agentx_open_nnbo ==== agentx_open_nbo ==== ./snmpd_regress agentx_open_nbo ==== agentx_open_invalidversion ==== ./snmpd_regress agentx_open_invalidversion ==== agentx_open_ignore_sessionid ==== ./snmpd_regress agentx_open_ignore_sessionid ==== agentx_open_invalid_oid ==== ./snmpd_regress agentx_open_invalid_oid ==== agentx_open_descr_too_long ==== ./snmpd_regress agentx_open_descr_too_long ==== agentx_open_descr_invalid ==== ./snmpd_regress agentx_open_descr_invalid ==== agentx_open_context ==== ./snmpd_regress agentx_open_context ==== agentx_open_instance_registration ==== ./snmpd_regress agentx_open_instance_registration ==== agentx_open_new_index ==== ./snmpd_regress agentx_open_new_index ==== agentx_open_any_index ==== ./snmpd_regress agentx_open_any_index ==== agentx_ping_notopen ==== ./snmpd_regress agentx_ping_notopen ==== agentx_ping_invalid_sessionid ==== ./snmpd_regress agentx_ping_invalid_sessionid ==== agentx_ping_default ==== ./snmpd_regress agentx_ping_default ==== agentx_ping_context ==== ./snmpd_regress agentx_ping_context ==== agentx_ping_invalid_version ==== ./snmpd_regress agentx_ping_invalid_version ==== agentx_ping_instance_registration ==== ./snmpd_regress agentx_ping_instance_registration ==== agentx_ping_new_index ==== ./snmpd_regress agentx_ping_new_index ==== agentx_ping_any_index ==== ./snmpd_regress agentx_ping_any_index ==== agentx_ping_nbo_nnbo ==== ./snmpd_regress agentx_ping_nbo_nnbo ==== agentx_ping_nnbo_nbo ==== ./snmpd_regress agentx_ping_nnbo_nbo ==== agentx_ping_invalid_version_close ==== ./snmpd_regress agentx_ping_invalid_version_close ==== agentx_close_notopen ==== ./snmpd_regress agentx_close_notopen ==== agentx_close_reasonother ==== ./snmpd_regress agentx_close_reasonother ==== agentx_close_reasonparseerror ==== ./snmpd_regress agentx_close_reasonparseerror ==== agentx_close_reasonprotocolerror ==== ./snmpd_regress agentx_close_reasonprotocolerror ==== agentx_close_reasontimouts ==== ./snmpd_regress agentx_close_reasontimouts ==== agentx_close_reasonshutdown ==== ./snmpd_regress agentx_close_reasonshutdown ==== agentx_close_reasonbymanager ==== ./snmpd_regress agentx_close_reasonbymanager ==== agentx_close_reasoninvalid ==== ./snmpd_regress agentx_close_reasoninvalid ==== agentx_close_single ==== ./snmpd_regress agentx_close_single ==== agentx_close_notowned ==== ./snmpd_regress agentx_close_notowned ==== agentx_close_invalid_sessionid ==== ./snmpd_regress agentx_close_invalid_sessionid ==== agentx_close_context ==== ./snmpd_regress agentx_close_context ==== agentx_close_invalid_version ==== ./snmpd_regress agentx_close_invalid_version ==== agentx_close_instance_registration ==== ./snmpd_regress agentx_close_instance_registration ==== agentx_close_new_index ==== ./snmpd_regress agentx_close_new_index ==== agentx_close_any_index ==== ./snmpd_regress agentx_close_any_index ==== agentx_close_nnbo_nbo ==== ./snmpd_regress agentx_close_nnbo_nbo ==== agentx_register_notopen ==== ./snmpd_regress agentx_register_notopen ==== agentx_register_invalid_sessionid ==== ./snmpd_regress agentx_register_invalid_sessionid ==== agentx_register_default ==== ./snmpd_regress agentx_register_default ==== agentx_register_context ==== ./snmpd_regress agentx_register_context ==== agentx_register_invalid_version ==== ./snmpd_regress agentx_register_invalid_version ==== agentx_register_instance_registration ==== ./snmpd_regress agentx_register_instance_registration ==== agentx_register_new_index ==== ./snmpd_regress agentx_register_new_index ==== agentx_register_duplicate_self ==== ./snmpd_regress agentx_register_duplicate_self ==== agentx_register_duplicate_twocon ==== ./snmpd_regress agentx_register_duplicate_twocon ==== agentx_register_duplicate_priority ==== ./snmpd_regress agentx_register_duplicate_priority ==== agentx_register_range ==== ./snmpd_regress agentx_register_range ==== agentx_register_range_invalidupperbound ==== ./snmpd_regress agentx_register_range_invalidupperbound ==== agentx_register_range_single ==== ./snmpd_regress agentx_register_range_single ==== agentx_register_range_overlap_single ==== ./snmpd_regress agentx_register_range_overlap_single ==== agentx_register_single_overlap_range ==== ./snmpd_regress agentx_register_single_overlap_range ==== agentx_register_range_overlap_range ==== ./snmpd_regress agentx_register_range_overlap_range ==== agentx_register_below ==== ./snmpd_regress agentx_register_below ==== agentx_register_above ==== ./snmpd_regress agentx_register_above ==== agentx_register_restricted ==== ./snmpd_regress agentx_register_restricted ==== agentx_unregister_notopen ==== ./snmpd_regress agentx_unregister_notopen ==== agentx_unregister_invalid_sessionid ==== ./snmpd_regress agentx_unregister_invalid_sessionid ==== agentx_unregister_notregistered ==== ./snmpd_regress agentx_unregister_notregistered ==== agentx_unregister_notregistered ==== ./snmpd_regress agentx_unregister_notregistered ==== agentx_unregister_single ==== ./snmpd_regress agentx_unregister_single ==== agentx_unregister_single_notowned ==== ./snmpd_regress agentx_unregister_single_notowned ==== agentx_unregister_range ==== ./snmpd_regress agentx_unregister_range ==== agentx_unregister_range_single ==== ./snmpd_regress agentx_unregister_range_single ==== agentx_unregister_range_subset ==== ./snmpd_regress agentx_unregister_range_subset snmpd_regress: agentx_unregister_range_subset: unexpected response pdu error (0/264) *** Error 1 in . (Makefile:285 'agentx_unregister_range_subset') EXPECTED_FAIL ==== agentx_unregister_range_extra ==== ./snmpd_regress agentx_unregister_range_extra ==== agentx_unregister_range_priority ==== ./snmpd_regress agentx_unregister_range_priority ==== agentx_unregister_range_notowned ==== ./snmpd_regress agentx_unregister_range_notowned ==== backend_get_integer ==== ./snmpd_regress backend_get_integer ==== backend_get_octetstring ==== ./snmpd_regress backend_get_octetstring ==== backend_get_objectidentifier ==== ./snmpd_regress backend_get_objectidentifier ==== backend_get_ipaddress ==== ./snmpd_regress backend_get_ipaddress ==== backend_get_counter32 ==== ./snmpd_regress backend_get_counter32 ==== backend_get_gauge32 ==== ./snmpd_regress backend_get_gauge32 ==== backend_get_timeticks ==== ./snmpd_regress backend_get_timeticks ==== backend_get_opaque ==== ./snmpd_regress backend_get_opaque ==== backend_get_counter64 ==== ./snmpd_regress backend_get_counter64 ==== backend_get_nosuchobject ==== ./snmpd_regress backend_get_nosuchobject ==== backend_get_nosuchinstance ==== ./snmpd_regress backend_get_nosuchinstance ==== backend_get_endofmibview ==== ./snmpd_regress backend_get_endofmibview ==== backend_get_two_single_backend ==== ./snmpd_regress backend_get_two_single_backend ==== backend_get_two_double_backend ==== ./snmpd_regress backend_get_two_double_backend ==== backend_get_wrongorder ==== ./snmpd_regress backend_get_wrongorder ==== backend_get_toofew ==== ./snmpd_regress backend_get_toofew ==== backend_get_toomany ==== ./snmpd_regress backend_get_toomany ==== backend_get_instance ==== ./snmpd_regress backend_get_instance ==== backend_get_instance_below ==== ./snmpd_regress backend_get_instance_below ==== backend_get_timeout_default ==== ./snmpd_regress backend_get_timeout_default ==== backend_get_timeout_session_lower ==== ./snmpd_regress backend_get_timeout_session_lower ==== backend_get_timeout_session_higher ==== ./snmpd_regress backend_get_timeout_session_higher ==== backend_get_timeout_region_lower ==== ./snmpd_regress backend_get_timeout_region_lower ==== backend_get_timeout_region_higher ==== ./snmpd_regress backend_get_timeout_region_higher ==== backend_get_priority_lower ==== ./snmpd_regress backend_get_priority_lower ==== backend_get_priority_higher ==== ./snmpd_regress backend_get_priority_higher ==== backend_get_priority_below_lower ==== ./snmpd_regress backend_get_priority_below_lower ==== backend_get_priority_below_higher ==== ./snmpd_regress backend_get_priority_below_higher ==== backend_get_close ==== ./snmpd_regress backend_get_close ==== backend_get_close_overlap ==== ./snmpd_regress backend_get_close_overlap ==== backend_get_disappear ==== ./snmpd_regress backend_get_disappear ==== backend_get_disappear_overlap ==== ./snmpd_regress backend_get_disappear_overlap ==== backend_get_disappear_doublesession ==== ./snmpd_regress backend_get_disappear_doublesession ==== backend_get_octetstring_max ==== ./snmpd_regress backend_get_octetstring_max ==== backend_get_octetstring_too_long ==== ./snmpd_regress backend_get_octetstring_too_long ==== backend_get_ipaddress_too_short ==== ./snmpd_regress backend_get_ipaddress_too_short ==== backend_get_ipaddress_too_long ==== ./snmpd_regress backend_get_ipaddress_too_long ==== backend_get_opaque_non_ber ==== ./snmpd_regress backend_get_opaque_non_ber ==== backend_get_opaque_double_value ==== ./snmpd_regress backend_get_opaque_double_value ==== backend_getnext_selfbound ==== ./snmpd_regress backend_getnext_selfbound ==== backend_getnext_lowerbound ==== ./snmpd_regress backend_getnext_lowerbound ==== backend_getnext_lowerbound_self ==== ./snmpd_regress backend_getnext_lowerbound_self ==== backend_getnext_lowerbound_highprio ==== ./snmpd_regress backend_getnext_lowerbound_highprio ==== backend_getnext_lowerbound_lowprio ==== ./snmpd_regress backend_getnext_lowerbound_lowprio ==== backend_getnext_sibling ==== ./snmpd_regress backend_getnext_sibling ==== backend_getnext_child_gap ==== ./snmpd_regress backend_getnext_child_gap ==== backend_getnext_nosuchobject ==== ./snmpd_regress backend_getnext_nosuchobject ==== backend_getnext_nosuchinstance ==== ./snmpd_regress backend_getnext_nosuchinstance ==== backend_getnext_endofmibview ==== ./snmpd_regress backend_getnext_endofmibview ==== backend_getnext_inclusive ==== ./snmpd_regress backend_getnext_inclusive ==== backend_getnext_jumpnext ==== ./snmpd_regress backend_getnext_jumpnext ==== backend_getnext_jumpnext_endofmibview ==== ./snmpd_regress backend_getnext_jumpnext_endofmibview ==== backend_getnext_jump_up ==== ./snmpd_regress backend_getnext_jump_up ==== backend_getnext_two_single_backend ==== ./snmpd_regress backend_getnext_two_single_backend ==== backend_getnext_two_double_backend ==== ./snmpd_regress backend_getnext_two_double_backend ==== backend_getnext_instance_below ==== ./snmpd_regress backend_getnext_instance_below ==== backend_getnext_instance ==== ./snmpd_regress backend_getnext_instance ==== backend_getnext_instance_exact ==== ./snmpd_regress backend_getnext_instance_exact ==== backend_getnext_instance_ignore ==== ./snmpd_regress backend_getnext_instance_ignore ==== backend_getnext_backwards ==== ./snmpd_regress backend_getnext_backwards ==== backend_getnext_stale ==== ./snmpd_regress backend_getnext_stale ==== backend_getnext_inclusive_backwards ==== ./snmpd_regress backend_getnext_inclusive_backwards ==== backend_getnext_toofew ==== ./snmpd_regress backend_getnext_toofew ==== backend_getnext_toomany ==== ./snmpd_regress backend_getnext_toomany ==== backend_getnext_response_equal_end ==== ./snmpd_regress backend_getnext_response_equal_end ==== backend_getnext_instance_below_region_before_instance ==== ./snmpd_regress backend_getnext_instance_below_region_before_instance ==== backend_getnext_instance_below_region_on_instance ==== ./snmpd_regress backend_getnext_instance_below_region_on_instance ==== backend_getnext_instance_below_region_below_instance ==== ./snmpd_regress backend_getnext_instance_below_region_below_instance ==== backend_getbulk_nonrep_zero_maxrep_one ==== ./snmpd_regress backend_getbulk_nonrep_zero_maxrep_one ==== backend_getbulk_nonrep_zero_maxrep_two ==== ./snmpd_regress backend_getbulk_nonrep_zero_maxrep_two ==== backend_getbulk_nonrep_one_maxrep_one ==== ./snmpd_regress backend_getbulk_nonrep_one_maxrep_one ==== backend_getbulk_nonrep_one_maxrep_two ==== ./snmpd_regress backend_getbulk_nonrep_one_maxrep_two ==== backend_getbulk_nonrep_two_maxrep_two ==== ./snmpd_regress backend_getbulk_nonrep_two_maxrep_two ==== backend_getbulk_nonrep_negative ==== ./snmpd_regress backend_getbulk_nonrep_negative ==== backend_getbulk_endofmibview ==== ./snmpd_regress backend_getbulk_endofmibview ==== backend_getbulk_endofmibview_second_rep ==== ./snmpd_regress backend_getbulk_endofmibview_second_rep ==== backend_getbulk_endofmibview_two_varbinds ==== ./snmpd_regress backend_getbulk_endofmibview_two_varbinds ==== backend_error_get_toobig ==== ./snmpd_regress backend_error_get_toobig ==== backend_error_get_nosuchname ==== ./snmpd_regress backend_error_get_nosuchname ==== backend_error_get_badvalue ==== ./snmpd_regress backend_error_get_badvalue ==== backend_error_get_readonly ==== ./snmpd_regress backend_error_get_readonly ==== backend_error_get_generr ==== ./snmpd_regress backend_error_get_generr ==== backend_error_get_wrongtype ==== ./snmpd_regress backend_error_get_wrongtype ==== backend_error_get_wronglength ==== ./snmpd_regress backend_error_get_wronglength ==== backend_error_get_wrongvalue ==== ./snmpd_regress backend_error_get_wrongvalue ==== backend_error_get_nocreation ==== ./snmpd_regress backend_error_get_nocreation ==== backend_error_get_inconsistentvalue ==== ./snmpd_regress backend_error_get_inconsistentvalue ==== backend_error_get_commitfailed ==== ./snmpd_regress backend_error_get_commitfailed ==== backend_error_get_undofailed ==== ./snmpd_regress backend_error_get_undofailed ==== backend_error_get_authorizationerror ==== ./snmpd_regress backend_error_get_authorizationerror ==== backend_error_get_notwritable ==== ./snmpd_regress backend_error_get_notwritable ==== backend_error_get_inconsistentname ==== ./snmpd_regress backend_error_get_inconsistentname ==== backend_error_get_openfailed ==== ./snmpd_regress backend_error_get_openfailed ==== backend_error_get_notopen ==== ./snmpd_regress backend_error_get_notopen ==== backend_error_get_indexwrongtype ==== ./snmpd_regress backend_error_get_indexwrongtype ==== backend_error_get_indexalreadyallocated ==== ./snmpd_regress backend_error_get_indexalreadyallocated ==== backend_error_get_indexnonavailable ==== ./snmpd_regress backend_error_get_indexnonavailable ==== backend_error_get_indexnotallocated ==== ./snmpd_regress backend_error_get_indexnotallocated ==== backend_error_get_duplicateregistration ==== ./snmpd_regress backend_error_get_duplicateregistration ==== backend_error_get_requestdenied ==== ./snmpd_regress backend_error_get_requestdenied ==== backend_error_get_processingerror ==== ./snmpd_regress backend_error_get_processingerror ==== backend_error_get_nonstandard ==== ./snmpd_regress backend_error_get_nonstandard ==== backend_error_getnext_toobig ==== ./snmpd_regress backend_error_getnext_toobig ==== backend_error_getnext_nosuchname ==== ./snmpd_regress backend_error_getnext_nosuchname ==== backend_error_getnext_badvalue ==== ./snmpd_regress backend_error_getnext_badvalue ==== backend_error_getnext_readonly ==== ./snmpd_regress backend_error_getnext_readonly ==== backend_error_getnext_generr ==== ./snmpd_regress backend_error_getnext_generr ==== backend_error_getnext_noaccess ==== ./snmpd_regress backend_error_getnext_noaccess ==== backend_error_getnext_wrongtype ==== ./snmpd_regress backend_error_getnext_wrongtype ==== backend_error_getnext_wronglength ==== ./snmpd_regress backend_error_getnext_wronglength ==== backend_error_getnext_wrongencoding ==== ./snmpd_regress backend_error_getnext_wrongencoding ==== backend_error_getnext_wrongvalue ==== ./snmpd_regress backend_error_getnext_wrongvalue ==== backend_error_getnext_nocreation ==== ./snmpd_regress backend_error_getnext_nocreation ==== backend_error_getnext_inconsistentvalue ==== ./snmpd_regress backend_error_getnext_inconsistentvalue ==== backend_error_getnext_resourceunavailable ==== ./snmpd_regress backend_error_getnext_resourceunavailable ==== backend_error_getnext_commitfailed ==== ./snmpd_regress backend_error_getnext_commitfailed ==== backend_error_getnext_undofailed ==== ./snmpd_regress backend_error_getnext_undofailed ==== backend_error_getnext_notwritable ==== ./snmpd_regress backend_error_getnext_notwritable ==== backend_error_getnext_inconsistentname ==== ./snmpd_regress backend_error_getnext_inconsistentname ==== backend_error_getnext_openfailed ==== ./snmpd_regress backend_error_getnext_openfailed ==== backend_error_getnext_notopen ==== ./snmpd_regress backend_error_getnext_notopen ==== backend_error_getnext_indexwrongtype ==== ./snmpd_regress backend_error_getnext_indexwrongtype ==== backend_error_getnext_indexalreadyallocated ==== ./snmpd_regress backend_error_getnext_indexalreadyallocated ==== backend_error_getnext_indexnonavailable ==== ./snmpd_regress backend_error_getnext_indexnonavailable ==== backend_error_getnext_indexnotallocated ==== ./snmpd_regress backend_error_getnext_indexnotallocated ==== backend_error_getnext_unsupportedcontext ==== ./snmpd_regress backend_error_getnext_unsupportedcontext ==== backend_error_getnext_duplicateregistration ==== ./snmpd_regress backend_error_getnext_duplicateregistration ==== backend_error_getnext_unknownregistration ==== ./snmpd_regress backend_error_getnext_unknownregistration ==== backend_error_getnext_parseerror ==== ./snmpd_regress backend_error_getnext_parseerror ==== backend_error_getnext_requestdenied ==== ./snmpd_regress backend_error_getnext_requestdenied ==== backend_error_getnext_processingerror ==== ./snmpd_regress backend_error_getnext_processingerror ==== backend_error_getnext_nonstandard ==== ./snmpd_regress backend_error_getnext_nonstandard ==== backend_error_getbulk_firstrepetition ==== ./snmpd_regress backend_error_getbulk_firstrepetition ==== backend_error_getbulk_secondrepetition ==== ./snmpd_regress backend_error_getbulk_secondrepetition ==== snmp_v3_usm_noauthpriv ==== ./snmpd_regress snmp_v3_usm_noauthpriv ==== transport_tcp_get ==== ./snmpd_regress transport_tcp_get ==== transport_tcp_disconnect ==== ./snmpd_regress transport_tcp_disconnect ==== transport_tcp_double_get_disconnect ==== ./snmpd_regress transport_tcp_double_get_disconnect ==== cleanup ==== pkill -f /usr/sbin/snmpd rcctl restart snmpd snmpd(ok) XFAIL usr.sbin/snmpd *** Error 1 in . (Makefile:285 'agentx_unregister_range_subset')