You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to run make check without file installed, we get a list of E FileNotFoundError: [Errno 2] No such file or directory: 'file' errors
python3.10 -m pytest -vvv --log-cli-level=info -s --color=yes tests
==================================================== test session starts =====================================================platform linux -- Python 3.10.11, pytest-7.3.1, pluggy-1.0.0 -- /venv/bin/python3.10
cachedir: .pytest_cache
rootdir: /src
plugins: xdist-3.2.1, cov-4.0.0
collected 319 items / 8 errors
=========================================================== ERRORS ===========================================================__________________________________ ERROR collecting tests/integration/test_core_analyzer.py __________________________________tests/integration/test_core_analyzer.py:19: in <module>
from tests.utils import ALL_PYTHONS
tests/utils.py:72: in <module>
AVAILABLE_PYTHONS = tuple(find_all_available_pythons())
tests/utils.py:59: in find_all_available_pythons
result = subprocess.run(
/usr/lib/python3.10/subprocess.py:503: in run
with Popen(*popenargs, **kwargs) as process:
/usr/lib/python3.10/subprocess.py:971: in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
/usr/lib/python3.10/subprocess.py:1863: in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
E FileNotFoundError: [Errno 2] No such file or directory: 'file'
__________________________________ ERROR collecting tests/integration/test_gather_stacks.py __________________________________tests/integration/test_gather_stacks.py:18: in <module>
from tests.utils import ALL_PYTHONS
tests/utils.py:72: in <module>
AVAILABLE_PYTHONS = tuple(find_all_available_pythons())
tests/utils.py:59: in find_all_available_pythons
result = subprocess.run(
/usr/lib/python3.10/subprocess.py:503: in run
with Popen(*popenargs, **kwargs) as process:
/usr/lib/python3.10/subprocess.py:971: in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
/usr/lib/python3.10/subprocess.py:1863: in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
E FileNotFoundError: [Errno 2] No such file or directory: 'file'
_______________________________________ ERROR collecting tests/integration/test_gc.py ________________________________________tests/integration/test_gc.py:7: in <module>
from tests.utils import ALL_PYTHONS
tests/utils.py:72: in <module>
AVAILABLE_PYTHONS = tuple(find_all_available_pythons())
tests/utils.py:59: in find_all_available_pythons
result = subprocess.run(
/usr/lib/python3.10/subprocess.py:503: in run
with Popen(*popenargs, **kwargs) as process:
/usr/lib/python3.10/subprocess.py:971: in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
/usr/lib/python3.10/subprocess.py:1863: in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
E FileNotFoundError: [Errno 2] No such file or directory: 'file'
_______________________________________ ERROR collecting tests/integration/test_gil.py _______________________________________tests/integration/test_gil.py:5: in <module>
from tests.utils import ALL_PYTHONS
tests/utils.py:72: in <module>
AVAILABLE_PYTHONS = tuple(find_all_available_pythons())
tests/utils.py:59: in find_all_available_pythons
result = subprocess.run(
/usr/lib/python3.10/subprocess.py:503: in run
with Popen(*popenargs, **kwargs) as process:
/usr/lib/python3.10/subprocess.py:971: in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
/usr/lib/python3.10/subprocess.py:1863: in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
E FileNotFoundError: [Errno 2] No such file or directory: 'file'
_________________________________ ERROR collecting tests/integration/test_local_variables.py _________________________________tests/integration/test_local_variables.py:8: in <module>
from tests.utils import ALL_PYTHONS
tests/utils.py:72: in <module>
AVAILABLE_PYTHONS = tuple(find_all_available_pythons())
tests/utils.py:59: in find_all_available_pythons
result = subprocess.run(
/usr/lib/python3.10/subprocess.py:503: in run
with Popen(*popenargs, **kwargs) as process:
/usr/lib/python3.10/subprocess.py:971: in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
/usr/lib/python3.10/subprocess.py:1863: in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
E FileNotFoundError: [Errno 2] No such file or directory: 'file'
_____________________________________ ERROR collecting tests/integration/test_process.py _____________________________________tests/integration/test_process.py:14: in <module>
from tests.utils import ALL_PYTHONS
tests/utils.py:72: in <module>
AVAILABLE_PYTHONS = tuple(find_all_available_pythons())
tests/utils.py:59: in find_all_available_pythons
result = subprocess.run(
/usr/lib/python3.10/subprocess.py:503: in run
with Popen(*popenargs, **kwargs) as process:
/usr/lib/python3.10/subprocess.py:971: in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
/usr/lib/python3.10/subprocess.py:1863: in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
E FileNotFoundError: [Errno 2] No such file or directory: 'file'
________________________________ ERROR collecting tests/integration/test_relocatable_cores.py ________________________________tests/integration/test_relocatable_cores.py:13: in <module>
from tests.utils import generate_core_file
tests/utils.py:72: in <module>
AVAILABLE_PYTHONS = tuple(find_all_available_pythons())
tests/utils.py:59: in find_all_available_pythons
result = subprocess.run(
/usr/lib/python3.10/subprocess.py:503: in run
with Popen(*popenargs, **kwargs) as process:
/usr/lib/python3.10/subprocess.py:971: in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
/usr/lib/python3.10/subprocess.py:1863: in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
E FileNotFoundError: [Errno 2] No such file or directory: 'file'
______________________________________ ERROR collecting tests/integration/test_smoke.py ______________________________________tests/integration/test_smoke.py:11: in <module>
from tests.utils import generate_core_file
tests/utils.py:72: in <module>
AVAILABLE_PYTHONS = tuple(find_all_available_pythons())
tests/utils.py:59: in find_all_available_pythons
result = subprocess.run(
/usr/lib/python3.10/subprocess.py:503: in run
with Popen(*popenargs, **kwargs) as process:
/usr/lib/python3.10/subprocess.py:971: in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
/usr/lib/python3.10/subprocess.py:1863: in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
E FileNotFoundError: [Errno 2] No such file or directory: 'file'
================================================== short test summary info ===================================================ERROR tests/integration/test_core_analyzer.py - FileNotFoundError: [Errno 2] No such file or directory: 'file'
ERROR tests/integration/test_gather_stacks.py - FileNotFoundError: [Errno 2] No such file or directory: 'file'
ERROR tests/integration/test_gc.py - FileNotFoundError: [Errno 2] No such file or directory: 'file'
ERROR tests/integration/test_gil.py - FileNotFoundError: [Errno 2] No such file or directory: 'file'
ERROR tests/integration/test_local_variables.py - FileNotFoundError: [Errno 2] No such file or directory: 'file'
ERROR tests/integration/test_process.py - FileNotFoundError: [Errno 2] No such file or directory: 'file'
ERROR tests/integration/test_relocatable_cores.py - FileNotFoundError: [Errno 2] No such file or directory: 'file'
ERROR tests/integration/test_smoke.py - FileNotFoundError: [Errno 2] No such file or directory: 'file'
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 8 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!===================================================== 8 errors in 0.63s ======================================================make: *** [Makefile:53: check] Error 2```
### Expected Behavior
Tests to run past execution
### Steps To Reproduce
1. Build Dockerfile
2. Open bash in Dockerfile
3. Ensure other dependencies are installed
4. Run `make check`
### Pystack Version
https://github.com/bloomberg/pystack/commit/6de749f015486a26c9c57265ce32a50976f59bd4
### Python Version
3.10
### Linux distribution
Ubuntu, Other
### Anything else?
_No response_
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Current Behavior
When attempting to run
make check
without file installed, we get a list ofE FileNotFoundError: [Errno 2] No such file or directory: 'file'
errorsThe text was updated successfully, but these errors were encountered: