Testing issue: py-pynn
Summary
Summary | Spack package test failure |
Package info | py-pynn |
System | |
Related |
When running the default Spack tests for py-pynn (by default for python packages Spack attempts to import all the modules that it can detect), the following errors were detected. It seems that some dependencies of the package, nest
, neuron
, neuroml
, nineml
and brian2
, are missing.
Please check the package.py and fix or add any dependency statements that are missing (including test dependencies) by opening a Merge Request to the master branch.
If some of those packages are not actual dependencies of py-pynn and should be skipped during testing, you can specify that with the skip_modules
property:
skip_modules = ['pyNN.nest', 'pyNN.neuron', ...]
Steps to reproduce the issue
$ spack spack install --test root py-pynn
==> Installing py-pynn-0.10.1-ld73tfouh6xeqzxghryxjc2th3cjaxv4
==> No binary for py-pynn-0.10.1-ld73tfouh6xeqzxghryxjc2th3cjaxv4 found: installing from source
==> Using cached archive: /mnt/spack_v0.18.1_t/var/spack/cache/_source-cache/archive/03/03fbafeddd64ae7163e2b557b2760380b6eceb52469f1b3f4cc203bbb80f0cde.tar.gz
==> No patches needed for py-pynn
==> py-pynn: Executing phase: 'install'
==> Error: TestFailure: 9 tests failed.
Error message
The test error message (first 1000 lines) from install-time-test-log.txt is the following:
Error message
==> Testing package py-pynn-0.10.1-ld73tfo
==> [2023-01-12-16:20:25.589918] Running install-time tests
==> [2023-01-12-16:20:25.590192] ('RUN-TESTS: install-time tests [test]',)
==> [2023-01-12-16:20:25.650085] Detected the following modules: ['pyNN', 'pyNN.nest', 'pyNN.nest.standardmodels', 'pyNN.neuron', 'pyNN.neuron.standardmodels', 'pyNN.mock', 'pyNN.neuroml', 'pyNN.neuroml.standardmodels', 'pyNN.descriptions', 'pyNN.serialization', 'pyNN.utility', 'pyNN.nineml', 'pyNN.common', 'pyNN.standardmodels', 'pyNN.recording', 'pyNN.brian2', 'pyNN.brian2.standardmodels']
==> [2023-01-12-16:20:25.651257] checking import of pyNN
==> [2023-01-12-16:20:25.651879] '/mnt/spack_v0.18.1_t/opt/spack/linux-ubuntu20.04-x86_64/gcc-10.3.0/python-3.8.11-5g66oktvlxp4dqzf7hcifbxqbi7thfpf/bin/python3.8' '-c' 'import pyNN'
PASSED
==> [2023-01-12-16:20:25.702183] checking import of pyNN.nest
==> [2023-01-12-16:20:25.702805] '/mnt/spack_v0.18.1_t/opt/spack/linux-ubuntu20.04-x86_64/gcc-10.3.0/python-3.8.11-5g66oktvlxp4dqzf7hcifbxqbi7thfpf/bin/python3.8' '-c' 'import pyNN.nest'
Traceback (most recent call last):
File "", line 1, in
File "/mnt/spack_v0.18.1_t/opt/spack/linux-ubuntu20.04-x86_64/gcc-10.3.0/py-pynn-0.10.1-ld73tfouh6xeqzxghryxjc2th3cjaxv4/lib/python3.8/site-packages/pyNN/nest/__init__.py", line 14, in
import nest
ModuleNotFoundError: No module named 'nest'
FAILED: Command exited with status 1:
'/mnt/spack_v0.18.1_t/opt/spack/linux-ubuntu20.04-x86_64/gcc-10.3.0/python-3.8.11-5g66oktvlxp4dqzf7hcifbxqbi7thfpf/bin/python3.8' '-c' 'import pyNN.nest'
Traceback (most recent call last):
File "", line 1, in
File "/mnt/spack_v0.18.1_t/opt/spack/linux-ubuntu20.04-x86_64/gcc-10.3.0/py-pynn-0.10.1-ld73tfouh6xeqzxghryxjc2th3cjaxv4/lib/python3.8/site-packages/pyNN/nest/__init__.py", line 14, in
import nest
ModuleNotFoundError: No module named 'nest'
File "/mnt/spack_v0.18.1_t/bin/spack", line 98, in
sys.exit(spack.main.main())
File "/mnt/spack_v0.18.1_t/lib/spack/spack/main.py", line 893, in main
return _main(argv)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/main.py", line 848, in _main
return finish_parse_and_run(parser, cmd_name, env_format_error)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/main.py", line 876, in finish_parse_and_run
return _invoke_command(command, parser, args, unknown)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/main.py", line 533, in _invoke_command
return_val = command(parser, args)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/cmd/install.py", line 350, in install
env.install_all(**kwargs)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/environment/environment.py", line 1595, in install_all
self.install_specs(None, **install_args)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/environment/environment.py", line 1638, in install_specs
builder.install()
File "/mnt/spack_v0.18.1_t/lib/spack/spack/installer.py", line 1697, in install
self._install_task(task)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/installer.py", line 1232, in _install_task
spack.build_environment.start_build_process(
File "/mnt/spack_v0.18.1_t/lib/spack/spack/build_environment.py", line 1171, in start_build_process
p.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 277, in _Popen
return Popen(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_fork.py", line 75, in _launch
code = process_obj._bootstrap(parent_sentinel=child_r)
File "/usr/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/usr/lib/python3.8/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/build_environment.py", line 1060, in _setup_pkg_and_run
return_value = function(pkg, kwargs)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/installer.py", line 2012, in build_process
return installer.run()
File "/mnt/spack_v0.18.1_t/lib/spack/spack/installer.py", line 1866, in run
self._real_install()
File "/mnt/spack_v0.18.1_t/lib/spack/spack/installer.py", line 1973, in _real_install
phase(pkg.spec, pkg.prefix)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/package.py", line 143, in phase_wrapper
callback(instance)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/package.py", line 480, in _wrapper
func(instance, *args, **kwargs)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/package.py", line 2803, in _run_default_install_time_test_callbacks
self._run_test_callbacks(self.install_time_test_callbacks, 'install')
File "/mnt/spack_v0.18.1_t/lib/spack/spack/package.py", line 2777, in _run_test_callbacks
fn()
File "/mnt/spack_v0.18.1_t/lib/spack/spack/build_systems/python.py", line 188, in test
self.run_test(inspect.getmodule(self).python.path,
==> [2023-01-12-16:20:25.796822] checking import of pyNN.nest.standardmodels
==> [2023-01-12-16:20:25.797566] '/mnt/spack_v0.18.1_t/opt/spack/linux-ubuntu20.04-x86_64/gcc-10.3.0/python-3.8.11-5g66oktvlxp4dqzf7hcifbxqbi7thfpf/bin/python3.8' '-c' 'import pyNN.nest.standardmodels'
Traceback (most recent call last):
File "", line 1, in
File "/mnt/spack_v0.18.1_t/opt/spack/linux-ubuntu20.04-x86_64/gcc-10.3.0/py-pynn-0.10.1-ld73tfouh6xeqzxghryxjc2th3cjaxv4/lib/python3.8/site-packages/pyNN/nest/init.py", line 14, in
import nest
ModuleNotFoundError: No module named 'nest'
FAILED: Command exited with status 1:
'/mnt/spack_v0.18.1_t/opt/spack/linux-ubuntu20.04-x86_64/gcc-10.3.0/python-3.8.11-5g66oktvlxp4dqzf7hcifbxqbi7thfpf/bin/python3.8' '-c' 'import pyNN.nest.standardmodels'
Traceback (most recent call last):
File "", line 1, in
File "/mnt/spack_v0.18.1_t/opt/spack/linux-ubuntu20.04-x86_64/gcc-10.3.0/py-pynn-0.10.1-ld73tfouh6xeqzxghryxjc2th3cjaxv4/lib/python3.8/site-packages/pyNN/nest/init.py", line 14, in
import nest
ModuleNotFoundError: No module named 'nest'
File "/mnt/spack_v0.18.1_t/bin/spack", line 98, in
sys.exit(spack.main.main())
File "/mnt/spack_v0.18.1_t/lib/spack/spack/main.py", line 893, in main
return _main(argv)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/main.py", line 848, in _main
return finish_parse_and_run(parser, cmd_name, env_format_error)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/main.py", line 876, in finish_parse_and_run
return _invoke_command(command, parser, args, unknown)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/main.py", line 533, in _invoke_command
return_val = command(parser, args)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/cmd/install.py", line 350, in install
env.install_all(**kwargs)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/environment/environment.py", line 1595, in install_all
self.install_specs(None, **install_args)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/environment/environment.py", line 1638, in install_specs
builder.install()
File "/mnt/spack_v0.18.1_t/lib/spack/spack/installer.py", line 1697, in install
self._install_task(task)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/installer.py", line 1232, in _install_task
spack.build_environment.start_build_process(
File "/mnt/spack_v0.18.1_t/lib/spack/spack/build_environment.py", line 1171, in start_build_process
p.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 277, in _Popen
return Popen(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_fork.py", line 75, in _launch
code = process_obj._bootstrap(parent_sentinel=child_r)
File "/usr/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/usr/lib/python3.8/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/build_environment.py", line 1060, in _setup_pkg_and_run
return_value = function(pkg, kwargs)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/installer.py", line 2012, in build_process
return installer.run()
File "/mnt/spack_v0.18.1_t/lib/spack/spack/installer.py", line 1866, in run
self._real_install()
File "/mnt/spack_v0.18.1_t/lib/spack/spack/installer.py", line 1973, in _real_install
phase(pkg.spec, pkg.prefix)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/package.py", line 143, in phase_wrapper
callback(instance)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/package.py", line 480, in _wrapper
func(instance, *args, **kwargs)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/package.py", line 2803, in _run_default_install_time_test_callbacks
self._run_test_callbacks(self.install_time_test_callbacks, 'install')
File "/mnt/spack_v0.18.1_t/lib/spack/spack/package.py", line 2777, in _run_test_callbacks
fn()
File "/mnt/spack_v0.18.1_t/lib/spack/spack/build_systems/python.py", line 188, in test
self.run_test(inspect.getmodule(self).python.path,
==> [2023-01-12-16:20:25.965189] checking import of pyNN.neuron
==> [2023-01-12-16:20:25.966562] '/mnt/spack_v0.18.1_t/opt/spack/linux-ubuntu20.04-x86_64/gcc-10.3.0/python-3.8.11-5g66oktvlxp4dqzf7hcifbxqbi7thfpf/bin/python3.8' '-c' 'import pyNN.neuron'
Traceback (most recent call last):
File "", line 1, in
File "/mnt/spack_v0.18.1_t/opt/spack/linux-ubuntu20.04-x86_64/gcc-10.3.0/py-pynn-0.10.1-ld73tfouh6xeqzxghryxjc2th3cjaxv4/lib/python3.8/site-packages/pyNN/neuron/init.py", line 21, in
from pyNN.neuron import simulator
File "/mnt/spack_v0.18.1_t/opt/spack/linux-ubuntu20.04-x86_64/gcc-10.3.0/py-pynn-0.10.1-ld73tfouh6xeqzxghryxjc2th3cjaxv4/lib/python3.8/site-packages/pyNN/neuron/simulator.py", line 28, in
from neuron import h, nrn_dll_loaded
ModuleNotFoundError: No module named 'neuron'
FAILED: Command exited with status 1:
'/mnt/spack_v0.18.1_t/opt/spack/linux-ubuntu20.04-x86_64/gcc-10.3.0/python-3.8.11-5g66oktvlxp4dqzf7hcifbxqbi7thfpf/bin/python3.8' '-c' 'import pyNN.neuron'
Traceback (most recent call last):
File "", line 1, in
File "/mnt/spack_v0.18.1_t/opt/spack/linux-ubuntu20.04-x86_64/gcc-10.3.0/py-pynn-0.10.1-ld73tfouh6xeqzxghryxjc2th3cjaxv4/lib/python3.8/site-packages/pyNN/neuron/init.py", line 21, in
from pyNN.neuron import simulator
File "/mnt/spack_v0.18.1_t/opt/spack/linux-ubuntu20.04-x86_64/gcc-10.3.0/py-pynn-0.10.1-ld73tfouh6xeqzxghryxjc2th3cjaxv4/lib/python3.8/site-packages/pyNN/neuron/simulator.py", line 28, in
from neuron import h, nrn_dll_loaded
ModuleNotFoundError: No module named 'neuron'
File "/mnt/spack_v0.18.1_t/bin/spack", line 98, in
sys.exit(spack.main.main())
File "/mnt/spack_v0.18.1_t/lib/spack/spack/main.py", line 893, in main
return _main(argv)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/main.py", line 848, in _main
return finish_parse_and_run(parser, cmd_name, env_format_error)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/main.py", line 876, in finish_parse_and_run
return _invoke_command(command, parser, args, unknown)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/main.py", line 533, in _invoke_command
return_val = command(parser, args)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/cmd/install.py", line 350, in install
env.install_all(**kwargs)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/environment/environment.py", line 1595, in install_all
self.install_specs(None, **install_args)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/environment/environment.py", line 1638, in install_specs
builder.install()
File "/mnt/spack_v0.18.1_t/lib/spack/spack/installer.py", line 1697, in install
self._install_task(task)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/installer.py", line 1232, in _install_task
spack.build_environment.start_build_process(
File "/mnt/spack_v0.18.1_t/lib/spack/spack/build_environment.py", line 1171, in start_build_process
p.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 277, in _Popen
return Popen(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_fork.py", line 75, in _launch
code = process_obj._bootstrap(parent_sentinel=child_r)
File "/usr/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/usr/lib/python3.8/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/build_environment.py", line 1060, in _setup_pkg_and_run
return_value = function(pkg, kwargs)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/installer.py", line 2012, in build_process
return installer.run()
File "/mnt/spack_v0.18.1_t/lib/spack/spack/installer.py", line 1866, in run
self._real_install()
File "/mnt/spack_v0.18.1_t/lib/spack/spack/installer.py", line 1973, in _real_install
phase(pkg.spec, pkg.prefix)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/package.py", line 143, in phase_wrapper
callback(instance)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/package.py", line 480, in _wrapper
func(instance, *args, **kwargs)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/package.py", line 2803, in _run_default_install_time_test_callbacks
self._run_test_callbacks(self.install_time_test_callbacks, 'install')
File "/mnt/spack_v0.18.1_t/lib/spack/spack/package.py", line 2777, in _run_test_callbacks
fn()
File "/mnt/spack_v0.18.1_t/lib/spack/spack/build_systems/python.py", line 188, in test
self.run_test(inspect.getmodule(self).python.path,
==> [2023-01-12-16:20:28.644617] checking import of pyNN.neuron.standardmodels
==> [2023-01-12-16:20:28.645632] '/mnt/spack_v0.18.1_t/opt/spack/linux-ubuntu20.04-x86_64/gcc-10.3.0/python-3.8.11-5g66oktvlxp4dqzf7hcifbxqbi7thfpf/bin/python3.8' '-c' 'import pyNN.neuron.standardmodels'
Traceback (most recent call last):
File "", line 1, in
File "/mnt/spack_v0.18.1_t/opt/spack/linux-ubuntu20.04-x86_64/gcc-10.3.0/py-pynn-0.10.1-ld73tfouh6xeqzxghryxjc2th3cjaxv4/lib/python3.8/site-packages/pyNN/neuron/init.py", line 21, in
from pyNN.neuron import simulator
File "/mnt/spack_v0.18.1_t/opt/spack/linux-ubuntu20.04-x86_64/gcc-10.3.0/py-pynn-0.10.1-ld73tfouh6xeqzxghryxjc2th3cjaxv4/lib/python3.8/site-packages/pyNN/neuron/simulator.py", line 28, in
from neuron import h, nrn_dll_loaded
ModuleNotFoundError: No module named 'neuron'
FAILED: Command exited with status 1:
'/mnt/spack_v0.18.1_t/opt/spack/linux-ubuntu20.04-x86_64/gcc-10.3.0/python-3.8.11-5g66oktvlxp4dqzf7hcifbxqbi7thfpf/bin/python3.8' '-c' 'import pyNN.neuron.standardmodels'
Traceback (most recent call last):
File "", line 1, in
File "/mnt/spack_v0.18.1_t/opt/spack/linux-ubuntu20.04-x86_64/gcc-10.3.0/py-pynn-0.10.1-ld73tfouh6xeqzxghryxjc2th3cjaxv4/lib/python3.8/site-packages/pyNN/neuron/init.py", line 21, in
from pyNN.neuron import simulator
File "/mnt/spack_v0.18.1_t/opt/spack/linux-ubuntu20.04-x86_64/gcc-10.3.0/py-pynn-0.10.1-ld73tfouh6xeqzxghryxjc2th3cjaxv4/lib/python3.8/site-packages/pyNN/neuron/simulator.py", line 28, in
from neuron import h, nrn_dll_loaded
ModuleNotFoundError: No module named 'neuron'
File "/mnt/spack_v0.18.1_t/bin/spack", line 98, in
sys.exit(spack.main.main())
File "/mnt/spack_v0.18.1_t/lib/spack/spack/main.py", line 893, in main
return _main(argv)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/main.py", line 848, in _main
return finish_parse_and_run(parser, cmd_name, env_format_error)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/main.py", line 876, in finish_parse_and_run
return _invoke_command(command, parser, args, unknown)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/main.py", line 533, in _invoke_command
return_val = command(parser, args)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/cmd/install.py", line 350, in install
env.install_all(**kwargs)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/environment/environment.py", line 1595, in install_all
self.install_specs(None, **install_args)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/environment/environment.py", line 1638, in install_specs
builder.install()
File "/mnt/spack_v0.18.1_t/lib/spack/spack/installer.py", line 1697, in install
self._install_task(task)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/installer.py", line 1232, in _install_task
spack.build_environment.start_build_process(
File "/mnt/spack_v0.18.1_t/lib/spack/spack/build_environment.py", line 1171, in start_build_process
p.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 277, in _Popen
return Popen(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_fork.py", line 75, in _launch
code = process_obj._bootstrap(parent_sentinel=child_r)
File "/usr/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/usr/lib/python3.8/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/build_environment.py", line 1060, in _setup_pkg_and_run
return_value = function(pkg, kwargs)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/installer.py", line 2012, in build_process
return installer.run()
File "/mnt/spack_v0.18.1_t/lib/spack/spack/installer.py", line 1866, in run
self._real_install()
File "/mnt/spack_v0.18.1_t/lib/spack/spack/installer.py", line 1973, in _real_install
phase(pkg.spec, pkg.prefix)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/package.py", line 143, in phase_wrapper
callback(instance)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/package.py", line 480, in _wrapper
func(instance, *args, **kwargs)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/package.py", line 2803, in _run_default_install_time_test_callbacks
self._run_test_callbacks(self.install_time_test_callbacks, 'install')
File "/mnt/spack_v0.18.1_t/lib/spack/spack/package.py", line 2777, in _run_test_callbacks
fn()
File "/mnt/spack_v0.18.1_t/lib/spack/spack/build_systems/python.py", line 188, in test
self.run_test(inspect.getmodule(self).python.path,
==> [2023-01-12-16:20:30.250338] checking import of pyNN.mock
==> [2023-01-12-16:20:30.251370] '/mnt/spack_v0.18.1_t/opt/spack/linux-ubuntu20.04-x86_64/gcc-10.3.0/python-3.8.11-5g66oktvlxp4dqzf7hcifbxqbi7thfpf/bin/python3.8' '-c' 'import pyNN.mock'
PASSED
==> [2023-01-12-16:20:31.545796] checking import of pyNN.neuroml
==> [2023-01-12-16:20:31.546500] '/mnt/spack_v0.18.1_t/opt/spack/linux-ubuntu20.04-x86_64/gcc-10.3.0/python-3.8.11-5g66oktvlxp4dqzf7hcifbxqbi7thfpf/bin/python3.8' '-c' 'import pyNN.neuroml'
Traceback (most recent call last):
File "", line 1, in
File "/mnt/spack_v0.18.1_t/opt/spack/linux-ubuntu20.04-x86_64/gcc-10.3.0/py-pynn-0.10.1-ld73tfouh6xeqzxghryxjc2th3cjaxv4/lib/python3.8/site-packages/pyNN/neuroml/init.py", line 17, in
from pyNN.neuroml import simulator
File "/mnt/spack_v0.18.1_t/opt/spack/linux-ubuntu20.04-x86_64/gcc-10.3.0/py-pynn-0.10.1-ld73tfouh6xeqzxghryxjc2th3cjaxv4/lib/python3.8/site-packages/pyNN/neuroml/simulator.py", line 18, in
import neuroml
ModuleNotFoundError: No module named 'neuroml'
FAILED: Command exited with status 1:
'/mnt/spack_v0.18.1_t/opt/spack/linux-ubuntu20.04-x86_64/gcc-10.3.0/python-3.8.11-5g66oktvlxp4dqzf7hcifbxqbi7thfpf/bin/python3.8' '-c' 'import pyNN.neuroml'
Traceback (most recent call last):
File "", line 1, in
File "/mnt/spack_v0.18.1_t/opt/spack/linux-ubuntu20.04-x86_64/gcc-10.3.0/py-pynn-0.10.1-ld73tfouh6xeqzxghryxjc2th3cjaxv4/lib/python3.8/site-packages/pyNN/neuroml/init.py", line 17, in
from pyNN.neuroml import simulator
File "/mnt/spack_v0.18.1_t/opt/spack/linux-ubuntu20.04-x86_64/gcc-10.3.0/py-pynn-0.10.1-ld73tfouh6xeqzxghryxjc2th3cjaxv4/lib/python3.8/site-packages/pyNN/neuroml/simulator.py", line 18, in
import neuroml
ModuleNotFoundError: No module named 'neuroml'
File "/mnt/spack_v0.18.1_t/bin/spack", line 98, in
sys.exit(spack.main.main())
File "/mnt/spack_v0.18.1_t/lib/spack/spack/main.py", line 893, in main
return _main(argv)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/main.py", line 848, in _main
return finish_parse_and_run(parser, cmd_name, env_format_error)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/main.py", line 876, in finish_parse_and_run
return _invoke_command(command, parser, args, unknown)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/main.py", line 533, in _invoke_command
return_val = command(parser, args)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/cmd/install.py", line 350, in install
env.install_all(**kwargs)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/environment/environment.py", line 1595, in install_all
self.install_specs(None, **install_args)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/environment/environment.py", line 1638, in install_specs
builder.install()
File "/mnt/spack_v0.18.1_t/lib/spack/spack/installer.py", line 1697, in install
self._install_task(task)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/installer.py", line 1232, in _install_task
spack.build_environment.start_build_process(
File "/mnt/spack_v0.18.1_t/lib/spack/spack/build_environment.py", line 1171, in start_build_process
p.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 277, in _Popen
return Popen(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_fork.py", line 75, in _launch
code = process_obj._bootstrap(parent_sentinel=child_r)
File "/usr/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/usr/lib/python3.8/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/build_environment.py", line 1060, in _setup_pkg_and_run
return_value = function(pkg, kwargs)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/installer.py", line 2012, in build_process
return installer.run()
File "/mnt/spack_v0.18.1_t/lib/spack/spack/installer.py", line 1866, in run
self._real_install()
File "/mnt/spack_v0.18.1_t/lib/spack/spack/installer.py", line 1973, in _real_install
phase(pkg.spec, pkg.prefix)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/package.py", line 143, in phase_wrapper
callback(instance)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/package.py", line 480, in _wrapper
func(instance, *args, **kwargs)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/package.py", line 2803, in _run_default_install_time_test_callbacks
self._run_test_callbacks(self.install_time_test_callbacks, 'install')
File "/mnt/spack_v0.18.1_t/lib/spack/spack/package.py", line 2777, in _run_test_callbacks
fn()
File "/mnt/spack_v0.18.1_t/lib/spack/spack/build_systems/python.py", line 188, in test
self.run_test(inspect.getmodule(self).python.path,
==> [2023-01-12-16:20:32.932459] checking import of pyNN.neuroml.standardmodels
==> [2023-01-12-16:20:32.933586] '/mnt/spack_v0.18.1_t/opt/spack/linux-ubuntu20.04-x86_64/gcc-10.3.0/python-3.8.11-5g66oktvlxp4dqzf7hcifbxqbi7thfpf/bin/python3.8' '-c' 'import pyNN.neuroml.standardmodels'
Traceback (most recent call last):
File "", line 1, in
File "/mnt/spack_v0.18.1_t/opt/spack/linux-ubuntu20.04-x86_64/gcc-10.3.0/py-pynn-0.10.1-ld73tfouh6xeqzxghryxjc2th3cjaxv4/lib/python3.8/site-packages/pyNN/neuroml/init.py", line 17, in
from pyNN.neuroml import simulator
File "/mnt/spack_v0.18.1_t/opt/spack/linux-ubuntu20.04-x86_64/gcc-10.3.0/py-pynn-0.10.1-ld73tfouh6xeqzxghryxjc2th3cjaxv4/lib/python3.8/site-packages/pyNN/neuroml/simulator.py", line 18, in
import neuroml
ModuleNotFoundError: No module named 'neuroml'
FAILED: Command exited with status 1:
'/mnt/spack_v0.18.1_t/opt/spack/linux-ubuntu20.04-x86_64/gcc-10.3.0/python-3.8.11-5g66oktvlxp4dqzf7hcifbxqbi7thfpf/bin/python3.8' '-c' 'import pyNN.neuroml.standardmodels'
Traceback (most recent call last):
File "", line 1, in
File "/mnt/spack_v0.18.1_t/opt/spack/linux-ubuntu20.04-x86_64/gcc-10.3.0/py-pynn-0.10.1-ld73tfouh6xeqzxghryxjc2th3cjaxv4/lib/python3.8/site-packages/pyNN/neuroml/init.py", line 17, in
from pyNN.neuroml import simulator
File "/mnt/spack_v0.18.1_t/opt/spack/linux-ubuntu20.04-x86_64/gcc-10.3.0/py-pynn-0.10.1-ld73tfouh6xeqzxghryxjc2th3cjaxv4/lib/python3.8/site-packages/pyNN/neuroml/simulator.py", line 18, in
import neuroml
ModuleNotFoundError: No module named 'neuroml'
File "/mnt/spack_v0.18.1_t/bin/spack", line 98, in
sys.exit(spack.main.main())
File "/mnt/spack_v0.18.1_t/lib/spack/spack/main.py", line 893, in main
return _main(argv)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/main.py", line 848, in _main
return finish_parse_and_run(parser, cmd_name, env_format_error)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/main.py", line 876, in finish_parse_and_run
return _invoke_command(command, parser, args, unknown)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/main.py", line 533, in _invoke_command
return_val = command(parser, args)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/cmd/install.py", line 350, in install
env.install_all(**kwargs)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/environment/environment.py", line 1595, in install_all
self.install_specs(None, **install_args)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/environment/environment.py", line 1638, in install_specs
builder.install()
File "/mnt/spack_v0.18.1_t/lib/spack/spack/installer.py", line 1697, in install
self._install_task(task)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/installer.py", line 1232, in _install_task
spack.build_environment.start_build_process(
File "/mnt/spack_v0.18.1_t/lib/spack/spack/build_environment.py", line 1171, in start_build_process
p.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 277, in _Popen
return Popen(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_fork.py", line 75, in _launch
code = process_obj._bootstrap(parent_sentinel=child_r)
File "/usr/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/usr/lib/python3.8/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/build_environment.py", line 1060, in _setup_pkg_and_run
return_value = function(pkg, kwargs)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/installer.py", line 2012, in build_process
return installer.run()
File "/mnt/spack_v0.18.1_t/lib/spack/spack/installer.py", line 1866, in run
self._real_install()
File "/mnt/spack_v0.18.1_t/lib/spack/spack/installer.py", line 1973, in _real_install
phase(pkg.spec, pkg.prefix)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/package.py", line 143, in phase_wrapper
callback(instance)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/package.py", line 480, in _wrapper
func(instance, *args, **kwargs)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/package.py", line 2803, in _run_default_install_time_test_callbacks
self._run_test_callbacks(self.install_time_test_callbacks, 'install')
File "/mnt/spack_v0.18.1_t/lib/spack/spack/package.py", line 2777, in _run_test_callbacks
fn()
File "/mnt/spack_v0.18.1_t/lib/spack/spack/build_systems/python.py", line 188, in test
self.run_test(inspect.getmodule(self).python.path,
==> [2023-01-12-16:20:34.314549] checking import of pyNN.descriptions
==> [2023-01-12-16:20:34.315553] '/mnt/spack_v0.18.1_t/opt/spack/linux-ubuntu20.04-x86_64/gcc-10.3.0/python-3.8.11-5g66oktvlxp4dqzf7hcifbxqbi7thfpf/bin/python3.8' '-c' 'import pyNN.descriptions'
PASSED
==> [2023-01-12-16:20:34.500536] checking import of pyNN.serialization
==> [2023-01-12-16:20:34.501190] '/mnt/spack_v0.18.1_t/opt/spack/linux-ubuntu20.04-x86_64/gcc-10.3.0/python-3.8.11-5g66oktvlxp4dqzf7hcifbxqbi7thfpf/bin/python3.8' '-c' 'import pyNN.serialization'
PASSED
==> [2023-01-12-16:20:35.754736] checking import of pyNN.utility
==> [2023-01-12-16:20:35.755466] '/mnt/spack_v0.18.1_t/opt/spack/linux-ubuntu20.04-x86_64/gcc-10.3.0/python-3.8.11-5g66oktvlxp4dqzf7hcifbxqbi7thfpf/bin/python3.8' '-c' 'import pyNN.utility'
PASSED
==> [2023-01-12-16:20:36.038813] checking import of pyNN.nineml
==> [2023-01-12-16:20:36.039589] '/mnt/spack_v0.18.1_t/opt/spack/linux-ubuntu20.04-x86_64/gcc-10.3.0/python-3.8.11-5g66oktvlxp4dqzf7hcifbxqbi7thfpf/bin/python3.8' '-c' 'import pyNN.nineml'
Traceback (most recent call last):
File "", line 1, in
File "/mnt/spack_v0.18.1_t/opt/spack/linux-ubuntu20.04-x86_64/gcc-10.3.0/py-pynn-0.10.1-ld73tfouh6xeqzxghryxjc2th3cjaxv4/lib/python3.8/site-packages/pyNN/nineml/init.py", line 8, in
import nineml.user as ul
ModuleNotFoundError: No module named 'nineml'
FAILED: Command exited with status 1:
'/mnt/spack_v0.18.1_t/opt/spack/linux-ubuntu20.04-x86_64/gcc-10.3.0/python-3.8.11-5g66oktvlxp4dqzf7hcifbxqbi7thfpf/bin/python3.8' '-c' 'import pyNN.nineml'
Traceback (most recent call last):
File "", line 1, in
File "/mnt/spack_v0.18.1_t/opt/spack/linux-ubuntu20.04-x86_64/gcc-10.3.0/py-pynn-0.10.1-ld73tfouh6xeqzxghryxjc2th3cjaxv4/lib/python3.8/site-packages/pyNN/nineml/init.py", line 8, in
import nineml.user as ul
ModuleNotFoundError: No module named 'nineml'
File "/mnt/spack_v0.18.1_t/bin/spack", line 98, in
sys.exit(spack.main.main())
File "/mnt/spack_v0.18.1_t/lib/spack/spack/main.py", line 893, in main
return _main(argv)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/main.py", line 848, in _main
return finish_parse_and_run(parser, cmd_name, env_format_error)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/main.py", line 876, in finish_parse_and_run
return _invoke_command(command, parser, args, unknown)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/main.py", line 533, in _invoke_command
return_val = command(parser, args)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/cmd/install.py", line 350, in install
env.install_all(**kwargs)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/environment/environment.py", line 1595, in install_all
self.install_specs(None, **install_args)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/environment/environment.py", line 1638, in install_specs
builder.install()
File "/mnt/spack_v0.18.1_t/lib/spack/spack/installer.py", line 1697, in install
self._install_task(task)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/installer.py", line 1232, in _install_task
spack.build_environment.start_build_process(
File "/mnt/spack_v0.18.1_t/lib/spack/spack/build_environment.py", line 1171, in start_build_process
p.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 277, in _Popen
return Popen(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_fork.py", line 75, in _launch
code = process_obj._bootstrap(parent_sentinel=child_r)
File "/usr/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/usr/lib/python3.8/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/build_environment.py", line 1060, in _setup_pkg_and_run
return_value = function(pkg, kwargs)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/installer.py", line 2012, in build_process
return installer.run()
File "/mnt/spack_v0.18.1_t/lib/spack/spack/installer.py", line 1866, in run
self._real_install()
File "/mnt/spack_v0.18.1_t/lib/spack/spack/installer.py", line 1973, in _real_install
phase(pkg.spec, pkg.prefix)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/package.py", line 143, in phase_wrapper
callback(instance)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/package.py", line 480, in _wrapper
func(instance, *args, **kwargs)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/package.py", line 2803, in _run_default_install_time_test_callbacks
self._run_test_callbacks(self.install_time_test_callbacks, 'install')
File "/mnt/spack_v0.18.1_t/lib/spack/spack/package.py", line 2777, in _run_test_callbacks
fn()
File "/mnt/spack_v0.18.1_t/lib/spack/spack/build_systems/python.py", line 188, in test
self.run_test(inspect.getmodule(self).python.path,
==> [2023-01-12-16:20:36.273232] checking import of pyNN.common
==> [2023-01-12-16:20:36.274319] '/mnt/spack_v0.18.1_t/opt/spack/linux-ubuntu20.04-x86_64/gcc-10.3.0/python-3.8.11-5g66oktvlxp4dqzf7hcifbxqbi7thfpf/bin/python3.8' '-c' 'import pyNN.common'
PASSED
==> [2023-01-12-16:20:37.538523] checking import of pyNN.standardmodels
==> [2023-01-12-16:20:37.539222] '/mnt/spack_v0.18.1_t/opt/spack/linux-ubuntu20.04-x86_64/gcc-10.3.0/python-3.8.11-5g66oktvlxp4dqzf7hcifbxqbi7thfpf/bin/python3.8' '-c' 'import pyNN.standardmodels'
PASSED
==> [2023-01-12-16:20:38.755219] checking import of pyNN.recording
==> [2023-01-12-16:20:38.755951] '/mnt/spack_v0.18.1_t/opt/spack/linux-ubuntu20.04-x86_64/gcc-10.3.0/python-3.8.11-5g66oktvlxp4dqzf7hcifbxqbi7thfpf/bin/python3.8' '-c' 'import pyNN.recording'
PASSED
==> [2023-01-12-16:20:39.997479] checking import of pyNN.brian2
==> [2023-01-12-16:20:39.998152] '/mnt/spack_v0.18.1_t/opt/spack/linux-ubuntu20.04-x86_64/gcc-10.3.0/python-3.8.11-5g66oktvlxp4dqzf7hcifbxqbi7thfpf/bin/python3.8' '-c' 'import pyNN.brian2'
Traceback (most recent call last):
File "", line 1, in
File "/mnt/spack_v0.18.1_t/opt/spack/linux-ubuntu20.04-x86_64/gcc-10.3.0/py-pynn-0.10.1-ld73tfouh6xeqzxghryxjc2th3cjaxv4/lib/python3.8/site-packages/pyNN/brian2/init.py", line 9, in
import brian2
ModuleNotFoundError: No module named 'brian2'
FAILED: Command exited with status 1:
'/mnt/spack_v0.18.1_t/opt/spack/linux-ubuntu20.04-x86_64/gcc-10.3.0/python-3.8.11-5g66oktvlxp4dqzf7hcifbxqbi7thfpf/bin/python3.8' '-c' 'import pyNN.brian2'
Traceback (most recent call last):
File "", line 1, in
File "/mnt/spack_v0.18.1_t/opt/spack/linux-ubuntu20.04-x86_64/gcc-10.3.0/py-pynn-0.10.1-ld73tfouh6xeqzxghryxjc2th3cjaxv4/lib/python3.8/site-packages/pyNN/brian2/init.py", line 9, in
import brian2
ModuleNotFoundError: No module named 'brian2'
File "/mnt/spack_v0.18.1_t/bin/spack", line 98, in
sys.exit(spack.main.main())
File "/mnt/spack_v0.18.1_t/lib/spack/spack/main.py", line 893, in main
return _main(argv)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/main.py", line 848, in _main
return finish_parse_and_run(parser, cmd_name, env_format_error)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/main.py", line 876, in finish_parse_and_run
return _invoke_command(command, parser, args, unknown)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/main.py", line 533, in _invoke_command
return_val = command(parser, args)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/cmd/install.py", line 350, in install
env.install_all(**kwargs)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/environment/environment.py", line 1595, in install_all
self.install_specs(None, **install_args)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/environment/environment.py", line 1638, in install_specs
builder.install()
File "/mnt/spack_v0.18.1_t/lib/spack/spack/installer.py", line 1697, in install
self._install_task(task)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/installer.py", line 1232, in _install_task
spack.build_environment.start_build_process(
File "/mnt/spack_v0.18.1_t/lib/spack/spack/build_environment.py", line 1171, in start_build_process
p.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 277, in _Popen
return Popen(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_fork.py", line 75, in _launch
code = process_obj._bootstrap(parent_sentinel=child_r)
File "/usr/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/usr/lib/python3.8/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/build_environment.py", line 1060, in _setup_pkg_and_run
return_value = function(pkg, kwargs)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/installer.py", line 2012, in build_process
return installer.run()
File "/mnt/spack_v0.18.1_t/lib/spack/spack/installer.py", line 1866, in run
self._real_install()
File "/mnt/spack_v0.18.1_t/lib/spack/spack/installer.py", line 1973, in _real_install
phase(pkg.spec, pkg.prefix)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/package.py", line 143, in phase_wrapper
callback(instance)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/package.py", line 480, in _wrapper
func(instance, *args, **kwargs)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/package.py", line 2803, in _run_default_install_time_test_callbacks
self._run_test_callbacks(self.install_time_test_callbacks, 'install')
File "/mnt/spack_v0.18.1_t/lib/spack/spack/package.py", line 2777, in _run_test_callbacks
fn()
File "/mnt/spack_v0.18.1_t/lib/spack/spack/build_systems/python.py", line 188, in test
self.run_test(inspect.getmodule(self).python.path,
==> [2023-01-12-16:20:40.254923] checking import of pyNN.brian2.standardmodels
==> [2023-01-12-16:20:40.255925] '/mnt/spack_v0.18.1_t/opt/spack/linux-ubuntu20.04-x86_64/gcc-10.3.0/python-3.8.11-5g66oktvlxp4dqzf7hcifbxqbi7thfpf/bin/python3.8' '-c' 'import pyNN.brian2.standardmodels'
Traceback (most recent call last):
File "", line 1, in
File "/mnt/spack_v0.18.1_t/opt/spack/linux-ubuntu20.04-x86_64/gcc-10.3.0/py-pynn-0.10.1-ld73tfouh6xeqzxghryxjc2th3cjaxv4/lib/python3.8/site-packages/pyNN/brian2/init.py", line 9, in
import brian2
ModuleNotFoundError: No module named 'brian2'
FAILED: Command exited with status 1:
'/mnt/spack_v0.18.1_t/opt/spack/linux-ubuntu20.04-x86_64/gcc-10.3.0/python-3.8.11-5g66oktvlxp4dqzf7hcifbxqbi7thfpf/bin/python3.8' '-c' 'import pyNN.brian2.standardmodels'
Traceback (most recent call last):
File "", line 1, in
File "/mnt/spack_v0.18.1_t/opt/spack/linux-ubuntu20.04-x86_64/gcc-10.3.0/py-pynn-0.10.1-ld73tfouh6xeqzxghryxjc2th3cjaxv4/lib/python3.8/site-packages/pyNN/brian2/init.py", line 9, in
import brian2
ModuleNotFoundError: No module named 'brian2'
File "/mnt/spack_v0.18.1_t/bin/spack", line 98, in
sys.exit(spack.main.main())
File "/mnt/spack_v0.18.1_t/lib/spack/spack/main.py", line 893, in main
return _main(argv)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/main.py", line 848, in _main
return finish_parse_and_run(parser, cmd_name, env_format_error)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/main.py", line 876, in finish_parse_and_run
return _invoke_command(command, parser, args, unknown)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/main.py", line 533, in _invoke_command
return_val = command(parser, args)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/cmd/install.py", line 350, in install
env.install_all(**kwargs)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/environment/environment.py", line 1595, in install_all
self.install_specs(None, **install_args)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/environment/environment.py", line 1638, in install_specs
builder.install()
File "/mnt/spack_v0.18.1_t/lib/spack/spack/installer.py", line 1697, in install
self._install_task(task)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/installer.py", line 1232, in _install_task
spack.build_environment.start_build_process(
File "/mnt/spack_v0.18.1_t/lib/spack/spack/build_environment.py", line 1171, in start_build_process
p.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 277, in _Popen
return Popen(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_fork.py", line 75, in _launch
code = process_obj._bootstrap(parent_sentinel=child_r)
File "/usr/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/usr/lib/python3.8/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/build_environment.py", line 1060, in _setup_pkg_and_run
return_value = function(pkg, kwargs)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/installer.py", line 2012, in build_process
return installer.run()
File "/mnt/spack_v0.18.1_t/lib/spack/spack/installer.py", line 1866, in run
self._real_install()
File "/mnt/spack_v0.18.1_t/lib/spack/spack/installer.py", line 1973, in _real_install
phase(pkg.spec, pkg.prefix)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/package.py", line 143, in phase_wrapper
callback(instance)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/package.py", line 480, in _wrapper
func(instance, *args, **kwargs)
File "/mnt/spack_v0.18.1_t/lib/spack/spack/package.py", line 2803, in _run_default_install_time_test_callbacks
self._run_test_callbacks(self.install_time_test_callbacks, 'install')
File "/mnt/spack_v0.18.1_t/lib/spack/spack/package.py", line 2777, in _run_test_callbacks
fn()
File "/mnt/spack_v0.18.1_t/lib/spack/spack/build_systems/python.py", line 188, in test
self.run_test(inspect.getmodule(self).python.path,
Information on your system
Additional information
Edited by Eleni Mathioulaki