[Debian-med-packaging] Bug#1071337: pynn: FTBFS: ERROR: unittests.test_recording.test_get
Santiago Vila
sanvila at debian.org
Fri May 17 21:39:59 BST 2024
Package: src:pynn
Version: 0.10.1-3
Severity: serious
Tags: ftbfs
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules binary
dh binary --with python3 --buildsystem=pybuild
dh_update_autotools_config -O--buildsystem=pybuild
dh_autoreconf -O--buildsystem=pybuild
dh_auto_configure -O--buildsystem=pybuild
I: pybuild base:311: python3.12 setup.py config
running config
I: pybuild base:311: python3.11 setup.py config
running config
dh_auto_build -O--buildsystem=pybuild
I: pybuild base:311: /usr/bin/python3.12 setup.py build
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pynn/build/pyNN
[... snipped ...]
test_repr (unittests.test_assembly.AssemblyTest.test_repr) ... ok
test_sample (unittests.test_assembly.AssemblyTest.test_sample) ... ok
test_save_positions (unittests.test_assembly.AssemblyTest.test_save_positions) ... ok
test_size_property (unittests.test_assembly.AssemblyTest.test_size_property) ... ok
test_connect_with_array_weights (unittests.test_connectors_parallel.TestAllToAllConnector.test_connect_with_array_weights) ... ok
test_connect_with_delays_None (unittests.test_connectors_parallel.TestAllToAllConnector.test_connect_with_delays_None) ... ok
test_connect_with_delays_too_small (unittests.test_connectors_parallel.TestAllToAllConnector.test_connect_with_delays_too_small) ... SKIP: skipping this test until refactoring of delay checks is complete
test_connect_with_distance_dependent_weights (unittests.test_connectors_parallel.TestAllToAllConnector.test_connect_with_distance_dependent_weights) ... ok
test_connect_with_distance_dependent_weights_and_delays (unittests.test_connectors_parallel.TestAllToAllConnector.test_connect_with_distance_dependent_weights_and_delays) ... ok
test_connect_with_list_delays_too_small (unittests.test_connectors_parallel.TestAllToAllConnector.test_connect_with_list_delays_too_small) ... SKIP: skipping this tests until refactoring of delay checks is complete
test_connect_with_random_weights_parallel_safe (unittests.test_connectors_parallel.TestAllToAllConnector.test_connect_with_random_weights_parallel_safe) ... ok
test_connect_with_scalar_weights_and_delays (unittests.test_connectors_parallel.TestAllToAllConnector.test_connect_with_scalar_weights_and_delays) ... ok
test_connect_with_random_weights_parallel_safe (unittests.test_connectors_parallel.TestArrayConnector.test_connect_with_random_weights_parallel_safe) ... ok
test_connect_with_scalar_weights_and_delays (unittests.test_connectors_parallel.TestArrayConnector.test_connect_with_scalar_weights_and_delays) ... ok
test_connect (unittests.test_connectors_parallel.TestCloneConnector.test_connect) ... ok
test_connect_with_pre_post_mismatch (unittests.test_connectors_parallel.TestCloneConnector.test_connect_with_pre_post_mismatch) ... ok
test_connect (unittests.test_connectors_parallel.TestDisplacementDependentProbabilityConnector.test_connect) ... ok
test_connect_with_default_args (unittests.test_connectors_parallel.TestDistanceDependentProbabilityConnector.test_connect_with_default_args) ... ok
test_with_n_larger_than_population_size (unittests.test_connectors_parallel.TestFixedNumberPostConnector.test_with_n_larger_than_population_size) ... ok
test_with_n_larger_than_population_size_no_self_connections (unittests.test_connectors_parallel.TestFixedNumberPostConnector.test_with_n_larger_than_population_size_no_self_connections) ... ok
test_with_n_smaller_than_population_size (unittests.test_connectors_parallel.TestFixedNumberPostConnector.test_with_n_smaller_than_population_size) ... ok
test_with_replacement (unittests.test_connectors_parallel.TestFixedNumberPostConnector.test_with_replacement) ... ok
test_with_replacement_no_self_connections (unittests.test_connectors_parallel.TestFixedNumberPostConnector.test_with_replacement_no_self_connections) ... ok
test_with_replacement_with_variable_n (unittests.test_connectors_parallel.TestFixedNumberPostConnector.test_with_replacement_with_variable_n) ... ok
test_no_replacement_no_self_connections (unittests.test_connectors_parallel.TestFixedNumberPreConnector.test_no_replacement_no_self_connections) ... ok
test_no_replacement_parallel_unsafe (unittests.test_connectors_parallel.TestFixedNumberPreConnector.test_no_replacement_parallel_unsafe) ... ok
test_with_n_larger_than_population_size (unittests.test_connectors_parallel.TestFixedNumberPreConnector.test_with_n_larger_than_population_size) ... ok
test_with_n_larger_than_population_size_no_self_connections (unittests.test_connectors_parallel.TestFixedNumberPreConnector.test_with_n_larger_than_population_size_no_self_connections) ... ok
test_with_n_smaller_than_population_size (unittests.test_connectors_parallel.TestFixedNumberPreConnector.test_with_n_smaller_than_population_size) ... ok
test_with_replacement (unittests.test_connectors_parallel.TestFixedNumberPreConnector.test_with_replacement) ... ok
test_with_replacement_no_self_connections (unittests.test_connectors_parallel.TestFixedNumberPreConnector.test_with_replacement_no_self_connections) ... ok
test_with_replacement_parallel_unsafe (unittests.test_connectors_parallel.TestFixedNumberPreConnector.test_with_replacement_parallel_unsafe) ... ok
test_with_replacement_with_variable_n (unittests.test_connectors_parallel.TestFixedNumberPreConnector.test_with_replacement_with_variable_n) ... ok
test_connect_with_default_args (unittests.test_connectors_parallel.TestFixedProbabilityConnector.test_connect_with_default_args) ... ok
test_connect_with_default_args_again (unittests.test_connectors_parallel.TestFixedProbabilityConnector.test_connect_with_default_args_again) ... ok
test_connect_with_probability_1 (unittests.test_connectors_parallel.TestFixedProbabilityConnector.test_connect_with_probability_1) ... ok
test_connect_with_random_delays_parallel_safe (unittests.test_connectors_parallel.TestFixedProbabilityConnector.test_connect_with_random_delays_parallel_safe) ... ok
test_connect_with_weight_function (unittests.test_connectors_parallel.TestFixedProbabilityConnector.test_connect_with_weight_function) ... ok
test_1 (unittests.test_connectors_parallel.TestFixedTotalNumberConnector.test_1) ... ok
test_connect_with_standard_text_file_distributed (unittests.test_connectors_parallel.TestFromFileConnector.test_connect_with_standard_text_file_distributed) ... ok
test_connect_with_standard_text_file_not_distributed (unittests.test_connectors_parallel.TestFromFileConnector.test_connect_with_standard_text_file_not_distributed) ... ok
test_with_plastic_synapses_not_distributed (unittests.test_connectors_parallel.TestFromFileConnector.test_with_plastic_synapses_not_distributed) ... ok
test_connect_with_out_of_range_index (unittests.test_connectors_parallel.TestFromListConnector.test_connect_with_out_of_range_index) ... ok
test_connect_with_valid_list (unittests.test_connectors_parallel.TestFromListConnector.test_connect_with_valid_list) ... ok
test_with_plastic_synapse (unittests.test_connectors_parallel.TestFromListConnector.test_with_plastic_synapse) ... ok
test_with_stdp_synapse (unittests.test_connectors_parallel.TestFromListConnector.test_with_stdp_synapse) ... ok
test_connect_with_index_based_delays (unittests.test_connectors_parallel.TestIndexBasedProbabilityConnector.test_connect_with_index_based_delays) ... ok
test_connect_with_index_based_weights (unittests.test_connectors_parallel.TestIndexBasedProbabilityConnector.test_connect_with_index_based_weights) ... ok
test_connect_with_scalar_weights_and_delays (unittests.test_connectors_parallel.TestIndexBasedProbabilityConnector.test_connect_with_scalar_weights_and_delays) ... ok
test_connect_with_random_weights (unittests.test_connectors_parallel.TestOneToOneConnector.test_connect_with_random_weights) ... ok
test_connect_with_scalar_weights_and_delays (unittests.test_connectors_parallel.TestOneToOneConnector.test_connect_with_scalar_weights_and_delays) ... ok
test_connect_with_array_weights (unittests.test_connectors_serial.TestAllToAllConnector.test_connect_with_array_weights) ... ok
test_connect_with_delays_None (unittests.test_connectors_serial.TestAllToAllConnector.test_connect_with_delays_None) ... ok
test_connect_with_delays_too_small (unittests.test_connectors_serial.TestAllToAllConnector.test_connect_with_delays_too_small) ... SKIP: skipping this tests until I figure out how I want to refactor checks
test_connect_with_distance_dependent_weights (unittests.test_connectors_serial.TestAllToAllConnector.test_connect_with_distance_dependent_weights) ... ok
test_connect_with_distance_dependent_weights_and_delays (unittests.test_connectors_serial.TestAllToAllConnector.test_connect_with_distance_dependent_weights_and_delays) ... ok
test_connect_with_list_delays_too_small (unittests.test_connectors_serial.TestAllToAllConnector.test_connect_with_list_delays_too_small) ... SKIP: skipping this tests until I figure out how I want to refactor checks
test_connect_with_random_weights_parallel_safe (unittests.test_connectors_serial.TestAllToAllConnector.test_connect_with_random_weights_parallel_safe) ... ok
test_connect_with_scalar_weights_and_delays (unittests.test_connectors_serial.TestAllToAllConnector.test_connect_with_scalar_weights_and_delays) ... ok
test_connect_with_random_weights_parallel_safe (unittests.test_connectors_serial.TestArrayConnector.test_connect_with_random_weights_parallel_safe) ... ok
test_connect_with_scalar_weights_and_delays (unittests.test_connectors_serial.TestArrayConnector.test_connect_with_scalar_weights_and_delays) ... ok
test_connect (unittests.test_connectors_serial.TestCloneConnector.test_connect) ... ok
test_connect_with_pre_post_mismatch (unittests.test_connectors_serial.TestCloneConnector.test_connect_with_pre_post_mismatch) ... ok
test_connect_with_default_args (unittests.test_connectors_serial.TestDistanceDependentProbabilityConnector.test_connect_with_default_args) ... ok
test_no_replacement_no_self_connections (unittests.test_connectors_serial.TestFixedNumberPreConnector.test_no_replacement_no_self_connections) ... ok
test_no_replacement_parallel_unsafe (unittests.test_connectors_serial.TestFixedNumberPreConnector.test_no_replacement_parallel_unsafe) ... ok
test_with_n_larger_than_population_size (unittests.test_connectors_serial.TestFixedNumberPreConnector.test_with_n_larger_than_population_size) ... ok
test_with_n_larger_than_population_size_no_self_connections (unittests.test_connectors_serial.TestFixedNumberPreConnector.test_with_n_larger_than_population_size_no_self_connections) ... ok
test_with_n_smaller_than_population_size (unittests.test_connectors_serial.TestFixedNumberPreConnector.test_with_n_smaller_than_population_size) ... ok
test_with_replacement (unittests.test_connectors_serial.TestFixedNumberPreConnector.test_with_replacement) ... ok
test_with_replacement_no_self_connections (unittests.test_connectors_serial.TestFixedNumberPreConnector.test_with_replacement_no_self_connections) ... ok
test_with_replacement_parallel_unsafe (unittests.test_connectors_serial.TestFixedNumberPreConnector.test_with_replacement_parallel_unsafe) ... ok
test_with_replacement_with_neuron_0_connecting_neuron_0 (unittests.test_connectors_serial.TestFixedNumberPreConnector.test_with_replacement_with_neuron_0_connecting_neuron_0) ... ok
test_with_replacement_with_variable_n (unittests.test_connectors_serial.TestFixedNumberPreConnector.test_with_replacement_with_variable_n) ... ok
test_connect_weight_function_and_one_post_synaptic_neuron_not_connected (unittests.test_connectors_serial.TestFixedProbabilityConnector.test_connect_weight_function_and_one_post_synaptic_neuron_not_connected) ... ok
test_connect_with_default_args (unittests.test_connectors_serial.TestFixedProbabilityConnector.test_connect_with_default_args) ... ok
test_connect_with_default_args_again (unittests.test_connectors_serial.TestFixedProbabilityConnector.test_connect_with_default_args_again) ... ok
test_connect_with_probability_one (unittests.test_connectors_serial.TestFixedProbabilityConnector.test_connect_with_probability_one) ... ok
test_connect_with_random_delays_parallel_safe (unittests.test_connectors_serial.TestFixedProbabilityConnector.test_connect_with_random_delays_parallel_safe) ... ok
test_connect_with_weight_function (unittests.test_connectors_serial.TestFixedProbabilityConnector.test_connect_with_weight_function) ... ok
test_1 (unittests.test_connectors_serial.TestFixedTotalNumberConnector.test_1) ... ok
test_connect_with_standard_text_file_not_distributed (unittests.test_connectors_serial.TestFromFileConnector.test_connect_with_standard_text_file_not_distributed) ... ok
test_with_plastic_synapses_not_distributed (unittests.test_connectors_serial.TestFromFileConnector.test_with_plastic_synapses_not_distributed) ... ok
test_connect_unique_connection_neuron_0_to_neuron_0 (unittests.test_connectors_serial.TestFromListConnector.test_connect_unique_connection_neuron_0_to_neuron_0) ... ok
test_connect_with_empty_list (unittests.test_connectors_serial.TestFromListConnector.test_connect_with_empty_list) ... ok
test_connect_with_out_of_range_index (unittests.test_connectors_serial.TestFromListConnector.test_connect_with_out_of_range_index) ... ok
test_connect_with_valid_list (unittests.test_connectors_serial.TestFromListConnector.test_connect_with_valid_list) ... ok
test_with_plastic_synapse (unittests.test_connectors_serial.TestFromListConnector.test_with_plastic_synapse) ... ok
test_connect_with_index_based_delays (unittests.test_connectors_serial.TestIndexBasedProbabilityConnector.test_connect_with_index_based_delays) ... ok
test_connect_with_index_based_weights (unittests.test_connectors_serial.TestIndexBasedProbabilityConnector.test_connect_with_index_based_weights) ... ok
test_connect_with_scalar_weights_and_delays (unittests.test_connectors_serial.TestIndexBasedProbabilityConnector.test_connect_with_scalar_weights_and_delays) ... ok
test_connect_with_random_weights (unittests.test_connectors_serial.TestOneToOneConnector.test_connect_with_random_weights) ... ok
test_connect_with_scalar_weights_and_delays (unittests.test_connectors_serial.TestOneToOneConnector.test_connect_with_scalar_weights_and_delays) ... ok
unittests.test_core.test_is_list_like_with_tuple ... ok
unittests.test_core.test_is_list_like_with_list ... ok
unittests.test_core.test_is_list_like_with_iterator ... ok
unittests.test_core.test_is_list_like_with_set ... ok
unittests.test_core.test_is_list_like_with_numpy_array ... ok
unittests.test_core.test_is_list_like_with_string ... ok
test_CheetahTE_get_template_from_file (unittests.test_descriptions.DescriptionTest.test_CheetahTE_get_template_from_file) ... ok
test_CheetahTE_render (unittests.test_descriptions.DescriptionTest.test_CheetahTE_render) ... ok
test_Jinja2TE_get_template_from_file (unittests.test_descriptions.DescriptionTest.test_Jinja2TE_get_template_from_file) ... ok
test_Jinja2TE_render (unittests.test_descriptions.DescriptionTest.test_Jinja2TE_render) ... ok
test_StringTE_get_template (unittests.test_descriptions.DescriptionTest.test_StringTE_get_template) ... ok
test_StringTE_get_template_from_file (unittests.test_descriptions.DescriptionTest.test_StringTE_get_template_from_file) ... ok
test_StringTE_render (unittests.test_descriptions.DescriptionTest.test_StringTE_render) ... ok
test_get_default_template_engine (unittests.test_descriptions.DescriptionTest.test_get_default_template_engine) ... ok
test_render_with_no_template (unittests.test_descriptions.DescriptionTest.test_render_with_no_template) ... ok
test_render_with_template (unittests.test_descriptions.DescriptionTest.test_render_with_template) ... ok
unittests.test_files.test__savetxt ... ok
unittests.test_files.test_create_BaseFile ... ok
unittests.test_files.test_del ... ok
unittests.test_files.test_close ... ok
unittests.test_files.test_StandardTextFile_read ... ok
unittests.test_files.test_PickleFile ... ok
unittests.test_files.test_HDF5ArrayFile ... ok
unittests.test_idmixin.Test_IDMixin.test_celltype_property ... ok
unittests.test_idmixin.Test_IDMixin.test_get_initial_value ... ok
unittests.test_idmixin.Test_IDMixin.test_getattr_with_nonparameter_attr ... ok
unittests.test_idmixin.Test_IDMixin.test_getattr_with_parent_not_set ... ok
unittests.test_idmixin.Test_IDMixin.test_inject ... ok
unittests.test_idmixin.Test_IDMixin.test_is_standard_cell ... ok
unittests.test_idmixin.Test_IDMixin.test_local_property ... ok
unittests.test_idmixin.Test_IDMixin.test_position_property ... ok
unittests.test_idmixin.Test_IDMixin.test_set_initial_value ... ok
unittests.test_lowlevelapi.test_build_create ... ok
unittests.test_lowlevelapi.test_build_connect ... ok
unittests.test_lowlevelapi.test_set ... ok
unittests.test_lowlevelapi.test_build_record ... ok
unittests.test_lowlevelapi.test_build_record_with_assembly ... ok
test_list_standard_models (unittests.test_nest.TestFunctions.test_list_standard_models) ... SKIP: Requires NEST
test_run_0 (unittests.test_nest.TestFunctions.test_run_0) ... SKIP: Requires NEST
test_setup (unittests.test_nest.TestFunctions.test_setup) ... SKIP: Requires NEST
test__get_parameters (unittests.test_nest.TestPopulation.test__get_parameters) ... SKIP: Requires NEST
test_create_native (unittests.test_nest.TestPopulation.test_create_native) ... SKIP: Requires NEST
test_set_parameters (unittests.test_nest.TestPopulation.test_set_parameters) ... SKIP: Requires NEST
test_set_parameters_scalar (unittests.test_nest.TestPopulation.test_set_parameters_scalar) ... SKIP: Requires NEST
test_set_parameters_singular (unittests.test_nest.TestPopulation.test_set_parameters_singular) ... SKIP: Requires NEST
test_create_simple (unittests.test_nest.TestProjection.test_create_simple) ... SKIP: Requires NEST
test_create_with_homogeneous_common_properties (unittests.test_nest.TestProjection.test_create_with_homogeneous_common_properties) ... SKIP: Requires NEST
Native synapse with array-like parameters and CommonProperties. ... SKIP: Requires NEST
test_create_with_synapse_dynamics (unittests.test_nest.TestProjection.test_create_with_synapse_dynamics) ... SKIP: Requires NEST
test_inhibitory_weight (unittests.test_nest.TestProjection.test_inhibitory_weight) ... SKIP: Requires NEST
test_set_array (unittests.test_nest.TestProjection.test_set_array) ... SKIP: Requires NEST
test_single_postsynaptic_neuron (unittests.test_nest.TestProjection.test_single_postsynaptic_neuron) ... SKIP: Requires NEST
test_single_presynaptic_and_single_postsynaptic_neuron (unittests.test_nest.TestProjection.test_single_presynaptic_and_single_postsynaptic_neuron) ... SKIP: Requires NEST
test_single_presynaptic_neuron (unittests.test_nest.TestProjection.test_single_presynaptic_neuron) ... SKIP: Requires NEST
cf https://github.com/NeuralEnsemble/PyNN/issues/423 ... SKIP: Requires NEST
test_columnwise_iteration (unittests.test_parameters.ParameterSpaceTest.test_columnwise_iteration) ... ok
test_columnwise_iteration_single_column (unittests.test_parameters.ParameterSpaceTest.test_columnwise_iteration_single_column) ... ok
test_create_with_array_of_sequences (unittests.test_parameters.ParameterSpaceTest.test_create_with_array_of_sequences) ... ok
test_create_with_list_of_lists (unittests.test_parameters.ParameterSpaceTest.test_create_with_list_of_lists) ... ok
test_create_with_list_of_sequences (unittests.test_parameters.ParameterSpaceTest.test_create_with_list_of_sequences) ... ok
test_create_with_sequence (unittests.test_parameters.ParameterSpaceTest.test_create_with_sequence) ... ok
test_create_with_tuple (unittests.test_parameters.ParameterSpaceTest.test_create_with_tuple) ... ok
test_evaluate (unittests.test_parameters.ParameterSpaceTest.test_evaluate) ... ok
test_evaluate_with_mask (unittests.test_parameters.ParameterSpaceTest.test_evaluate_with_mask) ... ok
test_evaluate_with_mask_2D (unittests.test_parameters.ParameterSpaceTest.test_evaluate_with_mask_2D) ... ok
test_iteration (unittests.test_parameters.ParameterSpaceTest.test_iteration) ... ok
test_iteration_items (unittests.test_parameters.ParameterSpaceTest.test_iteration_items) ... ok
unittests.test_parameters.test_create_with_int ... ok
unittests.test_parameters.test_create_with_float ... ok
unittests.test_parameters.test_create_with_list ... ok
unittests.test_parameters.test_create_with_array ... ok
unittests.test_parameters.test_create_inconsistent ... ok
unittests.test_parameters.test_create_with_invalid_string ... ok
unittests.test_parameters.test_setitem_nonexpanded_same_value ... ok
unittests.test_parameters.test_setitem_invalid_value ... ok
unittests.test_parameters.test_setitem_nonexpanded_different_value ... ok
unittests.test_parameters.test_columnwise_iteration_with_flat_array ... ok
unittests.test_parameters.test_columnwise_iteration_with_structured_array ... ok
unittests.test_parameters.test_columnwise_iteration_with_random_array_parallel_safe_no_mask ... ok
unittests.test_parameters.test_columnwise_iteration_with_function ... ok
unittests.test_parameters.test_columnwise_iteration_with_flat_array_and_mask ... ok
unittests.test_parameters.test_columnwise_iteration_with_structured_array_and_mask ... ok
unittests.test_parameters.test_columnwise_iteration_with_random_array_parallel_safe_with_mask ... ok
unittests.test_parameters.test_evaluate_with_flat_array ... ok
unittests.test_parameters.test_evaluate_with_structured_array ... ok
unittests.test_parameters.test_evaluate_with_functional_array ... ok
unittests.test_parameters.test_iadd_with_flat_array ... ok
unittests.test_parameters.test_add_with_flat_array ... ok
unittests.test_parameters.test_lt_with_flat_array ... ok
unittests.test_parameters.test_lt_with_structured_array ... ok
unittests.test_parameters.test_structured_array_lt_array ... ok
unittests.test_parameters.test_multiple_operations_with_structured_array ... ok
unittests.test_parameters.test_apply_function_to_constant_array ... ok
unittests.test_parameters.test_apply_function_to_structured_array ... ok
unittests.test_parameters.test_apply_function_to_functional_array ... ok
unittests.test_parameters.test_add_two_constant_arrays ... ok
unittests.test_parameters.test_add_incommensurate_arrays ... ok
unittests.test_parameters.test_getitem_from_constant_array ... ok
test___add__three (unittests.test_population.PopulationTest.test___add__three) ... ok
test___add__two (unittests.test_population.PopulationTest.test___add__two) ... ok
test__getitem__int (unittests.test_population.PopulationTest.test__getitem__int) ... ok
test__getitem__invalid (unittests.test_population.PopulationTest.test__getitem__invalid) ... ok
test__getitem__list (unittests.test_population.PopulationTest.test__getitem__list) ... ok
test__getitem__slice (unittests.test_population.PopulationTest.test__getitem__slice) ... ok
test__getitem__tuple (unittests.test_population.PopulationTest.test__getitem__tuple) ... ok
test__len__ (unittests.test_population.PopulationTest.test__len__) ... ok
test_can_record (unittests.test_population.PopulationTest.test_can_record) ... ok
test_create_with_empty_spike_source_array (unittests.test_population.PopulationTest.test_create_with_empty_spike_source_array) ... ok
test_create_with_implicit_grid (unittests.test_population.PopulationTest.test_create_with_implicit_grid) ... ok
test_create_with_parameters (unittests.test_population.PopulationTest.test_create_with_parameters) ... ok
test_create_with_standard_cell_simple (unittests.test_population.PopulationTest.test_create_with_standard_cell_simple) ... ok
test_describe (unittests.test_population.PopulationTest.test_describe) ... ok
test_getSpikes (unittests.test_population.PopulationTest.test_getSpikes) ... ok
test_get_data_with_gather (unittests.test_population.PopulationTest.test_get_data_with_gather) ... ok
test_get_gsyn (unittests.test_population.PopulationTest.test_get_gsyn) ... ok
test_get_multiple_homogeneous_params_with_gather (unittests.test_population.PopulationTest.test_get_multiple_homogeneous_params_with_gather) ... ok
test_get_multiple_inhomogeneous_params_with_gather (unittests.test_population.PopulationTest.test_get_multiple_inhomogeneous_params_with_gather) ... ok
test_get_multiple_params_no_gather (unittests.test_population.PopulationTest.test_get_multiple_params_no_gather) ... ok
test_get_positions (unittests.test_population.PopulationTest.test_get_positions) ... ok
test_get_sequence_param (unittests.test_population.PopulationTest.test_get_sequence_param) ... ok
test_get_single_param_with_gather (unittests.test_population.PopulationTest.test_get_single_param_with_gather) ... ok
test_get_spike_counts (unittests.test_population.PopulationTest.test_get_spike_counts) ... ok
test_get_spikes_with_gather (unittests.test_population.PopulationTest.test_get_spikes_with_gather) ... ok
test_get_v (unittests.test_population.PopulationTest.test_get_v) ... ok
test_id_to_index (unittests.test_population.PopulationTest.test_id_to_index) ... ok
test_id_to_index_with_array (unittests.test_population.PopulationTest.test_id_to_index_with_array) ... ok
test_id_to_index_with_invalid_id (unittests.test_population.PopulationTest.test_id_to_index_with_invalid_id) ... ok
test_id_to_index_with_invalid_ids (unittests.test_population.PopulationTest.test_id_to_index_with_invalid_ids) ... ok
test_id_to_index_with_populationview (unittests.test_population.PopulationTest.test_id_to_index_with_populationview) ... ok
test_initialize (unittests.test_population.PopulationTest.test_initialize) ... ok
test_inject (unittests.test_population.PopulationTest.test_inject) ... ok
test_inject_into_invalid_celltype (unittests.test_population.PopulationTest.test_inject_into_invalid_celltype) ... ok
test_iter (unittests.test_population.PopulationTest.test_iter) ... ok
test_meanSpikeCount (unittests.test_population.PopulationTest.test_meanSpikeCount) ... ok
test_mean_spike_count (unittests.test_population.PopulationTest.test_mean_spike_count) ... ok
test_nearest (unittests.test_population.PopulationTest.test_nearest) ... ok
test_position_generator (unittests.test_population.PopulationTest.test_position_generator) ... ok
test_printSpikes (unittests.test_population.PopulationTest.test_printSpikes) ... ok
test_print_gsyn (unittests.test_population.PopulationTest.test_print_gsyn) ... ok
test_print_v (unittests.test_population.PopulationTest.test_print_v) ... ok
test_record_gsyn (unittests.test_population.PopulationTest.test_record_gsyn) ... ok
test_record_invalid_variable (unittests.test_population.PopulationTest.test_record_invalid_variable) ... ok
test_record_v (unittests.test_population.PopulationTest.test_record_v) ... ok
test_record_with_multiple_variables (unittests.test_population.PopulationTest.test_record_with_multiple_variables) ... ok
test_record_with_single_variable (unittests.test_population.PopulationTest.test_record_with_single_variable) ... ok
test_record_with_v_and_spikes (unittests.test_population.PopulationTest.test_record_with_v_and_spikes) ... ok
test_rset (unittests.test_population.PopulationTest.test_rset) ... ok
test_sample (unittests.test_population.PopulationTest.test_sample) ... ok
test_save_positions (unittests.test_population.PopulationTest.test_save_positions) ... ok
test_set (unittests.test_population.PopulationTest.test_set) ... ok
test_set_array (unittests.test_population.PopulationTest.test_set_array) ... ok
test_set_invalid_name (unittests.test_population.PopulationTest.test_set_invalid_name) ... ok
test_set_invalid_type (unittests.test_population.PopulationTest.test_set_invalid_type) ... ok
test_set_positions (unittests.test_population.PopulationTest.test_set_positions) ... ok
test_set_random_distribution_parallel_safe (unittests.test_population.PopulationTest.test_set_random_distribution_parallel_safe) ... ok
test_set_random_distribution_parallel_unsafe (unittests.test_population.PopulationTest.test_set_random_distribution_parallel_unsafe) ... ok
test_set_sequence (unittests.test_population.PopulationTest.test_set_sequence) ... ok
test_set_structure (unittests.test_population.PopulationTest.test_set_structure) ... ok
test_tset (unittests.test_population.PopulationTest.test_tset) ... ok
test___add__three (unittests.test_populationview.PopulationViewTest.test___add__three) ... ok
test___add__two (unittests.test_populationview.PopulationViewTest.test___add__two) ... ok
test__getitem__int (unittests.test_populationview.PopulationViewTest.test__getitem__int) ... ok
test__getitem__invalid (unittests.test_populationview.PopulationViewTest.test__getitem__invalid) ... ok
test__getitem__list (unittests.test_populationview.PopulationViewTest.test__getitem__list) ... ok
test__getitem__slice (unittests.test_populationview.PopulationViewTest.test__getitem__slice) ... ok
test__getitem__tuple (unittests.test_populationview.PopulationViewTest.test__getitem__tuple) ... ok
test__len__ (unittests.test_populationview.PopulationViewTest.test__len__) ... ok
test_can_record (unittests.test_populationview.PopulationViewTest.test_can_record) ... ok
test_create_with_boolean_array_selector (unittests.test_populationview.PopulationViewTest.test_create_with_boolean_array_selector) ... ok
test_create_with_index_array_selector (unittests.test_populationview.PopulationViewTest.test_create_with_index_array_selector) ... ok
test_create_with_slice_selector (unittests.test_populationview.PopulationViewTest.test_create_with_slice_selector) ... ok
test_describe (unittests.test_populationview.PopulationViewTest.test_describe) ... ok
test_get_data_with_gather (unittests.test_populationview.PopulationViewTest.test_get_data_with_gather) ... ok
test_get_multiple_homogeneous_params_with_gather (unittests.test_populationview.PopulationViewTest.test_get_multiple_homogeneous_params_with_gather) ... ok
test_get_multiple_inhomogeneous_params_with_gather (unittests.test_populationview.PopulationViewTest.test_get_multiple_inhomogeneous_params_with_gather) ... ok
test_get_positions (unittests.test_populationview.PopulationViewTest.test_get_positions) ... ok
test_get_sequence_param (unittests.test_populationview.PopulationViewTest.test_get_sequence_param) ... ok
test_get_single_homogeneous_param_with_gather (unittests.test_populationview.PopulationViewTest.test_get_single_homogeneous_param_with_gather) ... ok
test_get_spike_counts (unittests.test_populationview.PopulationViewTest.test_get_spike_counts) ... ok
test_id_to_index (unittests.test_populationview.PopulationViewTest.test_id_to_index) ... ok
test_id_to_index_with_array (unittests.test_populationview.PopulationViewTest.test_id_to_index_with_array) ... ok
test_id_to_index_with_invalid_id (unittests.test_populationview.PopulationViewTest.test_id_to_index_with_invalid_id) ... ok
test_index_from_parent_index (unittests.test_populationview.PopulationViewTest.test_index_from_parent_index) ... ok
test_index_in_grandparent (unittests.test_populationview.PopulationViewTest.test_index_in_grandparent) ... ok
test_inject (unittests.test_populationview.PopulationViewTest.test_inject) ... ok
test_inject_into_invalid_celltype (unittests.test_populationview.PopulationViewTest.test_inject_into_invalid_celltype) ... ok
test_iter (unittests.test_populationview.PopulationViewTest.test_iter) ... ok
test_mean_spike_count (unittests.test_populationview.PopulationViewTest.test_mean_spike_count) ... ok
test_nearest (unittests.test_populationview.PopulationViewTest.test_nearest) ... ok
test_position_generator (unittests.test_populationview.PopulationViewTest.test_position_generator) ... ok
test_record_gsyn (unittests.test_populationview.PopulationViewTest.test_record_gsyn) ... ok
test_record_invalid_variable (unittests.test_populationview.PopulationViewTest.test_record_invalid_variable) ... ok
test_record_v (unittests.test_populationview.PopulationViewTest.test_record_v) ... ok
test_record_with_multiple_variables (unittests.test_populationview.PopulationViewTest.test_record_with_multiple_variables) ... ok
test_record_with_single_variable (unittests.test_populationview.PopulationViewTest.test_record_with_single_variable) ... ok
test_record_with_v_spikes (unittests.test_populationview.PopulationViewTest.test_record_with_v_spikes) ... ok
test_rset (unittests.test_populationview.PopulationViewTest.test_rset) ... ok
test_sample (unittests.test_populationview.PopulationViewTest.test_sample) ... ok
test_save_positions (unittests.test_populationview.PopulationViewTest.test_save_positions) ... ok
test_set (unittests.test_populationview.PopulationViewTest.test_set) ... ok
test_set_array (unittests.test_populationview.PopulationViewTest.test_set_array) ... ok
test_set_invalid_name (unittests.test_populationview.PopulationViewTest.test_set_invalid_name) ... ok
test_set_invalid_type (unittests.test_populationview.PopulationViewTest.test_set_invalid_type) ... ok
test_set_sequence (unittests.test_populationview.PopulationViewTest.test_set_sequence) ... ok
test_set_structure (unittests.test_populationview.PopulationViewTest.test_set_structure) ... ok
test_structure_property (unittests.test_populationview.PopulationViewTest.test_structure_property) ... ok
test_tset (unittests.test_populationview.PopulationViewTest.test_tset) ... ok
test_check_weights_with_array (unittests.test_projection.CheckTest.test_check_weights_with_array) ... ok
test_check_weights_with_invalid_value (unittests.test_projection.CheckTest.test_check_weights_with_invalid_value) ... ok
test_check_weights_with_scalar (unittests.test_projection.CheckTest.test_check_weights_with_scalar) ... ok
test_create_simple (unittests.test_projection.ProjectionTest.test_create_simple) ... ok
test_create_with_default_receptor_type (unittests.test_projection.ProjectionTest.test_create_with_default_receptor_type) ... ok
test_create_with_fast_synapse_dynamics (unittests.test_projection.ProjectionTest.test_create_with_fast_synapse_dynamics) ... ok
test_create_with_homogeneous_postsynaptic_assembly (unittests.test_projection.ProjectionTest.test_create_with_homogeneous_postsynaptic_assembly) ... ok
test_create_with_inhomogeneous_postsynaptic_assembly (unittests.test_projection.ProjectionTest.test_create_with_inhomogeneous_postsynaptic_assembly) ... ok
test_create_with_invalid_type (unittests.test_projection.ProjectionTest.test_create_with_invalid_type) ... ok
test_create_with_presynaptic_assembly (unittests.test_projection.ProjectionTest.test_create_with_presynaptic_assembly) ... ok
test_describe (unittests.test_projection.ProjectionTest.test_describe) ... ok
test_get_plasticity_attribute_as_list (unittests.test_projection.ProjectionTest.test_get_plasticity_attribute_as_list) ... ok
test_get_weights_as_array (unittests.test_projection.ProjectionTest.test_get_weights_as_array) ... ok
test_get_weights_as_array_with_multapses (unittests.test_projection.ProjectionTest.test_get_weights_as_array_with_multapses) ... ok
test_get_weights_as_array_with_multapses_min (unittests.test_projection.ProjectionTest.test_get_weights_as_array_with_multapses_min) ... ok
test_get_weights_as_list (unittests.test_projection.ProjectionTest.test_get_weights_as_list) ... ok
test_get_weights_as_list_no_address (unittests.test_projection.ProjectionTest.test_get_weights_as_list_no_address) ... ok
test_parameter_StaticSynapse_random_distribution (unittests.test_projection.ProjectionTest.test_parameter_StaticSynapse_random_distribution) ... ok
test_parameter_TsodyksMarkramSynapse_random_distribution (unittests.test_projection.ProjectionTest.test_parameter_TsodyksMarkramSynapse_random_distribution) ... ok
test_save_connections_with_gather (unittests.test_projection.ProjectionTest.test_save_connections_with_gather) ... ok
test_size_with_gather (unittests.test_projection.ProjectionTest.test_size_with_gather) ... ok
test_synapse_with_lambda_parameter (unittests.test_projection.ProjectionTest.test_synapse_with_lambda_parameter) ... ok
test_weightHistogram (unittests.test_projection.ProjectionTest.test_weightHistogram) ... ok
unittests.test_recording.test_Recorder_create ... ok
unittests.test_recording.test_Recorder_invalid_variable ... ok
unittests.test_recording.test_record ... ok
unittests.test_recording.test_filter_recorded ... ok
unittests.test_recording.test_get ... ERROR
unittests.test_recording.test_metadata_property ... ok
test_callbacks (unittests.test_simulation_control.TestSimulationControl.test_callbacks) ... ok
test_current_time (unittests.test_simulation_control.TestSimulationControl.test_current_time) ... ok
test_current_time_two_runs (unittests.test_simulation_control.TestSimulationControl.test_current_time_two_runs) ... ok
test_end (unittests.test_simulation_control.TestSimulationControl.test_end) ... ok
test_max_delay (unittests.test_simulation_control.TestSimulationControl.test_max_delay) ... ok
test_min_delay (unittests.test_simulation_control.TestSimulationControl.test_min_delay) ... ok
test_num_processes (unittests.test_simulation_control.TestSimulationControl.test_num_processes) ... SKIP: test requires mpi4py
test_rank (unittests.test_simulation_control.TestSimulationControl.test_rank) ... SKIP: test requires mpi4py
test_reset (unittests.test_simulation_control.TestSimulationControl.test_reset) ... ok
test_run (unittests.test_simulation_control.TestSimulationControl.test_run) ... ok
test_run_twice (unittests.test_simulation_control.TestSimulationControl.test_run_twice) ... ok
test_setup (unittests.test_simulation_control.TestSimulationControl.test_setup) ... ok
test_time_step (unittests.test_simulation_control.TestSimulationControl.test_time_step) ... ok
unittests.test_space.Grid2D_Test.test_calculate_size ... ok
unittests.test_space.Grid2D_Test.test_generate_positions ... ok
unittests.test_space.Grid3D_Test.test_calculate_size ... ok
unittests.test_space.Grid3D_Test.test_generate_positions ... ok
test__eq__ (unittests.test_space.LineTest.test__eq__) ... ok
test_generate_positions (unittests.test_space.LineTest.test_generate_positions) ... ok
test_generate_positions_default_parameters (unittests.test_space.LineTest.test_generate_positions_default_parameters) ... ok
test_get_parameters (unittests.test_space.LineTest.test_get_parameters) ... ok
test_cylindrical_space (unittests.test_space.SpaceTest.test_cylindrical_space) ... ok
test_generator_for_infinite_space_with_3D_distances (unittests.test_space.SpaceTest.test_generator_for_infinite_space_with_3D_distances) ... ok
test_infinite_space_with_3D_distances (unittests.test_space.SpaceTest.test_infinite_space_with_3D_distances) ... ok
test_infinite_space_with_collapsed_axes (unittests.test_space.SpaceTest.test_infinite_space_with_collapsed_axes) ... ok
test_infinite_space_with_scale_and_offset (unittests.test_space.SpaceTest.test_infinite_space_with_scale_and_offset) ... ok
unittests.test_space.TestCuboid.test_sample ... ok
unittests.test_space.TestRandomStructure.test_generate_positions ... ok
unittests.test_space.TestSphere.test__create ... ok
unittests.test_space.TestSphere.test_sample ... ok
unittests.test_space.test_distance ... ok
unittests.test_standardmodels.test_build_translations ... ok
unittests.test_standardmodels.test_has_parameter ... ok
unittests.test_standardmodels.test_get_parameter_names ... ok
Instantiating a StandardModelType should set self.parameter_space to a ... ok
unittests.test_standardmodels.test_translate ... ok
unittests.test_standardmodels.test_translate_with_invalid_transformation ... ok
unittests.test_standardmodels.test_translate_with_divide_by_zero_error ... ok
unittests.test_standardmodels.test_reverse_translate ... ok
unittests.test_standardmodels.test_reverse_translate_with_invalid_transformation ... ok
unittests.test_standardmodels.test_simple_parameters ... ok
unittests.test_standardmodels.test_scaled_parameters ... ok
unittests.test_standardmodels.test_computed_parameters ... ok
unittests.test_standardmodels.test_describe ... ok
unittests.test_standardmodels.test_describe_synapse_type ... ok
unittests.test_standardmodels.test_STDPMechanism_create ... ok
unittests.test_standardmodels.test_STDPMechanism_create_invalid_types ... ok
test_get_script_args (unittests.test_utility_functions.GetArgTests.test_get_script_args) ... ok
test_notify (unittests.test_utility_functions.NotifyTests.test_notify) ... ok
test_dynamic (unittests.test_utility_functions.ProgressBarTest.test_dynamic) ... ok
test_fixed (unittests.test_utility_functions.ProgressBarTest.test_fixed) ... ok
test_diff (unittests.test_utility_functions.TimerTest.test_diff) ... ok
test_timer (unittests.test_utility_functions.TimerTest.test_timer) ... ok
======================================================================
ERROR: test_get_data_with_gather (unittests.test_assembly.AssemblyTest.test_get_data_with_gather)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pynn/build/test/unittests/test_assembly.py", line 358, in test_get_data_with_gather
data = a.get_data(gather=True)
^^^^^^^^^^^^^^^^^^^^^^^
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pynn/build/pyNN/common/populations.py", line 1412, in get_data
merged_block.merge(block)
File "/usr/lib/python3/dist-packages/neo/core/container.py", line 525, in merge
lookup[obj.name].merge(obj)
File "/usr/lib/python3/dist-packages/neo/core/container.py", line 542, in merge
newobj = getattr(self, container)[ind].merge(obj)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/neo/core/basesignal.py", line 243, in merge
raise MergeError("Cannot merge these two signals as they belong to different segments.")
neo.core.baseneo.MergeError: Cannot merge these two signals as they belong to different segments.
-------------------- >> begin captured logging << --------------------
PyNN: DEBUG: In Population 'population36', initialising v to -65.0
PyNN: DEBUG: In Population 'population36', initialising gsyn_exc to 0.0
PyNN: DEBUG: In Population 'population36', initialising gsyn_inh to 0.0
PyNN: DEBUG: In Population 'population37', initialising v to -65.0
PyNN: DEBUG: In Population 'population37', initialising gsyn_exc to 0.0
PyNN: DEBUG: In Population 'population37', initialising gsyn_inh to 0.0
PyNN: DEBUG: In Population 'population38', initialising v to -70.6
PyNN: DEBUG: In Population 'population38', initialising w to 0.0
PyNN: DEBUG: In Population 'population38', initialising gsyn_exc to 0.0
PyNN: DEBUG: In Population 'population38', initialising gsyn_inh to 0.0
PyNN: DEBUG: population38.record('v')
PyNN: DEBUG: Recorder.record(<3 cells>)
PyNN: DEBUG: population36.record('v')
PyNN: DEBUG: Recorder.record(<11 cells>)
PyNN: DEBUG: population37.record('v')
PyNN: DEBUG: Recorder.record(<6 cells>)
PyNN: DEBUG: 0 **** ids=[42 43 44 45 46 47 48 49 50 51 52], channels=[ 0 1 2 3 4 5 6 7 8 9 10]
PyNN: DEBUG: Adding <neo.core.segment.Segment object at 0x7f56fcf27350> to cache
PyNN: DEBUG: 0 **** ids=[53 54 55 56 57 58], channels=[0 1 2 3 4 5]
PyNN: DEBUG: Adding <neo.core.segment.Segment object at 0x7f56fcf30810> to cache
PyNN: DEBUG: 0 **** ids=[59 60 61], channels=[0 1 2]
PyNN: DEBUG: Adding <neo.core.segment.Segment object at 0x7f56fcf30e10> to cache
PyNN: DEBUG: population38.record('spikes')
PyNN: DEBUG: Recorder.record(<3 cells>)
PyNN: DEBUG: population36.record('spikes')
PyNN: DEBUG: Recorder.record(<11 cells>)
PyNN: DEBUG: population37.record('spikes')
PyNN: DEBUG: Recorder.record(<6 cells>)
PyNN: DEBUG: population38.record('w')
PyNN: DEBUG: Recorder.record(<3 cells>)
PyNN: DEBUG: 0 **** ids=[59 60 61], channels=[0 1 2]
PyNN: DEBUG: 0 **** ids=[59 60 61], channels=[0 1 2]
PyNN: DEBUG: 0 **** ids=[42 43 44 45 46 47 48 49 50 51 52], channels=[ 0 1 2 3 4 5 6 7 8 9 10]
PyNN: DEBUG: 0 **** ids=[53 54 55 56 57 58], channels=[0 1 2 3 4 5]
PyNN: DEBUG: 0: population38
PyNN: DEBUG: 0: segment000
PyNN: DEBUG: (258, 3) v
PyNN: DEBUG: 1: segment001
PyNN: DEBUG: (146, 3) w
PyNN: DEBUG: (146, 3) v
PyNN: DEBUG: 1: population36
PyNN: DEBUG: 0: segment000
PyNN: DEBUG: (258, 11) v
PyNN: DEBUG: 1: segment001
PyNN: DEBUG: (146, 11) v
PyNN: DEBUG: 2: population37
PyNN: DEBUG: 0: segment000
PyNN: DEBUG: (258, 6) v
PyNN: DEBUG: 1: segment001
PyNN: DEBUG: (146, 6) v
--------------------- >> end captured logging << ---------------------
======================================================================
ERROR: unittests.test_recording.test_get
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pynn/build/test/unittests/test_recording.py", line 167, in test_get
data = r.get('spikes')
^^^^^^^^^^^^^^^
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pynn/build/pyNN/recording/__init__.py", line 375, in get
data.segments.append(self._get_current_segment(
File "/usr/lib/python3/dist-packages/neo/core/objectlist.py", line 86, in append
self._handle_append(obj)
File "/usr/lib/python3/dist-packages/neo/core/objectlist.py", line 34, in _handle_append
raise TypeError(f"Object is a {type(obj)}. It should be one of {self.allowed_contents}.")
TypeError: Object is a <class 'unittest.mock.Mock'>. It should be one of (<class 'neo.core.segment.Segment'>,).
----------------------------------------------------------------------
Ran 426 tests in 1.486s
FAILED (SKIP=24, errors=2)
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pynn/build; python3.11 -m nose -v test
dh_auto_test: error: pybuild --test --test-nose -i python{version} -p "3.12 3.11" returned exit code 13
make[1]: *** [debian/rules:18: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:8: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202405/
About the archive rebuild: The build was made on virtual machines
of type m6a.large and r6a.large from AWS, using sbuild and a
reduced chroot with only build-essential packages.
If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.
Thanks.
More information about the Debian-med-packaging
mailing list