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
We use onprem buildservers that require proxy configuration settings to download from the internet.
During the JMeterInstaller it fails on the PluginManagerCMD which is unable to download the plugins: [command]C:\Windows\system32\cmd.exe /D /S /C "D:\azagent-p\A1\_work\_temp\36be6146-6a29-446f-8f86-595d7583904c/apache-jmeter-5.4.2/bin/PluginsManagerCMD.bat install "jpgc-casutg,jpgc-dummy,jpgc-ffw,jpgc-fifo,jpgc-functions,jpgc-json,jpgc-perfmon,jpgc-prmctl,jpgc-tst""
The earlier downloads that you do work fine. I believe you should add an option to pass JVM_ARGS with proxy settings (host, port, password, user, no_proxy) towards the PluginManagerCMD. More info Plugin Manager behind Proxy
##[section]Starting: JMeterInstaller
==============================================================================
Task : JMeter tool installer
Description : Find in cache or download a specific version of JMeter and prepend it to the PATH
Version : 0.1.1640004632
Author : Alexandre Gattiker
Help : [Learn more about this task](https://aka.ms/custom-jmeter-tasks)
==============================================================================
Downloading: https://archive.apache.org/dist/jmeter/binaries/apache-jmeter-5.4.2.zip
Extracting archive
[command]C:\Windows\system32\chcp.com 65001
Active code page: 65001
[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:\azagent-p\A1\_work\_temp\2131e5c1-6920-4ca8-9486-2e543a87c740', 'D:\azagent-p\A1\_work\_temp\36be6146-6a29-446f-8f86-595d7583904c')"
Downloading: https://search.maven.org/remotecontent?filepath=kg/apc/cmdrunner/2.2/cmdrunner-2.2.jar
Downloading: https://search.maven.org/remotecontent?filepath=kg/apc/jmeter-plugins-manager/1.3/jmeter-plugins-manager-1.3.jar
[command]"C:\Program Files\Eclipse Adoptium\jdk-17.0.6.10-hotspot\bin\java.exe" -cp D:\azagent-p\A1\_work\_temp\36be6146-6a29-446f-8f86-595d7583904c/apache-jmeter-5.4.2/lib/ext/jmeter-plugins-manager-1.3.jar org.jmeterplugins.repository.PluginManagerCMDInstaller
[command]C:\Windows\system32\cmd.exe /D /S /C "D:\azagent-p\A1\_work\_temp\36be6146-6a29-446f-8f86-595d7583904c/apache-jmeter-5.4.2/bin/PluginsManagerCMD.bat install "jpgc-casutg,jpgc-dummy,jpgc-ffw,jpgc-fifo,jpgc-functions,jpgc-json,jpgc-perfmon,jpgc-prmctl,jpgc-tst""
2023-04-14 11:16:35,955 INFO o.j.r.PluginManagerCMD: Command is: install
2023-04-14 11:16:35,955 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
2023-04-14 11:16:36,049 INFO o.j.r.JARSourceHTTP: Requesting https://jmeter-plugins.org/repo/?installID=windows_server_2016-fa56b0435691146c90c2b4f629e2a8b9-nongui
ERROR: java.lang.RuntimeException: Failed to perform cmdline operation: Connection timed out: no further information
*** Problem's technical details go below ***
Home directory was detected as: D:\azagent-p\A1\_work\_temp\36be6146-6a29-446f-8f86-595d7583904c\apache-jmeter-5.4.2\lib
Exception in thread "main" java.lang.RuntimeException: Failed to perform cmdline operation: Connection timed out: no further information
at org.jmeterplugins.repository.PluginManagerCMD.processParams(PluginManagerCMD.java:100)
at kg.apc.cmdtools.PluginsCMD.processParams(PluginsCMD.java:62)
at kg.apc.cmdtools.PluginsCMD.processParams(PluginsCMD.java:21)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at kg.apc.cmd.UniversalRunner.main(UniversalRunner.java:115)
Caused by: java.net.ConnectException: Connection timed out: no further information
at java.base/sun.nio.ch.Net.pollConnect(Native Method)
at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:672)
at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:549)
at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:597)
at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327)
at java.base/java.net.Socket.connect(Socket.java:633)
at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:543)
at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:415)
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:180)
at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:326)
at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:605)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:440)
at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:835)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56)
at org.jmeterplugins.repository.JARSourceHTTP.execute(JARSourceHTTP.java:499)
at org.jmeterplugins.repository.JARSourceHTTP.execute(JARSourceHTTP.java:494)
at org.jmeterplugins.repository.JARSourceHTTP.getJSON(JARSourceHTTP.java:152)
at org.jmeterplugins.repository.JARSourceHTTP.getRepositories(JARSourceHTTP.java:276)
at org.jmeterplugins.repository.JARSourceHTTP.getRepo(JARSourceHTTP.java:304)
at org.jmeterplugins.repository.PluginManager.load(PluginManager.java:71)
at org.jmeterplugins.repository.PluginManagerCMD.getPluginsManager(PluginManagerCMD.java:110)
at org.jmeterplugins.repository.PluginManagerCMD.process(PluginManagerCMD.java:153)
at org.jmeterplugins.repository.PluginManagerCMD.processParams(PluginManagerCMD.java:73)
... 7 more
##[error]Error: Failed to install JMeter plugins. Error https://search.maven.org/remotecontent?filepath=kg/apc/cmdrunner/2.2/cmdrunner-2.2.jar
##[section]Finishing: JMeterInstaller
I've tried environment settings, but those are not picked up:
We use onprem buildservers that require proxy configuration settings to download from the internet.
During the JMeterInstaller it fails on the PluginManagerCMD which is unable to download the plugins:
[command]C:\Windows\system32\cmd.exe /D /S /C "D:\azagent-p\A1\_work\_temp\36be6146-6a29-446f-8f86-595d7583904c/apache-jmeter-5.4.2/bin/PluginsManagerCMD.bat install "jpgc-casutg,jpgc-dummy,jpgc-ffw,jpgc-fifo,jpgc-functions,jpgc-json,jpgc-perfmon,jpgc-prmctl,jpgc-tst""
The earlier downloads that you do work fine. I believe you should add an option to pass JVM_ARGS with proxy settings (host, port, password, user, no_proxy) towards the PluginManagerCMD. More info Plugin Manager behind Proxy
I've tried environment settings, but those are not picked up:
The text was updated successfully, but these errors were encountered: