Issue
I've started to try this tutorial: https://dzone.com/articles/how-to-use-the-jenkins-performance-plugin, but I am facing issues with my local jenkins (after Step 7). Looks like there is some issue with jenkins not being able to run bzt inside my virtual env.
Started by user user
Running as SYSTEM
Building in workspace /Users/user/.jenkins/workspace/jenkinsjob
Performance test: Checking global bzt installation...
[jenkinsjob] $ bzt --help
Performance test: You don't have global bzt installed on this Jenkins host. Installing it globally will speed up job. Run 'sudo pip install bzt' to install it.
Performance test: Checking virtualenv tool availability...
[jenkinsjob] $ /usr/local/bin/virtualenv --help
Performance test: Found virtualenv tool.
Performance test: Creating virtualev at 'taurus-venv'...
[jenkinsjob] $ /usr/local/bin/virtualenv --clear --system-site-packages taurus-venv
Performance test: Done creating virtualenv.
Performance test: Installing bzt into 'taurus-venv'
[jenkinsjob] $ /Users/user/.jenkins/workspace/jenkinsjob/taurus-venv/bin/pip install bzt
Performance test: bzt installed successfully.
Performance test: Checking installed bzt...
[jenkinsjob] $ /Users/user/.jenkins/workspace/jenkinsjob/taurus-venv/bin/bzt --help
Performance test: Failed to run bzt inside virtualenv.
Cannot run program "/Users/user/.jenkins/workspace/jenkinsjob/taurus-venv/bin/bzt" (in directory "/Users/user/.jenkins/workspace/jenkinsjob"): error=2, No such file or directoryBuild step 'Run Performance Test' changed build result to FAILURE
Finished: FAILURE
Has someone faced and fixed this issue? Could you help me on it, pls? Thank you very much.
Solution
As a solution I set a different (from that one installed globally) version for bzt:
Answered By - Maria