[
https://issues.apache.org/jira/browse/CAMEL-15451?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17182605#comment-17182605
]
Claus Ibsen commented on CAMEL-15451:
-------------------------------------
[ERROR]
org.apache.camel.component.aws2.s3.S3ComponentConfigurationTest.createEndpointWithCredentialsAndClientExistInRegistryWithAutodiscover
Time elapsed: 1.777 s <<< ERROR!
software.amazon.awssdk.core.exception.SdkClientException: Unable to load region
from any of the providers in the chain
software.amazon.awssdk.regions.providers.DefaultAwsRegionProviderChain@316a598d:
[software.amazon.awssdk.regions.providers.SystemSettingsRegionProvider@7d199c68:
Unable to load region from system settings. Region must be specified either
via environment variable (AWS_REGION) or system property (aws.region).,
software.amazon.awssdk.regions.providers.AwsProfileRegionProvider@63411512: No
region provided in profile: default,
software.amazon.awssdk.regions.providers.InstanceProfileRegionProvider@35cd68d4:
Unable to contact EC2 metadata service.]
at
software.amazon.awssdk.core.exception.SdkClientException$BuilderImpl.build(SdkClientException.java:98)
at
software.amazon.awssdk.regions.providers.AwsRegionProviderChain.getRegion(AwsRegionProviderChain.java:70)
at
software.amazon.awssdk.awscore.client.builder.AwsDefaultClientBuilder.regionFromDefaultProvider(AwsDefaultClientBuilder.java:202)
at
software.amazon.awssdk.awscore.client.builder.AwsDefaultClientBuilder.resolveRegion(AwsDefaultClientBuilder.java:184)
at
software.amazon.awssdk.awscore.client.builder.AwsDefaultClientBuilder.finalizeChildConfiguration(AwsDefaultClientBuilder.java:135)
at
software.amazon.awssdk.core.client.builder.SdkDefaultClientBuilder.syncClientConfiguration(SdkDefaultClientBuilder.java:154)
at
software.amazon.awssdk.services.s3.DefaultS3ClientBuilder.buildClient(DefaultS3ClientBuilder.java:27)
at
software.amazon.awssdk.services.s3.DefaultS3ClientBuilder.buildClient(DefaultS3ClientBuilder.java:22)
at
software.amazon.awssdk.core.client.builder.SdkDefaultClientBuilder.build(SdkDefaultClientBuilder.java:126)
at
org.apache.camel.component.aws2.s3.S3ComponentConfigurationTest.createEndpointWithCredentialsAndClientExistInRegistryWithAutodiscover(S3ComponentConfigurationTest.java:54)
> camel-aws2-s3 - Test errors running local tests
> -----------------------------------------------
>
> Key: CAMEL-15451
> URL: https://issues.apache.org/jira/browse/CAMEL-15451
> Project: Camel
> Issue Type: Test
> Components: tests
> Affects Versions: 3.5.0
> Reporter: Claus Ibsen
> Assignee: Andrea Cosentino
> Priority: Major
>
> [INFO]
> [INFO] Results:
> [INFO]
> [ERROR] Errors:
> [ERROR]
> org.apache.camel.component.aws2.s3.S3ComponentConfigurationTest.createEndpointWithCredentialsAndClientExistInRegistry
> [ERROR] Run 1:
> S3ComponentConfigurationTest.createEndpointWithCredentialsAndClientExistInRegistry:42
> » SdkClient
> [ERROR] Run 2:
> S3ComponentConfigurationTest.createEndpointWithCredentialsAndClientExistInRegistry:42
> » SdkClient
> [ERROR] Run 3:
> S3ComponentConfigurationTest.createEndpointWithCredentialsAndClientExistInRegistry:42
> » SdkClient
> [INFO]
> [ERROR]
> org.apache.camel.component.aws2.s3.S3ComponentConfigurationTest.createEndpointWithCredentialsAndClientExistInRegistryWithAutodiscover
> [ERROR] Run 1:
> S3ComponentConfigurationTest.createEndpointWithCredentialsAndClientExistInRegistryWithAutodiscover:54
> » SdkClient
> [ERROR] Run 2:
> S3ComponentConfigurationTest.createEndpointWithCredentialsAndClientExistInRegistryWithAutodiscover:54
> » SdkClient
> [ERROR] Run 3:
> S3ComponentConfigurationTest.createEndpointWithCredentialsAndClientExistInRegistryWithAutodiscover:54
> » SdkClient
> [INFO]
> [INFO]
> [ERROR] Tests run: 9, Failures: 0, Errors: 2, Skipped: 0
--
This message was sent by Atlassian Jira
(v8.3.4#803005)