java.io.IOException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • We're using Artifactory Pro Power Pack 3.4.2 (rev. 30140) and Jenkins Artifactory Plugin version 2.2.5 Every now and then we get a build broken by failed deployment to artifactory. Out of few dozens of artifacts generated in the build one is not getting deployed. In Jenkins console output it looks like that: {quote} For pattern: build/Publish/apl-0.4.0-SNAPSHOT/* 2 artifacts were found For pattern: build/Publish/hbm-drivers-0.4.0-SNAPSHOT/* 2 artifacts were found For pattern: build/Publish/hal-0.4.0-SNAPSHOT/* 2 artifacts were found For pattern: build/Publish/common-tools-pyang-0.4.0-SNAPSHOT/* 2 artifacts were found For pattern: build/Publish/dte-0.4.0-SNAPSHOT/* 2 artifacts were found For pattern: build/Publish/registry-component-0.4.0-SNAPSHOT/* 0 artifacts were found For pattern: build/Publish/nebackends-0.4.0-SNAPSHOT/* 2 artifacts were found For pattern: build/Publish/naming-service-api-0.4.0-SNAPSHOT/* 2 artifacts were found For pattern: build/Publish/ftm-0.4.0-SNAPSHOT/* 2 artifacts were found For pattern: build/Publish/platform-0.4.0-SNAPSHOT/* 2 artifacts were found For pattern: build/Publish/hbm-framework-0.4.0-SNAPSHOT/* 2 artifacts were found For pattern: build/Publish/pm-0.4.0-SNAPSHOT/* 2 artifacts were found For pattern: build/Publish/log-0.4.0-SNAPSHOT/* 2 artifacts were found For pattern: build/Publish/sirm-0.4.0-SNAPSHOT/* 2 artifacts were found For pattern: build/Publish/srdm-0.4.0-SNAPSHOT/* 2 artifacts were found For pattern: build/Publish/common-0.4.0-SNAPSHOT/* 2 artifacts were found For pattern: build/Publish/rsm-0.4.0-SNAPSHOT/* 2 artifacts were found For pattern: build/Publish/steering-0.4.0-SNAPSHOT/* 2 artifacts were found For pattern: build/Publish/corefacility-0.4.0-SNAPSHOT/* 2 artifacts were found For pattern: build/Publish/equipment-0.4.0-SNAPSHOT/* 2 artifacts were found For pattern: build/Publish/eventchannel-0.4.0-SNAPSHOT/* 2 artifacts were found For pattern: build/Publish/eventchannel-api-0.4.0-SNAPSHOT/* 2 artifacts were found For pattern: build/Publish/ne-tools-0.4.0-SNAPSHOT/* 2 artifacts were found For pattern: build/Publish/topology-0.4.0-SNAPSHOT/* 2 artifacts were found For pattern: build/Publish/fm-0.4.0-SNAPSHOT/* 2 artifacts were found For pattern: build/Publish/dte-api-0.4.0-SNAPSHOT/* 2 artifacts were found For pattern: build/Publish/tnd-0.4.0-SNAPSHOT/* 2 artifacts were found For pattern: build/Publish/dcn-0.4.0-SNAPSHOT/* 2 artifacts were found For pattern: build/Publish/naming-service-0.4.0-SNAPSHOT/* 2 artifacts were found Deploying artifact: https://artifacts.aos-cloud.com/artifactory/libs-snapshot-local/com/adva/aos/ne/core-apps/dte-api/0.4.0-SNAPSHOT/dte-api-0.4.0-SNAPSHOT-x86_32bit_Debug.tar.bz2 Deploying artifact: https://artifacts.aos-cloud.com/artifactory/libs-snapshot-local/com/adva/aos/ne/core-apps/rsm/0.4.0-SNAPSHOT/rsm-0.4.0-SNAPSHOT-x86_32bit_Debug.pom Deploying artifact: https://artifacts.aos-cloud.com/artifactory/libs-snapshot-local/com/adva/aos/ne/backends/nebackends/0.4.0-SNAPSHOT/nebackends-0.4.0-SNAPSHOT-x86_32bit_Debug.pom Deploying artifact: https://artifacts.aos-cloud.com/artifactory/libs-snapshot-local/com/adva/aos/ne/core-apps/eventchannel/0.4.0-SNAPSHOT/eventchannel-0.4.0-SNAPSHOT-x86_32bit_Debug.pom Deploying artifact: https://artifacts.aos-cloud.com/artifactory/libs-snapshot-local/com/adva/aos/ne/framework/hbm-drivers/0.4.0-SNAPSHOT/hbm-drivers-0.4.0-SNAPSHOT-x86_32bit_Debug.pom ERROR: remote file operation failed: /home/ubuntu/sandbox/aos-ne-master-multi/BUILD_TYPE/Debug/TARGET_ARCH/x86-32bit/label/slave-ede at hudson.remoting.Channel@6a3b7800:slave ne (i-28f945ce): java.io.IOException: Failed to deploy file: HTTP response code: 500. HTTP response message: Internal Server Error java.io.IOException: remote file operation failed: /home/ubuntu/sandbox/aos-ne-master-multi/BUILD_TYPE/Debug/TARGET_ARCH/x86-32bit/label/slave-ede at hudson.remoting.Channel@6a3b7800:slave ne (i-28f945ce): java.io.IOException: Failed to deploy file: HTTP response code: 500. HTTP response message: Internal Server Error at hudson.FilePath.act(FilePath.java:977) at hudson.FilePath.act(FilePath.java:959) at org.jfrog.hudson.generic.GenericArtifactsDeployer.deploy(GenericArtifactsDeployer.java:77) at org.jfrog.hudson.generic.ArtifactoryGenericConfigurator$2.tearDown(ArtifactoryGenericConfigurator.java:301) at hudson.model.Build$BuildExecution.doRun(Build.java:171) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:533) at hudson.model.Run.execute(Run.java:1759) at hudson.matrix.MatrixRun.run(MatrixRun.java:146) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240) Caused by: java.io.IOException: Failed to deploy file: HTTP response code: 500. HTTP response message: Internal Server Error at org.jfrog.build.client.ArtifactoryBuildInfoClient.throwHttpIOException(ArtifactoryBuildInfoClient.java:647) at org.jfrog.build.client.ArtifactoryBuildInfoClient.uploadFile(ArtifactoryBuildInfoClient.java:529) at org.jfrog.build.client.ArtifactoryBuildInfoClient.deployArtifact(ArtifactoryBuildInfoClient.java:299) at org.jfrog.hudson.generic.GenericArtifactsDeployer$FilesDeployerCallable.deploy(GenericArtifactsDeployer.java:178) at org.jfrog.hudson.generic.GenericArtifactsDeployer$FilesDeployerCallable.invoke(GenericArtifactsDeployer.java:150) at org.jfrog.hudson.generic.GenericArtifactsDeployer$FilesDeployerCallable.invoke(GenericArtifactsDeployer.java:118) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2677) at hudson.remoting.UserRequest.perform(UserRequest.java:121) at hudson.remoting.UserRequest.perform(UserRequest.java:49) at hudson.remoting.Request$2.run(Request.java:324) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:701) at ......remote call to slave ne (i-28f945ce)(Native Method) at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1356) at hudson.remoting.UserResponse.retrieve(UserRequest.java:221) at hudson.remoting.Channel.call(Channel.java:752) at hudson.FilePath.act(FilePath.java:970) ... 9 more {quote} a snippet from /var/opt/jfrog/artifactory/logs/request.log {quote} 20150206072558|213|REQUEST|54.220.184.84|deploy|PUT|/libs-snapshot-local/com/adva/aos/ne/framework/hbm-framework/0.4.0-SNAPSHOT/hbm-framework-0.4.0-SNAPSHOT-ppc_32bit_Debug.tar.bz2;build.parentNumber=816;build.name=aos-ne-master%20::%20BUILD_TYPE=Debug,TARGET_ARCH=ppc-32bit,label=slave-ede;build.timestamp=1423205059254;build.number=816;build.parentName=aos-ne-master;vcs.revision=7358ae9d323c3c43a1eee2cfcdda060e48c399ea|HTTP/1.1|404|0 20150206072558|501|REQUEST|54.220.184.84|deploy|PUT|/libs-snapshot-local/com/adva/aos/ne/framework/hbm-framework/0.4.0-SNAPSHOT/hbm-framework-0.4.0-SNAPSHOT-ppc_32bit_Debug.tar.bz2;build.parentNumber=816;build.name=aos-ne-master%20::%20BUILD_TYPE=Debug,TARGET_ARCH=ppc-32bit,label=slave-ede;build.timestamp=1423205059254;build.number=816;build.parentName=aos-ne-master;vcs.revision=7358ae9d323c3c43a1eee2cfcdda060e48c399ea|HTTP/1.1|201|2713454 20150206072558|704|REQUEST|54.73.15.21|deploy|PUT|/libs-snapshot-local/com/adva/aos/ne/backends/nebackends/0.4.0-SNAPSHOT/nebackends-0.4.0-SNAPSHOT-x86_32bit_Debug.pom;build.parentNumber=816;build.name=aos-ne-master%20::%20BUILD_TYPE=Debug,TARGET_ARCH=x86-32bit,label=slave-ede;build.timestamp=1423205059254;build.number=816;build.parentName=aos-ne-master;vcs.revision=7358ae9d323c3c43a1eee2cfcdda060e48c399ea|HTTP/1.1|201|767 20150206072559|768|REQUEST|54.220.184.84|deploy|PUT|/libs-snapshot-local/com/adva/aos/ne/core-apps/dcn/0.4.0-SNAPSHOT/dcn-0.4.0-SNAPSHOT-ppc_32bit_Debug.pom;build.parentNumber=816;build.name=aos-ne-master%20::%20BUILD_TYPE=Debug,TARGET_ARCH=ppc-32bit,label=slave-ede;build.timestamp=1423205059254;build.number=816;build.parentName=aos-ne-master;vcs.revision=7358ae9d323c3c43a1eee2cfcdda060e48c399ea|HTTP/1.1|201|761 20150206072559|683|REQUEST|54.73.15.21|deploy|PUT|/libs-snapshot-local/com/adva/aos/ne/core-apps/eventchannel/0.4.0-SNAPSHOT/eventchannel-0.4.0-SNAPSHOT-x86_32bit_Debug.pom;build.parentNumber=816;build.name=aos-ne-master%20::%20BUILD_TYPE=Debug,TARGET_ARCH=x86-32bit,label=slave-ede;build.timestamp=1423205059254;build.number=816;build.parentName=aos-ne-master;vcs.revision=7358ae9d323c3c43a1eee2cfcdda060e48c399ea|HTTP/1.1|201|770 20150206072609|1|REQUEST|120.236.30.50|non_authenticated_user|HEAD|/libs-snapshot-local/com/adva/aos/ne/framework/apl/0.4.0-SNAPSHOT/maven-metadata.xml|HTTP/1.1|401|0 20150206072609|2|REQUEST|120.236.30.50|read|HEAD|/libs-snapshot-local/com/adva/aos/ne/framework/apl/0.4.0-SNAPSHOT/maven-metadata.xml|HTTP/1.1|200|0 20150206072610|1|REQUEST|120.236.30.50|non_authenticated_user|GET|/libs-snapshot-local/com/adva/aos/ne/framework/apl/0.4.0-SNAPSHOT/maven-metadata.xml|HTTP/1.1|401|0 20150206072611|2|REQUEST|120.236.30.50|read|GET|/libs-snapshot-local/com/adva/aos/ne/framework/apl/0.4.0-SNAPSHOT/maven-metadata.xml|HTTP/1.1|200|376 20150206072612|1|REQUEST|120.236.30.50|non_authenticated_user|HEAD|/libs-snapshot-local/com/adva/aos/ne/framework/apl/0.4.0-SNAPSHOT/apl-0.4.0-20150206.064419-143-x86_64bit_Debug.tar.bz2|HTTP/1.1|401|0 20150206072613|1|REQUEST|120.236.30.50|read|HEAD|/libs-snapshot-local/com/adva/aos/ne/framework/apl/0.4.0-SNAPSHOT/apl-0.4.0-20150206.064419-143-x86_64bit_Debug.tar.bz2|HTTP/1.1|200|0 20150206072614|1|REQUEST|120.236.30.50|non_authenticated_user|GET|/libs-snapshot-local/com/adva/aos/ne/framework/apl/0.4.0-SNAPSHOT/maven-metadata.xml|HTTP/1.1|401|0 20150206072614|2|REQUEST|120.236.30.50|read|GET|/libs-snapshot-local/com/adva/aos/ne/framework/apl/0.4.0-SNAPSHOT/maven-metadata.xml|HTTP/1.1|200|376 20150206072615|1|REQUEST|120.236.30.50|non_authenticated_user|GET|/libs-snapshot-local/com/adva/aos/ne/framework/apl/0.4.0-SNAPSHOT/apl-0.4.0-20150206.064419-143-x86_64bit_Debug.tar.bz2|HTTP/1.1|401|0 20150206072619|20337|REQUEST|54.73.15.21|deploy|PUT|/libs-snapshot-local/com/adva/aos/ne/framework/hbm-drivers/0.4.0-SNAPSHOT/hbm-drivers-0.4.0-SNAPSHOT-x86_32bit_Debug.pom;build.parentNumber=816;build.name=aos-ne-master%20::%20BUILD_TYPE=Debug,TARGET_ARCH=x86-32bit,label=slave-ede;build.timestamp=1423205059254;build.number=816;build.parentName=aos-ne-master;vcs.revision=7358ae9d323c3c43a1eee2cfcdda060e48c399ea|HTTP/1.1|500|769 20150206072620|20524|REQUEST|54.220.184.84|deploy|PUT|/libs-snapshot-local/com/adva/aos/ne/framework/hbm-drivers/0.4.0-SNAPSHOT/hbm-drivers-0.4.0-SNAPSHOT-ppc_32bit_Debug.pom;build.parentNumber=816;build.name=aos-ne-master%20::%20BUILD_TYPE=Debug,TARGET_ARCH=ppc-32bit,label=slave-ede;build.timestamp=1423205059254;build.number=816;build.parentName=aos-ne-master;vcs.revision=7358ae9d323c3c43a1eee2cfcdda060e48c399ea|HTTP/1.1|201|769 20150206072625|382|REQUEST|54.220.184.84|deploy|PUT|/libs-snapshot-local/com/adva/aos/ne/framework/apl/0.4.0-SNAPSHOT/apl-0.4.0-SNAPSHOT-ppc_32bit_Debug.pom;build.parentNumber=816;build.name=aos-ne-master%20::%20BUILD_TYPE=Debug,TARGET_ARCH=ppc-32bit,label=slave-ede;build.timestamp=1423205059254;build.number=816;build.parentName=aos-ne-master;vcs.revision=7358ae9d323c3c43a1eee2cfcdda060e48c399ea|HTTP/1.1|201|761 {quote} /var/opt/jfrog/artifactory/logs/artifactory.log {quote} 2015-02-06 07:25:58,294 [http-bio-127.0.0.1-8080-exec-3367] [INFO ] (o.a.e.UploadServiceImpl:479) - Deploy to 'libs-snapshot-local:com/adva/aos/ne/framework/hbm-framework/0.4.0-SNAPSHOT/hbm-framework-0.4.0-SNAPSHOT-ppc_32bit_Debug.tar.bz2' Content-Length: 2713454 2015-02-06 07:25:58,803 [http-bio-127.0.0.1-8080-exec-3370] [INFO ] (o.a.e.UploadServiceImpl:479) - Deploy to 'libs-snapshot-local:com/adva/aos/ne/core-apps/dcn/0.4.0-SNAPSHOT/dcn-0.4.0-SNAPSHOT-ppc_32bit_Debug.pom' Content-Length: 761 2015-02-06 07:25:58,893 [http-bio-127.0.0.1-8080-exec-3374] [INFO ] (o.a.e.UploadServiceImpl:479) - Deploy to 'libs-snapshot-local:com/adva/aos/ne/core-apps/eventchannel/0.4.0-SNAPSHOT/eventchannel-0.4.0-SNAPSHOT-x86_32bit_Debug.pom' Content-Length: 770 2015-02-06 07:25:59,579 [http-bio-127.0.0.1-8080-exec-3378] [INFO ] (o.a.e.UploadServiceImpl:479) - Deploy to 'libs-snapshot-local:com/adva/aos/ne/framework/hbm-drivers/0.4.0-SNAPSHOT/hbm-drivers-0.4.0-SNAPSHOT-ppc_32bit_Debug.pom' Content-Length: 769 2015-02-06 07:25:59,584 [http-bio-127.0.0.1-8080-exec-3381] [INFO ] (o.a.e.UploadServiceImpl:479) - Deploy to 'libs-snapshot-local:com/adva/aos/ne/framework/hbm-drivers/0.4.0-SNAPSHOT/hbm-drivers-0.4.0-SNAPSHOT-x86_32bit_Debug.pom' Content-Length: 769 2015-02-06 07:26:19,920 [http-bio-127.0.0.1-8080-exec-3381] [ERROR] (o.a.w.s.RepoFilter :210) - Sending HTTP error code 500 2015-02-06 07:26:25,116 [http-bio-127.0.0.1-8080-exec-3367] [INFO ] (o.a.e.UploadServiceImpl:479) - Deploy to 'libs-snapshot-local:com/adva/aos/ne/framework/apl/0.4.0-SNAPSHOT/apl-0.4.0-SNAPSHOT-ppc_32bit_Debug.pom' Content-Length: 761 2015-02-06 07:26:25,505 [http-bio-127.0.0.1-8080-exec-3377] [INFO ] (o.a.e.UploadServiceImpl:479) - Deploy to 'libs-snapshot-local:com/adva/aos/ne/backends/nebackends/0.4.0-SNAPSHOT/nebackends-0.4.0-SNAPSHOT-ppc_32bit_Debug.tar.bz2' Content-Length: 0 2015-02-06 07:26:25,714 [http-bio-127.0.0.1-8080-exec-3370] [INFO ] (o.a.e.UploadServiceImpl:479) - Deploy to 'libs-snapshot-local:com/adva/aos/ne/backends/nebackends/0.4.0-SNAPSHOT/nebackends-0.4.0-SNAPSHOT-ppc_32bit_Debug.tar.bz2' Content-Length: 386411 {quote}
    via by Tomasz D??ugosz,
  • We're using Artifactory Pro Power Pack 3.4.2 (rev. 30140) and Jenkins Artifactory Plugin version 2.2.5 Every now and then we get a build broken by failed deployment to artifactory. Out of few dozens of artifacts generated in the build one is not getting deployed. In Jenkins console output it looks like that: {quote} For pattern: build/Publish/apl-0.4.0-SNAPSHOT/* 2 artifacts were found For pattern: build/Publish/hbm-drivers-0.4.0-SNAPSHOT/* 2 artifacts were found For pattern: build/Publish/hal-0.4.0-SNAPSHOT/* 2 artifacts were found For pattern: build/Publish/common-tools-pyang-0.4.0-SNAPSHOT/* 2 artifacts were found For pattern: build/Publish/dte-0.4.0-SNAPSHOT/* 2 artifacts were found For pattern: build/Publish/registry-component-0.4.0-SNAPSHOT/* 0 artifacts were found For pattern: build/Publish/nebackends-0.4.0-SNAPSHOT/* 2 artifacts were found For pattern: build/Publish/naming-service-api-0.4.0-SNAPSHOT/* 2 artifacts were found For pattern: build/Publish/ftm-0.4.0-SNAPSHOT/* 2 artifacts were found For pattern: build/Publish/platform-0.4.0-SNAPSHOT/* 2 artifacts were found For pattern: build/Publish/hbm-framework-0.4.0-SNAPSHOT/* 2 artifacts were found For pattern: build/Publish/pm-0.4.0-SNAPSHOT/* 2 artifacts were found For pattern: build/Publish/log-0.4.0-SNAPSHOT/* 2 artifacts were found For pattern: build/Publish/sirm-0.4.0-SNAPSHOT/* 2 artifacts were found For pattern: build/Publish/srdm-0.4.0-SNAPSHOT/* 2 artifacts were found For pattern: build/Publish/common-0.4.0-SNAPSHOT/* 2 artifacts were found For pattern: build/Publish/rsm-0.4.0-SNAPSHOT/* 2 artifacts were found For pattern: build/Publish/steering-0.4.0-SNAPSHOT/* 2 artifacts were found For pattern: build/Publish/corefacility-0.4.0-SNAPSHOT/* 2 artifacts were found For pattern: build/Publish/equipment-0.4.0-SNAPSHOT/* 2 artifacts were found For pattern: build/Publish/eventchannel-0.4.0-SNAPSHOT/* 2 artifacts were found For pattern: build/Publish/eventchannel-api-0.4.0-SNAPSHOT/* 2 artifacts were found For pattern: build/Publish/ne-tools-0.4.0-SNAPSHOT/* 2 artifacts were found For pattern: build/Publish/topology-0.4.0-SNAPSHOT/* 2 artifacts were found For pattern: build/Publish/fm-0.4.0-SNAPSHOT/* 2 artifacts were found For pattern: build/Publish/dte-api-0.4.0-SNAPSHOT/* 2 artifacts were found For pattern: build/Publish/tnd-0.4.0-SNAPSHOT/* 2 artifacts were found For pattern: build/Publish/dcn-0.4.0-SNAPSHOT/* 2 artifacts were found For pattern: build/Publish/naming-service-0.4.0-SNAPSHOT/* 2 artifacts were found Deploying artifact: https://artifacts.aos-cloud.com/artifactory/libs-snapshot-local/com/adva/aos/ne/core-apps/dte-api/0.4.0-SNAPSHOT/dte-api-0.4.0-SNAPSHOT-x86_32bit_Debug.tar.bz2 Deploying artifact: https://artifacts.aos-cloud.com/artifactory/libs-snapshot-local/com/adva/aos/ne/core-apps/rsm/0.4.0-SNAPSHOT/rsm-0.4.0-SNAPSHOT-x86_32bit_Debug.pom Deploying artifact: https://artifacts.aos-cloud.com/artifactory/libs-snapshot-local/com/adva/aos/ne/backends/nebackends/0.4.0-SNAPSHOT/nebackends-0.4.0-SNAPSHOT-x86_32bit_Debug.pom Deploying artifact: https://artifacts.aos-cloud.com/artifactory/libs-snapshot-local/com/adva/aos/ne/core-apps/eventchannel/0.4.0-SNAPSHOT/eventchannel-0.4.0-SNAPSHOT-x86_32bit_Debug.pom Deploying artifact: https://artifacts.aos-cloud.com/artifactory/libs-snapshot-local/com/adva/aos/ne/framework/hbm-drivers/0.4.0-SNAPSHOT/hbm-drivers-0.4.0-SNAPSHOT-x86_32bit_Debug.pom ERROR: remote file operation failed: /home/ubuntu/sandbox/aos-ne-master-multi/BUILD_TYPE/Debug/TARGET_ARCH/x86-32bit/label/slave-ede at hudson.remoting.Channel@6a3b7800:slave ne (i-28f945ce): java.io.IOException: Failed to deploy file: HTTP response code: 500. HTTP response message: Internal Server Error java.io.IOException: remote file operation failed: /home/ubuntu/sandbox/aos-ne-master-multi/BUILD_TYPE/Debug/TARGET_ARCH/x86-32bit/label/slave-ede at hudson.remoting.Channel@6a3b7800:slave ne (i-28f945ce): java.io.IOException: Failed to deploy file: HTTP response code: 500. HTTP response message: Internal Server Error at hudson.FilePath.act(FilePath.java:977) at hudson.FilePath.act(FilePath.java:959) at org.jfrog.hudson.generic.GenericArtifactsDeployer.deploy(GenericArtifactsDeployer.java:77) at org.jfrog.hudson.generic.ArtifactoryGenericConfigurator$2.tearDown(ArtifactoryGenericConfigurator.java:301) at hudson.model.Build$BuildExecution.doRun(Build.java:171) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:533) at hudson.model.Run.execute(Run.java:1759) at hudson.matrix.MatrixRun.run(MatrixRun.java:146) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240) Caused by: java.io.IOException: Failed to deploy file: HTTP response code: 500. HTTP response message: Internal Server Error at org.jfrog.build.client.ArtifactoryBuildInfoClient.throwHttpIOException(ArtifactoryBuildInfoClient.java:647) at org.jfrog.build.client.ArtifactoryBuildInfoClient.uploadFile(ArtifactoryBuildInfoClient.java:529) at org.jfrog.build.client.ArtifactoryBuildInfoClient.deployArtifact(ArtifactoryBuildInfoClient.java:299) at org.jfrog.hudson.generic.GenericArtifactsDeployer$FilesDeployerCallable.deploy(GenericArtifactsDeployer.java:178) at org.jfrog.hudson.generic.GenericArtifactsDeployer$FilesDeployerCallable.invoke(GenericArtifactsDeployer.java:150) at org.jfrog.hudson.generic.GenericArtifactsDeployer$FilesDeployerCallable.invoke(GenericArtifactsDeployer.java:118) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2677) at hudson.remoting.UserRequest.perform(UserRequest.java:121) at hudson.remoting.UserRequest.perform(UserRequest.java:49) at hudson.remoting.Request$2.run(Request.java:324) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:701) at ......remote call to slave ne (i-28f945ce)(Native Method) at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1356) at hudson.remoting.UserResponse.retrieve(UserRequest.java:221) at hudson.remoting.Channel.call(Channel.java:752) at hudson.FilePath.act(FilePath.java:970) ... 9 more {quote} a snippet from /var/opt/jfrog/artifactory/logs/request.log {quote} 20150206072558|213|REQUEST|54.220.184.84|deploy|PUT|/libs-snapshot-local/com/adva/aos/ne/framework/hbm-framework/0.4.0-SNAPSHOT/hbm-framework-0.4.0-SNAPSHOT-ppc_32bit_Debug.tar.bz2;build.parentNumber=816;build.name=aos-ne-master%20::%20BUILD_TYPE=Debug,TARGET_ARCH=ppc-32bit,label=slave-ede;build.timestamp=1423205059254;build.number=816;build.parentName=aos-ne-master;vcs.revision=7358ae9d323c3c43a1eee2cfcdda060e48c399ea|HTTP/1.1|404|0 20150206072558|501|REQUEST|54.220.184.84|deploy|PUT|/libs-snapshot-local/com/adva/aos/ne/framework/hbm-framework/0.4.0-SNAPSHOT/hbm-framework-0.4.0-SNAPSHOT-ppc_32bit_Debug.tar.bz2;build.parentNumber=816;build.name=aos-ne-master%20::%20BUILD_TYPE=Debug,TARGET_ARCH=ppc-32bit,label=slave-ede;build.timestamp=1423205059254;build.number=816;build.parentName=aos-ne-master;vcs.revision=7358ae9d323c3c43a1eee2cfcdda060e48c399ea|HTTP/1.1|201|2713454 20150206072558|704|REQUEST|54.73.15.21|deploy|PUT|/libs-snapshot-local/com/adva/aos/ne/backends/nebackends/0.4.0-SNAPSHOT/nebackends-0.4.0-SNAPSHOT-x86_32bit_Debug.pom;build.parentNumber=816;build.name=aos-ne-master%20::%20BUILD_TYPE=Debug,TARGET_ARCH=x86-32bit,label=slave-ede;build.timestamp=1423205059254;build.number=816;build.parentName=aos-ne-master;vcs.revision=7358ae9d323c3c43a1eee2cfcdda060e48c399ea|HTTP/1.1|201|767 20150206072559|768|REQUEST|54.220.184.84|deploy|PUT|/libs-snapshot-local/com/adva/aos/ne/core-apps/dcn/0.4.0-SNAPSHOT/dcn-0.4.0-SNAPSHOT-ppc_32bit_Debug.pom;build.parentNumber=816;build.name=aos-ne-master%20::%20BUILD_TYPE=Debug,TARGET_ARCH=ppc-32bit,label=slave-ede;build.timestamp=1423205059254;build.number=816;build.parentName=aos-ne-master;vcs.revision=7358ae9d323c3c43a1eee2cfcdda060e48c399ea|HTTP/1.1|201|761 20150206072559|683|REQUEST|54.73.15.21|deploy|PUT|/libs-snapshot-local/com/adva/aos/ne/core-apps/eventchannel/0.4.0-SNAPSHOT/eventchannel-0.4.0-SNAPSHOT-x86_32bit_Debug.pom;build.parentNumber=816;build.name=aos-ne-master%20::%20BUILD_TYPE=Debug,TARGET_ARCH=x86-32bit,label=slave-ede;build.timestamp=1423205059254;build.number=816;build.parentName=aos-ne-master;vcs.revision=7358ae9d323c3c43a1eee2cfcdda060e48c399ea|HTTP/1.1|201|770 20150206072609|1|REQUEST|120.236.30.50|non_authenticated_user|HEAD|/libs-snapshot-local/com/adva/aos/ne/framework/apl/0.4.0-SNAPSHOT/maven-metadata.xml|HTTP/1.1|401|0 20150206072609|2|REQUEST|120.236.30.50|read|HEAD|/libs-snapshot-local/com/adva/aos/ne/framework/apl/0.4.0-SNAPSHOT/maven-metadata.xml|HTTP/1.1|200|0 20150206072610|1|REQUEST|120.236.30.50|non_authenticated_user|GET|/libs-snapshot-local/com/adva/aos/ne/framework/apl/0.4.0-SNAPSHOT/maven-metadata.xml|HTTP/1.1|401|0 20150206072611|2|REQUEST|120.236.30.50|read|GET|/libs-snapshot-local/com/adva/aos/ne/framework/apl/0.4.0-SNAPSHOT/maven-metadata.xml|HTTP/1.1|200|376 20150206072612|1|REQUEST|120.236.30.50|non_authenticated_user|HEAD|/libs-snapshot-local/com/adva/aos/ne/framework/apl/0.4.0-SNAPSHOT/apl-0.4.0-20150206.064419-143-x86_64bit_Debug.tar.bz2|HTTP/1.1|401|0 20150206072613|1|REQUEST|120.236.30.50|read|HEAD|/libs-snapshot-local/com/adva/aos/ne/framework/apl/0.4.0-SNAPSHOT/apl-0.4.0-20150206.064419-143-x86_64bit_Debug.tar.bz2|HTTP/1.1|200|0 20150206072614|1|REQUEST|120.236.30.50|non_authenticated_user|GET|/libs-snapshot-local/com/adva/aos/ne/framework/apl/0.4.0-SNAPSHOT/maven-metadata.xml|HTTP/1.1|401|0 20150206072614|2|REQUEST|120.236.30.50|read|GET|/libs-snapshot-local/com/adva/aos/ne/framework/apl/0.4.0-SNAPSHOT/maven-metadata.xml|HTTP/1.1|200|376 20150206072615|1|REQUEST|120.236.30.50|non_authenticated_user|GET|/libs-snapshot-local/com/adva/aos/ne/framework/apl/0.4.0-SNAPSHOT/apl-0.4.0-20150206.064419-143-x86_64bit_Debug.tar.bz2|HTTP/1.1|401|0 20150206072619|20337|REQUEST|54.73.15.21|deploy|PUT|/libs-snapshot-local/com/adva/aos/ne/framework/hbm-drivers/0.4.0-SNAPSHOT/hbm-drivers-0.4.0-SNAPSHOT-x86_32bit_Debug.pom;build.parentNumber=816;build.name=aos-ne-master%20::%20BUILD_TYPE=Debug,TARGET_ARCH=x86-32bit,label=slave-ede;build.timestamp=1423205059254;build.number=816;build.parentName=aos-ne-master;vcs.revision=7358ae9d323c3c43a1eee2cfcdda060e48c399ea|HTTP/1.1|500|769 20150206072620|20524|REQUEST|54.220.184.84|deploy|PUT|/libs-snapshot-local/com/adva/aos/ne/framework/hbm-drivers/0.4.0-SNAPSHOT/hbm-drivers-0.4.0-SNAPSHOT-ppc_32bit_Debug.pom;build.parentNumber=816;build.name=aos-ne-master%20::%20BUILD_TYPE=Debug,TARGET_ARCH=ppc-32bit,label=slave-ede;build.timestamp=1423205059254;build.number=816;build.parentName=aos-ne-master;vcs.revision=7358ae9d323c3c43a1eee2cfcdda060e48c399ea|HTTP/1.1|201|769 20150206072625|382|REQUEST|54.220.184.84|deploy|PUT|/libs-snapshot-local/com/adva/aos/ne/framework/apl/0.4.0-SNAPSHOT/apl-0.4.0-SNAPSHOT-ppc_32bit_Debug.pom;build.parentNumber=816;build.name=aos-ne-master%20::%20BUILD_TYPE=Debug,TARGET_ARCH=ppc-32bit,label=slave-ede;build.timestamp=1423205059254;build.number=816;build.parentName=aos-ne-master;vcs.revision=7358ae9d323c3c43a1eee2cfcdda060e48c399ea|HTTP/1.1|201|761 {quote} /var/opt/jfrog/artifactory/logs/artifactory.log {quote} 2015-02-06 07:25:58,294 [http-bio-127.0.0.1-8080-exec-3367] [INFO ] (o.a.e.UploadServiceImpl:479) - Deploy to 'libs-snapshot-local:com/adva/aos/ne/framework/hbm-framework/0.4.0-SNAPSHOT/hbm-framework-0.4.0-SNAPSHOT-ppc_32bit_Debug.tar.bz2' Content-Length: 2713454 2015-02-06 07:25:58,803 [http-bio-127.0.0.1-8080-exec-3370] [INFO ] (o.a.e.UploadServiceImpl:479) - Deploy to 'libs-snapshot-local:com/adva/aos/ne/core-apps/dcn/0.4.0-SNAPSHOT/dcn-0.4.0-SNAPSHOT-ppc_32bit_Debug.pom' Content-Length: 761 2015-02-06 07:25:58,893 [http-bio-127.0.0.1-8080-exec-3374] [INFO ] (o.a.e.UploadServiceImpl:479) - Deploy to 'libs-snapshot-local:com/adva/aos/ne/core-apps/eventchannel/0.4.0-SNAPSHOT/eventchannel-0.4.0-SNAPSHOT-x86_32bit_Debug.pom' Content-Length: 770 2015-02-06 07:25:59,579 [http-bio-127.0.0.1-8080-exec-3378] [INFO ] (o.a.e.UploadServiceImpl:479) - Deploy to 'libs-snapshot-local:com/adva/aos/ne/framework/hbm-drivers/0.4.0-SNAPSHOT/hbm-drivers-0.4.0-SNAPSHOT-ppc_32bit_Debug.pom' Content-Length: 769 2015-02-06 07:25:59,584 [http-bio-127.0.0.1-8080-exec-3381] [INFO ] (o.a.e.UploadServiceImpl:479) - Deploy to 'libs-snapshot-local:com/adva/aos/ne/framework/hbm-drivers/0.4.0-SNAPSHOT/hbm-drivers-0.4.0-SNAPSHOT-x86_32bit_Debug.pom' Content-Length: 769 2015-02-06 07:26:19,920 [http-bio-127.0.0.1-8080-exec-3381] [ERROR] (o.a.w.s.RepoFilter :210) - Sending HTTP error code 500 2015-02-06 07:26:25,116 [http-bio-127.0.0.1-8080-exec-3367] [INFO ] (o.a.e.UploadServiceImpl:479) - Deploy to 'libs-snapshot-local:com/adva/aos/ne/framework/apl/0.4.0-SNAPSHOT/apl-0.4.0-SNAPSHOT-ppc_32bit_Debug.pom' Content-Length: 761 2015-02-06 07:26:25,505 [http-bio-127.0.0.1-8080-exec-3377] [INFO ] (o.a.e.UploadServiceImpl:479) - Deploy to 'libs-snapshot-local:com/adva/aos/ne/backends/nebackends/0.4.0-SNAPSHOT/nebackends-0.4.0-SNAPSHOT-ppc_32bit_Debug.tar.bz2' Content-Length: 0 2015-02-06 07:26:25,714 [http-bio-127.0.0.1-8080-exec-3370] [INFO ] (o.a.e.UploadServiceImpl:479) - Deploy to 'libs-snapshot-local:com/adva/aos/ne/backends/nebackends/0.4.0-SNAPSHOT/nebackends-0.4.0-SNAPSHOT-ppc_32bit_Debug.tar.bz2' Content-Length: 386411 {quote}
    via by Tomasz Długosz,
  • When deploying artifacts and the artifacts checksum to Artifactory, the artifact itself must be uploaded before it's checksum. Otherwise Artifactory will return with an Error 404 and consequently failing the job: 05:57:24 Deploying artifact: http://artifactory:8081/artifactory/repository/artifact.rpm.md5 05:57:24 ERROR: remote file operation failed: /root/workspace/job at hudson.remoting.Channel@2c03b560:hostname 05:57:24 java.io.IOException: remote file operation failed: /root/workspace/job at hudson.remoting.Channel@2c03b560:hostname 05:57:24 at hudson.FilePath.act(FilePath.java:916) 05:57:24 at hudson.FilePath.act(FilePath.java:893) 05:57:24 at org.jfrog.hudson.generic.GenericArtifactsDeployer.deploy(GenericArtifactsDeployer.java:82) 05:57:24 at org.jfrog.hudson.generic.ArtifactoryGenericConfigurator$1.tearDown(ArtifactoryGenericConfigurator.java:276) 05:57:24 at hudson.model.Build$BuildExecution.doRun(Build.java:170) 05:57:24 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529) 05:57:24 at hudson.model.Run.execute(Run.java:1706) 05:57:24 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) 05:57:24 at hudson.model.ResourceController.execute(ResourceController.java:88) 05:57:24 at hudson.model.Executor.run(Executor.java:232) 05:57:24 Caused by: java.io.IOException: Failed to deploy file: HTTP response code: 404. HTTP response message: Not Found 05:57:24 at org.jfrog.build.client.ArtifactoryBuildInfoClient.throwHttpIOException(ArtifactoryBuildInfoClient.java:652) 05:57:24 at org.jfrog.build.client.ArtifactoryBuildInfoClient.uploadFile(ArtifactoryBuildInfoClient.java:527) 05:57:24 at org.jfrog.build.client.ArtifactoryBuildInfoClient.deployArtifact(ArtifactoryBuildInfoClient.java:302) 05:57:24 at org.jfrog.hudson.generic.GenericArtifactsDeployer$FilesDeployerCallable.deploy(GenericArtifactsDeployer.java:182) 05:57:24 at org.jfrog.hudson.generic.GenericArtifactsDeployer$FilesDeployerCallable.invoke(GenericArtifactsDeployer.java:154) 05:57:24 at org.jfrog.hudson.generic.GenericArtifactsDeployer$FilesDeployerCallable.invoke(GenericArtifactsDeployer.java:122) 05:57:24 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2474) 05:57:24 at hudson.remoting.UserRequest.perform(UserRequest.java:118) 05:57:24 at hudson.remoting.UserRequest.perform(UserRequest.java:48) 05:57:24 at hudson.remoting.Request$2.run(Request.java:328) 05:57:24 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) 05:57:24 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) 05:57:24 at java.util.concurrent.FutureTask.run(FutureTask.java:166) 05:57:24 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) 05:57:24 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 05:57:24 at java.lang.Thread.run(Thread.java:701) Versus the proper order returns a successful deploy and successful job: 05:40:14 Deploying artifact: http://artifactory:8081/artifactory/repository/artifact.rpm 05:40:38 Deploying artifact: http://artifactory:8081/artifactory/repository/artifact.rpm.md5 05:40:38 Deploying build info to: http://artifactory:8081/artifactory/api/build 05:40:39 Finished: SUCCESS Same Jenkins, Artifactory, Build Host, Code Base, and git checksum in both instances. The only difference was artifact deployment order. Either force checksum files to be uploaded last, or allow the user to specify priority order of artifact deployment.
    via by Daniel Dewey,
  • When deploying artifacts and the artifacts checksum to Artifactory, the artifact itself must be uploaded before it's checksum. Otherwise Artifactory will return with an Error 404 and consequently failing the job: 05:57:24 Deploying artifact: http://artifactory:8081/artifactory/repository/artifact.rpm.md5 05:57:24 ERROR: remote file operation failed: /root/workspace/job at hudson.remoting.Channel@2c03b560:hostname 05:57:24 java.io.IOException: remote file operation failed: /root/workspace/job at hudson.remoting.Channel@2c03b560:hostname 05:57:24 at hudson.FilePath.act(FilePath.java:916) 05:57:24 at hudson.FilePath.act(FilePath.java:893) 05:57:24 at org.jfrog.hudson.generic.GenericArtifactsDeployer.deploy(GenericArtifactsDeployer.java:82) 05:57:24 at org.jfrog.hudson.generic.ArtifactoryGenericConfigurator$1.tearDown(ArtifactoryGenericConfigurator.java:276) 05:57:24 at hudson.model.Build$BuildExecution.doRun(Build.java:170) 05:57:24 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529) 05:57:24 at hudson.model.Run.execute(Run.java:1706) 05:57:24 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) 05:57:24 at hudson.model.ResourceController.execute(ResourceController.java:88) 05:57:24 at hudson.model.Executor.run(Executor.java:232) 05:57:24 Caused by: java.io.IOException: Failed to deploy file: HTTP response code: 404. HTTP response message: Not Found 05:57:24 at org.jfrog.build.client.ArtifactoryBuildInfoClient.throwHttpIOException(ArtifactoryBuildInfoClient.java:652) 05:57:24 at org.jfrog.build.client.ArtifactoryBuildInfoClient.uploadFile(ArtifactoryBuildInfoClient.java:527) 05:57:24 at org.jfrog.build.client.ArtifactoryBuildInfoClient.deployArtifact(ArtifactoryBuildInfoClient.java:302) 05:57:24 at org.jfrog.hudson.generic.GenericArtifactsDeployer$FilesDeployerCallable.deploy(GenericArtifactsDeployer.java:182) 05:57:24 at org.jfrog.hudson.generic.GenericArtifactsDeployer$FilesDeployerCallable.invoke(GenericArtifactsDeployer.java:154) 05:57:24 at org.jfrog.hudson.generic.GenericArtifactsDeployer$FilesDeployerCallable.invoke(GenericArtifactsDeployer.java:122) 05:57:24 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2474) 05:57:24 at hudson.remoting.UserRequest.perform(UserRequest.java:118) 05:57:24 at hudson.remoting.UserRequest.perform(UserRequest.java:48) 05:57:24 at hudson.remoting.Request$2.run(Request.java:328) 05:57:24 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) 05:57:24 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) 05:57:24 at java.util.concurrent.FutureTask.run(FutureTask.java:166) 05:57:24 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) 05:57:24 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 05:57:24 at java.lang.Thread.run(Thread.java:701) Versus the proper order returns a successful deploy and successful job: 05:40:14 Deploying artifact: http://artifactory:8081/artifactory/repository/artifact.rpm 05:40:38 Deploying artifact: http://artifactory:8081/artifactory/repository/artifact.rpm.md5 05:40:38 Deploying build info to: http://artifactory:8081/artifactory/api/build 05:40:39 Finished: SUCCESS Same Jenkins, Artifactory, Build Host, Code Base, and git checksum in both instances. The only difference was artifact deployment order. Either force checksum files to be uploaded last, or allow the user to specify priority order of artifact deployment.
    via by Daniel Dewey,
  • Hi I'm neophyte in Artifactory and I'm trying publish a file from a Jenkins job into an Artifactory repo, I receive the error message below and I don't know which could be the issue, I've checked that the server address is ok an accessible and the user has enough permissions to publish, any clue? Thanks a lot. For pattern: /var/lib/jenkins/workspace/Rallydevtest/rally-test.sh 1 artifacts were found Deploying artifact: http://artifactory.edegem.eu.thmulti.com/buildmgm-queue-local/rally-test.sh ERROR: Failed to deploy file: HTTP response code: 302. HTTP response message: Found java.io.IOException: Failed to deploy file: HTTP response code: 302. HTTP response message: Found at org.jfrog.build.client.ArtifactoryBuildInfoClient.throwHttpIOException(ArtifactoryBuildInfoClient.java:642) at org.jfrog.build.client.ArtifactoryBuildInfoClient.uploadFile(ArtifactoryBuildInfoClient.java:517) at org.jfrog.build.client.ArtifactoryBuildInfoClient.deployArtifact(ArtifactoryBuildInfoClient.java:292) at org.jfrog.hudson.generic.GenericArtifactsDeployer$FilesDeployerCallable.deploy(GenericArtifactsDeployer.java:182) at org.jfrog.hudson.generic.GenericArtifactsDeployer$FilesDeployerCallable.invoke(GenericArtifactsDeployer.java:154) at org.jfrog.hudson.generic.GenericArtifactsDeployer$FilesDeployerCallable.invoke(GenericArtifactsDeployer.java:122) at hudson.FilePath.act(FilePath.java:904) at hudson.FilePath.act(FilePath.java:877) at org.jfrog.hudson.generic.GenericArtifactsDeployer.deploy(GenericArtifactsDeployer.java:82) at org.jfrog.hudson.generic.ArtifactoryGenericConfigurator$1.tearDown(ArtifactoryGenericConfigurator.java:287) at hudson.model.Build$BuildExecution.doRun(Build.java:171) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:584) at hudson.model.Run.execute(Run.java:1575) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:237) [PostBuildScript] - Execution post build scripts. [PostBuildScript] Build is not success : do not execute script
    via by Alfonso Ruiz Falcon,
  • Hi I'm neophyte in Artifactory and I'm trying publish a file from a Jenkins job into an Artifactory repo, I receive the error message below and I don't know which could be the issue, I've checked that the server address is ok an accessible and the user has enough permissions to publish, any clue? Thanks a lot. For pattern: /var/lib/jenkins/workspace/Rallydevtest/rally-test.sh 1 artifacts were found Deploying artifact: http://artifactory.edegem.eu.thmulti.com/buildmgm-queue-local/rally-test.sh ERROR: Failed to deploy file: HTTP response code: 302. HTTP response message: Found java.io.IOException: Failed to deploy file: HTTP response code: 302. HTTP response message: Found at org.jfrog.build.client.ArtifactoryBuildInfoClient.throwHttpIOException(ArtifactoryBuildInfoClient.java:642) at org.jfrog.build.client.ArtifactoryBuildInfoClient.uploadFile(ArtifactoryBuildInfoClient.java:517) at org.jfrog.build.client.ArtifactoryBuildInfoClient.deployArtifact(ArtifactoryBuildInfoClient.java:292) at org.jfrog.hudson.generic.GenericArtifactsDeployer$FilesDeployerCallable.deploy(GenericArtifactsDeployer.java:182) at org.jfrog.hudson.generic.GenericArtifactsDeployer$FilesDeployerCallable.invoke(GenericArtifactsDeployer.java:154) at org.jfrog.hudson.generic.GenericArtifactsDeployer$FilesDeployerCallable.invoke(GenericArtifactsDeployer.java:122) at hudson.FilePath.act(FilePath.java:904) at hudson.FilePath.act(FilePath.java:877) at org.jfrog.hudson.generic.GenericArtifactsDeployer.deploy(GenericArtifactsDeployer.java:82) at org.jfrog.hudson.generic.ArtifactoryGenericConfigurator$1.tearDown(ArtifactoryGenericConfigurator.java:287) at hudson.model.Build$BuildExecution.doRun(Build.java:171) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:584) at hudson.model.Run.execute(Run.java:1575) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:237) [PostBuildScript] - Execution post build scripts. [PostBuildScript] Build is not success : do not execute script
    via by Alfonso Ruiz Falcon,
  • artifactory publish failure. 401 Deploying artifact: http://1234.com/artifactory/dma-libs-release-local/com/pason/java-dma-messaging/1.0.1-160418.152457/java-dma-messaging-1.0.1-160418.152457.pom :artifactoryPublish FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':artifactoryPublish'. > java.io.IOException: Failed to deploy file: HTTP response code: 401. HTTP response message: Unauthorized * Try: Run with --info or --debug option to get more log output. * Exception is: org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':artifactoryPublish'. at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:69) at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46) at org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35) at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:64) at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58) at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:42) at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52) at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53) at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43) at org.gradle.api.internal.AbstractTask.executeWithoutThrowingTaskFailure(AbstractTask.java:306) at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.executeTask(AbstractTaskPlanExecutor.java:79) at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:63) at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:51) at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(DefaultTaskPlanExecutor.java:23) at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:88) at org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:29) at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:62) at org.gradle.execution.DefaultBuildExecuter.access$200(DefaultBuildExecuter.java:23) at org.gradle.execution.DefaultBuildExecuter$2.proceed(DefaultBuildExecuter.java:68) at org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32) at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:62) at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:55) at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:149) at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:106) at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:86) at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:80) at org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:33) at org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:24) at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:36) at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:26) at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:51) at org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:169) at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:237) at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:210) at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:35) at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:24) at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:206) at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:169) at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33) at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22) at org.gradle.launcher.Main.doAction(Main.java:33) at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45) at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:54) at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:35) at org.gradle.launcher.GradleMain.main(GradleMain.java:23) at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:30) at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:127) at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61) Caused by: org.gradle.internal.UncheckedException: java.io.IOException: Failed to deploy file: HTTP response code: 401. HTTP response message: Unauthorized at org.gradle.internal.UncheckedException.throwAsUncheckedException(UncheckedException.java:39) at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:66) at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.doExecute(AnnotationProcessingTaskFactory.java:218) at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:211) at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:200) at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:585) at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:568) at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80) at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61) ... 47 more Caused by: java.io.IOException: Failed to deploy file: HTTP response code: 401. HTTP response message: Unauthorized at org.jfrog.build.client.ArtifactoryBuildInfoClient.throwHttpIOException(ArtifactoryBuildInfoClient.java:647) at org.jfrog.build.client.ArtifactoryBuildInfoClient.uploadFile(ArtifactoryBuildInfoClient.java:529) at org.jfrog.build.client.ArtifactoryBuildInfoClient.deployArtifact(ArtifactoryBuildInfoClient.java:299) at org.jfrog.gradle.plugin.artifactory.task.BuildInfoBaseTask.deployArtifacts(BuildInfoBaseTask.java:411) at org.jfrog.gradle.plugin.artifactory.task.BuildInfoBaseTask.prepareAndDeploy(BuildInfoBaseTask.java:287) at org.jfrog.gradle.plugin.artifactory.task.BuildInfoBaseTask.collectProjectBuildInfo(BuildInfoBaseTask.java:365) at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:63) ... 54 more
    via by Lanre,
  • artifactory publish failure. 401 Deploying artifact: http://1234.com/artifactory/dma-libs-release-local/com/pason/java-dma-messaging/1.0.1-160418.152457/java-dma-messaging-1.0.1-160418.152457.pom :artifactoryPublish FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':artifactoryPublish'. > java.io.IOException: Failed to deploy file: HTTP response code: 401. HTTP response message: Unauthorized * Try: Run with --info or --debug option to get more log output. * Exception is: org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':artifactoryPublish'. at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:69) at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46) at org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35) at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:64) at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58) at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:42) at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52) at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53) at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43) at org.gradle.api.internal.AbstractTask.executeWithoutThrowingTaskFailure(AbstractTask.java:306) at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.executeTask(AbstractTaskPlanExecutor.java:79) at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:63) at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:51) at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(DefaultTaskPlanExecutor.java:23) at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:88) at org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:29) at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:62) at org.gradle.execution.DefaultBuildExecuter.access$200(DefaultBuildExecuter.java:23) at org.gradle.execution.DefaultBuildExecuter$2.proceed(DefaultBuildExecuter.java:68) at org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32) at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:62) at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:55) at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:149) at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:106) at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:86) at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:80) at org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:33) at org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:24) at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:36) at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:26) at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:51) at org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:169) at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:237) at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:210) at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:35) at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:24) at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:206) at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:169) at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33) at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22) at org.gradle.launcher.Main.doAction(Main.java:33) at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45) at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:54) at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:35) at org.gradle.launcher.GradleMain.main(GradleMain.java:23) at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:30) at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:127) at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61) Caused by: org.gradle.internal.UncheckedException: java.io.IOException: Failed to deploy file: HTTP response code: 401. HTTP response message: Unauthorized at org.gradle.internal.UncheckedException.throwAsUncheckedException(UncheckedException.java:39) at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:66) at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.doExecute(AnnotationProcessingTaskFactory.java:218) at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:211) at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:200) at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:585) at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:568) at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80) at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61) ... 47 more Caused by: java.io.IOException: Failed to deploy file: HTTP response code: 401. HTTP response message: Unauthorized at org.jfrog.build.client.ArtifactoryBuildInfoClient.throwHttpIOException(ArtifactoryBuildInfoClient.java:647) at org.jfrog.build.client.ArtifactoryBuildInfoClient.uploadFile(ArtifactoryBuildInfoClient.java:529) at org.jfrog.build.client.ArtifactoryBuildInfoClient.deployArtifact(ArtifactoryBuildInfoClient.java:299) at org.jfrog.gradle.plugin.artifactory.task.BuildInfoBaseTask.deployArtifacts(BuildInfoBaseTask.java:411) at org.jfrog.gradle.plugin.artifactory.task.BuildInfoBaseTask.prepareAndDeploy(BuildInfoBaseTask.java:287) at org.jfrog.gradle.plugin.artifactory.task.BuildInfoBaseTask.collectProjectBuildInfo(BuildInfoBaseTask.java:365) at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:63) ... 54 more
    via by Lanre,
  • When performing a m2release it performs everything correctly, and then the artifactory plugin tries to deploy the next snapshot artifacts, and I get the stack trace that follows. As you can see the m2release completes successful. It correctly deploys the next snapshots jar, and fails on the pom. I traced it to the ArtifactDeployer and ensured that the source pom file exists on the hudson server running the release. The wording of the IO error is a little odd. Makes me think that the IO error is wrapped. I verified this by breaking on IOExceptions and it threw quite a few. That is when I gave up and decided to file a ticket. [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: 31 seconds [INFO] Finished at: Thu Jul 01 11:06:20 EDT 2010 [INFO] Final Memory: 17M/41M [INFO] ------------------------------------------------------------------------ channel stopped Deploying artifacts to https://repository.its.yale.edu/maven2 Deploying artifacts of module: edu.yale.its:yale-junit Deploying artifact: https://repository.its.yale.edu/maven2/lib-snapshots-public/edu/yale/its/yale-junit/1.0.14-SNAPSHOT/yale-junit-1.0.14-SNAPSHOT.jar Deploying artifact: https://repository.its.yale.edu/maven2/lib-snapshots-public/edu/yale/its/yale-junit/1.0.14-SNAPSHOT/yale-junit-1.0.14-SNAPSHOT.pom ERROR: Failed to deploy file: Not Found java.io.IOException: Failed to deploy file: Not Found at org.jfrog.build.client.ArtifactoryBuildInfoClient.uploadFile(ArtifactoryBuildInfoClient.java:310) at org.jfrog.build.client.ArtifactoryBuildInfoClient.deployArtifact(ArtifactoryBuildInfoClient.java:234) at org.jfrog.hudson.ArtifactsDeployer.deployArtifact(ArtifactsDeployer.java:99) at org.jfrog.hudson.ArtifactsDeployer.deploy(ArtifactsDeployer.java:64) at org.jfrog.hudson.ArtifactoryRedeployPublisher.perform(ArtifactoryRedeployPublisher.java:108) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:601) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:580) at hudson.maven.MavenModuleSetBuild$RunnerImpl.post2(MavenModuleSetBuild.java:598) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528) at hudson.model.Run.run(Run.java:1280) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:306) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:127) Finished: FAILURE
    via by jvalerio,
    • java.io.IOException: remote file operation failed: /home/ubuntu/sandbox/aos-ne-master-multi/BUILD_TYPE/Debug/TARGET_ARCH/x86-32bit/label/slave-ede at hudson.remoting.Channel@6a3b7800:slave ne (i-28f945ce): java.io.IOException: Failed to deploy file: HTTP response code: 500. HTTP response message: Internal Server Error at hudson.FilePath.act(FilePath.java:977) at hudson.FilePath.act(FilePath.java:959) at org.jfrog.hudson.generic.GenericArtifactsDeployer.deploy(GenericArtifactsDeployer.java:77) at org.jfrog.hudson.generic.ArtifactoryGenericConfigurator$2.tearDown(ArtifactoryGenericConfigurator.java:301) at hudson.model.Build$BuildExecution.doRun(Build.java:171) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:533) at hudson.model.Run.execute(Run.java:1759) at hudson.matrix.MatrixRun.run(MatrixRun.java:146) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240) Caused by: java.io.IOException: Failed to deploy file: HTTP response code: 500. HTTP response message: Internal Server Error at org.jfrog.build.client.ArtifactoryBuildInfoClient.throwHttpIOException(ArtifactoryBuildInfoClient.java:647) at org.jfrog.build.client.ArtifactoryBuildInfoClient.uploadFile(ArtifactoryBuildInfoClient.java:529) at org.jfrog.build.client.ArtifactoryBuildInfoClient.deployArtifact(ArtifactoryBuildInfoClient.java:299) at org.jfrog.hudson.generic.GenericArtifactsDeployer$FilesDeployerCallable.deploy(GenericArtifactsDeployer.java:178) at org.jfrog.hudson.generic.GenericArtifactsDeployer$FilesDeployerCallable.invoke(GenericArtifactsDeployer.java:150) at org.jfrog.hudson.generic.GenericArtifactsDeployer$FilesDeployerCallable.invoke(GenericArtifactsDeployer.java:118) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2677) at hudson.remoting.UserRequest.perform(UserRequest.java:121) at hudson.remoting.UserRequest.perform(UserRequest.java:49) at hudson.remoting.Request$2.run(Request.java:324) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:701)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,