Bug#1070950: pysph: FTBFS in bullseye
Santiago Vila
sanvila at debian.org
Sat May 11 20:53:20 BST 2024
Package: src:pysph
Version: 1.0~b0~20191115.gite3d5e10-4
Severity: serious
Control: close -1 1.0~b1-5
Tags: ftbfs bullseye
Dear maintainer:
During a rebuild of all packages in bullseye, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules binary
dh binary --with python3,sphinxdoc --buildsystem=pybuild
dh_update_autotools_config -O--buildsystem=pybuild
dh_autoreconf -O--buildsystem=pybuild
dh_auto_configure -O--buildsystem=pybuild
I: pybuild base:232: python3.9 setup.py config
/usr/lib/python3/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/tmp_p5oyha8/check_omp.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
/tmp/tmp_p5oyha8/check_omp.c: In function ‘__Pyx_InitGlobals’:
/tmp/tmp_p5oyha8/check_omp.c:1230:1: warning: ‘PyEval_InitThreads’ is deprecated [-Wdeprecated-declarations]
1230 | PyEval_InitThreads();
| ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/python3.9/Python.h:145,
[... snipped ...]
test simple_reduction.py failed with returncode 1
################################################################################
_____________ DumpLoadTestCase.test_dump_and_load_work_in_parallel _____________
self = <pysph.parallel.tests.test_parallel.DumpLoadTestCase testMethod=test_dump_and_load_work_in_parallel>
@mark.parallel
def test_dump_and_load_work_in_parallel(self):
> run_parallel_script.run(
filename='check_dump_load.py', nprocs=nprocs, path=path
)
pysph/parallel/tests/test_parallel.py:114:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
filename = 'check_dump_load.py', args = [], nprocs = 2, timeout = 30.0
path = '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pysph/parallel/tests'
def run(filename, args=None, nprocs=2, timeout=30.0, path=None):
"""Run a python script with MPI or in serial (if nprocs=1). Kill process
if it takes longer than the specified timeout.
Parameters:
-----------
filename - filename of python script to run under mpi.
args - List of arguments to pass to script.
nprocs - number of processes to run (1 => serial non-mpi run).
timeout - time in seconds to wait for the script to finish running,
else raise a RuntimeError exception.
path - the path under which the script is located
Defaults to the location of this file (__file__), not curdir.
"""
if args is None:
args = []
file_path = abspath(join(path, filename))
cmd = [sys.executable, file_path] + args
if nprocs > 1:
cmd = ['mpiexec', '-n', str(nprocs)] + cmd
print('running test:', cmd)
process = Popen(cmd, stdout=PIPE, stderr=PIPE)
timer = Timer(timeout, kill_process, [process])
timer.start()
out, err = process.communicate()
timer.cancel()
retcode = process.returncode
if retcode:
msg = 'test ' + filename + ' failed with returncode ' + str(retcode)
print(out.decode('utf-8'))
print(err.decode('utf-8'))
print('#'*80)
print(msg)
print('#'*80)
> raise RuntimeError(msg)
E RuntimeError: test check_dump_load.py failed with returncode 1
pysph/tools/run_parallel_script.py:54: RuntimeError
----------------------------- Captured stdout call -----------------------------
running test: ['mpiexec', '-n', '2', '/usr/bin/python3.9', '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pysph/parallel/tests/check_dump_load.py']
--------------------------------------------------------------------------
There are not enough slots available in the system to satisfy the 2
slots that were requested by the application:
/usr/bin/python3.9
Either request fewer slots for your application, or make more slots
available for use.
A "slot" is the Open MPI term for an allocatable unit where we can
launch a process. The number of slots available are defined by the
environment in which Open MPI processes are run:
1. Hostfile, via "slots=N" clauses (N defaults to number of
processor cores if not provided)
2. The --host command line parameter, via a ":N" suffix on the
hostname (N defaults to 1 if not provided)
3. Resource manager (e.g., SLURM, PBS/Torque, LSF, etc.)
4. If none of a hostfile, the --host command line parameter, or an
RM is present, Open MPI defaults to the number of processor cores
In all the above cases, if you want Open MPI to default to the number
of hardware threads instead of the number of processor cores, use the
--use-hwthread-cpus option.
Alternatively, you can use the --oversubscribe option to ignore the
number of available slots when deciding the number of processes to
launch.
--------------------------------------------------------------------------
################################################################################
test check_dump_load.py failed with returncode 1
################################################################################
_____________________ ParallelTests.test_ldcavity_example ______________________
self = <pysph.parallel.tests.test_parallel_run.ParallelTests testMethod=test_ldcavity_example>
@mark.parallel
def test_ldcavity_example(self):
max_steps = 150
serial_kwargs = dict(max_steps=max_steps, pfreq=500, sort_gids=None)
extra_parallel_kwargs = dict(ghost_layers=2, lb_freq=5)
> self.run_example(
'cavity.py', nprocs=nprocs, atol=1e-14, serial_kwargs=serial_kwargs,
extra_parallel_kwargs=extra_parallel_kwargs
)
pysph/parallel/tests/test_parallel_run.py:55:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pysph/parallel/tests/example_test_case.py:117: in run_example
run_parallel_script.run(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
filename = 'cavity.py'
args = ['--max-steps=150', '--pfreq=500', '--sort-gids', '--ghost-layers=2', '--lb-freq=5', '--fname=cavity', ...]
nprocs = 2, timeout = 300
path = '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pysph/parallel/tests'
def run(filename, args=None, nprocs=2, timeout=30.0, path=None):
"""Run a python script with MPI or in serial (if nprocs=1). Kill process
if it takes longer than the specified timeout.
Parameters:
-----------
filename - filename of python script to run under mpi.
args - List of arguments to pass to script.
nprocs - number of processes to run (1 => serial non-mpi run).
timeout - time in seconds to wait for the script to finish running,
else raise a RuntimeError exception.
path - the path under which the script is located
Defaults to the location of this file (__file__), not curdir.
"""
if args is None:
args = []
file_path = abspath(join(path, filename))
cmd = [sys.executable, file_path] + args
if nprocs > 1:
cmd = ['mpiexec', '-n', str(nprocs)] + cmd
print('running test:', cmd)
process = Popen(cmd, stdout=PIPE, stderr=PIPE)
timer = Timer(timeout, kill_process, [process])
timer.start()
out, err = process.communicate()
timer.cancel()
retcode = process.returncode
if retcode:
msg = 'test ' + filename + ' failed with returncode ' + str(retcode)
print(out.decode('utf-8'))
print(err.decode('utf-8'))
print('#'*80)
print(msg)
print('#'*80)
> raise RuntimeError(msg)
E RuntimeError: test cavity.py failed with returncode 1
pysph/tools/run_parallel_script.py:54: RuntimeError
----------------------------- Captured stdout call -----------------------------
running test: ['/usr/bin/python3.9', '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pysph/parallel/tests/cavity.py', '--max-steps=150', '--pfreq=500', '--sort-gids', '--fname=cavity', '--directory=/tmp/tmp94az7o5g']
running test: ['mpiexec', '-n', '2', '/usr/bin/python3.9', '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pysph/parallel/tests/cavity.py', '--max-steps=150', '--pfreq=500', '--sort-gids', '--ghost-layers=2', '--lb-freq=5', '--fname=cavity', '--directory=/tmp/tmpscfhxk6o']
--------------------------------------------------------------------------
There are not enough slots available in the system to satisfy the 2
slots that were requested by the application:
/usr/bin/python3.9
Either request fewer slots for your application, or make more slots
available for use.
A "slot" is the Open MPI term for an allocatable unit where we can
launch a process. The number of slots available are defined by the
environment in which Open MPI processes are run:
1. Hostfile, via "slots=N" clauses (N defaults to number of
processor cores if not provided)
2. The --host command line parameter, via a ":N" suffix on the
hostname (N defaults to 1 if not provided)
3. Resource manager (e.g., SLURM, PBS/Torque, LSF, etc.)
4. If none of a hostfile, the --host command line parameter, or an
RM is present, Open MPI defaults to the number of processor cores
In all the above cases, if you want Open MPI to default to the number
of hardware threads instead of the number of processor cores, use the
--use-hwthread-cpus option.
Alternatively, you can use the --oversubscribe option to ignore the
number of available slots when deciding the number of processes to
launch.
--------------------------------------------------------------------------
################################################################################
test cavity.py failed with returncode 1
################################################################################
=============================== warnings summary ===============================
/usr/lib/python3/dist-packages/pyximport/pyximport.py:51
/usr/lib/python3/dist-packages/pyximport/pyximport.py:51: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import imp
/usr/lib/python3/dist-packages/_pytest/mark/structures.py:335
/usr/lib/python3/dist-packages/_pytest/mark/structures.py:335: PytestCollectionWarning: cannot collect 'test_all_backends' because it is not a function.
def __call__(self, *args: object, **kwargs: object): # noqa: F811
pysph/examples/tests/test_examples.py:84
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pysph/examples/tests/test_examples.py:84: PytestUnknownMarkWarning: Unknown pytest.mark.slow - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html
@mark.slow
pysph/parallel/tests/test_openmp.py:17
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pysph/parallel/tests/test_openmp.py:17: PytestUnknownMarkWarning: Unknown pytest.mark.slow - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html
@mark.slow
pysph/parallel/tests/test_openmp.py:33
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pysph/parallel/tests/test_openmp.py:33: PytestUnknownMarkWarning: Unknown pytest.mark.slow - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html
@mark.slow
pysph/parallel/tests/test_parallel.py:55
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pysph/parallel/tests/test_parallel.py:55: PytestUnknownMarkWarning: Unknown pytest.mark.parallel - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html
@mark.parallel
pysph/parallel/tests/test_parallel.py:59
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pysph/parallel/tests/test_parallel.py:59: PytestUnknownMarkWarning: Unknown pytest.mark.parallel - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html
@mark.parallel
pysph/parallel/tests/test_parallel.py:72
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pysph/parallel/tests/test_parallel.py:72: PytestUnknownMarkWarning: Unknown pytest.mark.slow - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html
@mark.slow
pysph/parallel/tests/test_parallel.py:73
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pysph/parallel/tests/test_parallel.py:73: PytestUnknownMarkWarning: Unknown pytest.mark.parallel - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html
@mark.parallel
pysph/parallel/tests/test_parallel.py:92
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pysph/parallel/tests/test_parallel.py:92: PytestUnknownMarkWarning: Unknown pytest.mark.parallel - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html
@mark.parallel
pysph/parallel/tests/test_parallel.py:98
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pysph/parallel/tests/test_parallel.py:98: PytestUnknownMarkWarning: Unknown pytest.mark.parallel - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html
@mark.parallel
pysph/parallel/tests/test_parallel.py:112
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pysph/parallel/tests/test_parallel.py:112: PytestUnknownMarkWarning: Unknown pytest.mark.parallel - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html
@mark.parallel
pysph/parallel/tests/test_parallel_run.py:25
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pysph/parallel/tests/test_parallel_run.py:25: PytestUnknownMarkWarning: Unknown pytest.mark.slow - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html
@mark.slow
pysph/parallel/tests/test_parallel_run.py:26
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pysph/parallel/tests/test_parallel_run.py:26: PytestUnknownMarkWarning: Unknown pytest.mark.parallel - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html
@mark.parallel
pysph/parallel/tests/test_parallel_run.py:39
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pysph/parallel/tests/test_parallel_run.py:39: PytestUnknownMarkWarning: Unknown pytest.mark.slow - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html
@mark.slow
pysph/parallel/tests/test_parallel_run.py:40
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pysph/parallel/tests/test_parallel_run.py:40: PytestUnknownMarkWarning: Unknown pytest.mark.parallel - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html
@mark.parallel
pysph/parallel/tests/test_parallel_run.py:50
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pysph/parallel/tests/test_parallel_run.py:50: PytestUnknownMarkWarning: Unknown pytest.mark.parallel - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html
@mark.parallel
<frozen importlib._bootstrap>:228
<frozen importlib._bootstrap>:228: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
.pybuild/cpython3_3.9/build/pysph/sph/bc/tests/test_simple_inlet_outlet.py::TestSimpleInlet1D::test_inlet_calls_callback
/usr/lib/python3/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/.pysph/source/py3.9-linux-x86_64/m_d4d2f4620a7b2524086275ccd7e1980a.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
.pybuild/cpython3_3.9/build/pysph/sph/bc/tests/test_simple_inlet_outlet.py::TestSimpleOutlet1D::test_outlet_absorbs_particles_from_source
/usr/lib/python3/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/.pysph/source/py3.9-linux-x86_64/m_e33701e75932aa50c325a9da5905e046.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
.pybuild/cpython3_3.9/build/pysph/sph/tests/test_acceleration_eval.py::TestAccelerationEval1D::test_should_call_initialize_pair
/usr/lib/python3/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/.pysph/source/py3.9-linux-x86_64/m_23a3818adde45352a04c1b7364f8beb8.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
.pybuild/cpython3_3.9/build/pysph/sph/tests/test_acceleration_eval.py::TestAccelerationEval1D::test_should_call_pre_post_functions_in_group
/usr/lib/python3/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/.pysph/source/py3.9-linux-x86_64/m_6bd24ef6276cfb0a627c4a76f48d9905.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
.pybuild/cpython3_3.9/build/pysph/sph/tests/test_acceleration_eval.py::TestAccelerationEval1D::test_should_call_py_initialize
/usr/lib/python3/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/.pysph/source/py3.9-linux-x86_64/m_2050fc7c6320c48dbe6a33538cf05088.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
.pybuild/cpython3_3.9/build/pysph/sph/tests/test_acceleration_eval.py::TestAccelerationEval1D::test_should_handle_repeated_helper_functions
/usr/lib/python3/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/.pysph/source/py3.9-linux-x86_64/m_766c702abd060b362383b083d9c03275.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
.pybuild/cpython3_3.9/build/pysph/sph/tests/test_acceleration_eval.py::TestAccelerationEval1D::test_should_iterate_iterated_group
/usr/lib/python3/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/.pysph/source/py3.9-linux-x86_64/m_33b81f4dba430aaf42210931044b04c0.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
.pybuild/cpython3_3.9/build/pysph/sph/tests/test_acceleration_eval.py::TestAccelerationEval1D::test_should_iterate_nested_groups
/usr/lib/python3/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/.pysph/source/py3.9-linux-x86_64/m_7717c1442a4d826d0e187f434ef96cbc.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
.pybuild/cpython3_3.9/build/pysph/sph/tests/test_acceleration_eval.py::TestAccelerationEval1D::test_should_not_iterate_normal_group
/usr/lib/python3/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/.pysph/source/py3.9-linux-x86_64/m_cfe2eb093a39e8e702efa0cf780bf4e3.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
.pybuild/cpython3_3.9/build/pysph/sph/tests/test_acceleration_eval.py::TestAccelerationEval1D::test_should_run_reduce
/usr/lib/python3/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/.pysph/source/py3.9-linux-x86_64/m_678795442fd61741ccc5ce5dd5c5c753.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
.pybuild/cpython3_3.9/build/pysph/sph/tests/test_acceleration_eval.py::TestAccelerationEval1D::test_should_support_constants
/usr/lib/python3/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/.pysph/source/py3.9-linux-x86_64/m_7bb1bab96b93bbdaafc45e03d4993835.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
.pybuild/cpython3_3.9/build/pysph/sph/tests/test_acceleration_eval.py::TestAccelerationEval1D::test_should_support_loop_all_and_loop
/usr/lib/python3/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/.pysph/source/py3.9-linux-x86_64/m_e7e9ab313fa06d6ac295a713d6d20ed0.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
.pybuild/cpython3_3.9/build/pysph/sph/tests/test_acceleration_eval.py::TestAccelerationEval1D::test_should_support_loop_all_and_loop
/usr/lib/python3/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/.pysph/source/py3.9-linux-x86_64/m_536b4600578e21ae33f7deb8aa1f71fe.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
.pybuild/cpython3_3.9/build/pysph/sph/tests/test_acceleration_eval.py::TestAccelerationEval1D::test_should_work_with_non_double_arrays
/usr/lib/python3/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/.pysph/source/py3.9-linux-x86_64/m_f9827192da77f6672a3575a967f33ba7.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
.pybuild/cpython3_3.9/build/pysph/sph/tests/test_integrator.py::TestIntegratorAdaptiveTimestep::test_compute_timestep_with_dt_adapt
/usr/lib/python3/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/.pysph/source/py3.9-linux-x86_64/m_76734bae3a461753975fbf791fdbb19b.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
.pybuild/cpython3_3.9/build/pysph/sph/tests/test_integrator.py::TestIntegratorAdaptiveTimestep::test_compute_timestep_with_dt_adapt_trumps_dt_cfl
/usr/lib/python3/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/.pysph/source/py3.9-linux-x86_64/m_3eef2402041a6d8884be144e1ea8a11f.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
.pybuild/cpython3_3.9/build/pysph/sph/tests/test_integrator.py::TestIntegratorAdaptiveTimestep::test_compute_timestep_with_dt_cfl
/usr/lib/python3/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/.pysph/source/py3.9-linux-x86_64/m_14fdd08882c92b4eca96b8e5525a5e26.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
.pybuild/cpython3_3.9/build/pysph/sph/tests/test_integrator.py::TestIntegratorAdaptiveTimestep::test_compute_timestep_without_adaptive
/usr/lib/python3/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/.pysph/source/py3.9-linux-x86_64/m_a0271db338b0a591d39b669652df021c.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
.pybuild/cpython3_3.9/build/pysph/sph/tests/test_integrator.py::TestLeapFrogIntegrator::test_helper_can_be_used_with_stepper
/usr/lib/python3/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/.pysph/source/py3.9-linux-x86_64/m_afce861c4d3d616622e5e739877d460b.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
.pybuild/cpython3_3.9/build/pysph/sph/tests/test_integrator.py::TestLeapFrogIntegrator::test_integrator_calls_only_py_when_no_stage
/usr/lib/python3/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/.pysph/source/py3.9-linux-x86_64/m_a8dbf3b89f1f24e1514c5a05249db577.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
.pybuild/cpython3_3.9/build/pysph/sph/tests/test_integrator.py::TestLeapFrogIntegrator::test_integrator_calls_py_stage1
/usr/lib/python3/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/.pysph/source/py3.9-linux-x86_64/m_5d94160891ab9d7b65d483394d53f090.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
.pybuild/cpython3_3.9/build/pysph/sph/tests/test_integrator.py::TestLeapFrogIntegrator::test_integrator_calls_py_stage1_stage2
/usr/lib/python3/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/.pysph/source/py3.9-linux-x86_64/m_91ff9b09094d9dbbd640f4b6119df413.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
.pybuild/cpython3_3.9/build/pysph/sph/tests/test_integrator.py::TestLeapFrogIntegrator::test_leapfrog
/usr/lib/python3/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/.pysph/source/py3.9-linux-x86_64/m_17141a5fd5c62030e087718d7d2cd89f.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
.pybuild/cpython3_3.9/build/pysph/sph/tests/test_integrator.py::TestPEFRLIntegrator::test_pefrl
/usr/lib/python3/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/.pysph/source/py3.9-linux-x86_64/m_28bc252d0d0bd9e4d053fe4ec8d0ebc8.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
.pybuild/cpython3_3.9/build/pysph/sph/tests/test_kernel_corrections.py::TestKernelCorrection2D::test_crksph
/usr/lib/python3/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/.pysph/source/py3.9-linux-x86_64/m_03fdf2f0a8238e4859e602e5100a8ae8.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
.pybuild/cpython3_3.9/build/pysph/sph/tests/test_kernel_corrections.py::TestKernelCorrection2D::test_crksph_symmetric
/usr/lib/python3/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/.pysph/source/py3.9-linux-x86_64/m_3879b817675749e849fa14f03c2f577e.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
.pybuild/cpython3_3.9/build/pysph/sph/tests/test_kernel_corrections.py::TestKernelCorrection2D::test_gradient_correction
/usr/lib/python3/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/.pysph/source/py3.9-linux-x86_64/m_c2abdc8087fe603ffd109cd9e5859cec.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
.pybuild/cpython3_3.9/build/pysph/sph/tests/test_kernel_corrections.py::TestKernelCorrection2D::test_mixed_gradient_correction
/usr/lib/python3/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/.pysph/source/py3.9-linux-x86_64/m_d286287fc29a88343393d0c2866d769c.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
.pybuild/cpython3_3.9/build/pysph/sph/tests/test_kernel_corrections.py::TestKernelCorrection3D::test_gradient_correction
/usr/lib/python3/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/.pysph/source/py3.9-linux-x86_64/m_aa0363728d382da65870dd91f24707af.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
.pybuild/cpython3_3.9/build/pysph/sph/tests/test_kernel_corrections.py::TestKernelCorrection3D::test_mixed_gradient_correction
/usr/lib/python3/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/.pysph/source/py3.9-linux-x86_64/m_102aa4de9cd8d5ff37ffec30e2e1c5a5.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
.pybuild/cpython3_3.9/build/pysph/sph/tests/test_linalg.py::TestLinalg::test_band_matrix
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pysph/sph/tests/test_linalg.py:92: PendingDeprecationWarning: the matrix subclass is not the recommended way to represent matrices or deal with linear algebra (see https://docs.scipy.org/doc/numpy/user/numpy-for-matlab-users.html). Please adjust your code to use regular ndarray.
mat = np.matrix(mat)
.pybuild/cpython3_3.9/build/pysph/sph/tests/test_linalg.py::TestLinalg::test_band_matrix
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pysph/sph/tests/test_linalg.py:93: PendingDeprecationWarning: the matrix subclass is not the recommended way to represent matrices or deal with linear algebra (see https://docs.scipy.org/doc/numpy/user/numpy-for-matlab-users.html). Please adjust your code to use regular ndarray.
new_b = mat * np.transpose(np.matrix(result))
.pybuild/cpython3_3.9/build/pysph/sph/tests/test_linalg.py::TestLinalg::test_band_matrix
.pybuild/cpython3_3.9/build/pysph/sph/tests/test_linalg.py::TestLinalg::test_dense_matrix
.pybuild/cpython3_3.9/build/pysph/sph/tests/test_linalg.py::TestLinalg::test_general_matrix
.pybuild/cpython3_3.9/build/pysph/sph/tests/test_linalg.py::TestLinalg::test_symmetric_matrix
.pybuild/cpython3_3.9/build/pysph/sph/tests/test_linalg.py::TestLinalg::test_symmetric_positivedefinite_Matrix
.pybuild/cpython3_3.9/build/pysph/sph/tests/test_linalg.py::TestLinalg::test_tridiagonal_matrix
.pybuild/cpython3_3.9/build/pysph/tools/tests/test_geometry.py::TestGeometry::test_rotate
.pybuild/cpython3_3.9/build/pysph/tools/tests/test_geometry.py::TestGeometry::test_rotate
/usr/lib/python3/dist-packages/numpy/matrixlib/defmatrix.py:69: PendingDeprecationWarning: the matrix subclass is not the recommended way to represent matrices or deal with linear algebra (see https://docs.scipy.org/doc/numpy/user/numpy-for-matlab-users.html). Please adjust your code to use regular ndarray.
return matrix(data, dtype=dtype, copy=False)
.pybuild/cpython3_3.9/build/pysph/sph/tests/test_linalg.py::TestLinalg::test_dense_matrix
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pysph/sph/tests/test_linalg.py:103: PendingDeprecationWarning: the matrix subclass is not the recommended way to represent matrices or deal with linear algebra (see https://docs.scipy.org/doc/numpy/user/numpy-for-matlab-users.html). Please adjust your code to use regular ndarray.
mat = np.matrix(mat)
.pybuild/cpython3_3.9/build/pysph/sph/tests/test_linalg.py::TestLinalg::test_dense_matrix
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pysph/sph/tests/test_linalg.py:104: PendingDeprecationWarning: the matrix subclass is not the recommended way to represent matrices or deal with linear algebra (see https://docs.scipy.org/doc/numpy/user/numpy-for-matlab-users.html). Please adjust your code to use regular ndarray.
new_b = mat * np.transpose(np.matrix(result))
.pybuild/cpython3_3.9/build/pysph/sph/tests/test_linalg.py::TestLinalg::test_general_matrix
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pysph/sph/tests/test_linalg.py:81: PendingDeprecationWarning: the matrix subclass is not the recommended way to represent matrices or deal with linear algebra (see https://docs.scipy.org/doc/numpy/user/numpy-for-matlab-users.html). Please adjust your code to use regular ndarray.
mat = np.matrix(mat)
.pybuild/cpython3_3.9/build/pysph/sph/tests/test_linalg.py::TestLinalg::test_general_matrix
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pysph/sph/tests/test_linalg.py:82: PendingDeprecationWarning: the matrix subclass is not the recommended way to represent matrices or deal with linear algebra (see https://docs.scipy.org/doc/numpy/user/numpy-for-matlab-users.html). Please adjust your code to use regular ndarray.
new_b = mat * np.transpose(np.matrix(result))
.pybuild/cpython3_3.9/build/pysph/sph/tests/test_linalg.py::TestLinalg::test_symmetric_matrix
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pysph/sph/tests/test_linalg.py:126: PendingDeprecationWarning: the matrix subclass is not the recommended way to represent matrices or deal with linear algebra (see https://docs.scipy.org/doc/numpy/user/numpy-for-matlab-users.html). Please adjust your code to use regular ndarray.
mat = np.matrix(mat)
.pybuild/cpython3_3.9/build/pysph/sph/tests/test_linalg.py::TestLinalg::test_symmetric_matrix
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pysph/sph/tests/test_linalg.py:127: PendingDeprecationWarning: the matrix subclass is not the recommended way to represent matrices or deal with linear algebra (see https://docs.scipy.org/doc/numpy/user/numpy-for-matlab-users.html). Please adjust your code to use regular ndarray.
new_b = mat * np.transpose(np.matrix(result))
.pybuild/cpython3_3.9/build/pysph/sph/tests/test_linalg.py::TestLinalg::test_symmetric_positivedefinite_Matrix
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pysph/sph/tests/test_linalg.py:138: PendingDeprecationWarning: the matrix subclass is not the recommended way to represent matrices or deal with linear algebra (see https://docs.scipy.org/doc/numpy/user/numpy-for-matlab-users.html). Please adjust your code to use regular ndarray.
mat = np.matrix(mat)
.pybuild/cpython3_3.9/build/pysph/sph/tests/test_linalg.py::TestLinalg::test_symmetric_positivedefinite_Matrix
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pysph/sph/tests/test_linalg.py:139: PendingDeprecationWarning: the matrix subclass is not the recommended way to represent matrices or deal with linear algebra (see https://docs.scipy.org/doc/numpy/user/numpy-for-matlab-users.html). Please adjust your code to use regular ndarray.
new_b = mat * np.transpose(np.matrix(result))
.pybuild/cpython3_3.9/build/pysph/sph/tests/test_linalg.py::TestLinalg::test_tridiagonal_matrix
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pysph/sph/tests/test_linalg.py:115: PendingDeprecationWarning: the matrix subclass is not the recommended way to represent matrices or deal with linear algebra (see https://docs.scipy.org/doc/numpy/user/numpy-for-matlab-users.html). Please adjust your code to use regular ndarray.
mat = np.matrix(mat)
.pybuild/cpython3_3.9/build/pysph/sph/tests/test_linalg.py::TestLinalg::test_tridiagonal_matrix
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pysph/sph/tests/test_linalg.py:116: PendingDeprecationWarning: the matrix subclass is not the recommended way to represent matrices or deal with linear algebra (see https://docs.scipy.org/doc/numpy/user/numpy-for-matlab-users.html). Please adjust your code to use regular ndarray.
new_b = mat * np.transpose(np.matrix(result))
.pybuild/cpython3_3.9/build/pysph/sph/tests/test_multi_group_integrator.py::TestMultiGroupIntegrator::test_different_accels_per_integrator
/usr/lib/python3/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/.pysph/source/py3.9-linux-x86_64/m_03d2f3c8840eaa38e2d13edb3a0927a1.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
.pybuild/cpython3_3.9/build/pysph/sph/tests/test_multi_group_integrator.py::TestMultiGroupIntegrator::test_different_accels_per_integrator
/usr/lib/python3/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/.pysph/source/py3.9-linux-x86_64/m_f16a981c222b02ffbc9a137fd99ac24b.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
.pybuild/cpython3_3.9/build/pysph/tools/tests/test_geometry.py::TestGeometry::test_rotate
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pysph/tools/geometry.py:176: PendingDeprecationWarning: the matrix subclass is not the recommended way to represent matrices or deal with linear algebra (see https://docs.scipy.org/doc/numpy/user/numpy-for-matlab-users.html). Please adjust your code to use regular ndarray.
rotation_matrix = matrix_exp(np.matrix(matrix))
.pybuild/cpython3_3.9/build/pysph/tools/tests/test_geometry.py::TestGeometry::test_rotate
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pysph/tools/tests/test_geometry.py:76: PendingDeprecationWarning: the matrix subclass is not the recommended way to represent matrices or deal with linear algebra (see https://docs.scipy.org/doc/numpy/user/numpy-for-matlab-users.html). Please adjust your code to use regular ndarray.
rotation_matrix = G.matrix_exp(np.matrix(mat))
.pybuild/cpython3_3.9/build/pysph/tools/tests/test_geometry_stl.py::TestGeometry::test_get_points_from_mgrid
/usr/lib/python3/dist-packages/numpy/core/_asarray.py:83: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray
return array(a, dtype, copy=False, order=order)
-- Docs: https://docs.pytest.org/en/stable/warnings.html
=========================== short test summary info ============================
FAILED pysph/parallel/tests/test_parallel.py::MPIReduceArrayTestCase::test_mpi_reduce_array
FAILED pysph/parallel/tests/test_parallel.py::MPIReduceArrayTestCase::test_parallel_reduce
FAILED pysph/parallel/tests/test_parallel.py::DumpLoadTestCase::test_dump_and_load_work_in_parallel
FAILED pysph/parallel/tests/test_parallel_run.py::ParallelTests::test_ldcavity_example
= 4 failed, 522 passed, 273 skipped, 90 deselected, 73 warnings in 187.52s (0:03:07) =
E: pybuild pybuild:353: test: plugin distutils failed with: exit code=1: cd '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build'; python3.9 -m pytest -k 'not test_sph_evaluator and not TestInterpolator'
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.9 returned exit code 13
make: *** [debian/rules:11: binary] Error 25
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/bullseye/
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-science-maintainers
mailing list