When running the tests on Ubuntu 18.04 I get the following error: (happens for 19 our of 85 tests)
$ ./run_tests
Traceback (most recent call last):
File "/home/xtikka/workspaces/id2t/code/CLI.py", line 5, in <module>
from Core.Controller import Controller
File "/home/xtikka/workspaces/id2t/code/Core/Controller.py", line 9, in <module>
import Core.AttackController as atkCtrl
File "/home/xtikka/workspaces/id2t/code/Core/AttackController.py", line 9, in <module>
import Core.Statistics as Statistics
File "/home/xtikka/workspaces/id2t/code/Core/Statistics.py", line 10, in <module>
import ID2TLib.libpcapreader as pr
ImportError: Python version mismatch: module was compiled for version 3.7, while the interpreter is running version 3.6.
EEEEEEEEEEEEE..........EEEEE...................................................E.....
======================================================================
ERROR: test_AttackController (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: test_AttackController
Traceback (most recent call last):
File "/usr/lib/python3.6/unittest/loader.py", line 428, in _find_test_path
module = self._get_module_from_name(name)
File "/usr/lib/python3.6/unittest/loader.py", line 369, in _get_module_from_name
__import__(name)
File "/home/xtikka/workspaces/id2t/code/Test/test_AttackController.py", line 3, in <module>
import Core.AttackController as atkCtrl
File "/home/xtikka/workspaces/id2t/code/Core/AttackController.py", line 9, in <module>
import Core.Statistics as Statistics
File "/home/xtikka/workspaces/id2t/code/Core/Statistics.py", line 10, in <module>
import ID2TLib.libpcapreader as pr
ImportError: Python version mismatch: module was compiled for version 3.7, while the interpreter is running version 3.6.
[EDIT: formatting]
When running the tests on Ubuntu 18.04 I get the following error: (happens for 19 our of 85 tests)
$ ./run_tests
Traceback (most recent call last):
File "/home/xtikka/workspaces/id2t/code/CLI.py", line 5, in <module>
from Core.Controller import Controller
File "/home/xtikka/workspaces/id2t/code/Core/Controller.py", line 9, in <module>
import Core.AttackController as atkCtrl
File "/home/xtikka/workspaces/id2t/code/Core/AttackController.py", line 9, in <module>
import Core.Statistics as Statistics
File "/home/xtikka/workspaces/id2t/code/Core/Statistics.py", line 10, in <module>
import ID2TLib.libpcapreader as pr
ImportError: Python version mismatch: module was compiled for version 3.7, while the interpreter is running version 3.6.
EEEEEEEEEEEEE..........EEEEE...................................................E.....
======================================================================
ERROR: test_AttackController (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: test_AttackController
Traceback (most recent call last):
File "/usr/lib/python3.6/unittest/loader.py", line 428, in _find_test_path
module = self._get_module_from_name(name)
File "/usr/lib/python3.6/unittest/loader.py", line 369, in _get_module_from_name
__import__(name)
File "/home/xtikka/workspaces/id2t/code/Test/test_AttackController.py", line 3, in <module>
import Core.AttackController as atkCtrl
File "/home/xtikka/workspaces/id2t/code/Core/AttackController.py", line 9, in <module>
import Core.Statistics as Statistics
File "/home/xtikka/workspaces/id2t/code/Core/Statistics.py", line 10, in <module>
import ID2TLib.libpcapreader as pr
ImportError: Python version mismatch: module was compiled for version 3.7, while the interpreter is running version 3.6.
[EDIT: formatting]
My failing tests were caused be the VM having the wrong time zone. I opened another issue #152 for this, so for the future make the tests time zone independent.
I still could not reproduce your issues @leon.boeck.
My failing tests were caused be the VM having the wrong time zone. I opened another issue #152 for this, so for the future make the tests time zone independent.
The wheel issue was fixed by 1fa1233925af133fa36efedc3a7b011b9658757d.
I still could not reproduce your issues @leon.boeck.
When running the tests on Ubuntu 18.04 I get the following error: (happens for 19 our of 85 tests)
[EDIT: formatting]
I'll look into it.
I'm not able to reproduce this errors on a fresh install of Ubuntu 18.04.
Did you try a full rebuild?
When updating dependencies, please make sure to always build again.
There are some smaller test failures though. I'll look into them.
There are some pip packages, which fail to install on Ubuntu 18.04:
My failing tests were caused be the VM having the wrong time zone. I opened another issue #152 for this, so for the future make the tests time zone independent.
The wheel issue was fixed by
1fa1233925
.I still could not reproduce your issues @leon.boeck.
I was informed by @carlos.garcia, that a full rebuild did the trick. I'll close this issue now.