Use sysUpTime to calculate and log interface state change times #209
GitHub Actions / Test results
succeeded
Oct 5, 2023 in 0s
All 97 tests pass in 1m 52s
Annotations
Check notice on line 0 in .github
github-actions / Test results
97 tests found
There are 97 tests, see "Raw output" for the full list of tests.
Raw output
tests.bin_test ‑ test_getuptime_help_runs_without_error
tests.bin_test ‑ test_polltest_help_runs_without_error
tests.bin_test ‑ test_zino_help_screen_runs_without_error
tests.config.models_test.TestPollDevice ‑ test_init_should_fail_on_missing_address_or_name
tests.config.models_test.TestPollDevice ‑ test_init_should_succeed_with_address_and_name
tests.config.polldevs_test.TestContainsDefaults ‑ test_when_section_contains_at_least_one_default_key_it_should_return_true
tests.config.polldevs_test.TestContainsDefaults ‑ test_when_section_contains_no_default_keys_it_should_return_false
tests.config.polldevs_test.TestParseDefaults ‑ test_all_default_values_should_be_returned
tests.config.polldevs_test.TestReadConfSections ‑ test_when_file_contains_comments_they_should_be_ignored
tests.config.polldevs_test.TestReadConfSections ‑ test_when_file_contains_non_assignments_it_should_fail
tests.config.polldevs_test.TestReadConfSections ‑ test_when_file_contains_two_sections_it_should_yield_two_dicts
tests.config.polldevs_test.TestReadConfSections ‑ test_when_file_is_empty_it_should_return_nothing
tests.config.polldevs_test.TestReadPolldevs ‑ test_should_generate_two_polldevices_from_test_config
tests.config.polldevs_test.TestReadPolldevs ‑ test_should_use_default_values_in_polldevices_generated_from_test_config
tests.events_test.TestEvents ‑ test_adding_two_identical_events_should_raise
tests.events_test.TestEvents ‑ test_create_event_should_return_event
tests.events_test.TestEvents ‑ test_event_registry_should_contain_one_event_when_first_event_is_created
tests.events_test.TestEvents ‑ test_event_should_be_gettable_by_id
tests.events_test.TestEvents ‑ test_get_or_create_event_should_return_existing_event_on_same_index
tests.events_test.TestEvents ‑ test_get_or_create_event_should_return_new_event
tests.events_test.TestEvents ‑ test_initial_events_should_be_empty
tests.oid_test ‑ test_can_add_nodes_to_oid
tests.oid_test ‑ test_can_create_oid_from_bytestring
tests.oid_test.TestOIDIsPrefix ‑ test_return_false_if_not_prefix
tests.oid_test.TestOIDIsPrefix ‑ test_return_false_if_prefix_equal_to_oid
tests.oid_test.TestOIDIsPrefix ‑ test_return_true_if_prefix
tests.oid_test.TestOIDStripPrefix ‑ test_invalid_prefix_is_not_stripped
tests.oid_test.TestOIDStripPrefix ‑ test_valid_prefix_is_stripped
tests.scheduler_test ‑ test_deschedule_deleted_devices_should_deschedule_jobs
tests.scheduler_test ‑ test_deschedule_deleted_devices_should_not_fail_on_not_found_job
tests.scheduler_test ‑ test_scheduler_should_be_initialized_without_error
tests.scheduler_test.TestLoadPolldevs ‑ test_should_return_all_new_devices_on_first_run
tests.scheduler_test.TestLoadPolldevs ‑ test_should_return_deleted_devices_on_second_run
tests.scheduler_test.TestScheduleNewDevices ‑ test_should_do_nothing_when_device_list_is_empty
tests.scheduler_test.TestScheduleNewDevices ‑ test_should_schedule_jobs_for_new_devices
tests.snmp_test.TestMibResolver ‑ test_ifalias_should_be_resolved
tests.snmp_test.TestMibResolver ‑ test_sysuptime_should_be_resolved
tests.snmp_test.TestSNMPRequestsResponseTypes ‑ test_bulkwalk
tests.snmp_test.TestSNMPRequestsResponseTypes ‑ test_get
tests.snmp_test.TestSNMPRequestsResponseTypes ‑ test_get_named_value_should_return_symbolic_name
tests.snmp_test.TestSNMPRequestsResponseTypes ‑ test_get_sysobjectid_should_be_tuple_of_ints
tests.snmp_test.TestSNMPRequestsResponseTypes ‑ test_getbulk
tests.snmp_test.TestSNMPRequestsResponseTypes ‑ test_getbulk2_should_have_expected_response
tests.snmp_test.TestSNMPRequestsResponseTypes ‑ test_getbulk2_should_return_empty_list_on_unknown_mibs
tests.snmp_test.TestSNMPRequestsResponseTypes ‑ test_getnext
tests.snmp_test.TestSNMPRequestsResponseTypes ‑ test_sparsewalk_should_have_expected_response
tests.snmp_test.TestSNMPRequestsResponseTypes ‑ test_sparsewalk_should_return_empty_dict_on_unknown_mibs
tests.snmp_test.TestSNMPRequestsResponseTypes ‑ test_walk
tests.snmp_test.TestSNMPRequestsUnknownMib ‑ test_bulkwalk
tests.snmp_test.TestSNMPRequestsUnknownMib ‑ test_get
tests.snmp_test.TestSNMPRequestsUnknownMib ‑ test_getbulk
tests.snmp_test.TestSNMPRequestsUnknownMib ‑ test_getnext
tests.snmp_test.TestSNMPRequestsUnknownMib ‑ test_walk
tests.state_test ‑ test_dump_state_to_file_should_dump_valid_json_to_file
tests.state_test ‑ test_dump_state_to_log_should_dump_to_log
tests.state_test.TestLoadStateFromFile ‑ test_should_load_saved_state
tests.state_test.TestLoadStateFromFile ‑ test_should_raise_on_invalid_json
tests.state_test.TestLoadStateFromFile ‑ test_should_return_none_when_state_file_is_missing
tests.statemodels_test.TestDeviceState ‑ test_vendor_utility_property_returns_expected_result[2636-is_juniper-True]
tests.statemodels_test.TestDeviceState ‑ test_vendor_utility_property_returns_expected_result[666-is_cisco-False]
tests.statemodels_test.TestDeviceState ‑ test_vendor_utility_property_returns_expected_result[666-is_juniper-False]
tests.statemodels_test.TestDeviceState ‑ test_vendor_utility_property_returns_expected_result[9-is_cisco-True]
tests.statemodels_test.TestDeviceStates ‑ test_empty_dict_should_not_contain_devices
tests.statemodels_test.TestDeviceStates ‑ test_get_should_create_new_device_state
tests.statemodels_test.TestEvent ‑ test_add_history_should_set_proper_timestamp
tests.statemodels_test.TestEvent ‑ test_add_log_should_set_proper_timestamp
tests.tasks.test_fauxpolltask ‑ test_fauxpolltask_runs_without_error
tests.tasks.test_init ‑ test_task_registry_should_be_populated_by_default
tests.tasks.test_juniperalarmtask.TestJuniperalarmTask ‑ test_task_creates_both_alarm_events_on_both_counts_changed
tests.tasks.test_juniperalarmtask.TestJuniperalarmTask ‑ test_task_creates_one_alarm_event_on_one_count_changed
tests.tasks.test_juniperalarmtask.TestJuniperalarmTask ‑ test_task_does_not_create_alarm_events_on_alarm_count_zero_on_first_run
tests.tasks.test_juniperalarmtask.TestJuniperalarmTask ‑ test_task_does_not_create_alarm_events_on_unchanged_alarm_count
tests.tasks.test_juniperalarmtask.TestJuniperalarmTask ‑ test_task_does_nothing_for_non_int_result
tests.tasks.test_juniperalarmtask.TestJuniperalarmTask ‑ test_task_does_nothing_for_non_juniper_device
tests.tasks.test_juniperalarmtask.TestJuniperalarmTask ‑ test_task_overrides_alarm_count_in_device_state
tests.tasks.test_juniperalarmtask.TestJuniperalarmTask ‑ test_task_runs_without_errors
tests.tasks.test_juniperalarmtask.TestJuniperalarmTask ‑ test_task_saves_alarm_count_in_device_state
tests.tasks.test_juniperalarmtask.TestJuniperalarmTask ‑ test_task_updates_alarm_events
tests.tasks.test_linkstatetask.TestLinkStateTask ‑ test_run_should_create_event_if_at_least_one_link_is_down
tests.tasks.test_linkstatetask.TestLinkStateTask ‑ test_run_should_not_create_event_if_links_are_up
tests.tasks.test_linkstatetask.TestLinkStateTask ‑ test_when_interface_doesnt_match_watchpat_it_should_be_ignored
tests.tasks.test_linkstatetask.TestLinkStateTask ‑ test_when_interface_matches_ignorepat_it_should_be_ignored
tests.tasks.test_linkstatetask.TestLinkStateTask ‑ test_when_interface_matches_watchpat_it_should_not_be_ignored
tests.tasks.test_linkstatetask.TestLinkStateTask ‑ test_when_patterns_are_empty_interface_should_not_be_ignored
tests.tasks.test_reachabletask.TestReachableTask ‑ test_run_extra_job_should_not_update_event_when_device_is_unreachable
tests.tasks.test_reachabletask.TestReachableTask ‑ test_run_extra_job_should_update_event_to_reachable_when_device_is_reachable
tests.tasks.test_reachabletask.TestReachableTask ‑ test_run_should_create_event_if_device_is_unreachable
tests.tasks.test_reachabletask.TestReachableTask ‑ test_run_should_not_create_event_if_device_is_reachable
tests.tasks.test_reachabletask.TestReachableTask ‑ test_run_should_not_start_extra_job_if_device_is_reachable
tests.tasks.test_reachabletask.TestReachableTask ‑ test_run_should_start_extra_job_if_device_is_unreachable
tests.tasks.test_reachabletask.TestReachableTask ‑ test_run_should_update_event_to_noresponse_when_device_is_unreachable
tests.tasks.test_reachabletask.TestReachableTask ‑ test_run_should_update_event_to_reachable_when_device_is_reachable
tests.tasks.test_vendor.TestVendorTask ‑ test_run_should_do_nothing_when_there_is_no_response
tests.tasks.test_vendor.TestVendorTask ‑ test_run_should_set_enterprise_id
tests.zino_test ‑ test_zino_argparser_works
tests.zino_test ‑ test_zino_help_screen_should_not_crash
tests.zino_test ‑ test_zino_version_should_be_available
Loading