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

AWS SDK Deprecation warning in artifact-manager-s3

XMLWordPrintable

      We have many stack traces in our Jenkins instances due to the SDK deprecation warnings:

      2024-09-13 21:06:26.451+0000 [id=27] WARNING c.a.util.VersionInfoUtils#printDeprecationAnnouncement: The AWS SDK for Java 1.x entered maintenance mode starting July 31, 2024 and will reach end of support on December 31, 2025. For more information, see https://aws.amazon.com/blogs/developer/the-aws-sdk-for-java-1-x-is-in-maintenance-mode-effective-july-31-2024/ You can print where on the file system the AWS SDK for Java 1.x core runtime is located by setting the AWS_JAVA_V1_PRINT_LOCATION environment variable or aws.java.v1.printLocation system property to 'true'. This message can be disabled by setting the AWS_JAVA_V1_DISABLE_DEPRECATION_ANNOUNCEMENT environment variable or aws.java.v1.disableDeprecationAnnouncement system property to 'true'. The AWS SDK for Java 1.x is being used here: at java.base/java.lang.Thread.getStackTrace(Unknown Source) at PluginClassLoader for aws-java-sdk-minimal//com.amazonaws.util.VersionInfoUtils.printDeprecationAnnouncement(VersionInfoUtils.java:81) at PluginClassLoader for aws-java-sdk-minimal//com.amazonaws.util.VersionInfoUtils.<clinit>(VersionInfoUtils.java:59) at PluginClassLoader for aws-java-sdk-minimal//com.amazonaws.internal.EC2ResourceFetcher.<clinit>(EC2ResourceFetcher.java:44) at PluginClassLoader for aws-java-sdk-minimal//com.amazonaws.auth.InstanceMetadataServiceCredentialsFetcher.<init>(InstanceMetadataServiceCredentialsFetcher.java:38) at PluginClassLoader for aws-java-sdk-minimal//com.amazonaws.auth.InstanceProfileCredentialsProvider.<init>(InstanceProfileCredentialsProvider.java:111) at PluginClassLoader for aws-java-sdk-minimal//com.amazonaws.auth.InstanceProfileCredentialsProvider.<init>(InstanceProfileCredentialsProvider.java:91) at PluginClassLoader for aws-java-sdk-minimal//com.amazonaws.auth.InstanceProfileCredentialsProvider.<init>(InstanceProfileCredentialsProvider.java:75) at PluginClassLoader for aws-java-sdk-minimal//com.amazonaws.auth.InstanceProfileCredentialsProvider.<clinit>(InstanceProfileCredentialsProvider.java:58) at PluginClassLoader for aws-java-sdk-minimal//com.amazonaws.auth.EC2ContainerCredentialsProviderWrapper.initializeProvider(EC2ContainerCredentialsProviderWrapper.java:66) at PluginClassLoader for aws-java-sdk-minimal//com.amazonaws.auth.EC2ContainerCredentialsProviderWrapper.<init>(EC2ContainerCredentialsProviderWrapper.java:55) at PluginClassLoader for aws-java-sdk-minimal//com.amazonaws.auth.DefaultAWSCredentialsProviderChain.<init>(DefaultAWSCredentialsProviderChain.java:60) at PluginClassLoader for aws-java-sdk-minimal//com.amazonaws.auth.DefaultAWSCredentialsProviderChain.<clinit>(DefaultAWSCredentialsProviderChain.java:54) at PluginClassLoader for aws-java-sdk-minimal//com.amazonaws.services.s3.AmazonS3ClientBuilder.standard(AmazonS3ClientBuilder.java:46) at PluginClassLoader for artifact-manager-s3//io.jenkins.plugins.artifact_manager_jclouds.s3.S3BlobStoreConfig.getAmazonS3ClientBuilder(S3BlobStoreConfig.java:281) at PluginClassLoader for artifact-manager-s3//io.jenkins.plugins.artifact_manager_jclouds.s3.S3BlobStore.getCredentialsSupplier(S3BlobStore.java:167) at PluginClassLoader for artifact-manager-s3//io.jenkins.plugins.artifact_manager_jclouds.s3.S3BlobStore.getContext(S3BlobStore.java:129) at PluginClassLoader for artifact-manager-s3//io.jenkins.plugins.artifact_manager_jclouds.JCloudsVirtualFile.getContext(JCloudsVirtualFile.java:110) at PluginClassLoader for artifact-manager-s3//io.jenkins.plugins.artifact_manager_jclouds.JCloudsVirtualFile.listStorageMetadata(JCloudsVirtualFile.java:204) at PluginClassLoader for artifact-manager-s3//io.jenkins.plugins.artifact_manager_jclouds.JCloudsVirtualFile.run(JCloudsVirtualFile.java:327) at hudson.model.Run.getArtifactsUpTo(Run.java:1164) at hudson.model.Run.getHasArtifacts(Run.java:1181)

       

      link:
      https://aws.amazon.com/blogs/developer/the-aws-sdk-for-java-1-x-is-in-maintenance-mode-effective-july-31-2024/

      We run jenkins 2.462 LTS and artifact-manager-s3 871.v72f7f642a_245

            Unassigned Unassigned
            sodul Stephane Odul
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: