Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-20962

Deploy to artifactory from Jenkins errors

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: 2 - Critical
    • Resolution: Not a Bug
    • Affects Version/s: 6.16.0
    • Fix Version/s: None
    • Component/s: Artifact Storage
    • Environment:

      Artifactory 6.16.0

      Jenkins 2.151

      Artifactory plugin 3.4.1

      Java 8

    • Severity:
      Critical

      Description

      docker push to Artifactory fails after some layers were deployed and some partially deployed.

      Since the operation is done from Jenkins (docker command. not plugin) the job fails.

      In addition there are many error in Artifactory log upon deployments from Jenkins.

       

      Previously we opened a ticket RTFACT-20707 with similar issue. We since upgraded from version 6.6.5 to version 6.16.0.

       

      Log sample from Artifactory:

       

      2019-12-30 09:26:15,148 [http-nio-8081-exec-7] [INFO ] (o.a.e.UploadServiceImpl:399) - Deploy to '..............' Content-Length: 0
      2019-12-30 09:26:18,092 [http-nio-8081-exec-14] [INFO ] (o.a.e.UploadServiceImpl:399) - Deploy to '..............' Content-Length: 167170932
      2019-12-30 09:26:22,322 [http-nio-8081-exec-24] [INFO ] (o.a.e.UploadServiceImpl:399) - Deploy to '..............' Content-Length: 42
      2019-12-30 09:26:22,414 [http-nio-8081-exec-9] [INFO ] (o.a.e.UploadServiceImpl:399) - Deploy to '..............' Content-Length: 0
      2019-12-30 09:26:23,782 [http-nio-8081-exec-13] [INFO ] (o.a.e.UploadServiceImpl:399) - Deploy to '..............' Content-Length: 75139874

      2019-12-30 09:26:25,902 [http-nio-8081-exec-14] [INFO ] (o.a.e.UploadServiceImpl:399) - Deploy to '..............' Content-Length: 2580
      2019-12-30 09:26:39,966 [http-nio-8081-exec-7] [INFO ] (o.a.e.UploadServiceImpl:399) - Deploy to '..............' Content-Length: 0
      2019-12-30 09:26:41,149 [http-nio-8081-exec-2] [WARN ] (o.a.s.ArtifactoryConcurrentExecutor:71) - Task org.artifactory.concurrent.ArtifactoryRunnable@244c0bda was rejected by scheduler: Task org.artifactory.concurrent.ArtifactoryRunnable@244c0bda rejected from java.util.concurrent.ThreadPoolExecutor@63aa313e[Running, pool size = 16, active threads = 16, queued tasks = 10000, completed tasks = 133684]
      2019-12-30 09:26:41,149 [http-nio-8081-exec-2] [ERROR] (o.a.s.a.AsyncAdvice :299) - Task ReflectiveMethodInvocation: public abstract java.util.concurrent.Future org.artifactory.api.version.VersionInfoService.getRemoteVersioningAsync(java.util.Map); target is of class [org.artifactory.version.VersionInfoServiceImpl] rejected by scheduler: Executor [org.artifactory.schedule.ArtifactoryConcurrentExecutor@3fd2e
      4d2] did not accept task: org.artifactory.schedule.aop.AsyncAdvice$$Lambda$1492/140080125@71ff600c
      2019-12-30 09:26:41,820 [http-nio-8081-exec-24] [WARN ] (o.a.s.ArtifactoryConcurrentExecutor:71) - Task org.artifactory.concurrent.ArtifactoryRunnable@3d4ffcf7 was rejected by scheduler: Task org.artifactory.concurrent.ArtifactoryRunnable@3d4ffcf7 rejected from java.util.concurrent.ThreadPoolExecutor@63aa313e[Running, pool size = 16, active threads = 16, queued tasks = 10000, completed tasks = 133684]
      2019-12-30 09:26:41,821 [http-nio-8081-exec-24] [ERROR] (o.a.r.c.e.m.GlobalExceptionMapper:48) - Executor [org.artifactory.schedule.ArtifactoryConcurrentExecutor@3fd2e4d2] did not accept task: org.jfrog.common.CachedValue$$Lambda$1937/1867596796@2a38bb67
      org.springframework.core.task.TaskRejectedException: Executor [org.artifactory.schedule.ArtifactoryConcurrentExecutor@3fd2e4d2] did not accept task: org.jfrog.common.CachedValue$$Lambda$1937/1867596796@2a38bb67
      at org.springframework.core.task.support.TaskExecutorAdapter.submit(TaskExecutorAdapter.java:113)
      at org.springframework.scheduling.concurrent.ConcurrentTaskExecutor.submit(ConcurrentTaskExecutor.java:151)
      at org.jfrog.common.CachedValue.assignValueAndReleaseSemaphore(CachedValue.java:131)
      at org.jfrog.common.CachedValue.loadOrWait(CachedValue.java:95)
      at org.jfrog.common.CachedValue.get(CachedValue.java:62)
      at org.jfrog.common.CachedValue.get(CachedValue.java:51)
      at org.artifactory.ui.rest.service.home.widget.LatestBuildsWidgetService.execute(LatestBuildsWidgetService.java:73)
      at org.artifactory.rest.common.service.ServiceExecutor.process(ServiceExecutor.java:38)
      at org.artifactory.rest.common.resource.BaseResource.runService(BaseResource.java:127)
      at org.artifactory.ui.rest.resource.home.HomeResource.latestBuildsWidget(HomeResource.java:75)
      at sun.reflect.GeneratedMethodAccessor945.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:76)
      at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:148)
      at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:191)
      at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:200)
      at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:103)
      at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:493)
      at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:415)
      at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:104)
      at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:277)
      at org.glassfish.jersey.internal.Errors$1.call(Errors.java:272)
      at org.glassfish.jersey.internal.Errors$1.call(Errors.java:268)
      at org.glassfish.jersey.internal.Errors.process(Errors.java:316)
      at org.glassfish.jersey.internal.Errors.process(Errors.java:298)
      at org.glassfish.jersey.internal.Errors.process(Errors.java:268)
      at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:289)
      at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:256)
      at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:703)
      at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:416)
      at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:370)
      at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:389)
      at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:342)
      at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:229)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      at org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:191)
      at org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:97)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193))
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      at org.artifactory.webapp.servlet.AccessFilter.useAuthentication(AccessFilter.java:427)
      at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:214)
      at org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:167)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      at org.artifactory.webapp.servlet.RequestFilter.doFilter(RequestFilter.java:77)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      at org.artifactory.webapp.servlet.ArtifactoryCsrfFilter.doFilter(ArtifactoryCsrfFilter.java:75)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      at org.springframework.session.web.http.SessionRepositoryFilter.doFilterInternal(SessionRepositoryFilter.java:164)
      at org.springframework.session.web.http.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:80)
      at org.artifactory.webapp.servlet.SessionFilter.doFilter(SessionFilter.java:62)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:124)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493)
      at org.apache.catalina.valves.rewrite.RewriteValve.invoke(RewriteValve.java:304)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
      at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:798)
      at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
      at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:808)
      at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498)
      at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      at java.lang.Thread.run(Thread.java:748)
      Caused by: java.util.concurrent.RejectedExecutionException: Task org.artifactory.concurrent.ArtifactoryRunnable@3d4ffcf7 rejected from java.util.concurrent.ThreadPoolExecutor@63aa313e[Running, pool size = 16, active threads = 16, queued tasks = 10000, completed tasks = 133684]
      at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2063)
      at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:830)
      at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1379)
      at org.artifactory.schedule.ArtifactoryConcurrentExecutor.execute(ArtifactoryConcurrentExecutor.java:69)
      at org.springframework.core.task.support.TaskExecutorAdapter.doExecute(TaskExecutorAdapter.java:175)
      at org.springframework.core.task.support.TaskExecutorAdapter.submit(TaskExecutorAdapter.java:108)
      ... 76 common frames omitted

       

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            yuvaly Yuval Yosha
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Sync Status

                Connection: RTFACT Sync
                RTMID-20962 -
                SYNCHRONIZED
                • Last Sync Date: