You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I tried running the tests on a new Ubuntu installation the tests test_when_link_down_is_received_it_should_create_portstate_event, test_when_port_does_not_match_watch_pattern_it_should_ignore_link_traps and test_when_port_matches_ignore_pattern_it_should_ignore_link_traps from tests/trapobservers/link_traps_test.py failed with the following error
AssertionError: snmptrap command exited with error
assert 127 == 0
+ where 127 = <Process 47872>.returncode
I figured out that that was due to not having the snmp package installed.
It is easily fixed on Ubuntu using apt install snmp.
This should be documented in the running tests section of the README.
I don't know how this affects other OS'.
The text was updated successfully, but these errors were encountered:
Agreed we should put this in the docs, but we should probably also skip tests that use snmp command line programs if they aren't available (I think skipping is a better strategy when the issue is not with the codebase, but with what's available in the test environment).
When I tried running the tests on a new Ubuntu installation the tests
test_when_link_down_is_received_it_should_create_portstate_event
,test_when_port_does_not_match_watch_pattern_it_should_ignore_link_traps
andtest_when_port_matches_ignore_pattern_it_should_ignore_link_traps
fromtests/trapobservers/link_traps_test.py
failed with the following errorI figured out that that was due to not having the
snmp
package installed.It is easily fixed on Ubuntu using
apt install snmp
.This should be documented in the running tests section of the README.
I don't know how this affects other OS'.
The text was updated successfully, but these errors were encountered: