conda-forge / numba-feedstock

A conda-smithy repository for numba.
BSD 3-Clause "New" or "Revised" License
0 stars 27 forks source link

Test failures on Linux Python 2.7 #4

Closed jakirkham closed 6 years ago

jakirkham commented 6 years ago
======================================================================
ERROR: test_all (numba.tests.test_runtests.TestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numba/tests/test_runtests.py", line 46, in test_all
    self.check_all(['numba.tests'])
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numba/tests/test_runtests.py", line 36, in check_all
    lines = self.check_testsuite_size(ids, 5000, 8000)
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numba/tests/test_runtests.py", line 20, in check_testsuite_size
    lines = subprocess.check_output(cmd).decode().splitlines()
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 38: ordinal not in range(128)

======================================================================
ERROR: test_default (numba.tests.test_runtests.TestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numba/tests/test_runtests.py", line 43, in test_default
    self.check_all([])
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numba/tests/test_runtests.py", line 36, in check_all
    lines = self.check_testsuite_size(ids, 5000, 8000)
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numba/tests/test_runtests.py", line 20, in check_testsuite_size
    lines = subprocess.check_output(cmd).decode().splitlines()
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 38: ordinal not in range(128)

======================================================================
ERROR: test_caching (numba.tests.test_cfunc.TestCFuncCache)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numba/tests/test_cfunc.py", line 239, in test_caching
    self.run_in_separate_process()
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numba/tests/test_cfunc.py", line 208, in run_in_separate_process
    stdout=subprocess.PIPE, stderr=subprocess.PIPE)
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/subprocess.py", line 390, in __init__
    errread, errwrite)
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/subprocess.py", line 917, in _execute_child
    self.pid = os.fork()
OSError: [Errno 12] Cannot allocate memory

======================================================================
ERROR: test_other_process (numba.tests.test_serialize.TestDispatcherPickling)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numba/tests/test_serialize.py", line 135, in test_other_process
    subprocess.check_call([sys.executable, "-c", code])
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/subprocess.py", line 181, in check_call
    retcode = call(*popenargs, **kwargs)
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/subprocess.py", line 168, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/subprocess.py", line 390, in __init__
    errread, errwrite)
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/subprocess.py", line 917, in _execute_child
    self.pid = os.fork()
OSError: [Errno 12] Cannot allocate memory

======================================================================
ERROR: test_profiler_np_dot (numba.tests.test_profiler.TestProfiler)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numba/tests/test_profiler.py", line 75, in test_profiler_np_dot
    subprocess.check_call([sys.executable, "-c", code])
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/subprocess.py", line 181, in check_call
    retcode = call(*popenargs, **kwargs)
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/subprocess.py", line 168, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/subprocess.py", line 390, in __init__
    errread, errwrite)
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/subprocess.py", line 917, in _execute_child
    self.pid = os.fork()
OSError: [Errno 12] Cannot allocate memory

======================================================================
ERROR: test_compile (numba.tests.test_pycc.TestCC)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numba/tests/test_pycc.py", line 194, in test_compile
    with self.check_cc_compiled(self._test_module.cc) as lib:
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/contextlib.py", line 17, in __enter__
    return self.gen.next()
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numba/tests/test_pycc.py", line 161, in check_cc_compiled
    cc.compile()
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numba/pycc/cc.py", line 212, in compile
    objects += self._compile_mixins(build_dir)
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numba/pycc/cc.py", line 187, in _compile_mixins
    extra_cflags=extra_cflags)
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numba/pycc/platform.py", line 125, in compile_objects
    extra_preargs=extra_cflags)
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numpy/distutils/ccompiler.py", line 343, in CCompiler_compile
    single_compile(o)
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numpy/distutils/ccompiler.py", line 303, in single_compile
    self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numpy/distutils/unixccompiler.py", line 61, in UnixCCompiler__compile
    raise CompileError(msg)
CompileError: Command "gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DPYCC_MODULE_NAME=pycc_test_simple -DPYCC_USE_NRT=0 -I/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/include/python2.7 -I/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numpy/core/include -c /home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numba/pycc/../_math_c99.c -o /tmp/numba-tests.1001/test_pycc-Ja2o0h/pycc-build-pycc_test_simple-cVDQqi/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numba/_math_c99.o" failed with exit status 127

======================================================================
ERROR: test_compile_for_cpu (numba.tests.test_pycc.TestCC)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numba/tests/test_pycc.py", line 216, in test_compile_for_cpu
    self.check_compile_for_cpu(ll.get_host_cpu_name())
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numba/tests/test_pycc.py", line 209, in check_compile_for_cpu
    with self.check_cc_compiled(cc) as lib:
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/contextlib.py", line 17, in __enter__
    return self.gen.next()
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numba/tests/test_pycc.py", line 161, in check_cc_compiled
    cc.compile()
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numba/pycc/cc.py", line 212, in compile
    objects += self._compile_mixins(build_dir)
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numba/pycc/cc.py", line 187, in _compile_mixins
    extra_cflags=extra_cflags)
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numba/pycc/platform.py", line 125, in compile_objects
    extra_preargs=extra_cflags)
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numpy/distutils/ccompiler.py", line 343, in CCompiler_compile
    single_compile(o)
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numpy/distutils/ccompiler.py", line 303, in single_compile
    self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numpy/distutils/unixccompiler.py", line 61, in UnixCCompiler__compile
    raise CompileError(msg)
CompileError: Command "gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DPYCC_MODULE_NAME=pycc_test_simple -DPYCC_USE_NRT=0 -I/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/include/python2.7 -I/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numpy/core/include -c /home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numba/pycc/modulemixin.c -o /tmp/numba-tests.1001/test_pycc-pKklXB/pycc-build-pycc_test_simple-_Xqdr9/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numba/pycc/modulemixin.o" failed with exit status 127

======================================================================
ERROR: test_compile_for_cpu_host (numba.tests.test_pycc.TestCC)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numba/tests/test_pycc.py", line 220, in test_compile_for_cpu_host
    self.check_compile_for_cpu("host")
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numba/tests/test_pycc.py", line 209, in check_compile_for_cpu
    with self.check_cc_compiled(cc) as lib:
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/contextlib.py", line 17, in __enter__
    return self.gen.next()
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numba/tests/test_pycc.py", line 161, in check_cc_compiled
    cc.compile()
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numba/pycc/cc.py", line 212, in compile
    objects += self._compile_mixins(build_dir)
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numba/pycc/cc.py", line 187, in _compile_mixins
    extra_cflags=extra_cflags)
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numba/pycc/platform.py", line 125, in compile_objects
    extra_preargs=extra_cflags)
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numpy/distutils/ccompiler.py", line 343, in CCompiler_compile
    single_compile(o)
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numpy/distutils/ccompiler.py", line 303, in single_compile
    self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numpy/distutils/unixccompiler.py", line 61, in UnixCCompiler__compile
    raise CompileError(msg)
CompileError: Command "gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DPYCC_MODULE_NAME=pycc_test_simple -DPYCC_USE_NRT=0 -I/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/include/python2.7 -I/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numpy/core/include -c /home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numba/pycc/modulemixin.c -o /tmp/numba-tests.1001/test_pycc-P6xI_K/pycc-build-pycc_test_simple-gDpkxh/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numba/pycc/modulemixin.o" failed with exit status 127

======================================================================
ERROR: test_compile_helperlib (numba.tests.test_pycc.TestCC)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numba/tests/test_pycc.py", line 224, in test_compile_helperlib
    with self.check_cc_compiled(self._test_module.cc_helperlib) as lib:
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/contextlib.py", line 17, in __enter__
    return self.gen.next()
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numba/tests/test_pycc.py", line 161, in check_cc_compiled
    cc.compile()
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numba/pycc/cc.py", line 212, in compile
    objects += self._compile_mixins(build_dir)
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numba/pycc/cc.py", line 187, in _compile_mixins
    extra_cflags=extra_cflags)
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numba/pycc/platform.py", line 125, in compile_objects
    extra_preargs=extra_cflags)
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numpy/distutils/ccompiler.py", line 343, in CCompiler_compile
    single_compile(o)
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numpy/distutils/ccompiler.py", line 303, in single_compile
    self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numpy/distutils/unixccompiler.py", line 61, in UnixCCompiler__compile
    raise CompileError(msg)
CompileError: Command "gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DPYCC_MODULE_NAME=pycc_test_helperlib -DPYCC_USE_NRT=0 -I/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/include/python2.7 -I/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numpy/core/include -c /home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numba/pycc/modulemixin.c -o /tmp/numba-tests.1001/test_pycc-zJ07VO/pycc-build-pycc_test_helperlib-Kxfp3O/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numba/pycc/modulemixin.o" failed with exit status 127

======================================================================
ERROR: test_compile_nrt (numba.tests.test_pycc.TestCC)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numba/tests/test_pycc.py", line 257, in test_compile_nrt
    with self.check_cc_compiled(self._test_module.cc_nrt) as lib:
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/contextlib.py", line 17, in __enter__
    return self.gen.next()
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numba/tests/test_pycc.py", line 161, in check_cc_compiled
    cc.compile()
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numba/pycc/cc.py", line 212, in compile
    objects += self._compile_mixins(build_dir)
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numba/pycc/cc.py", line 187, in _compile_mixins
    extra_cflags=extra_cflags)
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numba/pycc/platform.py", line 125, in compile_objects
    extra_preargs=extra_cflags)
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numpy/distutils/ccompiler.py", line 343, in CCompiler_compile
    single_compile(o)
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numpy/distutils/ccompiler.py", line 303, in single_compile
    self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numpy/distutils/unixccompiler.py", line 61, in UnixCCompiler__compile
    raise CompileError(msg)
CompileError: Command "gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DPYCC_MODULE_NAME=pycc_test_nrt -DPYCC_USE_NRT=1 -I/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/include/python2.7 -I/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numpy/core/include -c /home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numba/pycc/../_math_c99.c -o /tmp/numba-tests.1001/test_pycc-kx24g7/pycc-build-pycc_test_nrt-kxXMzk/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numba/_math_c99.o" failed with exit status 127

======================================================================
ERROR: test_setup_py_distutils (numba.tests.test_pycc.TestDistutilsSupport)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numba/tests/test_pycc.py", line 327, in test_setup_py_distutils
    self.check_setup_py("setup_distutils.py")
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numba/tests/test_pycc.py", line 314, in check_setup_py
    run_python([setup_py_file, "build_ext", "--inplace"])
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numba/tests/test_pycc.py", line 307, in run_python
    env=env)
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/subprocess.py", line 390, in __init__
    errread, errwrite)
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/subprocess.py", line 917, in _execute_child
    self.pid = os.fork()
OSError: [Errno 12] Cannot allocate memory

======================================================================
ERROR: test_pycc_ctypes_lib (numba.tests.test_pycc.TestLegacyAPI)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numba/tests/test_pycc.py", line 88, in test_pycc_ctypes_lib
    main(args=['--debug', '-o', cdll_path, source])
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numba/pycc/__init__.py", line 100, in main
    export_symbols=compiler.dll_exports)
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numba/pycc/platform.py", line 140, in link_shared
    extra_preargs=extra_ldflags)
  File "/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/distutils/unixccompiler.py", line 202, in link
    raise LinkError, msg
LinkError: Command "gcc -pthread -shared -L/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib -Wl,-rpath=/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib,--no-as-needed /tmp/numba-tests.1001/test_pycc-Srk3qE/test_dll_legacy.so.o -L/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib -L/home/conda/feedstock_root/build_artifacts/numba_1524340666098/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numpy/core/lib -lpython2.7 -lnpymath -lm -o /tmp/numba-tests.1001/test_pycc-Srk3qE/test_dll_legacy.so" failed with exit status 127

----------------------------------------------------------------------

ref: https://circleci.com/gh/conda-forge/numba-feedstock/10

jakirkham commented 6 years ago

With Numba 0.38.0, the failures on Linux Python 2.7 are down to encoding errors, which are basically the same as before. Snippet of the test failures below along with a link to the CI log.

======================================================================
ERROR: test_all (numba.tests.test_runtests.TestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/conda/feedstock_root/build_artifacts/numba_1525059849888/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numba/tests/test_runtests.py", line 72, in test_all
    self.check_all(['numba.tests'])
  File "/home/conda/feedstock_root/build_artifacts/numba_1525059849888/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numba/tests/test_runtests.py", line 62, in check_all
    lines = self.check_testsuite_size(ids, 5000, 8000)
  File "/home/conda/feedstock_root/build_artifacts/numba_1525059849888/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numba/tests/test_runtests.py", line 32, in check_testsuite_size
    lines = self.get_testsuite_listing(args)
  File "/home/conda/feedstock_root/build_artifacts/numba_1525059849888/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numba/tests/test_runtests.py", line 17, in get_testsuite_listing
    lines = subprocess.check_output(cmd).decode().splitlines()
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 38: ordinal not in range(128)

======================================================================
ERROR: test_default (numba.tests.test_runtests.TestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/conda/feedstock_root/build_artifacts/numba_1525059849888/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numba/tests/test_runtests.py", line 69, in test_default
    self.check_all([])
  File "/home/conda/feedstock_root/build_artifacts/numba_1525059849888/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numba/tests/test_runtests.py", line 62, in check_all
    lines = self.check_testsuite_size(ids, 5000, 8000)
  File "/home/conda/feedstock_root/build_artifacts/numba_1525059849888/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numba/tests/test_runtests.py", line 32, in check_testsuite_size
    lines = self.get_testsuite_listing(args)
  File "/home/conda/feedstock_root/build_artifacts/numba_1525059849888/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/python2.7/site-packages/numba/tests/test_runtests.py", line 17, in get_testsuite_listing
    lines = subprocess.check_output(cmd).decode().splitlines()
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 38: ordinal not in range(128)

----------------------------------------------------------------------
Ran 6881 tests in 5114.718s

FAILED (errors=2, skipped=69, expected failures=6)

ref: https://circleci.com/gh/conda-forge/numba-feedstock/120

jakirkham commented 6 years ago

Raising upstream as issue ( https://github.com/numba/numba/issues/2924 ).

jakirkham commented 6 years ago

Addressed in upstream PR ( https://github.com/numba/numba/pull/2932 ).

Have pulled in the patch from the upstream PR as part of the 0.38.0 release PR ( https://github.com/conda-forge/numba-feedstock/pull/7 ), which appears to fix the CI.