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
Describe the bug
I am running into an issue with running gauge on Jenkins Agents. In my pipeline step it looks like the pip install in the venv fails due to the --user flag pip install getgauge==0.4.7 --user.
To Reproduce
Steps (or project) to reproduce the behavior:
I do get the same error when I create a venv, activate it and run python3.11 -m pip install getgauge==0.4.7 --user
ERROR: Can not perform a '--user' install. User site-packages are not visible in this virtualenv
Logs
ERROR: Can not perform a '--user' install. User site-packages are not visible in this virtualenv.
[notice] A new release of pip is available: 24.0 -> 24.3.1
[notice] To update, run: pip install --upgrade pip
Traceback (most recent call last):
File "/home/ubuntu/.gauge/plugins/python/0.4.7/check_and_install_getgauge.py", line 40, in <module>
assert_versions()
File "/home/ubuntu/.gauge/plugins/python/0.4.7/check_and_install_getgauge.py", line 34, in assert_versions
install_getgauge("getgauge=="+expected_gauge_version)
File "/home/ubuntu/.gauge/plugins/python/0.4.7/check_and_install_getgauge.py", line 20, in install_getgauge
check_output([" ".join(install_cmd)], shell=True)
File "/usr/lib/python3.11/subprocess.py", line 466, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/home/ubuntu/jenkins/workspace/Gauge-X@31/venv/bin/python3.11 -m pip install getgauge==0.4.7 --user']' returned non-zero exit status 1.
Error occurred while waiting for runner process to finish.
Error : exit status 1
Error ----------------------------------
[Gauge]
Failed to start gauge API: Error occurred while waiting for runner process to finish.
Error : exit status 1
Expected behavior
I would like the install of getgauge to complete successfully.
Screenshots
If applicable, add screenshots to help explain your problem.
Describe the bug
I am running into an issue with running gauge on Jenkins Agents. In my pipeline step it looks like the pip install in the venv fails due to the --user flag
pip install getgauge==0.4.7 --user
.To Reproduce
Steps (or project) to reproduce the behavior:
I do get the same error when I create a venv, activate it and run
python3.11 -m pip install getgauge==0.4.7 --user
ERROR: Can not perform a '--user' install. User site-packages are not visible in this virtualenv
Logs
Expected behavior
I would like the install of getgauge to complete successfully.
Screenshots
If applicable, add screenshots to help explain your problem.
Versions:
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: