The verify_erspan3_packet function in erspan3 invokes functions from logging and test but those modules have not been imported. This can lead to a Python error.
verify_erspan3_packet
logging
test