algattik / azure-pipelines-jmeter-extension

Azure Pipelines extension for JMeter and Taurus test tools
MIT License
12 stars 6 forks source link

Getting Error: Unable to access jarfile ApacheJMeter.jar #20

Open gabriele-centinaro opened 2 years ago

gabriele-centinaro commented 2 years ago

Hi,

I am trying to use your JMeter extension in Azure, I followed all your steps to create the pipeline but when I go and run it I get the below error during JMeter installation:

2022-01-18T23:27:23.5777933Z Error: Unable to access jarfile ApacheJMeter.jar 2022-01-18T23:27:23.5820716Z errorlevel=1**_

Any help is welcome.

Thanks,

Gabriele

Full log: 2022-01-18T23:26:57.4035254Z ##[section]Starting: Install JMeter 5.4.3 2022-01-18T23:26:57.4170790Z ============================================================================== 2022-01-18T23:26:57.4171201Z Task : JMeter tool installer 2022-01-18T23:26:57.4171482Z Description : Find in cache or download a specific version of JMeter and prepend it to the PATH 2022-01-18T23:26:57.4171742Z Version : 0.1.1640004632 2022-01-18T23:26:57.4172315Z Author : Alexandre Gattiker 2022-01-18T23:26:57.4172598Z Help : Learn more about this task 2022-01-18T23:26:57.4172916Z ============================================================================== 2022-01-18T23:26:58.2718597Z Downloading: https://archive.apache.org/dist/jmeter/binaries/apache-jmeter-5.4.3.zip 2022-01-18T23:26:59.6268377Z Extracting archive 2022-01-18T23:26:59.6310383Z [command]C:\Windows\system32\chcp.com 65001 2022-01-18T23:26:59.6482772Z Active code page: 65001 2022-01-18T23:26:59.6678823Z [command]C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoLogo -Sta -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command "$ErrorActionPreference = 'Stop' ; try { Add-Type -AssemblyName System.IO.Compression.FileSystem } catch { } ; [System.IO.Compression.ZipFile]::ExtractToDirectory('D:\a_temp\df08cafb-3e8e-4896-8e62-4a8459aca8a7', 'D:\a_temp\2781e334-6b8f-4e86-9d61-8075c2c88489')" 2022-01-18T23:27:02.9745794Z Downloading: https://search.maven.org/remotecontent?filepath=kg/apc/cmdrunner/2.2/cmdrunner-2.2.jar 2022-01-18T23:27:03.3649913Z Downloading: https://search.maven.org/remotecontent?filepath=kg/apc/jmeter-plugins-manager/1.3/jmeter-plugins-manager-1.3.jar 2022-01-18T23:27:03.7138243Z [command]C:\hostedtoolcache\windows\Java_Temurin-Hotspot_jdk\8.0.312-7\x64\bin\java.exe -cp D:\a_temp\2781e334-6b8f-4e86-9d61-8075c2c88489/apache-jmeter-5.4.3/lib/ext/jmeter-plugins-manager-1.3.jar org.jmeterplugins.repository.PluginManagerCMDInstaller 2022-01-18T23:27:04.5741139Z [command]C:\Windows\system32\cmd.exe /D /S /C "D:\a_temp\2781e334-6b8f-4e86-9d61-8075c2c88489/apache-jmeter-5.4.3/bin/PluginsManagerCMD.bat install "jpgc-casutg,jpgc-dummy,jpgc-ffw,jpgc-fifo,jpgc-functions,jpgc-json,jpgc-perfmon,jpgc-prmctl,jpgc-tst"" 2022-01-18T23:27:06.6266872Z 2022-01-18 23:27:06,610 INFO o.j.r.PluginManagerCMD: Command is: install 2022-01-18T23:27:06.6274045Z 2022-01-18 23:27:06,626 INFO o.j.r.PluginManagerCMD: Params line is: jpgc-casutg,jpgc-dummy,jpgc-ffw,jpgc-fifo,jpgc-functions,jpgc-json,jpgc-perfmon,jpgc-prmctl,jpgc-tst 2022-01-18T23:27:06.8016600Z 2022-01-18 23:27:06,797 INFO o.j.r.JARSourceHTTP: Requesting https://jmeter-plugins.org/repo/?installID=windows_server_2019-2f9613e44f6eb5bd121d9f15306e504f-nongui 2022-01-18T23:27:09.5991802Z 2022-01-18 23:27:09,596 INFO o.j.r.PluginManager: Plugins Status: [jpgc-plugins-manager=1.3, jmeter-core=5.4.3, jmeter-ftp=5.4.3, jmeter-http=5.4.3, jmeter-jdbc=5.4.3, jmeter-jms=5.4.3, jmeter-junit=5.4.3, jmeter-java=5.4.3, jmeter-ldap=5.4.3, jmeter-mail=5.4.3, jmeter-mongodb=5.4.3, jmeter-native=5.4.3, jmeter-tcp=5.4.3, jmeter-components=5.4.3] 2022-01-18T23:27:09.6361934Z 2022-01-18 23:27:09,634 INFO o.j.r.JARSourceHTTP: Downloading: http://search.maven.org/remotecontent?filepath=net/sf/json-lib/json-lib/2.4/json-lib-2.4-jdk15.jar 2022-01-18T23:27:09.6364293Z 2022-01-18 23:27:09,634 INFO o.j.r.PluginManagerCMD: Downloading json-lib... 2022-01-18T23:27:09.8958557Z 2022-01-18 23:27:09,894 INFO o.j.r.PluginManagerCMD: Downloaded json-lib... 2022-01-18T23:27:09.8980375Z 2022-01-18 23:27:09,896 INFO o.j.r.JARSourceHTTP: Downloading: https://search.maven.org/remotecontent?filepath=kg/apc/jmeter-plugins-cmn-jmeter/0.7/jmeter-plugins-cmn-jmeter-0.7.jar 2022-01-18T23:27:09.8982116Z 2022-01-18 23:27:09,897 INFO o.j.r.PluginManagerCMD: Downloading jmeter-plugins-cmn-jmeter... 2022-01-18T23:27:10.4298159Z 2022-01-18 23:27:10,428 INFO o.j.r.PluginManagerCMD: Downloaded jmeter-plugins-cmn-jmeter... 2022-01-18T23:27:10.4301925Z 2022-01-18 23:27:10,428 INFO o.j.r.JARSourceHTTP: Downloading: https://search.maven.org/remotecontent?filepath=kg/apc/perfmon/2.2.2/perfmon-2.2.2.jar 2022-01-18T23:27:10.4307739Z 2022-01-18 23:27:10,428 INFO o.j.r.PluginManagerCMD: Downloading perfmon... 2022-01-18T23:27:10.9347681Z 2022-01-18 23:27:10,931 INFO o.j.r.PluginManagerCMD: Downloaded perfmon... 2022-01-18T23:27:10.9348949Z 2022-01-18 23:27:10,932 INFO o.j.r.JARSourceHTTP: Downloading: http://search.maven.org/remotecontent?filepath=org/yaml/snakeyaml/1.21/snakeyaml-1.21.jar 2022-01-18T23:27:10.9349875Z 2022-01-18 23:27:10,932 INFO o.j.r.PluginManagerCMD: Downloading snakeyaml... 2022-01-18T23:27:11.1446357Z 2022-01-18 23:27:11,142 INFO o.j.r.PluginManagerCMD: Downloaded snakeyaml... 2022-01-18T23:27:11.1447716Z 2022-01-18 23:27:11,143 INFO o.j.r.JARSourceHTTP: Downloading: https://search.maven.org/remotecontent?filepath=kg/apc/jmeter-plugins-functions/2.1/jmeter-plugins-functions-2.1.jar 2022-01-18T23:27:11.1449844Z 2022-01-18 23:27:11,143 INFO o.j.r.PluginManagerCMD: Downloading jpgc-functions... 2022-01-18T23:27:11.6403931Z 2022-01-18 23:27:11,638 INFO o.j.r.PluginManagerCMD: Downloaded jpgc-functions... 2022-01-18T23:27:11.6408096Z 2022-01-18 23:27:11,639 INFO o.j.r.JARSourceHTTP: Downloading: https://search.maven.org/remotecontent?filepath=kg/apc/jmeter-plugins-casutg/2.10/jmeter-plugins-casutg-2.10.jar 2022-01-18T23:27:11.6410074Z 2022-01-18 23:27:11,639 INFO o.j.r.PluginManagerCMD: Downloading jpgc-casutg... 2022-01-18T23:27:12.1335580Z 2022-01-18 23:27:12,132 INFO o.j.r.PluginManagerCMD: Downloaded jpgc-casutg... 2022-01-18T23:27:12.1339999Z 2022-01-18 23:27:12,133 INFO o.j.r.JARSourceHTTP: Downloading: https://search.maven.org/remotecontent?filepath=kg/apc/jmeter-plugins-dummy/0.4/jmeter-plugins-dummy-0.4.jar 2022-01-18T23:27:12.1341110Z 2022-01-18 23:27:12,133 INFO o.j.r.PluginManagerCMD: Downloading jpgc-dummy... 2022-01-18T23:27:12.6262817Z 2022-01-18 23:27:12,625 INFO o.j.r.PluginManagerCMD: Downloaded jpgc-dummy... 2022-01-18T23:27:12.6265433Z 2022-01-18 23:27:12,626 INFO o.j.r.JARSourceHTTP: Downloading: https://search.maven.org/remotecontent?filepath=kg/apc/jmeter-plugins-perfmon/2.1/jmeter-plugins-perfmon-2.1.jar 2022-01-18T23:27:12.6266463Z 2022-01-18 23:27:12,626 INFO o.j.r.PluginManagerCMD: Downloading jpgc-perfmon... 2022-01-18T23:27:13.1273687Z 2022-01-18 23:27:13,126 INFO o.j.r.PluginManagerCMD: Downloaded jpgc-perfmon... 2022-01-18T23:27:13.1278653Z 2022-01-18 23:27:13,127 INFO o.j.r.JARSourceHTTP: Downloading: http://search.maven.org/remotecontent?filepath=kg/apc/jmeter-plugins-json/2.7/jmeter-plugins-json-2.7.jar 2022-01-18T23:27:13.1280552Z 2022-01-18 23:27:13,127 INFO o.j.r.PluginManagerCMD: Downloading jpgc-json... 2022-01-18T23:27:13.3125398Z 2022-01-18 23:27:13,311 INFO o.j.r.PluginManagerCMD: Downloaded jpgc-json... 2022-01-18T23:27:13.3128817Z 2022-01-18 23:27:13,311 INFO o.j.r.JARSourceHTTP: Downloading: https://search.maven.org/remotecontent?filepath=kg/apc/jmeter-plugins-fifo/0.2/jmeter-plugins-fifo-0.2.jar 2022-01-18T23:27:13.3129806Z 2022-01-18 23:27:13,311 INFO o.j.r.PluginManagerCMD: Downloading jpgc-fifo... 2022-01-18T23:27:13.8202597Z 2022-01-18 23:27:13,819 INFO o.j.r.PluginManagerCMD: Downloaded jpgc-fifo... 2022-01-18T23:27:13.8207135Z 2022-01-18 23:27:13,820 INFO o.j.r.JARSourceHTTP: Downloading: https://search.maven.org/remotecontent?filepath=kg/apc/jmeter-plugins-ffw/2.0/jmeter-plugins-ffw-2.0.jar 2022-01-18T23:27:13.8209692Z 2022-01-18 23:27:13,820 INFO o.j.r.PluginManagerCMD: Downloading jpgc-ffw... 2022-01-18T23:27:14.3231063Z 2022-01-18 23:27:14,322 INFO o.j.r.PluginManagerCMD: Downloaded jpgc-ffw... 2022-01-18T23:27:14.3244653Z 2022-01-18 23:27:14,322 INFO o.j.r.JARSourceHTTP: Downloading: https://search.maven.org/remotecontent?filepath=kg/apc/jmeter-plugins-prmctl/0.4/jmeter-plugins-prmctl-0.4.jar 2022-01-18T23:27:14.3245595Z 2022-01-18 23:27:14,323 INFO o.j.r.PluginManagerCMD: Downloading jpgc-prmctl... 2022-01-18T23:27:14.8184039Z 2022-01-18 23:27:14,816 INFO o.j.r.PluginManagerCMD: Downloaded jpgc-prmctl... 2022-01-18T23:27:14.8191485Z 2022-01-18 23:27:14,817 INFO o.j.r.JARSourceHTTP: Downloading: https://search.maven.org/remotecontent?filepath=kg/apc/jmeter-plugins-tst/2.5/jmeter-plugins-tst-2.5.jar 2022-01-18T23:27:14.8194697Z 2022-01-18 23:27:14,817 INFO o.j.r.PluginManagerCMD: Downloading jpgc-tst... 2022-01-18T23:27:15.3268491Z 2022-01-18 23:27:15,325 INFO o.j.r.PluginManagerCMD: Downloaded jpgc-tst... 2022-01-18T23:27:15.3271330Z 2022-01-18 23:27:15,326 INFO o.j.r.PluginManager: Plugins manager will apply some modifications 2022-01-18T23:27:15.3368719Z 2022-01-18 23:27:15,335 INFO o.j.r.PluginManager: Starting JMeter Plugins modifications 2022-01-18T23:27:15.4037929Z Caching tool: jmeter-b78fe7bc0106f2518c30e8a491073b2c33bc8b3afeca19834f6642e7 5.4.3 x64 2022-01-18T23:27:23.3527398Z Prepending PATH environment variable with directory: C:\hostedtoolcache\windows\jmeter-b78fe7bc0106f2518c30e8a491073b2c33bc8b3afeca19834f6642e7\5.4.3\x64\apache-jmeter-5.4.3\bin 2022-01-18T23:27:23.3529590Z Verifying JMeter installation... 2022-01-18T23:27:23.3539051Z [command]C:\Windows\system32\cmd.exe /D /S /C "C:\hostedtoolcache\windows\jmeter-b78fe7bc0106f2518c30e8a491073b2c33bc8b3afeca19834f6642e7\5.4.3\x64\apache-jmeter-5.4.3\bin\jmeter.bat --version" 2022-01-18T23:27:23.5777933Z Error: Unable to access jarfile ApacheJMeter.jar 2022-01-18T23:27:23.5820716Z errorlevel=1

algattik commented 2 years ago

Strange. I just tried on Windows 2016 and 2019 agents and it works fine, I get the output below. Is it reproducible? You could try a Linux agent.

2022-01-19T14:09:36.2073676Z ##[section]Starting: Install JMeter 5.4.3
2022-01-19T14:09:36.3539157Z ==============================================================================
2022-01-19T14:09:36.3539871Z Task         : JMeter tool installer
2022-01-19T14:09:36.3540286Z Description  : Find in cache or download a specific version of JMeter and prepend it to the PATH
2022-01-19T14:09:36.3540534Z Version      : 0.1.1640004632
2022-01-19T14:09:36.3540835Z Author       : Alexandre Gattiker
2022-01-19T14:09:36.3541840Z Help         : [Learn more about this task](https://aka.ms/custom-jmeter-tasks)
2022-01-19T14:09:36.3542469Z ==============================================================================
2022-01-19T14:09:37.3417255Z Downloading: https://archive.apache.org/dist/jmeter/binaries/apache-jmeter-5.4.3.zip
2022-01-19T14:09:44.1953918Z Extracting archive
2022-01-19T14:09:44.2110734Z [command]C:\Windows\system32\chcp.com 65001
2022-01-19T14:09:44.2191861Z Active code page: 65001
2022-01-19T14:09:44.2472681Z [command]C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoLogo -Sta -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command "$ErrorActionPreference = 'Stop' ; try { Add-Type -AssemblyName System.IO.Compression.FileSystem } catch { } ; [System.IO.Compression.ZipFile]::ExtractToDirectory('D:\a\_temp\f911ff58-feb0-406b-bb30-ea5475f10209', 'D:\a\_temp\18819349-e51e-449c-9d78-3b05881f7541')"
2022-01-19T14:09:47.9051160Z Downloading: https://search.maven.org/remotecontent?filepath=kg/apc/cmdrunner/2.2/cmdrunner-2.2.jar
2022-01-19T14:09:48.0181489Z Downloading: https://search.maven.org/remotecontent?filepath=kg/apc/jmeter-plugins-manager/1.3/jmeter-plugins-manager-1.3.jar
2022-01-19T14:09:48.2948232Z [command]C:\hostedtoolcache\windows\Java_Temurin-Hotspot_jdk\8.0.312-7\x64\bin\java.exe -cp D:\a\_temp\18819349-e51e-449c-9d78-3b05881f7541/apache-jmeter-5.4.3/lib/ext/jmeter-plugins-manager-1.3.jar org.jmeterplugins.repository.PluginManagerCMDInstaller
2022-01-19T14:09:49.0675476Z [command]C:\Windows\system32\cmd.exe /D /S /C "D:\a\_temp\18819349-e51e-449c-9d78-3b05881f7541/apache-jmeter-5.4.3/bin/PluginsManagerCMD.bat install "jpgc-casutg,jpgc-dummy,jpgc-ffw,jpgc-fifo,jpgc-functions,jpgc-json,jpgc-perfmon,jpgc-prmctl,jpgc-tst""
2022-01-19T14:09:51.0655001Z 2022-01-19 14:09:51,029 INFO o.j.r.PluginManagerCMD: Command is: install
2022-01-19T14:09:51.0658883Z 2022-01-19 14:09:51,064 INFO o.j.r.PluginManagerCMD: Params line is: jpgc-casutg,jpgc-dummy,jpgc-ffw,jpgc-fifo,jpgc-functions,jpgc-json,jpgc-perfmon,jpgc-prmctl,jpgc-tst
2022-01-19T14:09:51.2733978Z 2022-01-19 14:09:51,268 INFO o.j.r.JARSourceHTTP: Requesting https://jmeter-plugins.org/repo/?installID=windows_server_2019-22f3be83aa126226741df17ece61eee1-nongui
2022-01-19T14:09:53.4271105Z 2022-01-19 14:09:53,418 INFO o.j.r.PluginManager: Plugins Status: [jpgc-plugins-manager=1.3, jmeter-core=5.4.3, jmeter-ftp=5.4.3, jmeter-http=5.4.3, jmeter-jdbc=5.4.3, jmeter-jms=5.4.3, jmeter-junit=5.4.3, jmeter-java=5.4.3, jmeter-ldap=5.4.3, jmeter-mail=5.4.3, jmeter-mongodb=5.4.3, jmeter-native=5.4.3, jmeter-tcp=5.4.3, jmeter-components=5.4.3]
2022-01-19T14:09:53.4727673Z 2022-01-19 14:09:53,468 INFO o.j.r.JARSourceHTTP: Downloading: http://search.maven.org/remotecontent?filepath=net/sf/json-lib/json-lib/2.4/json-lib-2.4-jdk15.jar
2022-01-19T14:09:53.4756897Z 2022-01-19 14:09:53,469 INFO o.j.r.PluginManagerCMD: Downloading json-lib...
2022-01-19T14:09:53.7075373Z 2022-01-19 14:09:53,706 INFO o.j.r.PluginManagerCMD: Downloaded json-lib...
2022-01-19T14:09:53.7111813Z 2022-01-19 14:09:53,709 INFO o.j.r.JARSourceHTTP: Downloading: https://search.maven.org/remotecontent?filepath=kg/apc/jmeter-plugins-cmn-jmeter/0.7/jmeter-plugins-cmn-jmeter-0.7.jar
2022-01-19T14:09:53.7113211Z 2022-01-19 14:09:53,710 INFO o.j.r.PluginManagerCMD: Downloading jmeter-plugins-cmn-jmeter...
2022-01-19T14:09:53.8844140Z 2022-01-19 14:09:53,881 INFO o.j.r.PluginManagerCMD: Downloaded jmeter-plugins-cmn-jmeter...
2022-01-19T14:09:53.8846796Z 2022-01-19 14:09:53,882 INFO o.j.r.JARSourceHTTP: Downloading: https://search.maven.org/remotecontent?filepath=kg/apc/perfmon/2.2.2/perfmon-2.2.2.jar
2022-01-19T14:09:53.8849898Z 2022-01-19 14:09:53,882 INFO o.j.r.PluginManagerCMD: Downloading perfmon...
2022-01-19T14:09:54.0652412Z 2022-01-19 14:09:54,060 INFO o.j.r.PluginManagerCMD: Downloaded perfmon...
2022-01-19T14:09:54.0662251Z 2022-01-19 14:09:54,061 INFO o.j.r.JARSourceHTTP: Downloading: http://search.maven.org/remotecontent?filepath=org/yaml/snakeyaml/1.21/snakeyaml-1.21.jar
2022-01-19T14:09:54.0663739Z 2022-01-19 14:09:54,061 INFO o.j.r.PluginManagerCMD: Downloading snakeyaml...
2022-01-19T14:09:54.1652071Z 2022-01-19 14:09:54,162 INFO o.j.r.PluginManagerCMD: Downloaded snakeyaml...
2022-01-19T14:09:54.1654660Z 2022-01-19 14:09:54,162 INFO o.j.r.JARSourceHTTP: Downloading: https://search.maven.org/remotecontent?filepath=kg/apc/jmeter-plugins-functions/2.1/jmeter-plugins-functions-2.1.jar
2022-01-19T14:09:54.1657980Z 2022-01-19 14:09:54,162 INFO o.j.r.PluginManagerCMD: Downloading jpgc-functions...
2022-01-19T14:09:54.3091971Z 2022-01-19 14:09:54,305 INFO o.j.r.PluginManagerCMD: Downloaded jpgc-functions...
2022-01-19T14:09:54.3093892Z 2022-01-19 14:09:54,306 INFO o.j.r.JARSourceHTTP: Downloading: https://search.maven.org/remotecontent?filepath=kg/apc/jmeter-plugins-casutg/2.10/jmeter-plugins-casutg-2.10.jar
2022-01-19T14:09:54.3095297Z 2022-01-19 14:09:54,306 INFO o.j.r.PluginManagerCMD: Downloading jpgc-casutg...
2022-01-19T14:09:54.4607272Z 2022-01-19 14:09:54,449 INFO o.j.r.PluginManagerCMD: Downloaded jpgc-casutg...
2022-01-19T14:09:54.4609320Z 2022-01-19 14:09:54,450 INFO o.j.r.JARSourceHTTP: Downloading: https://search.maven.org/remotecontent?filepath=kg/apc/jmeter-plugins-dummy/0.4/jmeter-plugins-dummy-0.4.jar
2022-01-19T14:09:54.4636471Z 2022-01-19 14:09:54,450 INFO o.j.r.PluginManagerCMD: Downloading jpgc-dummy...
2022-01-19T14:09:54.5824753Z 2022-01-19 14:09:54,579 INFO o.j.r.PluginManagerCMD: Downloaded jpgc-dummy...
2022-01-19T14:09:54.5827315Z 2022-01-19 14:09:54,580 INFO o.j.r.JARSourceHTTP: Downloading: https://search.maven.org/remotecontent?filepath=kg/apc/jmeter-plugins-perfmon/2.1/jmeter-plugins-perfmon-2.1.jar
2022-01-19T14:09:54.5828574Z 2022-01-19 14:09:54,580 INFO o.j.r.PluginManagerCMD: Downloading jpgc-perfmon...
2022-01-19T14:09:54.7088837Z 2022-01-19 14:09:54,706 INFO o.j.r.PluginManagerCMD: Downloaded jpgc-perfmon...
2022-01-19T14:09:54.7090618Z 2022-01-19 14:09:54,706 INFO o.j.r.JARSourceHTTP: Downloading: http://search.maven.org/remotecontent?filepath=kg/apc/jmeter-plugins-json/2.7/jmeter-plugins-json-2.7.jar
2022-01-19T14:09:54.7092063Z 2022-01-19 14:09:54,706 INFO o.j.r.PluginManagerCMD: Downloading jpgc-json...
2022-01-19T14:09:54.7766374Z 2022-01-19 14:09:54,773 INFO o.j.r.PluginManagerCMD: Downloaded jpgc-json...
2022-01-19T14:09:54.7768574Z 2022-01-19 14:09:54,774 INFO o.j.r.JARSourceHTTP: Downloading: https://search.maven.org/remotecontent?filepath=kg/apc/jmeter-plugins-fifo/0.2/jmeter-plugins-fifo-0.2.jar
2022-01-19T14:09:54.7769816Z 2022-01-19 14:09:54,774 INFO o.j.r.PluginManagerCMD: Downloading jpgc-fifo...
2022-01-19T14:09:54.9019851Z 2022-01-19 14:09:54,899 INFO o.j.r.PluginManagerCMD: Downloaded jpgc-fifo...
2022-01-19T14:09:54.9021489Z 2022-01-19 14:09:54,899 INFO o.j.r.JARSourceHTTP: Downloading: https://search.maven.org/remotecontent?filepath=kg/apc/jmeter-plugins-ffw/2.0/jmeter-plugins-ffw-2.0.jar
2022-01-19T14:09:54.9022646Z 2022-01-19 14:09:54,900 INFO o.j.r.PluginManagerCMD: Downloading jpgc-ffw...
2022-01-19T14:09:55.1075504Z 2022-01-19 14:09:55,106 INFO o.j.r.PluginManagerCMD: Downloaded jpgc-ffw...
2022-01-19T14:09:55.1088634Z 2022-01-19 14:09:55,107 INFO o.j.r.JARSourceHTTP: Downloading: https://search.maven.org/remotecontent?filepath=kg/apc/jmeter-plugins-prmctl/0.4/jmeter-plugins-prmctl-0.4.jar
2022-01-19T14:09:55.1090986Z 2022-01-19 14:09:55,107 INFO o.j.r.PluginManagerCMD: Downloading jpgc-prmctl...
2022-01-19T14:09:55.2305494Z 2022-01-19 14:09:55,227 INFO o.j.r.PluginManagerCMD: Downloaded jpgc-prmctl...
2022-01-19T14:09:55.2308748Z 2022-01-19 14:09:55,228 INFO o.j.r.JARSourceHTTP: Downloading: https://search.maven.org/remotecontent?filepath=kg/apc/jmeter-plugins-tst/2.5/jmeter-plugins-tst-2.5.jar
2022-01-19T14:09:55.2309940Z 2022-01-19 14:09:55,228 INFO o.j.r.PluginManagerCMD: Downloading jpgc-tst...
2022-01-19T14:09:55.3370119Z 2022-01-19 14:09:55,335 INFO o.j.r.PluginManagerCMD: Downloaded jpgc-tst...
2022-01-19T14:09:55.3374129Z 2022-01-19 14:09:55,336 INFO o.j.r.PluginManager: Plugins manager will apply some modifications
2022-01-19T14:09:55.3442845Z 2022-01-19 14:09:55,340 INFO o.j.r.PluginManager: Starting JMeter Plugins modifications
2022-01-19T14:09:55.4538796Z Caching tool: jmeter-b78fe7bc0106f2518c30e8a491073b2c33bc8b3afeca19834f6642e7 5.4.3 x64
2022-01-19T14:10:15.4504352Z Prepending PATH environment variable with directory: C:\hostedtoolcache\windows\jmeter-b78fe7bc0106f2518c30e8a491073b2c33bc8b3afeca19834f6642e7\5.4.3\x64\apache-jmeter-5.4.3\bin
2022-01-19T14:10:15.4519323Z Verifying JMeter installation...
2022-01-19T14:10:15.4535220Z [command]C:\Windows\system32\cmd.exe /D /S /C "C:\hostedtoolcache\windows\jmeter-b78fe7bc0106f2518c30e8a491073b2c33bc8b3afeca19834f6642e7\5.4.3\x64\apache-jmeter-5.4.3\bin\jmeter.bat --version"
2022-01-19T14:10:17.6278106Z     _    ____   _    ____ _   _ _____       _ __  __ _____ _____ _____ ____
2022-01-19T14:10:17.6279047Z    / \  |  _ \ / \  / ___| | | | ____|     | |  \/  | ____|_   _| ____|  _ \
2022-01-19T14:10:17.6279690Z   / _ \ | |_) / _ \| |   | |_| |  _|    _  | | |\/| |  _|   | | |  _| | |_) |
2022-01-19T14:10:17.6280634Z  / ___ \|  __/ ___ \ |___|  _  | |___  | |_| | |  | | |___  | | | |___|  _ <
2022-01-19T14:10:17.6281207Z /_/   \_\_| /_/   \_\____|_| |_|_____|  \___/|_|  |_|_____| |_| |_____|_| \_\ 5.4.3
2022-01-19T14:10:17.6281468Z 
2022-01-19T14:10:17.6281916Z Copyright (c) 1999-2021 The Apache Software Foundation
2022-01-19T14:10:17.6282183Z 
2022-01-19T14:10:17.7166521Z ##[section]Finishing: Install JMeter 5.4.3
gabriele-centinaro commented 2 years ago

Thanks for the reply, I can reproduce this every time. I have not been able to move pass this error. And an additional issue is that once the task returns the errorlevel=1 it hangs there forever instead of stopping the pipeline and returning an error. I need to cancel the pipeline manually.

manojmonty commented 2 years ago

Hi,

I have been using this task for the pipeline. It is working fine until yesterday, but from today morning I am getting the above error mentioned.

It is failing in windows 2016 and windows 2019, but when I used Ubuntu - it is working fine.

Any help/suggestions on this is really useful.

Regards Montt