ImportError: Failed to import test module: test_AttackController
Traceback (most recent call last):
File "/usr/local/Cellar/python@3.8/3.8.5/Frameworks/Python.framework/Versions/3.8/lib/python3.8/unittest/loader.py", line 436, in _find_test_path
module = self._get_module_from_name(name)
File "/usr/local/Cellar/python@3.8/3.8.5/Frameworks/Python.framework/Versions/3.8/lib/python3.8/unittest/loader.py", line 377, in _get_module_from_name
__import__(name)
File "/Users/travis/build/tklab-tud/ID2T/code/Test/test_AttackController.py", line 3, in <module>
import Core.AttackController as atkCtrl
File "/Users/travis/build/tklab-tud/ID2T/code/Core/AttackController.py", line 7, in <module>
import Core.LabelManager as LabelManager
File "/Users/travis/build/tklab-tud/ID2T/code/Core/LabelManager.py", line 8, in <module>
import Lib.TestLibrary as Lib
File "/Users/travis/build/tklab-tud/ID2T/code/Lib/TestLibrary.py", line 5, in <module>
import Lib.Utility as Util
File "/Users/travis/build/tklab-tud/ID2T/code/Lib/Utility.py", line 9, in <module>
import scapy.layers.inet as inet
File "/Users/travis/build/tklab-tud/ID2T/.venv/lib/python3.8/site-packages/scapy/layers/inet.py", line 25, in <module>
from scapy.layers.l2 import Ether, Dot3, getmacbyip, CookedLinux, GRE, SNAP, \
File "/Users/travis/build/tklab-tud/ID2T/.venv/lib/python3.8/site-packages/scapy/layers/l2.py", line 17, in <module>
from scapy.ansmachine import AnsweringMachine
File "/Users/travis/build/tklab-tud/ID2T/.venv/lib/python3.8/site-packages/scapy/ansmachine.py", line 16, in <module>
from scapy.sendrecv import send, sniff
File "/Users/travis/build/tklab-tud/ID2T/.venv/lib/python3.8/site-packages/scapy/sendrecv.py", line 33, in <module>
import scapy.route # noqa: F401
File "/Users/travis/build/tklab-tud/ID2T/.venv/lib/python3.8/site-packages/scapy/route.py", line 194, in <module>
conf.route = Route()
File "/Users/travis/build/tklab-tud/ID2T/.venv/lib/python3.8/site-packages/scapy/route.py", line 27, in __init__
self.resync()
File "/Users/travis/build/tklab-tud/ID2T/.venv/lib/python3.8/site-packages/scapy/route.py", line 35, in resync
self.routes = read_routes()
File "/Users/travis/build/tklab-tud/ID2T/.venv/lib/python3.8/site-packages/scapy/arch/unix.py", line 82, in read_routes
netif = rt[4 + mtu_present + prio_present + refs_present + locked]
IndexError: list index out of range
scapy
is acting upfull error log
travisCI macOS build enviroment:
osx
xcode12u
I also tried 10.15.5 with
xcode12
. full error log