[jmeter_load_test] $ 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... [jmeter_load_test] $ virtualenv --help Performance test: No virtualenv found on this Jenkins host. Install it with 'sudo pip install virtualenv'. Cannot run program "virtualenv" (in directory "/Users/Shared/Jenkins/Home/workspace/jmeter_load_test"): error=2, No such file or directoryBuild step 'Run Performance Test' changed build result to FAILURE Finished: FAILURE
Is this issue related to Jenkins default user as explained here ?
------------------------------------------------------------------------------------------------------
Therefore, as a second step change the Jenkins default user. Here’s how:
Hi,
It says that neither "bzt" nor "virtualenv" is available from
inside Jenkins. This is exactly the direction to troubleshoot it.
Maybe you have issues with PATH variable.
The simplest way to check is to add shell execution step to Jenkins doing things like:
echo $PATH
which bzt
bzt --help
If those commands don't work, review the PATH
--
Andrey
CAUTION: This email originated from outside of Broadcom. Do not click links or open attachments unless you recognize the sender and know the content is safe.
--
You received this message because you are subscribed to the Google Groups "codename-taurus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to codename-taur...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/codename-taurus/7664181a-e8ec-4a7a-92ff-ceae98ed8dcc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
echo $PATH
which bzt
bzt --help
it ran fine, so, my question is, what I need to fix in jenkins so bzt can run directly using the performance plugin?
When you say "did as you suggested a shell script" - did you do it inside Jenkins job or just in your shell?
--
Andrey
To view this discussion on the web visit https://groups.google.com/d/msgid/codename-taurus/bd419d46-e0e6-43bf-9002-fb0104891108%40googlegroups.com.
C:\Jenkins_Workspace\workspace\Performance_Taurus_JMeter_Blazemeter_Demo>echo C:\Java\jdk1.8.0_181/bin;%PATH%;C:\Program Files\Taurus\bin;C:\Java\jdk1.8.0_181\bin;C:\Windows\System32 C:\Java\jdk1.8.0_181/bin;%PATH%;C:\Program Files\Taurus\bin;C:\Java\jdk1.8.0_181\bin;C:\Windows\System32 C:\Jenkins_Workspace\workspace\Performance_Taurus_JMeter_Blazemeter_Demo>bzt --help Usage: bzt [options] [configs] [-aliases] BlazeMeter Taurus Tool v1.13.4, the configuration-driven test running engine Options: -h, --help show this help message and exit -l LOG, --log=LOG Log file location -o OPTION, --option=OPTION Override option in config -q, --quiet Only errors and warnings printed to console -v, --verbose Prints all logging messages to console -n, --no-system-configs Skip system and user config files C:\Jenkins_Workspace\workspace\Performance_Taurus_JMeter_Blazemeter_Demo>exit 0 Performance test: Checking global bzt installation... [Performance_Taurus_JMeter_Blazemeter_Demo] $ 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... [Performance_Taurus_JMeter_Blazemeter_Demo] $ virtualenv --help Performance test: No virtualenv found on this Jenkins host. Install it with 'sudo pip install virtualenv'. Cannot run program "virtualenv" (in directory "C:\Jenkins_Workspace\workspace\Performance_Taurus_JMeter_Blazemeter_Demo"): CreateProcess error=2, The system cannot find the file specifiedBuild step 'Run Performance Test' changed build result to FAILURE Finished: FAILURE