Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

Step hanging while publishing to artifactory #4051

victorpan ·

Hello,

I am currently facing an issue when publishing artifacts to artifactory. After the build is complete, during the upload step, the step just hangs and provides no logs from Quickbuild side or even on the build server. When trying to cancel the build there is an absurd amount of time to wait (30~ minutes) before it actually stops. I have also tried stopping the service on the build server but it also doesn't stop.

When it does work successfully the step takes only 5 seconds to complete. As of late I am seeing this issue more and more and can cause up to 1/2 of the builds running to hang which then needs to be canceled (which again takes 30-odd minutes).

As it seems to be a default timeout on steps cancelling (every time it is happening it's taking roughly the same amount of time), would I be able to reduce this somehow?

Logs after canceling the upload to artifactory step:

05:15:05,117 ERROR - Step 'master>Publish to Sparrow Artifactory' is failed.
    com.sun.jersey.api.client.ClientHandlerException: java.io.IOException: Error writing request body to server 
        at com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:128)
        at com.sun.jersey.api.client.Client.handle(Client.java:457) 
        at com.sun.jersey.api.client.filter.HTTPBasicAuthFilter.handle(HTTPBasicAuthFilter.java:78) 
        at com.sun.jersey.api.client.WebResource.handle(WebResource.java:557) 
        at com.sun.jersey.api.client.WebResource.access$300(WebResource.java:69) 
        at com.sun.jersey.api.client.WebResource$Builder.put(WebResource.java:475) 
        at com.pmease.quickbuild.plugin.artifactory.ArtifactDeployStep.run(ArtifactDeployStep.java:157)
        ...

Thanks!

Victor

  • replies 1
  • views 21
  • stars 0
robinshen ADMIN ·

Hi Victor,

Please see may response to your issue via email.