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

stash and archive artifacts issues after upgrade to 2.332.1

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • None
    • Jenkins Version 2.332.1, HELM Chart 3.11.6

      I am using argo CD to run Jenkins master in AWS running on EKS.

      Last night I updated the helm chart to upgrade Jenkins from 2.319.3 > 2.332.1. My values.yaml file specifies many plugin versions listed below. During the boot process it asked me to update a few plugin versions so I did. Now Jenkins boots up and I can login, how ever I am seeing an issue with using "stash" in a groovy pipeline. If I remove "stash" from the pipeline my test job is successful. 

      This seems to be related to Artifact manager for S3 / Amazon S3 Bucket Access Settings. If I navigate to the Access Settings page and click "validate S3 Bucket Configuration" I get the below error.  I believe the configured credentials are good. Its using the permissions assigned to the E2 instance via the "IAM instance Profile/user AWS configuration" option in the drop down.

      I would greatly appreciate any help you can give.

       

      NoSuchMethodError: 'java.lang.ClassLoader com.google.inject.internal.BytecodeGen.getClassLoader(java.lang.Class)'

      java.lang.NoSuchMethodError: 'java.lang.ClassLoader com.google.inject.internal.BytecodeGen.getClassLoader(java.lang.Class)'
      at com.google.inject.assistedinject.FactoryProvider2.<init>(FactoryProvider2.java:322)
      at com.google.inject.assistedinject.FactoryModuleBuilder$1.configure(FactoryModuleBuilder.java:334)
      at com.google.inject.AbstractModule.configure(AbstractModule.java:64)
      at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:409)
      at com.google.inject.AbstractModule.install(AbstractModule.java:106)
      at org.jclouds.rest.config.RestModule.configure(RestModule.java:59)
      at org.jclouds.rest.config.HttpApiModule.configure(HttpApiModule.java:53)
      at org.jclouds.s3.config.S3HttpApiModule.configure(S3HttpApiModule.java:169)
      at org.jclouds.aws.s3.config.AWSS3HttpApiModule.configure(AWSS3HttpApiModule.java:56)
      at com.google.inject.AbstractModule.configure(AbstractModule.java:64)
      at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:409)
      at com.google.inject.spi.Elements.getElements(Elements.java:108)
      at com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:160)
      at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:107)
      at com.google.inject.Guice.createInjector(Guice.java:87)
      at org.jclouds.ContextBuilder.buildInjector(ContextBuilder.java:405)
      at org.jclouds.ContextBuilder.buildInjector(ContextBuilder.java:328)
      at org.jclouds.ContextBuilder.buildView(ContextBuilder.java:615)
      at org.jclouds.ContextBuilder.buildView(ContextBuilder.java:595)
      at io.jenkins.plugins.artifact_manager_jclouds.s3.S3BlobStore.getContext(S3BlobStore.java:136)
      at io.jenkins.plugins.artifact_manager_jclouds.JCloudsVirtualFile.getContext(JCloudsVirtualFile.java:105)
      at io.jenkins.plugins.artifact_manager_jclouds.JCloudsVirtualFile.listStorageMetadata(JCloudsVirtualFile.java:199)
      at io.jenkins.plugins.artifact_manager_jclouds.JCloudsVirtualFile.list(JCloudsVirtualFile.java:218)
      at io.jenkins.plugins.artifact_manager_jclouds.s3.S3BlobStoreConfig.doValidateS3BucketConfig(S3BlobStoreConfig.java:387)
      at java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:710)
      at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:398)
      at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:410)
      at org.kohsuke.stapler.interceptor.RequirePOST$Processor.invoke(RequirePOST.java:78)
      at org.kohsuke.stapler.PreInvokeInterceptedFunction.invoke(PreInvokeInterceptedFunction.java:26)
      at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:208)
      at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:141)
      at org.kohsuke.stapler.MetaClass$11.doDispatch(MetaClass.java:558)
      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:59)
      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:766)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:898)
      at org.kohsuke.stapler.MetaClass$4.doDispatch(MetaClass.java:289)
      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:59)
      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:766)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:898)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:694)
      at org.kohsuke.stapler.Stapler.service(Stapler.java:240)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
      at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799)
      at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1626)
      at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:157)
      at jenkins.telemetry.impl.UserLanguages$AcceptLanguageFilter.doFilter(UserLanguages.java:129)
      at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154)
      at jenkins.security.ResourceDomainFilter.doFilter(ResourceDomainFilter.java:81)
      at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154)
      at org.jenkinsci.plugins.ssegateway.Endpoint$SSEListenChannelFilter.doFilter(Endpoint.java:248)
      at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154)
      at io.jenkins.blueocean.ResourceCacheControl.doFilter(ResourceCacheControl.java:134)
      at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154)
      at io.jenkins.blueocean.auth.jwt.impl.JwtAuthenticationFilter.doFilter(JwtAuthenticationFilter.java:60)
      at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154)
      at jenkins.metrics.impl.MetricsFilter.doFilter(MetricsFilter.java:125)
      at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154)
      at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:160)
      at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
      at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
      at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:154)
      at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
      at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:94)
      at jenkins.security.AcegiSecurityExceptionFilter.doFilter(AcegiSecurityExceptionFilter.java:52)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)
      at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:54)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)
      at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122)
      at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)
      at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)
      at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:102)
      at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:93)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)
      at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:219)
      at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:213)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)
      at jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:97)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)
      at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:110)
      at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:80)
      at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:63)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)
      at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:111)
      at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:172)
      at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
      at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
      at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:53)
      at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
      at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
      at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:86)
      at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
      at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
      at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)
      at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
      at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
      at jenkins.security.SuspiciousRequestFilter.doFilter(SuspiciousRequestFilter.java:38)
      at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
      at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
      at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:548)
      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
      at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:578)
      at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
      at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)
      at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624)
      at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
      at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1434)
      at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
      at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501)
      at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)
      at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
      at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1349)
      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
      at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
      at org.eclipse.jetty.server.Server.handle(Server.java:516)
      at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:388)
      at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:633)
      at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:380)
      at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)
      at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
      at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
      at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
      at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338)
      at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315)
      at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173)
      at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)
      at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:386)
      at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)
      at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)
      at java.base/java.lang.Thread.run(Thread.java:829)

       

       

      List of plugins in my values.yaml file

       

      • blueocean:1.25.5
      • configuration-as-code:1346.ve8cfa_3473c94
      • git:4.11.4
      • kubernetes:3600.v144b_cd192ca_a_
      • saml:2.1.1-275.va_5718591a_999
      • ace-editor:1.1
      • analysis-model-api:10.9.2
      • ansicolor:1.0.1
      • ant:481.v7b_09e538fcca
      • antisamy-markup-formatter:2.7
      • apache-httpcomponents-client-4-api:4.5.13-138.v4e7d9a_7b_a_e61
      • artifactory:3.15.4
      • artifact-manager-s3:1.16.1
      • artifact-repository-parameter:1.0.1
      • authentication-tokens:1.4
      • authorize-project:1.4.0
      • aws-credentials:191.vcb_f183ce58b_9
      • aws-global-configuration:1.7
      • aws-java-sdk:1.12.148-310.v5e3b_c2681d79
      • aws-java-sdk-cloudformation:1.12.148-310.v5e3b_c2681d79
      • aws-java-sdk-codebuild:1.12.148-310.v5e3b_c2681d79
      • aws-java-sdk-ec2:1.12.148-310.v5e3b_c2681d79
      • aws-java-sdk-ecr:1.12.148-310.v5e3b_c2681d79
      • aws-java-sdk-ecs:1.12.148-310.v5e3b_c2681d79
      • aws-java-sdk-elasticbeanstalk:1.12.148-310.v5e3b_c2681d79
      • aws-java-sdk-iam:1.12.148-310.v5e3b_c2681d79
      • aws-java-sdk-logs:1.12.148-310.v5e3b_c2681d79
      • aws-java-sdk-minimal:1.12.148-310.v5e3b_c2681d79
      • aws-java-sdk-ssm:1.12.148-310.v5e3b_c2681d79
      • bitbucket:214.v2fd4234d0554
      • bitbucket-approval-filter:1.0.3
      • bitbucket-build-status-notifier:1.4.2
      • bitbucket-filter-project-trait:1.0
      • bitbucket-scm-filter-jira-validator:0.1.0
      • blueocean-autofavorite:1.2.5
      • bootstrap5-api:5.1.3-6
      • branch-api:2.7.0
      • build-monitor-plugin:1.13+build.202202151850
      • build-timeout:1.20
      • caffeine-api:2.9.2-29.v717aac953ff3
      • checks-api:1.7.4
      • cloudbees-bitbucket-branch-source:784.v7fcdc7c670f6
      • cloudbees-disk-usage-simple:0.10
      • cloudbees-folder:6.714.v79e858ef76a_2
      • command-launcher:1.6
      • config-file-provider:3.10.0
      • copyartifact:1.46.2
      • credentials:1074.v60e6c29b_b_44b_
      • credentials-binding:1.27.1
      • data-tables-api:1.11.4-1
      • display-url-api:2.3.5
      • docker-commons:1.19
      • docker-workflow:1.28
      • dtkit-api:3.0.0
      • durable-task:493.v195aefbb0ff2
      • ec2:1.66
      • echarts-api:5.3.2-1
      • email-ext:2.87
      • extra-columns:1.25
      • favorite:2.4.1
      • font-awesome-api:6.0.0-1
      • forensics-api:1.8.1
      • git-client:3.11.1
      • git-server:1.10
      • github:1.34.2
      • github-api:1.301-378.v9807bd746da5
      • github-branch-source:2.11.4
      • gradle:1.38
      • handlebars:3.0.8
      • handy-uri-templates-2-api:2.1.8-22.v77d5b_75e6953
      • htmlpublisher:1.29
      • http_request:1.16
      • jackson2-api:2.13.3-285.vc03c0256d517
      • javadoc:217.v905b_86277a_2a_
      • jaxb:2.3.6-1
      • jdk-tool:1.5
      • jira:3.7.1
      • jira-steps:1.6.0
      • job-dsl:1.78.3
      • jquery-detached:1.2.1
      • jsch:0.1.55.2
      • junit:1.54.3
      • kubernetes-client-api:5.12.1-187.v577c3e368fb_6
      • kubernetes-credentials:0.9.0
      • lockable-resources:2.14
      • mailer:408.vd726a_1130320
      • mapdb-api:1.0.9.0
      • matrix-auth:2.6.11
      • matrix-project:1.20
      • maven-plugin:3.16
      • mercurial:2.16.2
      • metrics:4.1.6.1
      • momentjs:1.1.1
      • multiple-scms:0.8
      • node-iterator-api:1.5.1
      • okhttp-api:4.9.3-105.vb96869f8ac3a
      • parameterized-scheduler:1.1
      • performance:3.20
      • pipeline-aws:1.43
      • pipeline-build-step:2.16
      • pipeline-github-lib:36.v4c01db_ca_ed16
      • pipeline-graph-analysis:188.v3a01e7973f2c
      • pipeline-input-step:446.vf27b_0b_83500e
      • pipeline-milestone-step:100.v60a_03cd446e1
      • pipeline-model-api:1.9.3
      • pipeline-model-definition:1.9.3
      • pipeline-model-extensions:1.9.3
      • pipeline-rest-api:2.21
      • pipeline-stage-step:291.vf0a8a7aeeb50
      • pipeline-stage-tags-metadata:1.9.3
      • pipeline-stage-view:2.21
      • pipeline-utility-steps:2.12.0
      • plain-credentials:1.8
      • plugin-util-api:2.16.0
      • popper-api:1.16.1-2
      • popper2-api:2.11.2-1
      • prism-api:1.26.0-2
      • prometheus:2.0.10
      • pubsub-light:1.16
      • resource-disposer:0.17
      • scm-api:608.vfa_f971c5a_a_e9
      • script-security:1138.v8e727069a_025
      • skip-notifications-trait:1.0.5
      • slack:602.v0da_f7458945d
      • snakeyaml-api:1.29.1
      • sonar:2.14
      • sse-gateway:1.25
      • ssh-credentials:277.v95c2fec1c047
      • ssh-slaves:1.33.0
      • sshd:3.1.0
      • strict-crumb-issuer:2.1.0
      • structs:318.va_f3ccb_729b_71
      • timestamper:1.17
      • token-macro:293.v283932a_0a_b_49
      • trilead-api:1.0.13
      • uno-choice:2.6.1
      • variant:1.4
      • view-job-filters:2.3
      • warnings-ng:9.11.1
      • workflow-aggregator:2.6
      • workflow-api:1153.vb_912c0e47fb_a_
      • workflow-basic-steps:2.24
      • workflow-cps:2659.v52d3de6044d0
      • workflow-cps-global-lib:564.ve62a_4eb_b_e039
      • workflow-durable-task-step:1121.va_65b_d2701486
      • workflow-job:1145.v7f2433caa07f
      • workflow-multibranch:711.vdfef37cda_816
      • workflow-scm-step:2.13
      • workflow-step-api:625.vd896b_f445a_f8
      • workflow-support:813.vb_d7c3d2984a_0
      • ws-cleanup:0.40
      • xunit:3.0.5

       

            Unassigned Unassigned
            ddog_fj40 Derek
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: