Skip to content

[CI] RepositoryAzureClientYamlTestSuiteIT class failing #111345

Closed
@elasticsearchmachine

Description

@elasticsearchmachine

Build Scans:

Reproduction Line:

./gradlew ":modules:repository-azure:managedIdentityYamlRestTest" --tests "org.elasticsearch.repositories.azure.RepositoryAzureClientYamlTestSuiteIT.test {yaml=repository_azure/20_repository/teardown}" -Dtests.seed=E6F121B481805CC8 -Dtests.locale=mt -Dtests.timezone=Europe/Busingen -Druntime.java=17 -Dtests.fips.enabled=true

Applicable branches:
main

Reproduces locally?:
N/A

Failure History:
See dashboard

Failure Message:

java.lang.AssertionError: Failure at [repository_azure/20_repository:6]: expected [2xx] status code but api [snapshot.create_repository] returned [500 Internal Server Error] [{"error":{"root_cause":[{"type":"repository_verification_exception","reason":"[repository] path [_integration_tests] is not accessible on master node","stack_trace":"org.elasticsearch.repositories.RepositoryVerificationException: [repository] path [_integration_tests] is not accessible on master node\nCaused by: java.lang.IllegalArgumentException: Authority host must use https scheme.\n\tat com.azure.identity@1.13.1/com.azure.identity.implementation.util.ValidationUtil.validateAuthHost(ValidationUtil.java:87)\n\tat com.azure.identity@1.13.1/com.azure.identity.implementation.IdentityClientOptions.loadFromConfiguration(IdentityClientOptions.java:703)\n\tat com.azure.identity@1.13.1/com.azure.identity.implementation.IdentityClientOptions.<init>(IdentityClientOptions.java:89)\n\tat com.azure.identity@1.13.1/com.azure.identity.CredentialBuilderBase.<init>(CredentialBuilderBase.java:47)\n\tat com.azure.identity@1.13.1/com.azure.identity.DefaultAzureCredentialBuilder.<init>(DefaultAzureCredentialBuilder.java:77)\n\tat org.elasticsearch.repository.azure@8.16.0-SNAPSHOT/org.elasticsearch.repositories.azure.AzureClientProvider.createClient(AzureClientProvider.java:184)\n\tat org.elasticsearch.repository.azure@8.16.0-SNAPSHOT/org.elasticsearch.repositories.azure.AzureStorageService.client(AzureStorageService.java:91)\n\tat org.elasticsearch.repository.azure@8.16.0-SNAPSHOT/org.elasticsearch.repositories.azure.AzureBlobStore.getAzureBlobServiceClientClient(AzureBlobStore.java:633)\n\tat org.elasticsearch.repository.azure@8.16.0-SNAPSHOT/org.elasticsearch.repositories.azure.AzureBlobStore.asyncClient(AzureBlobStore.java:629)\n\tat org.elasticsearch.repository.azure@8.16.0-SNAPSHOT/org.elasticsearch.repositories.azure.AzureBlobStore.lambda$executeSingleUpload$19(AzureBlobStore.java:463)\n\tat org.elasticsearch.repository.azure@8.16.0-SNAPSHOT/org.elasticsearch.repositories.azure.SocketAccess.lambda$doPrivilegedVoidException$0(SocketAccess.java:46)\n\tat java.base/java.security.AccessController.doPrivileged(AccessController.java:569)\n\tat org.elasticsearch.repository.azure@8.16.0-SNAPSHOT/org.elasticsearch.repositories.azure.SocketAccess.doPrivilegedVoidException(SocketAccess.java:45)\n\tat org.elasticsearch.repository.azure@8.16.0-SNAPSHOT/org.elasticsearch.repositories.azure.AzureBlobStore.executeSingleUpload(AzureBlobStore.java:462)\n\tat org.elasticsearch.repository.azure@8.16.0-SNAPSHOT/org.elasticsearch.repositories.azure.AzureBlobStore.writeBlob(AzureBlobStore.java:387)\n\tat org.elasticsearch.repository.azure@8.16.0-SNAPSHOT/org.elasticsearch.repositories.azure.AzureBlobContainer.writeBlob(AzureBlobContainer.java:115)\n\tat org.elasticsearch.repository.azure@8.16.0-SNAPSHOT/org.elasticsearch.repositories.azure.AzureBlobContainer.writeBlobAtomic(AzureBlobContainer.java:110)\n\tat org.elasticsearch.server@8.16.0-SNAPSHOT/org.elasticsearch.repositories.blobstore.BlobStoreRepository.startVerification(BlobStoreRepository.java:2156)\n\tat org.elasticsearch.server@8.16.0-SNAPSHOT/org.elasticsearch.repositories.RepositoriesService.lambda$validatePutRepositoryRequest$11(RepositoriesService.java:361)\n\tat org.elasticsearch.server@8.16.0-SNAPSHOT/org.elasticsearch.action.ActionRunnable$1.doRun(ActionRunnable.java:36)\n\tat org.elasticsearch.server@8.16.0-SNAPSHOT/org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:984)\n\tat org.elasticsearch.server@8.16.0-SNAPSHOT/org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:26)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)\n\tat java.base/java.lang.Thread.run(Thread.java:833)\n"}],"type":"repository_verification_exception","reason":"[repository] path [_integration_tests] is not accessible on master node","caused_by":{"type":"illegal_argument_exception","reason":"Authority host must use https scheme.","stack_trace":"java.lang.IllegalArgumentException: Authority host must use https scheme.\n\tat com.azure.identity@1.13.1/com.azure.identity.implementation.util.ValidationUtil.validateAuthHost(ValidationUtil.java:87)\n\tat com.azure.identity@1.13.1/com.azure.identity.implementation.IdentityClientOptions.loadFromConfiguration(IdentityClientOptions.java:703)\n\tat com.azure.identity@1.13.1/com.azure.identity.implementation.IdentityClientOptions.<init>(IdentityClientOptions.java:89)\n\tat com.azure.identity@1.13.1/com.azure.identity.CredentialBuilderBase.<init>(CredentialBuilderBase.java:47)\n\tat com.azure.identity@1.13.1/com.azure.identity.DefaultAzureCredentialBuilder.<init>(DefaultAzureCredentialBuilder.java:77)\n\tat org.elasticsearch.repository.azure@8.16.0-SNAPSHOT/org.elasticsearch.repositories.azure.AzureClientProvider.createClient(AzureClientProvider.java:184)\n\tat org.elasticsearch.repository.azure@8.16.0-SNAPSHOT/org.elasticsearch.repositories.azure.AzureStorageService.client(AzureStorageService.java:91)\n\tat org.elasticsearch.repository.azure@8.16.0-SNAPSHOT/org.elasticsearch.repositories.azure.AzureBlobStore.getAzureBlobServiceClientClient(AzureBlobStore.java:633)\n\tat org.elasticsearch.repository.azure@8.16.0-SNAPSHOT/org.elasticsearch.repositories.azure.AzureBlobStore.asyncClient(AzureBlobStore.java:629)\n\tat org.elasticsearch.repository.azure@8.16.0-SNAPSHOT/org.elasticsearch.repositories.azure.AzureBlobStore.lambda$executeSingleUpload$19(AzureBlobStore.java:463)\n\tat org.elasticsearch.repository.azure@8.16.0-SNAPSHOT/org.elasticsearch.repositories.azure.SocketAccess.lambda$doPrivilegedVoidException$0(SocketAccess.java:46)\n\tat java.base/java.security.AccessController.doPrivileged(AccessController.java:569)\n\tat org.elasticsearch.repository.azure@8.16.0-SNAPSHOT/org.elasticsearch.repositories.azure.SocketAccess.doPrivilegedVoidException(SocketAccess.java:45)\n\tat org.elasticsearch.repository.azure@8.16.0-SNAPSHOT/org.elasticsearch.repositories.azure.AzureBlobStore.executeSingleUpload(AzureBlobStore.java:462)\n\tat org.elasticsearch.repository.azure@8.16.0-SNAPSHOT/org.elasticsearch.repositories.azure.AzureBlobStore.writeBlob(AzureBlobStore.java:387)\n\tat org.elasticsearch.repository.azure@8.16.0-SNAPSHOT/org.elasticsearch.repositories.azure.AzureBlobContainer.writeBlob(AzureBlobContainer.java:115)\n\tat org.elasticsearch.repository.azure@8.16.0-SNAPSHOT/org.elasticsearch.repositories.azure.AzureBlobContainer.writeBlobAtomic(AzureBlobContainer.java:110)\n\tat org.elasticsearch.server@8.16.0-SNAPSHOT/org.elasticsearch.repositories.blobstore.BlobStoreRepository.startVerification(BlobStoreRepository.java:2156)\n\tat org.elasticsearch.server@8.16.0-SNAPSHOT/org.elasticsearch.repositories.RepositoriesService.lambda$validatePutRepositoryRequest$11(RepositoriesService.java:361)\n\tat org.elasticsearch.server@8.16.0-SNAPSHOT/org.elasticsearch.action.ActionRunnable$1.doRun(ActionRunnable.java:36)\n\tat org.elasticsearch.server@8.16.0-SNAPSHOT/org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:984)\n\tat org.elasticsearch.server@8.16.0-SNAPSHOT/org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:26)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)\n\tat java.base/java.lang.Thread.run(Thread.java:833)\n"},"stack_trace":"org.elasticsearch.repositories.RepositoryVerificationException: [repository] path [_integration_tests] is not accessible on master node\nCaused by: java.lang.IllegalArgumentException: Authority host must use https scheme.\n\tat com.azure.identity@1.13.1/com.azure.identity.implementation.util.ValidationUtil.validateAuthHost(ValidationUtil.java:87)\n\tat com.azure.identity@1.13.1/com.azure.identity.implementation.IdentityClientOptions.loadFromConfiguration(IdentityClientOptions.java:703)\n\tat com.azure.identity@1.13.1/com.azure.identity.implementation.IdentityClientOptions.<init>(IdentityClientOptions.java:89)\n\tat com.azure.identity@1.13.1/com.azure.identity.CredentialBuilderBase.<init>(CredentialBuilderBase.java:47)\n\tat com.azure.identity@1.13.1/com.azure.identity.DefaultAzureCredentialBuilder.<init>(DefaultAzureCredentialBuilder.java:77)\n\tat org.elasticsearch.repository.azure@8.16.0-SNAPSHOT/org.elasticsearch.repositories.azure.AzureClientProvider.createClient(AzureClientProvider.java:184)\n\tat org.elasticsearch.repository.azure@8.16.0-SNAPSHOT/org.elasticsearch.repositories.azure.AzureStorageService.client(AzureStorageService.java:91)\n\tat org.elasticsearch.repository.azure@8.16.0-SNAPSHOT/org.elasticsearch.repositories.azure.AzureBlobStore.getAzureBlobServiceClientClient(AzureBlobStore.java:633)\n\tat org.elasticsearch.repository.azure@8.16.0-SNAPSHOT/org.elasticsearch.repositories.azure.AzureBlobStore.asyncClient(AzureBlobStore.java:629)\n\tat org.elasticsearch.repository.azure@8.16.0-SNAPSHOT/org.elasticsearch.repositories.azure.AzureBlobStore.lambda$executeSingleUpload$19(AzureBlobStore.java:463)\n\tat org.elasticsearch.repository.azure@8.16.0-SNAPSHOT/org.elasticsearch.repositories.azure.SocketAccess.lambda$doPrivilegedVoidException$0(SocketAccess.java:46)\n\tat java.base/java.security.AccessController.doPrivileged(AccessController.java:569)\n\tat org.elasticsearch.repository.azure@8.16.0-SNAPSHOT/org.elasticsearch.repositories.azure.SocketAccess.doPrivilegedVoidException(SocketAccess.java:45)\n\tat org.elasticsearch.repository.azure@8.16.0-SNAPSHOT/org.elasticsearch.repositories.azure.AzureBlobStore.executeSingleUpload(AzureBlobStore.java:462)\n\tat org.elasticsearch.repository.azure@8.16.0-SNAPSHOT/org.elasticsearch.repositories.azure.AzureBlobStore.writeBlob(AzureBlobStore.java:387)\n\tat org.elasticsearch.repository.azure@8.16.0-SNAPSHOT/org.elasticsearch.repositories.azure.AzureBlobContainer.writeBlob(AzureBlobContainer.java:115)\n\tat org.elasticsearch.repository.azure@8.16.0-SNAPSHOT/org.elasticsearch.repositories.azure.AzureBlobContainer.writeBlobAtomic(AzureBlobContainer.java:110)\n\tat org.elasticsearch.server@8.16.0-SNAPSHOT/org.elasticsearch.repositories.blobstore.BlobStoreRepository.startVerification(BlobStoreRepository.java:2156)\n\tat org.elasticsearch.server@8.16.0-SNAPSHOT/org.elasticsearch.repositories.RepositoriesService.lambda$validatePutRepositoryRequest$11(RepositoriesService.java:361)\n\tat org.elasticsearch.server@8.16.0-SNAPSHOT/org.elasticsearch.action.ActionRunnable$1.doRun(ActionRunnable.java:36)\n\tat org.elasticsearch.server@8.16.0-SNAPSHOT/org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:984)\n\tat org.elasticsearch.server@8.16.0-SNAPSHOT/org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:26)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)\n\tat java.base/java.lang.Thread.run(Thread.java:833)\n"},"status":500}]

Issue Reasons:

  • [main] 2 consecutive failures in class org.elasticsearch.repositories.azure.RepositoryAzureClientYamlTestSuiteIT
  • [main] 2 consecutive failures in step openjdk17_checkpart1_java-fips-matrix
  • [main] 3 consecutive failures in step part-1-fips
  • [main] 5 failures in class org.elasticsearch.repositories.azure.RepositoryAzureClientYamlTestSuiteIT (2.6% fail rate in 194 executions)
  • [main] 2 failures in step openjdk17_checkpart1_java-fips-matrix (100.0% fail rate in 2 executions)
  • [main] 3 failures in step part-1-fips (100.0% fail rate in 3 executions)
  • [main] 2 failures in pipeline elasticsearch-periodic (66.7% fail rate in 3 executions)
  • [main] 3 failures in pipeline elasticsearch-pull-request (9.7% fail rate in 31 executions)

Note:
This issue was created using new test triage automation. Please report issues or feedback to es-delivery.

Metadata

Metadata

Assignees

Labels

:Distributed Coordination/Snapshot/RestoreAnything directly related to the `_snapshot/*` APIs>test-failureTriaged test failures from CITeam:Distributed (Obsolete)Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination.needs:riskRequires assignment of a risk label (low, medium, blocker)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions