Azure-Samples / azure-search-performance-testing

Scalable cloud load/stress test for Azure Cognitive Search. Includes a pipelined solution with Apache JMeter and Terraform to dynamically provision and destroy the required infrastructure on Azure.
MIT License
16 stars 9 forks source link

JMeter results directory not found error #7

Open d-dodda opened 4 months ago

d-dodda commented 4 months ago

Getting below error at jmeter results convert step when I use lod test yaml pipeline script -( azure-search-performance-testing/pipelines /azure-pipelines.load-test.yml )

Here is the error log -


Starting: RESULTS: Convert JMeter Results to JUnit Format

Task : Command line Description : Run a command line script using Bash on Linux and macOS and cmd.exe on Windows Version : 2.231.1 Author : Microsoft Corporation Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/command-line

Generating script. ========================== Starting Command Output =========================== /usr/bin/bash --noprofile --norc /home/vsts/work/_temp/bb347353-e24e-4854-b090-f7bda3b155ae.sh Converting... Traceback (most recent call last): File "/home/vsts/work/1/s/terraform/../scripts/jtl_junit_converter.py", line 179, in main() File "/home/vsts/work/1/s/terraform/../scripts/jtl_junit_converter.py", line 173, in main test_suites = create_test_suites(sys.argv[1]) File "/home/vsts/work/1/s/terraform/../scripts/jtl_junit_converter.py", line 164, in create_test_suites junit_results = create_junit_results(jtl_results_filename) File "/home/vsts/work/1/s/terraform/../scripts/jtl_junit_converter.py", line 106, in create_junit_results with open(jtl_results_filename) as jmeter_file: FileNotFoundError: [Errno 2] No such file or directory: '/home/vsts/work/1/s/results/results.jtl'

[error]Bash exited with code '1'.

Finishing: RESULTS: Convert JMeter Results to JUnit Format

sanketsultan commented 3 months ago

Hi @microsoftopensource! I would like to work on this issue. Could you please assign it to me? I believe I can contribute to its resolution effectively. Thanks!