Source: pyzoltan
Version: 1.0.1-2
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201226 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
> dpkg-buildpackage
> -----------------
> 
> Command: dpkg-buildpackage -us -uc -sa -rfakeroot
> dpkg-buildpackage: info: source package pyzoltan
> dpkg-buildpackage: info: source version 1.0.1-2
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Anton Gladky <gl...@debian.org>
>  dpkg-source --before-build .
> dpkg-buildpackage: info: host architecture amd64
>  debian/rules clean
> dh clean --with python3 --buildsystem=pybuild
>    dh_auto_clean -O--buildsystem=pybuild
> I: pybuild base:232: python3.9 setup.py clean 
> /usr/lib/python3.9/distutils/extension.py:131: UserWarning: Unknown Extension 
> options: 'cython_compile_time_env'
>   warnings.warn(msg)
> running clean
> removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyzoltan/build' (and 
> everything under it)
> 'build/bdist.linux-x86_64' does not exist -- can't clean it
> 'build/scripts-3.9' does not exist -- can't clean it
>    dh_autoreconf_clean -O--buildsystem=pybuild
>    dh_clean -O--buildsystem=pybuild
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building pyzoltan using existing 
> ./pyzoltan_1.0.1.orig.tar.gz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: info: building pyzoltan in pyzoltan_1.0.1-2.debian.tar.xz
> dpkg-source: info: building pyzoltan in pyzoltan_1.0.1-2.dsc
>  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: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: /<<PKGBUILDDIR>>/pyzoltan/core/zoltan.pxd
>   tree = Parsing.p_module(s, pxd, full_module_name)
> /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>>/pyzoltan/core/zoltan_comm.pxd
>   tree = Parsing.p_module(s, pxd, full_module_name)
> /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>>/pyzoltan/core/zoltan_dd.pxd
>   tree = Parsing.p_module(s, pxd, full_module_name)
> ----------------------------------------------------------------------
> Using Zoltan from:
> /usr/include/trilinos
> /usr/lib
> ----------------------------------------------------------------------
> Compiling pyzoltan/core/zoltan.pyx because it changed.
> Compiling pyzoltan/core/zoltan_dd.pyx because it changed.
> Compiling pyzoltan/core/zoltan_comm.pyx because it changed.
> [1/3] Cythonizing pyzoltan/core/zoltan.pyx
> [2/3] Cythonizing pyzoltan/core/zoltan_comm.pyx
> [3/3] Cythonizing pyzoltan/core/zoltan_dd.pyx
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:232: /usr/bin/python3 setup.py build 
> ----------------------------------------------------------------------
> Using Zoltan from:
> /usr/include/trilinos
> /usr/lib
> ----------------------------------------------------------------------
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyzoltan/build/pyzoltan
> copying pyzoltan/api.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyzoltan/build/pyzoltan
> copying pyzoltan/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyzoltan/build/pyzoltan
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyzoltan/build/pyzoltan/czoltan
> copying pyzoltan/czoltan/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyzoltan/build/pyzoltan/czoltan
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyzoltan/build/pyzoltan/core
> copying pyzoltan/core/zoltan_utils.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyzoltan/build/pyzoltan/core
> copying pyzoltan/core/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyzoltan/build/pyzoltan/core
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyzoltan/build/pyzoltan/tools
> copying pyzoltan/tools/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyzoltan/build/pyzoltan/tools
> copying pyzoltan/tools/run_parallel_script.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyzoltan/build/pyzoltan/tools
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyzoltan/build/pyzoltan/core/tests
> copying pyzoltan/core/tests/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyzoltan/build/pyzoltan/core/tests
> copying pyzoltan/core/tests/geometric_partitioner.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyzoltan/build/pyzoltan/core/tests
> copying pyzoltan/core/tests/zcomm.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyzoltan/build/pyzoltan/core/tests
> copying pyzoltan/core/tests/3d_partition.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyzoltan/build/pyzoltan/core/tests
> copying pyzoltan/core/tests/test_zoltan.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyzoltan/build/pyzoltan/core/tests
> running egg_info
> creating PyZoltan.egg-info
> writing PyZoltan.egg-info/PKG-INFO
> writing dependency_links to PyZoltan.egg-info/dependency_links.txt
> writing requirements to PyZoltan.egg-info/requires.txt
> writing top-level names to PyZoltan.egg-info/top_level.txt
> writing manifest file 'PyZoltan.egg-info/SOURCES.txt'
> reading manifest file 'PyZoltan.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> writing manifest file 'PyZoltan.egg-info/SOURCES.txt'
> copying pyzoltan/czoltan/__init__.pxd -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyzoltan/build/pyzoltan/czoltan
> copying pyzoltan/czoltan/czoltan.pxd -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyzoltan/build/pyzoltan/czoltan
> copying pyzoltan/czoltan/czoltan_comm.pxd -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyzoltan/build/pyzoltan/czoltan
> copying pyzoltan/czoltan/czoltan_config.pxd -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyzoltan/build/pyzoltan/czoltan
> copying pyzoltan/czoltan/czoltan_dd.pxd -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyzoltan/build/pyzoltan/czoltan
> copying pyzoltan/czoltan/czoltan_types.pxd -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyzoltan/build/pyzoltan/czoltan
> copying pyzoltan/czoltan/mpi-compat.h -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyzoltan/build/pyzoltan/czoltan
> copying pyzoltan/core/__init__.pxd -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyzoltan/build/pyzoltan/core
> copying pyzoltan/core/msstdint.h -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyzoltan/build/pyzoltan/core
> copying pyzoltan/core/zoltan.pxd -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyzoltan/build/pyzoltan/core
> copying pyzoltan/core/zoltan_comm.pxd -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyzoltan/build/pyzoltan/core
> copying pyzoltan/core/zoltan_dd.pxd -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyzoltan/build/pyzoltan/core
> copying pyzoltan/core/tests/mesh.txt -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyzoltan/build/pyzoltan/core/tests
> running build_ext
> building 'pyzoltan.core.zoltan' extension
> creating build
> creating build/temp.linux-x86_64-3.9
> creating build/temp.linux-x86_64-3.9/pyzoltan
> creating build/temp.linux-x86_64-3.9/pyzoltan/core
> x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g 
> -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat 
> -Werror=format-security -g -fwrapv -O2 -g -O2 
> -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC 
> -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/trilinos 
> -I/<<PKGBUILDDIR>>/pyzoltan/czoltan -I/usr/lib/python3/dist-packages/cyarray 
> -I/usr/lib/python3/dist-packages/mpi4py/include -I/usr/include/python3.9 -c 
> pyzoltan/core/zoltan.cpp -o 
> build/temp.linux-x86_64-3.9/pyzoltan/core/zoltan.o 
> -I/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi 
> -I/usr/lib/x86_64-linux-gnu/openmpi/include -pthread
> In file included from 
> /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1822,
>                  from 
> /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarrayobject.h:12,
>                  from 
> /usr/lib/python3/dist-packages/numpy/core/include/numpy/arrayobject.h:4,
>                  from pyzoltan/core/zoltan.cpp:675:
> /usr/lib/python3/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2:
>  warning: #warning "Using deprecated NumPy API, disable it with " "#define 
> NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
>    17 | #warning "Using deprecated NumPy API, disable it with " \
>       |  ^~~~~~~
> x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions 
> -Wl,-z,relro -g -fwrapv -O2 -Wl,-z,relro -Wl,-z,now -g -O2 
> -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 
> build/temp.linux-x86_64-3.9/pyzoltan/core/zoltan.o -ltrilinos_zoltan -lmpi -o 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyzoltan/build/pyzoltan/core/zoltan.cpython-39-x86_64-linux-gnu.so
>  -pthread -L/usr/lib/x86_64-linux-gnu/openmpi/lib -lmpi_cxx -lmpi
> building 'pyzoltan.core.zoltan_dd' extension
> x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g 
> -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat 
> -Werror=format-security -g -fwrapv -O2 -g -O2 
> -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC 
> -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/trilinos 
> -I/<<PKGBUILDDIR>>/pyzoltan/czoltan -I/usr/lib/python3/dist-packages/cyarray 
> -I/usr/lib/python3/dist-packages/mpi4py/include -I/usr/include/python3.9 -c 
> pyzoltan/core/zoltan_dd.cpp -o 
> build/temp.linux-x86_64-3.9/pyzoltan/core/zoltan_dd.o 
> -I/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi 
> -I/usr/lib/x86_64-linux-gnu/openmpi/include -pthread
> In file included from 
> /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1822,
>                  from 
> /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarrayobject.h:12,
>                  from 
> /usr/lib/python3/dist-packages/numpy/core/include/numpy/arrayobject.h:4,
>                  from pyzoltan/core/zoltan_dd.cpp:673:
> /usr/lib/python3/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2:
>  warning: #warning "Using deprecated NumPy API, disable it with " "#define 
> NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
>    17 | #warning "Using deprecated NumPy API, disable it with " \
>       |  ^~~~~~~
> x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions 
> -Wl,-z,relro -g -fwrapv -O2 -Wl,-z,relro -Wl,-z,now -g -O2 
> -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 
> build/temp.linux-x86_64-3.9/pyzoltan/core/zoltan_dd.o -ltrilinos_zoltan -lmpi 
> -o 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyzoltan/build/pyzoltan/core/zoltan_dd.cpython-39-x86_64-linux-gnu.so
>  -pthread -L/usr/lib/x86_64-linux-gnu/openmpi/lib -lmpi_cxx -lmpi
> building 'pyzoltan.core.zoltan_comm' extension
> x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g 
> -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat 
> -Werror=format-security -g -fwrapv -O2 -g -O2 
> -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC 
> -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/trilinos 
> -I/<<PKGBUILDDIR>>/pyzoltan/czoltan -I/usr/lib/python3/dist-packages/cyarray 
> -I/usr/lib/python3/dist-packages/mpi4py/include -I/usr/include/python3.9 -c 
> pyzoltan/core/zoltan_comm.cpp -o 
> build/temp.linux-x86_64-3.9/pyzoltan/core/zoltan_comm.o 
> -I/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi 
> -I/usr/lib/x86_64-linux-gnu/openmpi/include -pthread
> In file included from 
> /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1822,
>                  from 
> /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarrayobject.h:12,
>                  from 
> /usr/lib/python3/dist-packages/numpy/core/include/numpy/arrayobject.h:4,
>                  from pyzoltan/core/zoltan_comm.cpp:669:
> /usr/lib/python3/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2:
>  warning: #warning "Using deprecated NumPy API, disable it with " "#define 
> NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
>    17 | #warning "Using deprecated NumPy API, disable it with " \
>       |  ^~~~~~~
> x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions 
> -Wl,-z,relro -g -fwrapv -O2 -Wl,-z,relro -Wl,-z,now -g -O2 
> -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 
> build/temp.linux-x86_64-3.9/pyzoltan/core/zoltan_comm.o -ltrilinos_zoltan 
> -lmpi -o 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyzoltan/build/pyzoltan/core/zoltan_comm.cpython-39-x86_64-linux-gnu.so
>  -pthread -L/usr/lib/x86_64-linux-gnu/openmpi/lib -lmpi_cxx -lmpi
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:232: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyzoltan/build; python3.9 -m pytest 
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.9.1, pytest-4.6.11, py-1.9.0, pluggy-0.13.0
> rootdir: /<<PKGBUILDDIR>>
> collected 3 items
> 
> pyzoltan/core/tests/test_zoltan.py FFF                                   
> [100%]
> 
> =================================== FAILURES 
> ===================================
> _______________ PyZoltanTests.test_zoltan_geometric_partitioner 
> ________________
> 
> self = <pyzoltan.core.tests.test_zoltan.PyZoltanTests 
> testMethod=test_zoltan_geometric_partitioner>
> 
>     @mark.parallel
>     def test_zoltan_geometric_partitioner(self):
> >       run_parallel_script.run(
>             filename='geometric_partitioner.py', nprocs=nprocs, path=path
>         )
> 
> pyzoltan/core/tests/test_zoltan.py:22: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> filename = 'geometric_partitioner.py', args = [], nprocs = 2, timeout = 30.0
> path = 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyzoltan/build/pyzoltan/core/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 geometric_partitioner.py failed with 
> returncode 1
> 
> pyzoltan/tools/run_parallel_script.py:54: RuntimeError
> ----------------------------- Captured stdout call 
> -----------------------------
> running test: ['mpiexec', '-n', '2', '/usr/bin/python3.9', 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyzoltan/build/pyzoltan/core/tests/geometric_partitioner.py']
> 
> [ip-172-31-2-77:24532] [[47176,0],0] ORTE_ERROR_LOG: Not found in file 
> ../../../../../../orte/mca/ess/hnp/ess_hnp_module.c at line 320
> --------------------------------------------------------------------------
> It looks like orte_init failed for some reason; your parallel process is
> likely to abort.  There are many reasons that a parallel process can
> fail during orte_init; some of which are due to configuration or
> environment problems.  This failure appears to be an internal failure;
> here's some additional information (which may only be relevant to an
> Open MPI developer):
> 
>   opal_pmix_base_select failed
>   --> Returned value Not found (-13) instead of ORTE_SUCCESS
> --------------------------------------------------------------------------
> 
> ################################################################################
> test geometric_partitioner.py failed with returncode 1
> ################################################################################
> _____________________ PyZoltanTests.test_zoltan_partition 
> ______________________
> 
> self = <pyzoltan.core.tests.test_zoltan.PyZoltanTests 
> testMethod=test_zoltan_partition>
> 
>     @mark.slow
>     @mark.parallel
>     def test_zoltan_partition(self):
> >       run_parallel_script.run(
>             filename='3d_partition.py', nprocs=nprocs, timeout=90.0, path=path
>         )
> 
> pyzoltan/core/tests/test_zoltan.py:29: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> filename = '3d_partition.py', args = [], nprocs = 2, timeout = 90.0
> path = 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyzoltan/build/pyzoltan/core/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 3d_partition.py failed with returncode 1
> 
> pyzoltan/tools/run_parallel_script.py:54: RuntimeError
> ----------------------------- Captured stdout call 
> -----------------------------
> running test: ['mpiexec', '-n', '2', '/usr/bin/python3.9', 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyzoltan/build/pyzoltan/core/tests/3d_partition.py']
> 
> [ip-172-31-2-77:24534] [[47178,0],0] ORTE_ERROR_LOG: Not found in file 
> ../../../../../../orte/mca/ess/hnp/ess_hnp_module.c at line 320
> --------------------------------------------------------------------------
> It looks like orte_init failed for some reason; your parallel process is
> likely to abort.  There are many reasons that a parallel process can
> fail during orte_init; some of which are due to configuration or
> environment problems.  This failure appears to be an internal failure;
> here's some additional information (which may only be relevant to an
> Open MPI developer):
> 
>   opal_pmix_base_select failed
>   --> Returned value Not found (-13) instead of ORTE_SUCCESS
> --------------------------------------------------------------------------
> 
> ################################################################################
> test 3d_partition.py failed with returncode 1
> ################################################################################
> _______________________ PyZoltanTests.test_zoltan_zcomm 
> ________________________
> 
> self = <pyzoltan.core.tests.test_zoltan.PyZoltanTests 
> testMethod=test_zoltan_zcomm>
> 
>     @mark.parallel
>     def test_zoltan_zcomm(self):
> >       run_parallel_script.run(
>             filename='zcomm.py', nprocs=nprocs, path=path
>         )
> 
> pyzoltan/core/tests/test_zoltan.py:35: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> filename = 'zcomm.py', args = [], nprocs = 2, timeout = 30.0
> path = 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyzoltan/build/pyzoltan/core/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 zcomm.py failed with returncode 1
> 
> pyzoltan/tools/run_parallel_script.py:54: RuntimeError
> ----------------------------- Captured stdout call 
> -----------------------------
> running test: ['mpiexec', '-n', '2', '/usr/bin/python3.9', 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyzoltan/build/pyzoltan/core/tests/zcomm.py']
> 
> [ip-172-31-2-77:24536] [[47172,0],0] ORTE_ERROR_LOG: Not found in file 
> ../../../../../../orte/mca/ess/hnp/ess_hnp_module.c at line 320
> --------------------------------------------------------------------------
> It looks like orte_init failed for some reason; your parallel process is
> likely to abort.  There are many reasons that a parallel process can
> fail during orte_init; some of which are due to configuration or
> environment problems.  This failure appears to be an internal failure;
> here's some additional information (which may only be relevant to an
> Open MPI developer):
> 
>   opal_pmix_base_select failed
>   --> Returned value Not found (-13) instead of ORTE_SUCCESS
> --------------------------------------------------------------------------
> 
> ################################################################################
> test zcomm.py failed with returncode 1
> ################################################################################
> =============================== warnings summary 
> ===============================
> /usr/lib/python3/dist-packages/_pytest/mark/structures.py:331
>   /usr/lib/python3/dist-packages/_pytest/mark/structures.py:331: 
> 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/latest/mark.html
>     warnings.warn(
> 
> /usr/lib/python3/dist-packages/_pytest/mark/structures.py:331
>   /usr/lib/python3/dist-packages/_pytest/mark/structures.py:331: 
> 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/latest/mark.html
>     warnings.warn(
> 
> -- Docs: https://docs.pytest.org/en/latest/warnings.html
> ===================== 3 failed, 2 warnings in 0.20 seconds 
> =====================
> E: pybuild pybuild:353: test: plugin distutils failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyzoltan/build; python3.9 -m pytest 
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.9 
> returned exit code 13

The full build log is available from:
   http://qa-logs.debian.net/2020/12/26/pyzoltan_1.0.1-2_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with me
so that we can identify if something relevant changed in the meantime.

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.

Reply via email to