Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test failed #8913

Open
beew opened this issue Apr 24, 2023 · 3 comments
Open

test failed #8913

beew opened this issue Apr 24, 2023 · 3 comments
Labels
installation issue with installation no action required No action was needed to resolve.

Comments

@beew
Copy link

beew commented Apr 24, 2023

Hi, I installed numba and ran some tests and test_parallel_backend.py throws a lot of assertion errors

============================================================================================= short test summary info =============================================================================================
FAILED numba/tests/test_parallel_backend.py::TestSpecificBackend::test_multiprocessing_fork_concurrent_guvectorize_tbb - AssertionError: process failed with code 1: stderr follows
FAILED numba/tests/test_parallel_backend.py::TestSpecificBackend::test_multiprocessing_fork_concurrent_guvectorize_workqueue - AssertionError: process failed with code 1: stderr follows
FAILED numba/tests/test_parallel_backend.py::TestSpecificBackend::test_multiprocessing_fork_concurrent_jit_tbb - AssertionError: process failed with code 1: stderr follows
FAILED numba/tests/test_parallel_backend.py::TestSpecificBackend::test_multiprocessing_fork_concurrent_jit_workqueue - AssertionError: process failed with code 1: stderr follows
FAILED numba/tests/test_parallel_backend.py::TestSpecificBackend::test_multiprocessing_fork_concurrent_mix_use_masks_tbb - AssertionError: process failed with code 1: stderr follows
FAILED numba/tests/test_parallel_backend.py::TestSpecificBackend::test_multiprocessing_fork_concurrent_mix_use_masks_workqueue - AssertionError: process failed with code 1: stderr follows
FAILED numba/tests/test_parallel_backend.py::TestSpecificBackend::test_multiprocessing_fork_concurrent_mix_use_tbb - AssertionError: process failed with code 1: stderr follows
FAILED numba/tests/test_parallel_backend.py::TestSpecificBackend::test_multiprocessing_fork_concurrent_mix_use_workqueue - AssertionError: process failed with code 1: stderr follows
FAILED numba/tests/test_parallel_backend.py::TestSpecificBackend::test_multiprocessing_fork_concurrent_vectorize_tbb - AssertionError: process failed with code 1: stderr follows
FAILED numba/tests/test_parallel_backend.py::TestSpecificBackend::test_multiprocessing_fork_concurrent_vectorize_workqueue - AssertionError: process failed with code 1: stderr follows
FAILED numba/tests/test_parallel_backend.py::TestSpecificBackend::test_multiprocessing_forkserver_concurrent_guvectorize_omp - AssertionError: process failed with code 1: stderr follows
FAILED numba/tests/test_parallel_backend.py::TestSpecificBackend::test_multiprocessing_forkserver_concurrent_guvectorize_tbb - AssertionError: process failed with code 1: stderr follows
FAILED numba/tests/test_parallel_backend.py::TestSpecificBackend::test_multiprocessing_forkserver_concurrent_guvectorize_workqueue - AssertionError: process failed with code 1: stderr follows
FAILED numba/tests/test_parallel_backend.py::TestSpecificBackend::test_multiprocessing_forkserver_concurrent_jit_omp - AssertionError: process failed with code 1: stderr follows
FAILED numba/tests/test_parallel_backend.py::TestSpecificBackend::test_multiprocessing_forkserver_concurrent_jit_tbb - AssertionError: process failed with code 1: stderr follows
FAILED numba/tests/test_parallel_backend.py::TestSpecificBackend::test_multiprocessing_forkserver_concurrent_jit_workqueue - AssertionError: process failed with code 1: stderr follows
FAILED numba/tests/test_parallel_backend.py::TestSpecificBackend::test_multiprocessing_forkserver_concurrent_mix_use_masks_omp - AssertionError: process failed with code 1: stderr follows
FAILED numba/tests/test_parallel_backend.py::TestSpecificBackend::test_multiprocessing_forkserver_concurrent_mix_use_masks_tbb - AssertionError: process failed with code 1: stderr follows
FAILED numba/tests/test_parallel_backend.py::TestSpecificBackend::test_multiprocessing_forkserver_concurrent_mix_use_masks_workqueue - AssertionError: process failed with code 1: stderr follows
FAILED numba/tests/test_parallel_backend.py::TestSpecificBackend::test_multiprocessing_forkserver_concurrent_mix_use_omp - AssertionError: process failed with code 1: stderr follows
FAILED numba/tests/test_parallel_backend.py::TestSpecificBackend::test_multiprocessing_forkserver_concurrent_mix_use_tbb - AssertionError: process failed with code 1: stderr follows
FAILED numba/tests/test_parallel_backend.py::TestSpecificBackend::test_multiprocessing_forkserver_concurrent_mix_use_workqueue - AssertionError: process failed with code 1: stderr follows
FAILED numba/tests/test_parallel_backend.py::TestSpecificBackend::test_multiprocessing_forkserver_concurrent_vectorize_omp - AssertionError: process failed with code 1: stderr follows
FAILED numba/tests/test_parallel_backend.py::TestSpecificBackend::test_multiprocessing_forkserver_concurrent_vectorize_tbb - AssertionError: process failed with code 1: stderr follows
FAILED numba/tests/test_parallel_backend.py::TestSpecificBackend::test_multiprocessing_forkserver_concurrent_vectorize_workqueue - AssertionError: process failed with code 1: stderr follows
FAILED numba/tests/test_parallel_backend.py::TestSpecificBackend::test_multiprocessing_spawn_concurrent_guvectorize_omp - AssertionError: process failed with code 1: stderr follows
FAILED numba/tests/test_parallel_backend.py::TestSpecificBackend::test_multiprocessing_spawn_concurrent_guvectorize_tbb - AssertionError: process failed with code 1: stderr follows
FAILED numba/tests/test_parallel_backend.py::TestSpecificBackend::test_multiprocessing_spawn_concurrent_guvectorize_workqueue - AssertionError: process failed with code 1: stderr follows
FAILED numba/tests/test_parallel_backend.py::TestSpecificBackend::test_multiprocessing_spawn_concurrent_jit_omp - AssertionError: process failed with code 1: stderr follows
FAILED numba/tests/test_parallel_backend.py::TestSpecificBackend::test_multiprocessing_spawn_concurrent_jit_tbb - AssertionError: process failed with code 1: stderr follows
FAILED numba/tests/test_parallel_backend.py::TestSpecificBackend::test_multiprocessing_spawn_concurrent_jit_workqueue - AssertionError: process failed with code 1: stderr follows
FAILED numba/tests/test_parallel_backend.py::TestSpecificBackend::test_multiprocessing_spawn_concurrent_mix_use_masks_omp - AssertionError: process failed with code 1: stderr follows
FAILED numba/tests/test_parallel_backend.py::TestSpecificBackend::test_multiprocessing_spawn_concurrent_mix_use_masks_tbb - AssertionError: process failed with code 1: stderr follows
FAILED numba/tests/test_parallel_backend.py::TestSpecificBackend::test_multiprocessing_spawn_concurrent_mix_use_masks_workqueue - AssertionError: process failed with code 1: stderr follows
FAILED numba/tests/test_parallel_backend.py::TestSpecificBackend::test_multiprocessing_spawn_concurrent_mix_use_omp - AssertionError: process failed with code 1: stderr follows
FAILED numba/tests/test_parallel_backend.py::TestSpecificBackend::test_multiprocessing_spawn_concurrent_mix_use_tbb - AssertionError: process failed with code 1: stderr follows
FAILED numba/tests/test_parallel_backend.py::TestSpecificBackend::test_multiprocessing_spawn_concurrent_mix_use_workqueue - AssertionError: process failed with code 1: stderr follows
FAILED numba/tests/test_parallel_backend.py::TestSpecificBackend::test_multiprocessing_spawn_concurrent_vectorize_omp - AssertionError: process failed with code 1: stderr follows
FAILED numba/tests/test_parallel_backend.py::TestSpecificBackend::test_multiprocessing_spawn_concurrent_vectorize_tbb - AssertionError: process failed with code 1: stderr follows
FAILED numba/tests/test_parallel_backend.py::TestSpecificBackend::test_multiprocessing_spawn_concurrent_vectorize_workqueue - AssertionError: process failed with code 1: stderr follows
FAILED numba/tests/test_parallel_backend.py::TestSpecificBackend::test_random_concurrent_guvectorize_tbb - AssertionError: process failed with code 1: stderr follows
FAILED numba/tests/test_parallel_backend.py::TestSpecificBackend::test_random_concurrent_jit_tbb - AssertionError: process failed with code 1: stderr follows
FAILED numba/tests/test_parallel_backend.py::TestSpecificBackend::test_random_concurrent_mix_use_masks_tbb - AssertionError: process failed with code 1: stderr follows
FAILED numba/tests/test_parallel_backend.py::TestSpecificBackend::test_random_concurrent_mix_use_tbb - AssertionError: process failed with code 1: stderr follows
FAILED numba/tests/test_parallel_backend.py::TestSpecificBackend::test_random_concurrent_vectorize_tbb - AssertionError: process failed with code 1: stderr follows
FAILED numba/tests/test_parallel_backend.py::TestSpecificBackend::test_threading_concurrent_guvectorize_omp - AssertionError: process failed with code 1: stderr follows
FAILED numba/tests/test_parallel_backend.py::TestSpecificBackend::test_threading_concurrent_guvectorize_tbb - AssertionError: process failed with code 1: stderr follows
FAILED numba/tests/test_parallel_backend.py::TestSpecificBackend::test_threading_concurrent_jit_omp - AssertionError: process failed with code 1: stderr follows
FAILED numba/tests/test_parallel_backend.py::TestSpecificBackend::test_threading_concurrent_jit_tbb - AssertionError: process failed with code 1: stderr follows
FAILED numba/tests/test_parallel_backend.py::TestSpecificBackend::test_threading_concurrent_mix_use_masks_omp - AssertionError: process failed with code 1: stderr follows
FAILED numba/tests/test_parallel_backend.py::TestSpecificBackend::test_threading_concurrent_mix_use_masks_tbb - AssertionError: process failed with code 1: stderr follows
FAILED numba/tests/test_parallel_backend.py::TestSpecificBackend::test_threading_concurrent_mix_use_omp - AssertionError: process failed with code 1: stderr follows
FAILED numba/tests/test_parallel_backend.py::TestSpecificBackend::test_threading_concurrent_mix_use_tbb - AssertionError: process failed with code 1: stderr follows
FAILED numba/tests/test_parallel_backend.py::TestSpecificBackend::test_threading_concurrent_vectorize_omp - AssertionError: process failed with code 1: stderr follows
FAILED numba/tests/test_parallel_backend.py::TestSpecificBackend::test_threading_concurrent_vectorize_tbb - AssertionError: process failed with code 1: stderr follows
======================================================================== 55 failed, 23 passed, 26 skipped, 2 warnings in 101.67s (0:01:41) ========================================================================

More detailed logs are atatched
test.log

I installed numba from pip, and took the "tests" folder from the source tar ball, placed it in a directory ~/numba/numba and ran the test from the ~/numba folder with

pytest -v numba/tests/test_parallel_backend.py

Running the tests this way most other tests I have tried passed.

numba 0.56.4, numpy 1.23.5, python 3.10.9, OS is Ubuntu 22.04

@apmasell
Copy link
Contributor

This is not the correct way to run the test suite. Use python -m numba.runtests to start the test suite. You can do python -m numba.runtests -l to see what tests are available.

@apmasell apmasell added no action required No action was needed to resolve. installation issue with installation labels Apr 24, 2023
@beew
Copy link
Author

beew commented Apr 24, 2023

This is not the correct way to run the test suite. Use python -m numba.runtests to start the test suite. You can do python -m numba.runtests -l to see what tests are available.

Thanks for the info.

What is the command of running a selected groups of tests (instead of a whole suit or one single test at a time)?

@apmasell
Copy link
Contributor

You can supply a list of tests or groups of tests on the command line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
installation issue with installation no action required No action was needed to resolve.
Projects
None yet
Development

No branches or pull requests

2 participants