GET api /solver/python/{analysis_id} throws command errored out with exit status 1 Error #5228
Labels
kind/bug
Categorizes issue or PR as related to a bug.
sig/stack-guidance
Categorizes an issue or PR as relevant to SIG Stack Guidance.
Describe the bug
While checking solver id status, command errored out with exit status 1 Error
https://management.stage.thoth-station.ninja/api/v1/solver/python/solver-rhel-8-py38-220929160717-79968ff899dbab76
"errors": [
{
"details": {
"command": "/opt/app-root/src/solver-venv/bin/python3 -m pip install --force-reinstall --no-cache-dir --no-deps thoth-solver===1.2.0 --index-url "https://pypi.org/simple" --trusted-host pypi.org",
"message": "Command exited with non-zero status code (1): ERROR: Command errored out with exit status 1:\n command: /opt/app-root/src/solver-venv/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-6ywc_isq/thoth-solver/setup.py'"'"'; file='"'"'/tmp/pip-install-6ywc_isq/thoth-solver/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-6ywc_isq/thoth-solver/pip-egg-info\n cwd: /tmp/pip-install-6ywc_isq/thoth-solver/\n Complete output (7 lines):\n Traceback (most recent call last):\n File "", line 1, in \n File "/tmp/pip-install-6ywc_isq/thoth-solver/setup.py", line 36, in \n install_requires=get_requirements(),\n File "/tmp/pip-install-6ywc_isq/thoth-solver/setup.py", line 9, in get_requirements\n with open('requirements.txt') as fd:\n FileNotFoundError: [Errno 2] No such file or directory: 'requirements.txt'\n ----------------------------------------\nERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.\nWARNING: You are using pip version 19.3.1; however, version 22.2.2 is available.\nYou should consider upgrading via the 'pip install --upgrade pip' command.\n",
"return_code": 1,
"stderr": " ERROR: Command errored out with exit status 1:\n command: /opt/app-root/src/solver-venv/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-6ywc_isq/thoth-solver/setup.py'"'"'; file='"'"'/tmp/pip-install-6ywc_isq/thoth-solver/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-6ywc_isq/thoth-solver/pip-egg-info\n cwd: /tmp/pip-install-6ywc_isq/thoth-solver/\n Complete output (7 lines):\n Traceback (most recent call last):\n File "", line 1, in \n File "/tmp/pip-install-6ywc_isq/thoth-solver/setup.py", line 36, in \n install_requires=get_requirements(),\n File "/tmp/pip-install-6ywc_isq/thoth-solver/setup.py", line 9, in get_requirements\n with open('requirements.txt') as fd:\n FileNotFoundError: [Errno 2] No such file or directory: 'requirements.txt'\n ----------------------------------------\nERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.\nWARNING: You are using pip version 19.3.1; however, version 22.2.2 is available.\nYou should consider upgrading via the 'pip install --upgrade pip' command.\n",
"stdout": "Collecting thoth-solver===1.2.0\n Downloading https://files.pythonhosted.org/packages/cb/41/823d41f1d50ae031369cd0a76db46ae097098abdecb6c81469cd445d2f74/thoth-solver-1.2.0.tar.gz\n",
"timeout": 60
},
"index_url": "https://pypi.org/simple",
"is_provided_package": true,
"is_provided_package_version": true,
"package_name": "thoth-solver",
"package_version": "1.2.0",
"type": "command_error"
}
],
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Better error reporting
The text was updated successfully, but these errors were encountered: