sp276768 (Community Member) asked a question.

The policy status 'Did Not Pass' is not passing. Unable to continue.

UploadAndScan failure.

When I started the veracode scan in jenkins and end of the scan completion I'm getting below issue is anyone know how to fix this?

 

The status of the new build is "Results Ready".

 

 The policy status 'Did Not Pass' is not passing. Unable to continue.

 UploadAndScan failure.

 

 Ran into problem when generating scan results in Jenkins. Error: [ConnectException, connect: Address is invalid on local machine, or port is not valid on remote machine]

 java.net.ConnectException: connect: Address is invalid on local machine, or port is not valid on remote machine

  at java.net.DualStackPlainSocketImpl.connect0(Native Method)

  at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)

  at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)

  at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)

  at java.net.AbstractPlainSocketImpl.connect(Unknown Source)

  at java.net.PlainSocketImpl.connect(Unknown Source)

  at java.net.Socket.connect(Unknown Source)

  at sun.net.NetworkClient.doConnect(Unknown Source)

  at sun.net.www.http.HttpClient.openServer(Unknown Source)

  at sun.net.www.http.HttpClient$1.run(Unknown Source)

  at sun.net.www.http.HttpClient$1.run(Unknown Source)

  at java.security.AccessController.doPrivileged(Native Method)

  at sun.net.www.http.HttpClient.privilegedOpenServer(Unknown Source)

  at sun.net.www.http.HttpClient.openServer(Unknown Source)

  at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)

  at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)

  at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)

  at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)

  at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)

  at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)

  at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(Unknown Source)

  at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)

  at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Unknown Source)

  at com.veracode.http.WebRequestHandlerImpl.makeFormUrlEncodedPostRequest(WebRequestHandlerImpl.java:31)

  at com.veracode.http.WebClient.makeRequest(WebClient.java:118)

  at com.veracode.http.WebClient.downloadString(WebClient.java:56)

  at com.veracode.apiwrapper.wrappers.UploadAPIWrapper.getAppList(UploadAPIWrapper.java:1049)

  at com.veracode.apiwrapper.wrappers.UploadAPIWrapper.getAppList(UploadAPIWrapper.java:1014)

  at com.veracode.jenkins.plugin.utils.WrapperUtil.getBuildInfo(WrapperUtil.java:76)

  at com.veracode.jenkins.plugin.VeracodeNotifier.getScanResults(VeracodeNotifier.java:983)

  at com.veracode.jenkins.plugin.VeracodeNotifier.perform(VeracodeNotifier.java:740)

  at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)

  at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741)

  at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)

  at hudson.model.Build$BuildExecution.post2(Build.java:186)

  at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)

  at hudson.model.Run.execute(Run.java:1878)

  at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)

  at hudson.model.ResourceController.execute(ResourceController.java:97)

  at hudson.model.Executor.run(Executor.java:427)


Topics (1)

No articles found
Loading

Ask the Community

Get answers, share a use case, discuss your favorite features, or get input from the community.