Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-66424

Upload to Artifactory is broken

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: artifactory-plugin
    • Labels:
      None
    • Environment:
      Jenkins 2.289.1
      Openjdk version "1.8.0_275"
      PRETTY_NAME="Debian GNU/Linux 10 (buster)"
      NAME="Debian GNU/Linux"
      Artifactory Plugin 3.11.4
      Jfrog Commercial license 7.15.3
    • Similar Issues:

      Description

      Pipeline declarative

      Upgrading to Artifactory plugin version 3.11.4 makes upload to Artifactory faulty:

      [Pipeline] End of Pipeline
      java.lang.Exception: Error occurred during operation, please refer to logs for more information.
      	at org.jfrog.build.extractor.producerConsumer.ProducerConsumerExecutor.start(ProducerConsumerExecutor.java:85)
      	at org.jfrog.build.extractor.clientConfiguration.util.spec.SpecsHelper.uploadArtifactsBySpec(SpecsHelper.java:110)
      	at org.jfrog.hudson.generic.GenericArtifactsDeployer$FilesDeployerCallable.invoke(GenericArtifactsDeployer.java:157)
      Also:   hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from *************************************:48656
      		at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1800)
      		at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:356)
      		at hudson.remoting.Channel.call(Channel.java:1001)
      		at hudson.FilePath.act(FilePath.java:1159)
      		at hudson.FilePath.act(FilePath.java:1148)
      		at org.jfrog.hudson.pipeline.common.executors.GenericUploadExecutor.execute(GenericUploadExecutor.java:56)
      		at org.jfrog.hudson.pipeline.scripted.steps.UploadStep$Execution.runStep(UploadStep.java:66)
      		at org.jfrog.hudson.pipeline.scripted.steps.UploadStep$Execution.runStep(UploadStep.java:53)
      		at org.jfrog.hudson.pipeline.ArtifactorySynchronousNonBlockingStepExecution.run(ArtifactorySynchronousNonBlockingStepExecution.java:54)
      		at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
      		at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      		at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      		at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      		at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      Caused: java.lang.RuntimeException: Failed uploading artifacts by spec
      	at org.jfrog.hudson.generic.GenericArtifactsDeployer$FilesDeployerCallable.invoke(GenericArtifactsDeployer.java:159)
      	at org.jfrog.hudson.generic.GenericArtifactsDeployer$FilesDeployerCallable.invoke(GenericArtifactsDeployer.java:108)
      	at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3317)
      	at hudson.remoting.UserRequest.perform(UserRequest.java:211)
      	at hudson.remoting.UserRequest.perform(UserRequest.java:54)
      	at hudson.remoting.Request$2.run(Request.java:376)
      	at hudson.remoting.InterceptingExecutorService.lambda$wrap$0(InterceptingExecutorService.java:78)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      	at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:119)
      	at java.lang.Thread.run(Thread.java:748)
      Finished: FAILURE
      

      Downgrading to our previous Artifactory plugin version 3.10.5 fixes the problem.

       

        Attachments

          Activity

          Hide
          olblak Olivier Vernin added a comment -

          Hi kgiloo , thanks for reporting this. Are you trying to upload artifacts to repo.jenkins-ci.org? If yes, Jfrog who kindly maintain repo.jenkins-ci.org is currently doing a maintenance

          Show
          olblak Olivier Vernin added a comment - Hi kgiloo , thanks for reporting this. Are you trying to upload artifacts to repo.jenkins-ci.org? If yes, Jfrog who kindly maintain repo.jenkins-ci.org is currently doing a maintenance
          Hide
          kgiloo kgiloo added a comment -

          Hi Olivier Vernin , the target is our local (company-wise)  jfrog artifactory

          Show
          kgiloo kgiloo added a comment - Hi Olivier Vernin , the target is our local (company-wise)  jfrog artifactory
          Hide
          kgiloo kgiloo added a comment -

          Hi Olivier Vernin,

          Any news on that one, were you able at least to reproduce the issue?

           

          Show
          kgiloo kgiloo added a comment - Hi Olivier Vernin , Any news on that one, were you able at least to reproduce the issue?  
          Hide
          paulhendley paul hendley added a comment - - edited

          I ran into this exact same issue where i was able to perform artifactory downloads using the jenkins artifactory plugin but the jenkins artifactory plugin upload did NOTHING.  (CLI using curl let me do a curl upload - just the plugin would not let me).  It looked like the plugin was not even trying to do anything.  no feedback or anything.

          downgrading from jenkins-artifacotry plugin v13.x back down to 3.10.5 worked.  (note: 3.12.x and even 3.10.6 were  not working for me either).  (Thank you KGLIOO for the downgrade comment specifying 3.10.5 - that worked!)

           

          *UPDATE*

          I was able to do both push and pull from artifactory with my jenkins artifactory plugin if using a Jenkins Freestyle project.

          It currently looks like the Jenkins Multi Configuration project may still be a problem.  (looking into further but the important thing to note is that the type of project you are running may affect this too)

          Note on my versions:

          Windows 10

          Jenkins 2.289.3

          Artifactory:  we run with a commercial license for in-house artifactory server.

          Jenkins Plugins:  very recent upgrades to latest versions of most plugins this week.

          java:  1.8.0_261

          Show
          paulhendley paul hendley added a comment - - edited I ran into this exact same issue where i was able to perform artifactory downloads using the jenkins artifactory plugin but the jenkins artifactory plugin upload did NOTHING.  (CLI using curl let me do a curl upload - just the plugin would not let me).  It looked like the plugin was not even trying to do anything.  no feedback or anything. downgrading from jenkins-artifacotry plugin v13.x back down to 3.10.5 worked.  (note: 3.12.x and even 3.10.6 were  not working for me either).  (Thank you KGLIOO for the downgrade comment specifying 3.10.5 - that worked!)   * UPDATE * I was able to do both push and pull from artifactory with my jenkins artifactory plugin if using a Jenkins Freestyle project. It currently looks like the Jenkins Multi Configuration project may still be a problem.  (looking into further but the important thing to note is that the type of project you are running may affect this too) Note on my versions: Windows 10 Jenkins 2.289.3 Artifactory:  we run with a commercial license for in-house artifactory server. Jenkins Plugins:  very recent upgrades to latest versions of most plugins this week. java:  1.8.0_261

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            kgiloo kgiloo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: