Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"pyb -E unit" doesn't work #154

Closed
remotepilotsam opened this issue Dec 29, 2021 · 6 comments
Closed

"pyb -E unit" doesn't work #154

remotepilotsam opened this issue Dec 29, 2021 · 6 comments

Comments

@remotepilotsam
Copy link

Objective of issue: Successfully run the "pyb -E unit" line.

When I run this line, I get several errors. How do I fix this?

Related code:
Here is the code of what happens when I try to run this line:

PyBuilder version 0.13.3
Build started at 2021-12-29 13:06:52

[INFO] Installing or updating plugin "pypi:pybuilder_bandit, module name 'pybuilder_bandit'"
[INFO] Processing plugin packages 'pybuilder_bandit' to be installed with {}
[INFO] Activated environments: unit
[INFO] Building lava-nc version 0.2.0
[INFO] Executing build in c:\users\sbryan\lava-main
[INFO] Going to execute tasks: analyze, publish
[INFO] Processing plugin packages 'coverage~=5.2' to be installed with {'upgrade': True}
[INFO] Processing plugin packages 'flake8~=3.7' to be installed with {'upgrade': True}
[INFO] Processing plugin packages 'pypandoc~=1.4' to be installed with {'upgrade': True}
[INFO] Processing plugin packages 'setuptools>=38.6.0' to be installed with {'upgrade': True}
[INFO] Processing plugin packages 'sphinx_rtd_theme' to be installed with {}
[INFO] Processing plugin packages 'sphinx_tabs' to be installed with {}
[INFO] Processing plugin packages 'twine>=1.15.0' to be installed with {'upgrade': True}
[INFO] Processing plugin packages 'unittest-xml-reporting~=3.0.4' to be installed with {'upgrade': True}
[INFO] Processing plugin packages 'wheel>=0.34.0' to be installed with {'upgrade': True}
[INFO] Creating target 'build' VEnv in 'c:\users\sbryan\lava-main\target\venv\build\cpython-3.9.7.final.0'
[INFO] Processing dependency packages 'requirements.txt' to be installed with {}
[INFO] Creating target 'test' VEnv in 'c:\users\sbryan\lava-main\target\venv\test\cpython-3.9.7.final.0'
[INFO] Processing dependency packages 'requirements.txt' to be installed with {}
[INFO] Requested coverage for tasks: pybuilder.plugins.python.unittest_plugin:run_unit_tests
[INFO] Running unit tests
[INFO] Executing unit tests from Python modules in c:\users\sbryan\lava-main\tests\lava
Traceback (most recent call last):
File "c:\users\sbryan\lava-main\src\lava\magma\runtime\message_infrastructure\multiprocessing.py", line 30, in run
mp.Process.run(self)
File "C:\Users\sbryan.conda\envs\lavaa\lib\multiprocessing\process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "c:\users\sbryan\lava-main\src\lava\magma\runtime\runtime.py", line 38, in target_fn
actor.start(*args, **kwargs)
File "c:\users\sbryan\lava-main\src\lava\magma\core\model\py\model.py", line 62, in start
self.run()
File "c:\users\sbryan\lava-main\src\lava\magma\core\model\py\model.py", line 161, in run
raise inst
File "c:\users\sbryan\lava-main\src\lava\magma\core\model\py\model.py", line 132, in run
self.run_spk()
File "c:\users\sbryan\lava-main\tests\lava\magma\runtime\test_exception_handling.py", line 50, in run_spk
raise AssertionError("All the error info")
AssertionError: All the error info

Traceback (most recent call last):
File "c:\users\sbryan\lava-main\src\lava\magma\runtime\message_infrastructure\multiprocessing.py", line 30, in run
mp.Process.run(self)
File "C:\Users\sbryan.conda\envs\lavaa\lib\multiprocessing\process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "c:\users\sbryan\lava-main\src\lava\magma\runtime\runtime.py", line 38, in target_fn
actor.start(*args, **kwargs)
File "c:\users\sbryan\lava-main\src\lava\magma\core\model\py\model.py", line 62, in start
self.run()
File "c:\users\sbryan\lava-main\src\lava\magma\core\model\py\model.py", line 161, in run
raise inst
File "c:\users\sbryan\lava-main\src\lava\magma\core\model\py\model.py", line 132, in run
self.run_spk()
File "c:\users\sbryan\lava-main\tests\lava\magma\runtime\test_exception_handling.py", line 50, in run_spk
raise AssertionError("All the error info")
AssertionError: All the error info

Traceback (most recent call last):
File "c:\users\sbryan\lava-main\src\lava\magma\runtime\message_infrastructure\multiprocessing.py", line 30, in run
mp.Process.run(self)
File "C:\Users\sbryan.conda\envs\lavaa\lib\multiprocessing\process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "c:\users\sbryan\lava-main\src\lava\magma\runtime\runtime.py", line 38, in target_fn
actor.start(*args, **kwargs)
File "c:\users\sbryan\lava-main\src\lava\magma\core\model\py\model.py", line 62, in start
self.run()
File "c:\users\sbryan\lava-main\src\lava\magma\core\model\py\model.py", line 161, in run
raise inst
File "c:\users\sbryan\lava-main\src\lava\magma\core\model\py\model.py", line 132, in run
self.run_spk()
File "c:\users\sbryan\lava-main\tests\lava\magma\runtime\test_exception_handling.py", line 63, in run_spk
raise TypeError("All the error info")
TypeError: All the error info

Traceback (most recent call last):
File "c:\users\sbryan\lava-main\src\lava\magma\runtime\message_infrastructure\multiprocessing.py", line 30, in run
mp.Process.run(self)
File "C:\Users\sbryan.conda\envs\lavaa\lib\multiprocessing\process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "c:\users\sbryan\lava-main\src\lava\magma\runtime\runtime.py", line 38, in target_fn
actor.start(*args, **kwargs)
File "c:\users\sbryan\lava-main\src\lava\magma\core\model\py\model.py", line 62, in start
self.run()
File "c:\users\sbryan\lava-main\src\lava\magma\core\model\py\model.py", line 161, in run
raise inst
File "c:\users\sbryan\lava-main\src\lava\magma\core\model\py\model.py", line 132, in run
self.run_spk()
File "c:\users\sbryan\lava-main\tests\lava\magma\runtime\test_exception_handling.py", line 63, in run_spk
raise TypeError("All the error info")
TypeError: All the error info

Traceback (most recent call last):
File "c:\users\sbryan\lava-main\src\lava\magma\runtime\message_infrastructure\multiprocessing.py", line 30, in run
mp.Process.run(self)
File "C:\Users\sbryan.conda\envs\lavaa\lib\multiprocessing\process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "c:\users\sbryan\lava-main\src\lava\magma\runtime\runtime.py", line 38, in target_fn
actor.start(*args, **kwargs)
File "c:\users\sbryan\lava-main\src\lava\magma\core\model\py\model.py", line 62, in start
self.run()
File "c:\users\sbryan\lava-main\src\lava\magma\core\model\py\model.py", line 161, in run
raise inst
File "c:\users\sbryan\lava-main\src\lava\magma\core\model\py\model.py", line 132, in run
self.run_spk()
File "c:\users\sbryan\lava-main\tests\lava\magma\runtime\test_exception_handling.py", line 50, in run_spk
raise AssertionError("All the error info")
AssertionError: All the error info

Runtime not started yet.
c:\users\sbryan\lava-main\src\lava\proc\lif\models.py:129: RuntimeWarning: divide by zero encountered in remainder
wrapped_curr = np.mod(decayed_curr,
[Loihi1SimCfg]: Using the first PyProcessModel PyLifModelFloat available for Process Process_128::LIF.
[Loihi1SimCfg]: Using the first PyProcessModel PyLifModelFloat available for Process Process_131::LIF.
[Loihi1SimCfg]: Using the first PyProcessModel PyLifModelFloat available for Process Process_134::LIF.
[INFO] Executed 150 unit tests
[INFO] All unit tests passed.
[INFO] Executing flake8 on project sources.
[INFO] Building distribution in c:\users\sbryan\lava-main\target\dist\lava-nc-0.2.0
[INFO] Copying scripts to c:\users\sbryan\lava-main\target\dist\lava-nc-0.2.0\scripts
[INFO] Writing setup.py as c:\users\sbryan\lava-main\target\dist\lava-nc-0.2.0\setup.py
[INFO] Collecting coverage information for 'pybuilder.plugins.python.unittest_plugin:run_unit_tests'
[WARN] ut_coverage_branch_threshold_warn is 0 and branch coverage will not be checked
[WARN] ut_coverage_branch_partial_threshold_warn is 0 and partial branch coverage will not be checked
[INFO] Running unit tests
[INFO] Executing unit tests from Python modules in c:\users\sbryan\lava-main\tests\lava
Traceback (most recent call last):
File "c:\users\sbryan\lava-main\src\lava\magma\runtime\message_infrastructure\multiprocessing.py", line 30, in run
mp.Process.run(self)
File "C:\Users\sbryan.conda\envs\lavaa\lib\multiprocessing\process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "c:\users\sbryan\lava-main\src\lava\magma\runtime\runtime.py", line 38, in target_fn
actor.start(*args, **kwargs)
File "c:\users\sbryan\lava-main\src\lava\magma\core\model\py\model.py", line 62, in start
self.run()
File "c:\users\sbryan\lava-main\src\lava\magma\core\model\py\model.py", line 161, in run
raise inst
File "c:\users\sbryan\lava-main\src\lava\magma\core\model\py\model.py", line 132, in run
self.run_spk()
File "c:\users\sbryan\lava-main\tests\lava\magma\runtime\test_exception_handling.py", line 50, in run_spk
raise AssertionError("All the error info")
AssertionError: All the error info

Traceback (most recent call last):
File "c:\users\sbryan\lava-main\src\lava\magma\runtime\message_infrastructure\multiprocessing.py", line 30, in run
mp.Process.run(self)
File "C:\Users\sbryan.conda\envs\lavaa\lib\multiprocessing\process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "c:\users\sbryan\lava-main\src\lava\magma\runtime\runtime.py", line 38, in target_fn
actor.start(*args, **kwargs)
File "c:\users\sbryan\lava-main\src\lava\magma\core\model\py\model.py", line 62, in start
self.run()
File "c:\users\sbryan\lava-main\src\lava\magma\core\model\py\model.py", line 161, in run
raise inst
File "c:\users\sbryan\lava-main\src\lava\magma\core\model\py\model.py", line 132, in run
self.run_spk()
File "c:\users\sbryan\lava-main\tests\lava\magma\runtime\test_exception_handling.py", line 50, in run_spk
raise AssertionError("All the error info")
AssertionError: All the error info

Traceback (most recent call last):
File "c:\users\sbryan\lava-main\src\lava\magma\runtime\message_infrastructure\multiprocessing.py", line 30, in run
mp.Process.run(self)
File "C:\Users\sbryan.conda\envs\lavaa\lib\multiprocessing\process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "c:\users\sbryan\lava-main\src\lava\magma\runtime\runtime.py", line 38, in target_fn
actor.start(*args, **kwargs)
File "c:\users\sbryan\lava-main\src\lava\magma\core\model\py\model.py", line 62, in start
self.run()
File "c:\users\sbryan\lava-main\src\lava\magma\core\model\py\model.py", line 161, in run
raise inst
File "c:\users\sbryan\lava-main\src\lava\magma\core\model\py\model.py", line 132, in run
self.run_spk()
File "c:\users\sbryan\lava-main\tests\lava\magma\runtime\test_exception_handling.py", line 63, in run_spk
raise TypeError("All the error info")
TypeError: All the error info

Traceback (most recent call last):
File "c:\users\sbryan\lava-main\src\lava\magma\runtime\message_infrastructure\multiprocessing.py", line 30, in run
mp.Process.run(self)
File "C:\Users\sbryan.conda\envs\lavaa\lib\multiprocessing\process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "c:\users\sbryan\lava-main\src\lava\magma\runtime\runtime.py", line 38, in target_fn
actor.start(*args, **kwargs)
File "c:\users\sbryan\lava-main\src\lava\magma\core\model\py\model.py", line 62, in start
self.run()
File "c:\users\sbryan\lava-main\src\lava\magma\core\model\py\model.py", line 161, in run
raise inst
File "c:\users\sbryan\lava-main\src\lava\magma\core\model\py\model.py", line 132, in run
self.run_spk()
File "c:\users\sbryan\lava-main\tests\lava\magma\runtime\test_exception_handling.py", line 63, in run_spk
raise TypeError("All the error info")
TypeError: All the error info

Traceback (most recent call last):
File "c:\users\sbryan\lava-main\src\lava\magma\runtime\message_infrastructure\multiprocessing.py", line 30, in run
mp.Process.run(self)
File "C:\Users\sbryan.conda\envs\lavaa\lib\multiprocessing\process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "c:\users\sbryan\lava-main\src\lava\magma\runtime\runtime.py", line 38, in target_fn
actor.start(*args, **kwargs)
File "c:\users\sbryan\lava-main\src\lava\magma\core\model\py\model.py", line 62, in start
self.run()
File "c:\users\sbryan\lava-main\src\lava\magma\core\model\py\model.py", line 161, in run
raise inst
File "c:\users\sbryan\lava-main\src\lava\magma\core\model\py\model.py", line 132, in run
self.run_spk()
File "c:\users\sbryan\lava-main\tests\lava\magma\runtime\test_exception_handling.py", line 50, in run_spk
raise AssertionError("All the error info")
AssertionError: All the error info

Runtime not started yet.
c:\users\sbryan\lava-main\src\lava\proc\lif\models.py:129: RuntimeWarning: divide by zero encountered in remainder
wrapped_curr = np.mod(decayed_curr,
[Loihi1SimCfg]: Using the first PyProcessModel PyLifModelFloat available for Process Process_128::LIF.
[Loihi1SimCfg]: Using the first PyProcessModel PyLifModelFloat available for Process Process_131::LIF.
[Loihi1SimCfg]: Using the first PyProcessModel PyLifModelFloat available for Process Process_134::LIF.
[INFO] Executed 150 unit tests
[INFO] All unit tests passed.
[WARN] Test coverage below 70% for lava.magma.core.run_configs: 64%
[WARN] Test coverage below 70% for lava.magma.core.model.model: 60%
[WARN] Test coverage below 70% for lava.magma.core.model.c.type: 0%
[WARN] Test coverage below 70% for lava.magma.core.model.nc.model: 43%
[WARN] Test coverage below 70% for lava.magma.core.model.py.model: 39%
[WARN] Test coverage below 70% for lava.magma.core.model.py.ports: 68%
[WARN] Test coverage below 70% for lava.magma.runtime.runtime_service: 31%
[WARN] Test coverage below 70% for lava.proc.conv.utils: 65%
[WARN] Test coverage below 70% for lava.proc.dense.models: 58%
[WARN] Test coverage below 70% for lava.proc.lif.models: 45%
[WARN] Test coverage below 70% for lava.proc.monitor.models: 66%
[WARN] Test coverage below 70% for lava.utils.float2fixed: 0%
[WARN] Test coverage below 70% for lava.utils.profiler: 0%
[WARN] Test coverage below 70% for lava.utils.validator: 0%
[WARN] Test coverage below 70% for lava.utils.visualizer: 0%
[WARN] Test coverage below 70% for lava.utils.dataloader.mnist: 0%
[INFO] Overall pybuilder.plugins.python.unittest_plugin.run_unit_tests coverage is 75%
[INFO] Overall pybuilder.plugins.python.unittest_plugin.run_unit_tests branch coverage is 59%
[INFO] Overall pybuilder.plugins.python.unittest_plugin.run_unit_tests partial branch coverage is 88%
[WARN] Test coverage below 70% for lava.magma.core.run_configs: 64%
[WARN] Test coverage below 70% for lava.magma.core.model.model: 60%
[WARN] Test coverage below 70% for lava.magma.core.model.c.type: 0%
[WARN] Test coverage below 70% for lava.magma.core.model.nc.model: 43%
[WARN] Test coverage below 70% for lava.magma.core.model.py.model: 39%
[WARN] Test coverage below 70% for lava.magma.core.model.py.ports: 68%
[WARN] Test coverage below 70% for lava.magma.runtime.runtime_service: 31%
[WARN] Test coverage below 70% for lava.proc.conv.utils: 65%
[WARN] Test coverage below 70% for lava.proc.dense.models: 58%
[WARN] Test coverage below 70% for lava.proc.lif.models: 45%
[WARN] Test coverage below 70% for lava.proc.monitor.models: 66%
[WARN] Test coverage below 70% for lava.utils.float2fixed: 0%
[WARN] Test coverage below 70% for lava.utils.profiler: 0%
[WARN] Test coverage below 70% for lava.utils.validator: 0%
[WARN] Test coverage below 70% for lava.utils.visualizer: 0%
[WARN] Test coverage below 70% for lava.utils.dataloader.mnist: 0%
[INFO] Overall lava-nc coverage is 75%
[INFO] Overall lava-nc branch coverage is 59%
[INFO] Overall lava-nc partial branch coverage is 88%
[INFO] Building binary distribution in c:\users\sbryan\lava-main\target\dist\lava-nc-0.2.0

BUILD FAILED - Error while executing setup command ['bdist_dumb']. See c:\users\sbryan\lava-main\target\reports\distutils\bdist_dumb for full details:
.pyc
byte-compiling build\bdist.win-amd64\dumb\users\sbryan\lava-main.pybuilder\plugins\cpython-3.9.7.final.0\Lib\site-packages\lava\magma\core\resources.py to resources.cpython-39.pyc
byte-compiling build\bdist.win-amd64\dumb\users\sbryan\lava-main.pybuilder\plugins\cpython-3.9.7.final.0\Lib\site-packages\lava\magma\core\run_conditions.py to run_conditions.cpython-39.pyc
byte-compiling build\bdist.win-amd64\dumb\users\sbryan\lava-main.pybuilder\plugins\cpython-3.9.7.final.0\Lib\site-packages\lava\magma\core\run_configs.py to run_configs.cpython-39.pyc
byte-compiling build\bdist.win-amd64\dumb\users\sbryan\lava-main.pybuilder\plugins\cpython-3.9.7.final.0\Lib\site-packages\lava\magma\core\sync\domain.py to domain.cpython-39.pyc
byte-compiling build\bdist.win-amd64\dumb\users\sbryan\lava-main.pybuilder\plugins\cpython-3.9.7.final.0\Lib\site-packages\lava\magma\core\sync\protocol.py to protocol.cpython-39.pyc
byte-compiling build\bdist.win-amd64\dumb\users\sbryan\lava-main.pybuilder\plugins\cpython-3.9.7.final.0\Lib\site-packages\lava\magma\core\sync\protocols\async_protocol.py to async_protocol.cpython-39.pyc
byte-compiling build\bdist.win-amd64\dumb\users\sbryan\lava-main.pybuilder\plugins\cpython-3.9.7.final.0\Lib\site-packages\lava\magma\core\sync\protocols\loihi_protocol.py to loihi_protocol.cpython-39.pyc
byte-compiling build\bdist.win-amd64\dumb\users\sbryan\lava-main.pybuilder\plugins\cpython-3.9.7.final.0\Lib\site-packages\lava\magma\runtime\message_infrastructure\factory.py to factory.cpython-39.pyc
byte-compiling build\bdist.win-amd64\dumb\users\sbryan\lava-main.pybuilder\plugins\cpython-3.9.7.final.0\Lib\site-packages\lava\magma\runtime\message_infrastructure\message_infrastructure_interface.py to message_infrastructure_interface.cpython-39.pyc
error: [Errno 2] No such file or directory: 'build\bdist.win-amd64\dumb\users\sbryan\lava-main\.pybuilder\plugins\cpython-3.9.7.final.0\Lib\site-packages\lava\magma\runtime\message_infrastructure\pycache\message_infrastructure_interface.cpython-39.pyc.1910180129760'
(site-packages\pybuilder\plugins\python\distutils_plugin.py:394)

Build finished at 2021-12-29 13:10:38
Build took 225 seconds (225803 ms)

Other information:
I am using the most current version of Python, running on Windows.

@nskat
Copy link

nskat commented Jan 4, 2022

Hello, I have the same issue, have you managed to resolve it?

@nskat
Copy link

nskat commented Jan 5, 2022

Hello @remotepilotsam, if you are still blocked with this, I have managed to build successfully by using Miniconda shell in Administrator mode, and cloning the https repo (git clone https://github.com/lava-nc/lava.git). I'm using conda 4.10.3 and python 3.9.7. I hope this is helpful. There were still errors during the build though, and I don't know yet if everything will work fine. It seems related to previous errors with multiprocessing on Windows (#95 for instance). If someone can have a look at the log it might be helpful:

(snn) C:\Users\K1804053\OneDrive - King's College London\PycharmProjects\lava>pyb -E unit
PyBuilder version 0.13.3
Build started at 2022-01-05 12:07:31
------------------------------------------------------------
[INFO]  Installing or updating plugin "pypi:pybuilder_bandit, module name 'pybuilder_bandit'"
[INFO]  Processing plugin packages 'pybuilder_bandit' to be installed with {}
[INFO]  Activated environments: unit
[INFO]  Building lava-nc version 0.2.0
[INFO]  Executing build in c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava
[INFO]  Going to execute tasks: analyze, publish
[INFO]  Processing plugin packages 'coverage~=5.2' to be installed with {'upgrade': True}
[INFO]  Processing plugin packages 'flake8~=3.7' to be installed with {'upgrade': True}
[INFO]  Processing plugin packages 'pypandoc~=1.4' to be installed with {'upgrade': True}
[INFO]  Processing plugin packages 'setuptools>=38.6.0' to be installed with {'upgrade': True}
[INFO]  Processing plugin packages 'sphinx' to be installed with {}
[INFO]  Processing plugin packages 'sphinx_rtd_theme' to be installed with {}
[INFO]  Processing plugin packages 'sphinx_tabs' to be installed with {}
[INFO]  Processing plugin packages 'twine>=1.15.0' to be installed with {'upgrade': True}
[INFO]  Processing plugin packages 'unittest-xml-reporting~=3.0.4' to be installed with {'upgrade': True}
[INFO]  Processing plugin packages 'wheel>=0.34.0' to be installed with {'upgrade': True}
[INFO]  Creating target 'build' VEnv in 'c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava\target\venv\build\cpython-3.9.7.final.0'
[INFO]  Processing dependency packages 'sphinx' to be installed with {}
[INFO]  Processing dependency packages 'requirements.txt' to be installed with {}
[INFO]  Creating target 'test' VEnv in 'c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava\target\venv\test\cpython-3.9.7.final.0'
[INFO]  Processing dependency packages 'requirements.txt' to be installed with {}
[INFO]  Requested coverage for tasks: pybuilder.plugins.python.unittest_plugin:run_unit_tests
[INFO]  Running unit tests
[INFO]  Executing unit tests from Python modules in c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava\tests\lava
Traceback (most recent call last):
  File "c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava\src\lava\magma\runtime\message_infrastructure\multiprocessing.py", line 30, in run
    mp.Process.run(self)
  File "C:\Users\K1804053\Miniconda3\envs\snn\lib\multiprocessing\process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava\src\lava\magma\runtime\runtime.py", line 38, in target_fn
    actor.start(*args, **kwargs)
  File "c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava\src\lava\magma\core\model\py\model.py", line 62, in start
    self.run()
  File "c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava\src\lava\magma\core\model\py\model.py", line 161, in run
    raise inst
  File "c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava\src\lava\magma\core\model\py\model.py", line 132, in run
    self.run_spk()
  File "c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava\tests\lava\magma\runtime\test_exception_handling.py", line 50, in run_spk
    raise AssertionError("All the error info")
AssertionError: All the error info

Traceback (most recent call last):
  File "c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava\src\lava\magma\runtime\message_infrastructure\multiprocessing.py", line 30, in run
    mp.Process.run(self)
  File "C:\Users\K1804053\Miniconda3\envs\snn\lib\multiprocessing\process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava\src\lava\magma\runtime\runtime.py", line 38, in target_fn
    actor.start(*args, **kwargs)
  File "c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava\src\lava\magma\core\model\py\model.py", line 62, in start
    self.run()
  File "c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava\src\lava\magma\core\model\py\model.py", line 161, in run
    raise inst
  File "c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava\src\lava\magma\core\model\py\model.py", line 132, in run
    self.run_spk()
  File "c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava\tests\lava\magma\runtime\test_exception_handling.py", line 63, in run_spk
    raise TypeError("All the error info")
TypeError: All the error info

Traceback (most recent call last):
  File "c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava\src\lava\magma\runtime\message_infrastructure\multiprocessing.py", line 30, in run
    mp.Process.run(self)
  File "C:\Users\K1804053\Miniconda3\envs\snn\lib\multiprocessing\process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava\src\lava\magma\runtime\runtime.py", line 38, in target_fn
    actor.start(*args, **kwargs)
  File "c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava\src\lava\magma\core\model\py\model.py", line 62, in start
    self.run()
  File "c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava\src\lava\magma\core\model\py\model.py", line 161, in run
    raise inst
  File "c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava\src\lava\magma\core\model\py\model.py", line 132, in run
    self.run_spk()
  File "c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava\tests\lava\magma\runtime\test_exception_handling.py", line 50, in run_spk
    raise AssertionError("All the error info")
AssertionError: All the error info

Traceback (most recent call last):
  File "c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava\src\lava\magma\runtime\message_infrastructure\multiprocessing.py", line 30, in run
    mp.Process.run(self)
  File "C:\Users\K1804053\Miniconda3\envs\snn\lib\multiprocessing\process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava\src\lava\magma\runtime\runtime.py", line 38, in target_fn
    actor.start(*args, **kwargs)
  File "c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava\src\lava\magma\core\model\py\model.py", line 62, in start
    self.run()
  File "c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava\src\lava\magma\core\model\py\model.py", line 161, in run
    raise inst
  File "c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava\src\lava\magma\core\model\py\model.py", line 132, in run
    self.run_spk()
  File "c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava\tests\lava\magma\runtime\test_exception_handling.py", line 50, in run_spk
    raise AssertionError("All the error info")
AssertionError: All the error info

Traceback (most recent call last):
  File "c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava\src\lava\magma\runtime\message_infrastructure\multiprocessing.py", line 30, in run
    mp.Process.run(self)
  File "C:\Users\K1804053\Miniconda3\envs\snn\lib\multiprocessing\process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava\src\lava\magma\runtime\runtime.py", line 38, in target_fn
    actor.start(*args, **kwargs)
  File "c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava\src\lava\magma\core\model\py\model.py", line 62, in start
    self.run()
  File "c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava\src\lava\magma\core\model\py\model.py", line 161, in run
    raise inst
  File "c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava\src\lava\magma\core\model\py\model.py", line 132, in run
    self.run_spk()
  File "c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava\tests\lava\magma\runtime\test_exception_handling.py", line 63, in run_spk
    raise TypeError("All the error info")
TypeError: All the error info

Runtime not started yet.
c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava\src\lava\proc\lif\models.py:129: RuntimeWarning: divide by zero encountered in remainder
  wrapped_curr = np.mod(decayed_curr,
[Loihi1SimCfg]: Using the first PyProcessModel PyLifModelFloat available for Process Process_128::LIF.
[Loihi1SimCfg]: Using the first PyProcessModel PyLifModelFloat available for Process Process_131::LIF.
[Loihi1SimCfg]: Using the first PyProcessModel PyLifModelFloat available for Process Process_134::LIF.
[INFO]  Executed 150 unit tests
[INFO]  All unit tests passed.
[INFO]  Executing flake8 on project sources.
[INFO]  Building distribution in c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava\target\dist\lava-nc-0.2.0
[INFO]  Copying scripts to c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava\target\dist\lava-nc-0.2.0\scripts
[INFO]  Writing setup.py as c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava\target\dist\lava-nc-0.2.0\setup.py
[INFO]  Collecting coverage information for 'pybuilder.plugins.python.unittest_plugin:run_unit_tests'
[WARN]  ut_coverage_branch_threshold_warn is 0 and branch coverage will not be checked
[WARN]  ut_coverage_branch_partial_threshold_warn is 0 and partial branch coverage will not be checked
[INFO]  Running unit tests
[INFO]  Executing unit tests from Python modules in c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava\tests\lava
Traceback (most recent call last):
  File "c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava\src\lava\magma\runtime\message_infrastructure\multiprocessing.py", line 30, in run
    mp.Process.run(self)
  File "C:\Users\K1804053\Miniconda3\envs\snn\lib\multiprocessing\process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava\src\lava\magma\runtime\runtime.py", line 38, in target_fn
    actor.start(*args, **kwargs)
  File "c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava\src\lava\magma\core\model\py\model.py", line 62, in start
    self.run()
  File "c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava\src\lava\magma\core\model\py\model.py", line 161, in run
    raise inst
  File "c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava\src\lava\magma\core\model\py\model.py", line 132, in run
    self.run_spk()
  File "c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava\tests\lava\magma\runtime\test_exception_handling.py", line 50, in run_spk
    raise AssertionError("All the error info")
AssertionError: All the error info

Traceback (most recent call last):
  File "c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava\src\lava\magma\runtime\message_infrastructure\multiprocessing.py", line 30, in run
    mp.Process.run(self)
  File "C:\Users\K1804053\Miniconda3\envs\snn\lib\multiprocessing\process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava\src\lava\magma\runtime\runtime.py", line 38, in target_fn
    actor.start(*args, **kwargs)
  File "c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava\src\lava\magma\core\model\py\model.py", line 62, in start
    self.run()
  File "c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava\src\lava\magma\core\model\py\model.py", line 161, in run
    raise inst
  File "c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava\src\lava\magma\core\model\py\model.py", line 132, in run
    self.run_spk()
  File "c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava\tests\lava\magma\runtime\test_exception_handling.py", line 50, in run_spk
    raise AssertionError("All the error info")
AssertionError: All the error info

Traceback (most recent call last):
  File "c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava\src\lava\magma\runtime\message_infrastructure\multiprocessing.py", line 30, in run
    mp.Process.run(self)
  File "C:\Users\K1804053\Miniconda3\envs\snn\lib\multiprocessing\process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava\src\lava\magma\runtime\runtime.py", line 38, in target_fn
    actor.start(*args, **kwargs)
  File "c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava\src\lava\magma\core\model\py\model.py", line 62, in start
    self.run()
  File "c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava\src\lava\magma\core\model\py\model.py", line 161, in run
    raise inst
  File "c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava\src\lava\magma\core\model\py\model.py", line 132, in run
    self.run_spk()
  File "c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava\tests\lava\magma\runtime\test_exception_handling.py", line 63, in run_spk
    raise TypeError("All the error info")
TypeError: All the error info

Traceback (most recent call last):
  File "c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava\src\lava\magma\runtime\message_infrastructure\multiprocessing.py", line 30, in run
    mp.Process.run(self)
  File "C:\Users\K1804053\Miniconda3\envs\snn\lib\multiprocessing\process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava\src\lava\magma\runtime\runtime.py", line 38, in target_fn
    actor.start(*args, **kwargs)
  File "c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava\src\lava\magma\core\model\py\model.py", line 62, in start
    self.run()
  File "c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava\src\lava\magma\core\model\py\model.py", line 161, in run
    raise inst
  File "c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava\src\lava\magma\core\model\py\model.py", line 132, in run
    self.run_spk()
  File "c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava\tests\lava\magma\runtime\test_exception_handling.py", line 63, in run_spk
    raise TypeError("All the error info")
TypeError: All the error info

Traceback (most recent call last):
  File "c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava\src\lava\magma\runtime\message_infrastructure\multiprocessing.py", line 30, in run
    mp.Process.run(self)
  File "C:\Users\K1804053\Miniconda3\envs\snn\lib\multiprocessing\process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava\src\lava\magma\runtime\runtime.py", line 38, in target_fn
    actor.start(*args, **kwargs)
  File "c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava\src\lava\magma\core\model\py\model.py", line 62, in start
    self.run()
  File "c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava\src\lava\magma\core\model\py\model.py", line 161, in run
    raise inst
  File "c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava\src\lava\magma\core\model\py\model.py", line 132, in run
    self.run_spk()
  File "c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava\tests\lava\magma\runtime\test_exception_handling.py", line 50, in run_spk
    raise AssertionError("All the error info")
AssertionError: All the error info

Runtime not started yet.
c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava\src\lava\proc\lif\models.py:129: RuntimeWarning: divide by zero encountered in remainder
  wrapped_curr = np.mod(decayed_curr,
[Loihi1SimCfg]: Using the first PyProcessModel PyLifModelFloat available for Process Process_128::LIF.
[Loihi1SimCfg]: Using the first PyProcessModel PyLifModelFloat available for Process Process_131::LIF.
[Loihi1SimCfg]: Using the first PyProcessModel PyLifModelFloat available for Process Process_134::LIF.
[INFO]  Executed 150 unit tests
[INFO]  All unit tests passed.
[WARN]  Test coverage below 70% for lava.magma.core.run_configs: 64%
[WARN]  Test coverage below 70% for lava.magma.core.model.model: 60%
[WARN]  Test coverage below 70% for lava.magma.core.model.c.type:  0%
[WARN]  Test coverage below 70% for lava.magma.core.model.nc.model: 43%
[WARN]  Test coverage below 70% for lava.magma.core.model.py.model: 39%
[WARN]  Test coverage below 70% for lava.magma.core.model.py.ports: 68%
[WARN]  Test coverage below 70% for lava.magma.runtime.runtime_service: 31%
[WARN]  Test coverage below 70% for lava.proc.conv.utils: 65%
[WARN]  Test coverage below 70% for lava.proc.dense.models: 58%
[WARN]  Test coverage below 70% for lava.proc.lif.models: 45%
[WARN]  Test coverage below 70% for lava.proc.monitor.models: 66%
[WARN]  Test coverage below 70% for lava.utils.float2fixed:  0%
[WARN]  Test coverage below 70% for lava.utils.profiler:  0%
[WARN]  Test coverage below 70% for lava.utils.validator:  0%
[WARN]  Test coverage below 70% for lava.utils.visualizer:  0%
[WARN]  Test coverage below 70% for lava.utils.dataloader.mnist:  0%
[INFO]  Overall pybuilder.plugins.python.unittest_plugin.run_unit_tests coverage is 75%
[INFO]  Overall pybuilder.plugins.python.unittest_plugin.run_unit_tests branch coverage is 59%
[INFO]  Overall pybuilder.plugins.python.unittest_plugin.run_unit_tests partial branch coverage is 88%
[WARN]  Test coverage below 70% for lava.magma.core.run_configs: 64%
[WARN]  Test coverage below 70% for lava.magma.core.model.model: 60%
[WARN]  Test coverage below 70% for lava.magma.core.model.c.type:  0%
[WARN]  Test coverage below 70% for lava.magma.core.model.nc.model: 43%
[WARN]  Test coverage below 70% for lava.magma.core.model.py.model: 39%
[WARN]  Test coverage below 70% for lava.magma.core.model.py.ports: 68%
[WARN]  Test coverage below 70% for lava.magma.runtime.runtime_service: 31%
[WARN]  Test coverage below 70% for lava.proc.conv.utils: 65%
[WARN]  Test coverage below 70% for lava.proc.dense.models: 58%
[WARN]  Test coverage below 70% for lava.proc.lif.models: 45%
[WARN]  Test coverage below 70% for lava.proc.monitor.models: 66%
[WARN]  Test coverage below 70% for lava.utils.float2fixed:  0%
[WARN]  Test coverage below 70% for lava.utils.profiler:  0%
[WARN]  Test coverage below 70% for lava.utils.validator:  0%
[WARN]  Test coverage below 70% for lava.utils.visualizer:  0%
[WARN]  Test coverage below 70% for lava.utils.dataloader.mnist:  0%
[INFO]  Overall lava-nc coverage is 75%
[INFO]  Overall lava-nc branch coverage is 59%
[INFO]  Overall lava-nc partial branch coverage is 88%
[INFO]  Building binary distribution in c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava\target\dist\lava-nc-0.2.0
[INFO]  Running Twine check for generated artifacts
------------------------------------------------------------
BUILD SUCCESSFUL
------------------------------------------------------------
Build Summary
             Project: lava-nc
             Version: 0.2.0
      Base directory: c:\users\k1804053\onedrive - king's college london\pycharmprojects\lava
        Environments: unit
               Tasks: prepare [120192 ms] compile_sources [0 ms] run_unit_tests [88530 ms] analyze [3743 ms] package [96 ms] run_integration_tests [0 ms] verify [0 ms] coverage [117876 ms] publish [6719 ms]
Build finished at 2022-01-05 12:13:15
Build took 343 seconds (343762 ms)

@biphasic
Copy link

biphasic commented Jan 14, 2022

I'm encountering similar problems, the last part of my stacktrace can be seen here. I'm on Ubuntu 20.04, conda 4.10.3 and Python 3.9.7. Reverted to installing the binaries.

@joehays
Copy link

joehays commented Jan 20, 2022

Our team is having slightly different errors,

joehays@SEDACS29L:~/dev/lava-new/src/lava (main)$ pyb -E unit
PyBuilder version 0.13.3
Build started at 2022-01-20 12:02:27
------------------------------------------------------------
[INFO]  Installing or updating plugin "pypi:pybuilder_bandit, module name 'pybuilder_bandit'"
[INFO]  Processing plugin packages 'pybuilder_bandit' to be installed with {}
[INFO]  Activated environments: unit
[INFO]  Building lava-nc version 0.2.0
[INFO]  Executing build in /mnt/c/dev/lava-new/src/lava
[INFO]  Going to execute tasks: analyze, publish
[INFO]  Processing plugin packages 'coverage~=5.2' to be installed with {'upgrade': True}
[INFO]  Processing plugin packages 'flake8~=3.7' to be installed with {'upgrade': True}
[INFO]  Processing plugin packages 'pypandoc~=1.4' to be installed with {'upgrade': True}
[INFO]  Processing plugin packages 'setuptools>=38.6.0' to be installed with {'upgrade': True}
[INFO]  Processing plugin packages 'sphinx' to be installed with {}
[INFO]  Processing plugin packages 'sphinx_rtd_theme' to be installed with {}
[INFO]  Processing plugin packages 'sphinx_tabs' to be installed with {}
[INFO]  Processing plugin packages 'twine>=1.15.0' to be installed with {'upgrade': True}
[INFO]  Processing plugin packages 'unittest-xml-reporting~=3.0.4' to be installed with {'upgrade': True}
[INFO]  Processing plugin packages 'wheel>=0.34.0' to be installed with {'upgrade': True}
[INFO]  Creating target 'build' VEnv in '/mnt/c/dev/lava-new/src/lava/target/venv/build/cpython-3.8.10.final.0'
[INFO]  Processing dependency packages 'sphinx' to be installed with {}
[INFO]  Processing dependency packages 'requirements.txt' to be installed with {}
[INFO]  Creating target 'test' VEnv in '/mnt/c/dev/lava-new/src/lava/target/venv/test/cpython-3.8.10.final.0'
[INFO]  Processing dependency packages 'requirements.txt' to be installed with {}
[INFO]  Requested coverage for tasks: pybuilder.plugins.python.unittest_plugin:run_unit_tests
[INFO]  Running unit tests
[INFO]  Executing unit tests from Python modules in /mnt/c/dev/lava-new/src/lava/tests/lava
Exception happened
Traceback (most recent call last):
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/runtime/message_infrastructure/multiprocessing.py", line 30, in run
    mp.Process.run(self)
  File "/usr/lib/python3.8/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/runtime/runtime.py", line 39, in target_fn
    actor.start(*args, **kwargs)
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/core/model/py/model.py", line 55, in start
    self.run()
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/core/model/py/model.py", line 170, in run
    raise inst
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/core/model/py/model.py", line 124, in run
    self.run_spk()
  File "/mnt/c/dev/lava-new/src/lava/tests/lava/magma/runtime/test_exception_handling.py", line 50, in run_spk
    raise AssertionError("All the error info")
AssertionError: All the error info

Exception happened
Exception happened
Traceback (most recent call last):
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/runtime/message_infrastructure/multiprocessing.py", line 30, in run
    mp.Process.run(self)
  File "/usr/lib/python3.8/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/runtime/runtime.py", line 39, in target_fn
    actor.start(*args, **kwargs)
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/core/model/py/model.py", line 55, in start
    self.run()
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/core/model/py/model.py", line 170, in run
    raise inst
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/core/model/py/model.py", line 124, in run
    self.run_spk()
  File "/mnt/c/dev/lava-new/src/lava/tests/lava/magma/runtime/test_exception_handling.py", line 63, in run_spk
    raise TypeError("All the error info")
TypeError: All the error info

Traceback (most recent call last):
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/runtime/message_infrastructure/multiprocessing.py", line 30, in run
    mp.Process.run(self)
  File "/usr/lib/python3.8/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/runtime/runtime.py", line 39, in target_fn
    actor.start(*args, **kwargs)
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/core/model/py/model.py", line 55, in start
    self.run()
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/core/model/py/model.py", line 170, in run
    raise inst
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/core/model/py/model.py", line 124, in run
    self.run_spk()
  File "/mnt/c/dev/lava-new/src/lava/tests/lava/magma/runtime/test_exception_handling.py", line 50, in run_spk
    raise AssertionError("All the error info")
AssertionError: All the error info

Exception happened
Exception happened
Traceback (most recent call last):
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/runtime/message_infrastructure/multiprocessing.py", line 30, in run
    mp.Process.run(self)
  File "/usr/lib/python3.8/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/runtime/runtime.py", line 39, in target_fn
    actor.start(*args, **kwargs)
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/core/model/py/model.py", line 55, in start
    self.run()
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/core/model/py/model.py", line 170, in run
    raise inst
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/core/model/py/model.py", line 124, in run
    self.run_spk()
  File "/mnt/c/dev/lava-new/src/lava/tests/lava/magma/runtime/test_exception_handling.py", line 50, in run_spk
    raise AssertionError("All the error info")
AssertionError: All the error info

Traceback (most recent call last):
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/runtime/message_infrastructure/multiprocessing.py", line 30, in run
    mp.Process.run(self)
  File "/usr/lib/python3.8/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/runtime/runtime.py", line 39, in target_fn
    actor.start(*args, **kwargs)
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/core/model/py/model.py", line 55, in start
    self.run()
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/core/model/py/model.py", line 170, in run
    raise inst
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/core/model/py/model.py", line 124, in run
    self.run_spk()
  File "/mnt/c/dev/lava-new/src/lava/tests/lava/magma/runtime/test_exception_handling.py", line 63, in run_spk
    raise TypeError("All the error info")
TypeError: All the error info

Runtime not started yet.
[Loihi1SimCfg]: Using the first PyProcessModel PyLifModelFloat available for Process Process_128::LIF.
[Loihi1SimCfg]: Using the first PyProcessModel PyLifModelFloat available for Process Process_131::LIF.
[Loihi1SimCfg]: Using the first PyProcessModel PyLifModelFloat available for Process Process_134::LIF.
[INFO]  Executed 150 unit tests
[ERROR] Test has error: proc.dense.test_models.TestDenseProcessModelFloat.test_float_pm_recurrence
Traceback (most recent call last):
  File "/usr/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
    yield
  File "/usr/lib/python3.8/unittest/case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "/usr/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
    method()
  File "/mnt/c/dev/lava-new/src/lava/tests/lava/proc/dense/test_models.py", line 299, in test_float_pm_recurrence
    dense.run(condition=rcnd, run_cfg=rcfg)
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/core/process/process.py", line 399, in run
    self._runtime.initialize()
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/runtime/runtime.py", line 89, in initialize
    self._build_processes()
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/runtime/runtime.py", line 184, in _build_processes
    self._messaging_infrastructure.build_actor(
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/runtime/message_infrastructure/multiprocessing.py", line 71, in build_actor
    system_process.start()
  File "/usr/lib/python3.8/multiprocessing/process.py", line 121, in start
    self._popen = self._Popen(self)
  File "/usr/lib/python3.8/multiprocessing/context.py", line 224, in _Popen
    return _default_context.get_context().Process._Popen(process_obj)
  File "/usr/lib/python3.8/multiprocessing/context.py", line 284, in _Popen
    return Popen(process_obj)
  File "/usr/lib/python3.8/multiprocessing/popen_spawn_posix.py", line 32, in __init__
    super().__init__(process_obj)
  File "/usr/lib/python3.8/multiprocessing/popen_fork.py", line 19, in __init__
    self._launch(process_obj)
  File "/usr/lib/python3.8/multiprocessing/popen_spawn_posix.py", line 58, in _launch
    self.pid = util.spawnv_passfds(spawn.get_executable(),
  File "/usr/lib/python3.8/multiprocessing/util.py", line 450, in spawnv_passfds
    errpipe_read, errpipe_write = os.pipe()
OSError: [Errno 24] Too many open files

[ERROR] Test has error: proc.io.test_source_sink.TestSendReceive.test_source_sink
Traceback (most recent call last):
  File "/usr/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
    yield
  File "/usr/lib/python3.8/unittest/case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "/usr/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
    method()
  File "/mnt/c/dev/lava-new/src/lava/tests/lava/proc/io/test_source_sink.py", line 50, in test_source_sink
    sink.run(condition=run_condition, run_cfg=run_config)
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/core/process/process.py", line 399, in run
    self._runtime.initialize()
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/runtime/runtime.py", line 86, in initialize
    self._build_message_infrastructure()
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/runtime/runtime.py", line 109, in _build_message_infrastructure
    self._messaging_infrastructure.start()
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/runtime/message_infrastructure/multiprocessing.py", line 62, in start
    self._smm.start()
  File "/usr/lib/python3.8/multiprocessing/managers.py", line 579, in start
    self._process.start()
  File "/usr/lib/python3.8/multiprocessing/process.py", line 121, in start
    self._popen = self._Popen(self)
  File "/usr/lib/python3.8/multiprocessing/context.py", line 284, in _Popen
    return Popen(process_obj)
  File "/usr/lib/python3.8/multiprocessing/popen_spawn_posix.py", line 32, in __init__
    super().__init__(process_obj)
  File "/usr/lib/python3.8/multiprocessing/popen_fork.py", line 19, in __init__
    self._launch(process_obj)
  File "/usr/lib/python3.8/multiprocessing/popen_spawn_posix.py", line 58, in _launch
    self.pid = util.spawnv_passfds(spawn.get_executable(),
  File "/usr/lib/python3.8/multiprocessing/util.py", line 450, in spawnv_passfds
    errpipe_read, errpipe_write = os.pipe()
OSError: [Errno 24] Too many open files

[ERROR] Test has error: proc.lif.test_models.TestLIFProcessModelsFixed.test_bitacc_pm_impulse_du
Traceback (most recent call last):
  File "/usr/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
    yield
  File "/usr/lib/python3.8/unittest/case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "/usr/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
    method()
  File "/mnt/c/dev/lava-new/src/lava/tests/lava/proc/lif/test_models.py", line 326, in test_bitacc_pm_impulse_du
    lif.run(condition=rcnd, run_cfg=rcfg)
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/core/process/process.py", line 399, in run
    self._runtime.initialize()
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/runtime/runtime.py", line 86, in initialize
    self._build_message_infrastructure()
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/runtime/runtime.py", line 109, in _build_message_infrastructure
    self._messaging_infrastructure.start()
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/runtime/message_infrastructure/multiprocessing.py", line 62, in start
    self._smm.start()
  File "/usr/lib/python3.8/multiprocessing/managers.py", line 579, in start
    self._process.start()
  File "/usr/lib/python3.8/multiprocessing/process.py", line 121, in start
    self._popen = self._Popen(self)
  File "/usr/lib/python3.8/multiprocessing/context.py", line 284, in _Popen
    return Popen(process_obj)
  File "/usr/lib/python3.8/multiprocessing/popen_spawn_posix.py", line 32, in __init__
    super().__init__(process_obj)
  File "/usr/lib/python3.8/multiprocessing/popen_fork.py", line 19, in __init__
    self._launch(process_obj)
  File "/usr/lib/python3.8/multiprocessing/popen_spawn_posix.py", line 54, in _launch
    child_r, parent_w = os.pipe()
OSError: [Errno 24] Too many open files

[ERROR] Test has error: proc.lif.test_models.TestLIFProcessModelsFixed.test_bitacc_pm_impulse_dv
Traceback (most recent call last):
  File "/usr/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
    yield
  File "/usr/lib/python3.8/unittest/case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "/usr/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
    method()
  File "/mnt/c/dev/lava-new/src/lava/tests/lava/proc/lif/test_models.py", line 371, in test_bitacc_pm_impulse_dv
    lif.run(condition=rcnd, run_cfg=rcfg)
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/core/process/process.py", line 399, in run
    self._runtime.initialize()
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/runtime/runtime.py", line 86, in initialize
    self._build_message_infrastructure()
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/runtime/runtime.py", line 109, in _build_message_infrastructure
    self._messaging_infrastructure.start()
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/runtime/message_infrastructure/multiprocessing.py", line 62, in start
    self._smm.start()
  File "/usr/lib/python3.8/multiprocessing/managers.py", line 579, in start
    self._process.start()
  File "/usr/lib/python3.8/multiprocessing/process.py", line 121, in start
    self._popen = self._Popen(self)
  File "/usr/lib/python3.8/multiprocessing/context.py", line 284, in _Popen
    return Popen(process_obj)
  File "/usr/lib/python3.8/multiprocessing/popen_spawn_posix.py", line 32, in __init__
    super().__init__(process_obj)
  File "/usr/lib/python3.8/multiprocessing/popen_fork.py", line 19, in __init__
    self._launch(process_obj)
  File "/usr/lib/python3.8/multiprocessing/popen_spawn_posix.py", line 54, in _launch
    child_r, parent_w = os.pipe()
OSError: [Errno 24] Too many open files

[ERROR] Test has error: proc.lif.test_models.TestLIFProcessModelsFixed.test_bitacc_pm_no_decay
Traceback (most recent call last):
  File "/usr/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
    yield
  File "/usr/lib/python3.8/unittest/case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "/usr/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
    method()
  File "/mnt/c/dev/lava-new/src/lava/tests/lava/proc/lif/test_models.py", line 283, in test_bitacc_pm_no_decay
    lif.run(condition=rcnd, run_cfg=rcfg)
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/core/process/process.py", line 399, in run
    self._runtime.initialize()
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/runtime/runtime.py", line 86, in initialize
    self._build_message_infrastructure()
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/runtime/runtime.py", line 109, in _build_message_infrastructure
    self._messaging_infrastructure.start()
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/runtime/message_infrastructure/multiprocessing.py", line 62, in start
    self._smm.start()
  File "/usr/lib/python3.8/multiprocessing/managers.py", line 579, in start
    self._process.start()
  File "/usr/lib/python3.8/multiprocessing/process.py", line 121, in start
    self._popen = self._Popen(self)
  File "/usr/lib/python3.8/multiprocessing/context.py", line 284, in _Popen
    return Popen(process_obj)
  File "/usr/lib/python3.8/multiprocessing/popen_spawn_posix.py", line 32, in __init__
    super().__init__(process_obj)
  File "/usr/lib/python3.8/multiprocessing/popen_fork.py", line 19, in __init__
    self._launch(process_obj)
  File "/usr/lib/python3.8/multiprocessing/popen_spawn_posix.py", line 53, in _launch
    parent_r, child_w = os.pipe()
OSError: [Errno 24] Too many open files

[ERROR] Test has error: proc.lif.test_models.TestLIFProcessModelsFloat.test_float_pm_impulse_du
Traceback (most recent call last):
  File "/usr/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
    yield
  File "/usr/lib/python3.8/unittest/case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "/usr/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
    method()
  File "/mnt/c/dev/lava-new/src/lava/tests/lava/proc/lif/test_models.py", line 208, in test_float_pm_impulse_du
    lif.run(condition=rcnd, run_cfg=rcfg)
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/core/process/process.py", line 399, in run
    self._runtime.initialize()
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/runtime/runtime.py", line 86, in initialize
    self._build_message_infrastructure()
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/runtime/runtime.py", line 109, in _build_message_infrastructure
    self._messaging_infrastructure.start()
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/runtime/message_infrastructure/multiprocessing.py", line 62, in start
    self._smm.start()
  File "/usr/lib/python3.8/multiprocessing/managers.py", line 579, in start
    self._process.start()
  File "/usr/lib/python3.8/multiprocessing/process.py", line 121, in start
    self._popen = self._Popen(self)
  File "/usr/lib/python3.8/multiprocessing/context.py", line 284, in _Popen
    return Popen(process_obj)
  File "/usr/lib/python3.8/multiprocessing/popen_spawn_posix.py", line 32, in __init__
    super().__init__(process_obj)
  File "/usr/lib/python3.8/multiprocessing/popen_fork.py", line 19, in __init__
    self._launch(process_obj)
  File "/usr/lib/python3.8/multiprocessing/popen_spawn_posix.py", line 53, in _launch
    parent_r, child_w = os.pipe()
OSError: [Errno 24] Too many open files

[ERROR] Test has error: proc.lif.test_models.TestLIFProcessModelsFloat.test_float_pm_impulse_dv
Traceback (most recent call last):
  File "/usr/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
    yield
  File "/usr/lib/python3.8/unittest/case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "/usr/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
    method()
  File "/mnt/c/dev/lava-new/src/lava/tests/lava/proc/lif/test_models.py", line 246, in test_float_pm_impulse_dv
    lif.run(condition=rcnd, run_cfg=rcfg)
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/core/process/process.py", line 399, in run
    self._runtime.initialize()
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/runtime/runtime.py", line 86, in initialize
    self._build_message_infrastructure()
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/runtime/runtime.py", line 109, in _build_message_infrastructure
    self._messaging_infrastructure.start()
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/runtime/message_infrastructure/multiprocessing.py", line 62, in start
    self._smm.start()
  File "/usr/lib/python3.8/multiprocessing/managers.py", line 569, in start
    reader, writer = connection.Pipe(duplex=False)
  File "/usr/lib/python3.8/multiprocessing/connection.py", line 527, in Pipe
    fd1, fd2 = os.pipe()
OSError: [Errno 24] Too many open files

[ERROR] Test has error: proc.lif.test_models.TestLIFProcessModelsFloat.test_float_pm_no_decay
Traceback (most recent call last):
  File "/usr/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
    yield
  File "/usr/lib/python3.8/unittest/case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "/usr/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
    method()
  File "/mnt/c/dev/lava-new/src/lava/tests/lava/proc/lif/test_models.py", line 169, in test_float_pm_no_decay
    lif.run(condition=rcnd, run_cfg=rcfg)
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/core/process/process.py", line 399, in run
    self._runtime.initialize()
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/runtime/runtime.py", line 86, in initialize
    self._build_message_infrastructure()
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/runtime/runtime.py", line 109, in _build_message_infrastructure
    self._messaging_infrastructure.start()
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/runtime/message_infrastructure/multiprocessing.py", line 62, in start
    self._smm.start()
  File "/usr/lib/python3.8/multiprocessing/managers.py", line 569, in start
    reader, writer = connection.Pipe(duplex=False)
  File "/usr/lib/python3.8/multiprocessing/connection.py", line 527, in Pipe
    fd1, fd2 = os.pipe()
OSError: [Errno 24] Too many open files

[ERROR] Test has error: proc.monitor.test_monitors.Monitors.test_monitor_and_proc_run_without_error
Traceback (most recent call last):
  File "/usr/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
    yield
  File "/usr/lib/python3.8/unittest/case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "/usr/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
    method()
  File "/mnt/c/dev/lava-new/src/lava/tests/lava/proc/monitor/test_monitors.py", line 122, in test_monitor_and_proc_run_without_error
    some_proc.run(condition=RunSteps(num_steps=num_steps),
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/core/process/process.py", line 399, in run
    self._runtime.initialize()
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/runtime/runtime.py", line 86, in initialize
    self._build_message_infrastructure()
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/runtime/runtime.py", line 109, in _build_message_infrastructure
    self._messaging_infrastructure.start()
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/runtime/message_infrastructure/multiprocessing.py", line 62, in start
    self._smm.start()
  File "/usr/lib/python3.8/multiprocessing/managers.py", line 569, in start
    reader, writer = connection.Pipe(duplex=False)
  File "/usr/lib/python3.8/multiprocessing/connection.py", line 527, in Pipe
    fd1, fd2 = os.pipe()
OSError: [Errno 24] Too many open files

[ERROR] Test has error: proc.monitor.test_monitors.Monitors.test_monitor_collects_correct_data_from_2D_var
Traceback (most recent call last):
  File "/usr/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
    yield
  File "/usr/lib/python3.8/unittest/case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "/usr/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
    method()
  File "/mnt/c/dev/lava-new/src/lava/tests/lava/proc/monitor/test_monitors.py", line 174, in test_monitor_collects_correct_data_from_2D_var
    some_proc.run(condition=RunSteps(num_steps=num_steps),
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/core/process/process.py", line 399, in run
    self._runtime.initialize()
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/runtime/runtime.py", line 86, in initialize
    self._build_message_infrastructure()
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/runtime/runtime.py", line 109, in _build_message_infrastructure
    self._messaging_infrastructure.start()
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/runtime/message_infrastructure/multiprocessing.py", line 62, in start
    self._smm.start()
  File "/usr/lib/python3.8/multiprocessing/managers.py", line 569, in start
    reader, writer = connection.Pipe(duplex=False)
  File "/usr/lib/python3.8/multiprocessing/connection.py", line 527, in Pipe
    fd1, fd2 = os.pipe()
OSError: [Errno 24] Too many open files

[ERROR] Test has error: proc.monitor.test_monitors.Monitors.test_monitor_collects_correct_data_from_one_var
Traceback (most recent call last):
  File "/usr/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
    yield
  File "/usr/lib/python3.8/unittest/case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "/usr/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
    method()
  File "/mnt/c/dev/lava-new/src/lava/tests/lava/proc/monitor/test_monitors.py", line 150, in test_monitor_collects_correct_data_from_one_var
    some_proc.run(condition=RunSteps(num_steps=num_steps),
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/core/process/process.py", line 399, in run
    self._runtime.initialize()
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/runtime/runtime.py", line 86, in initialize
    self._build_message_infrastructure()
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/runtime/runtime.py", line 109, in _build_message_infrastructure
    self._messaging_infrastructure.start()
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/runtime/message_infrastructure/multiprocessing.py", line 62, in start
    self._smm.start()
  File "/usr/lib/python3.8/multiprocessing/managers.py", line 569, in start
    reader, writer = connection.Pipe(duplex=False)
  File "/usr/lib/python3.8/multiprocessing/connection.py", line 527, in Pipe
    fd1, fd2 = os.pipe()
OSError: [Errno 24] Too many open files

[ERROR] Test has error: proc.monitor.test_monitors.Monitors.test_monitor_collects_data_from_2D_population_lif
Traceback (most recent call last):
  File "/usr/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
    yield
  File "/usr/lib/python3.8/unittest/case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "/usr/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
    method()
  File "/mnt/c/dev/lava-new/src/lava/tests/lava/proc/monitor/test_monitors.py", line 306, in test_monitor_collects_data_from_2D_population_lif
    neuron.run(condition=RunSteps(num_steps=num_steps),
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/core/process/process.py", line 399, in run
    self._runtime.initialize()
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/runtime/runtime.py", line 86, in initialize
    self._build_message_infrastructure()
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/runtime/runtime.py", line 109, in _build_message_infrastructure
    self._messaging_infrastructure.start()
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/runtime/message_infrastructure/multiprocessing.py", line 62, in start
    self._smm.start()
  File "/usr/lib/python3.8/multiprocessing/managers.py", line 569, in start
    reader, writer = connection.Pipe(duplex=False)
  File "/usr/lib/python3.8/multiprocessing/connection.py", line 527, in Pipe
    fd1, fd2 = os.pipe()
OSError: [Errno 24] Too many open files

[ERROR] Test has error: proc.monitor.test_monitors.Monitors.test_monitor_collects_voltage_and_spike_data_from_lif_neuronTraceback (most recent call last):
  File "/usr/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
    yield
  File "/usr/lib/python3.8/unittest/case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "/usr/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
    method()
  File "/mnt/c/dev/lava-new/src/lava/tests/lava/proc/monitor/test_monitors.py", line 219, in test_monitor_collects_voltage_and_spike_data_from_lif_neuron
    neuron.run(condition=rcnd, run_cfg=rcfg)
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/core/process/process.py", line 399, in run
    self._runtime.initialize()
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/runtime/runtime.py", line 86, in initialize
    self._build_message_infrastructure()
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/runtime/runtime.py", line 109, in _build_message_infrastructure
    self._messaging_infrastructure.start()
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/runtime/message_infrastructure/multiprocessing.py", line 62, in start
    self._smm.start()
  File "/usr/lib/python3.8/multiprocessing/managers.py", line 569, in start
    reader, writer = connection.Pipe(duplex=False)
  File "/usr/lib/python3.8/multiprocessing/connection.py", line 527, in Pipe
    fd1, fd2 = os.pipe()
OSError: [Errno 24] Too many open files

[ERROR] Test has error: proc.monitor.test_monitors.Monitors.test_monitor_collects_voltage_and_spike_data_from_population_lif
Traceback (most recent call last):
  File "/usr/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
    yield
  File "/usr/lib/python3.8/unittest/case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "/usr/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
    method()
  File "/mnt/c/dev/lava-new/src/lava/tests/lava/proc/monitor/test_monitors.py", line 261, in test_monitor_collects_voltage_and_spike_data_from_population_lif
    neuron.run(condition=RunSteps(num_steps=num_steps),
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/core/process/process.py", line 399, in run
    self._runtime.initialize()
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/runtime/runtime.py", line 86, in initialize
    self._build_message_infrastructure()
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/runtime/runtime.py", line 109, in _build_message_infrastructure
    self._messaging_infrastructure.start()
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/runtime/message_infrastructure/multiprocessing.py", line 62, in start
    self._smm.start()
  File "/usr/lib/python3.8/multiprocessing/managers.py", line 569, in start
    reader, writer = connection.Pipe(duplex=False)
  File "/usr/lib/python3.8/multiprocessing/connection.py", line 527, in Pipe
    fd1, fd2 = os.pipe()
OSError: [Errno 24] Too many open files

[ERROR] Test has error: proc.monitor.test_monitors.Monitors.test_monitor_with_2D_var
Traceback (most recent call last):
  File "/usr/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
    yield
  File "/usr/lib/python3.8/unittest/case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "/usr/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
    method()
  File "/mnt/c/dev/lava-new/src/lava/tests/lava/proc/monitor/test_monitors.py", line 136, in test_monitor_with_2D_var
    some_proc.run(condition=RunSteps(num_steps=num_steps),
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/core/process/process.py", line 399, in run
    self._runtime.initialize()
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/runtime/runtime.py", line 86, in initialize
    self._build_message_infrastructure()
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/runtime/runtime.py", line 109, in _build_message_infrastructure
    self._messaging_infrastructure.start()
  File "/mnt/c/dev/lava-new/src/lava/src/lava/magma/runtime/message_infrastructure/multiprocessing.py", line 62, in start
    self._smm.start()
  File "/usr/lib/python3.8/multiprocessing/managers.py", line 569, in start
    reader, writer = connection.Pipe(duplex=False)
  File "/usr/lib/python3.8/multiprocessing/connection.py", line 527, in Pipe
    fd1, fd2 = os.pipe()
OSError: [Errno 24] Too many open files

------------------------------------------------------------
BUILD FAILED - There were 15 error(s) and 0 failure(s) in unit tests (pybuilder/plugins/python/unittest_plugin.py:109)
------------------------------------------------------------
Build finished at 2022-01-20 12:30:44
Build took 1696 seconds (1696491 ms)

@joyeshmishra
Copy link
Contributor

@joehays Could you increase the open file limit on your unix machine? Use the ulimit -n 4096 or higher value and try.

@joyeshmishra
Copy link
Contributor

@joehays Could you increase the open file limit on your unix machine? Use the ulimit -n 4096 or higher value and try.

This is also mentioned in our Install FAQ . Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants