jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sanjay Chaurasia <Sanjay.Chaura...@india.nec.com>
Subject RE: ant package-and-check command is not executing successfully.
Date Tue, 29 Jan 2019 03:22:37 GMT
Thank you for your quick reply Deepak.

Yes, I tried this by executing command "ant download_checkstyle"  and  "ant download_checkstyle
target"
But It's not working as well and throwing below errors.

C:\Users\sanjay.chaurasia\Desktop\jmeter-trunk (1)\jmeter-trunk>ant download_che
ckstyle
Buildfile: C:\Users\sanjay.chaurasia\Desktop\jmeter-trunk (1)\jmeter-trunk\build
.xml

download_checkstyle:

_process_checkstyle_jars:

_check_exists:

_check_jarfile:
     [echo] Checking checkstyle-8.8-all.jar
     [echo] Deleting checkstyle-8.8-all.jar (excluding checkstyle-8.8-all.jar)

setproxy:

_get_jarfile:
     [echo] Fetching: lib/opt/checkstyle-8.8-all.jar
      [get] Getting: https://downloads.sourceforge.net/checkstyle/checkstyle/8.8
/checkstyle-8.8-all.jar?ts=1548660102270&use_mirror=autoselect/checkstyle-8.8-al
l.jar
      [get] To: C:\Users\sanjay.chaurasia\Desktop\jmeter-trunk (1)\jmeter-trunk\
build\checkstyle-8.8-all.jar
      [get] Error getting https://downloads.sourceforge.net/checkstyle/checkstyl
e/8.8/checkstyle-8.8-all.jar?ts=1548660102270&use_mirror=autoselect/checkstyle-8
.8-all.jar to C:\Users\sanjay.chaurasia\Desktop\jmeter-trunk (1)\jmeter-trunk\bu
ild\checkstyle-8.8-all.jar

BUILD FAILED
C:\Users\sanjay.chaurasia\Desktop\jmeter-trunk (1)\jmeter-trunk\build.xml:3597:
The following error occurred while executing this line:
C:\Users\sanjay.chaurasia\Desktop\jmeter-trunk (1)\jmeter-trunk\build.xml:3541:
The following error occurred while executing this line:
C:\Users\sanjay.chaurasia\Desktop\jmeter-trunk (1)\jmeter-trunk\build.xml:3339:
The following error occurred while executing this line:
C:\Users\sanjay.chaurasia\Desktop\jmeter-trunk (1)\jmeter-trunk\build.xml:3383:
The following error occurred while executing this line:
C:\Users\sanjay.chaurasia\Desktop\jmeter-trunk (1)\jmeter-trunk\build.xml:3413:
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException:
PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderExce
ption: unable to find valid certification path to requested target
        at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
        at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1949)
        at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:302)
        at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:296)
        at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.
java:1509)
        at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.jav
a:216)
        at sun.security.ssl.Handshaker.processLoop(Handshaker.java:979)
        at sun.security.ssl.Handshaker.process_record(Handshaker.java:914)
        at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1062)
        at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.
java:1375)
        at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403
)
        at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387
)
        at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:
559)
        at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect
(AbstractDelegateHttpsURLConnection.java:185)
        at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLCon
nectionImpl.java:153)
        at org.apache.tools.ant.taskdefs.Get$GetThread.openConnection(Get.java:7
37)
        at org.apache.tools.ant.taskdefs.Get$GetThread.get(Get.java:650)
        at org.apache.tools.ant.taskdefs.Get$GetThread.run(Get.java:640)
Caused by: sun.security.validator.ValidatorException: PKIX path building failed:
 sun.security.provider.certpath.SunCertPathBuilderException: unable to find vali
d certification path to requested target
        at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:387)
        at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.jav
a:292)
        at sun.security.validator.Validator.validate(Validator.java:260)
        at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.j
ava:324)
        at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerIm
pl.java:229)
        at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustMan
agerImpl.java:124)
        at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.
java:1491)
        ... 13 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to
 find valid certification path to requested target
        at sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBu
ilder.java:141)
        at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCert
PathBuilder.java:126)
        at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:280)
        at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:382)
        ... 19 more

Total time: 2 seconds


Please let me know if I am making some mistakes while executing the command.


-----Original Message-----
From: Deepak Shetty [mailto:shettyd@gmail.com] 
Sent: Tuesday, January 29, 2019 2:39 AM
To: JMeter Users List <user@jmeter.apache.org>
Subject: Re: ant package-and-check command is not executing successfully.

I have not checked but the error message is telling you to run the ant target " download_checkstyle
"
ant -buildfile <thebuildfile> download_checkstyle did that not work ?

On Mon, Jan 28, 2019 at 3:04 AM Sanjay Chaurasia < Sanjay.Chaurasia@india.nec.com> wrote:

> Hi Team,
>
> I am trying to run command ant package-and-check under the folder 
> Jmeter-trunk  (downloaded source code from git) but getting some error 
> mentioned below while running the command.
>
> This task requires checkstyle, please run download_checkstyle target 
> to download checkstyle.
>
> Please provide solution to resolve the same.
>
> Regards,
> Sanjay Chaurasia
>
>
Mime
View raw message