This bug covers 2 failures caused by a recent patch that enabled execution of tests in the functional job that require sudo privileges:
- OVSBridge.db_get_val() can return None if no output is returned from ovs-vsctl, and get_port_ofport() was calling int() on the return value to cause the reported failure. get_port_ofport() needs to be updated to handle the possibility of a None return value from db_get_val().
- sudo invocations are requiring a password. the functional tests need to run with an account that allows password-less sudo.
This bug covers 2 failures caused by a recent patch that enabled execution of tests in the functional job that require sudo privileges:
- OVSBridge. db_get_ val() can return None if no output is returned from ovs-vsctl, and get_port_ofport() was calling int() on the return value to cause the reported failure. get_port_ofport() needs to be updated to handle the possibility of a None return value from db_get_val().
- sudo invocations are requiring a password. the functional tests need to run with an account that allows password-less sudo.