From 788d840e7df336780ed1573511dd69e6cb34e8cc Mon Sep 17 00:00:00 2001 From: Saugat Pachhai Date: Thu, 26 Nov 2020 01:06:00 +0545 Subject: [PATCH] tests/ci: update docker image for Azurite (#4967) `Azure` tests are flaky for some reason. When I investigated one of the job [1], something seemed wrong with the Azurite or the client lib. On `AzureTree.blob_service`, we do the following to check if the container exists: ```python try: container_client.get_container_properties() except ResourceNotFoundError: container_client.create_container() ``` When looking at the test log, I found out that the `get_container_properties` was failing with `ErrorCode:ContainerNotFound` whereas `create_container` successively was failing with `ErrorCode:ContainerAlreadyExists`. `create_container` is correct, but `get_container_properties` is incorrect, as many of the Azure tests have already run successfully before. So, either the Azurite has/had bug or the client lib has a bug. Anyway, we'll find out after updating the Azurite. [1]: https://github.com/iterative/dvc/runs/1448864706#step:7:4029 --- tests/docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/docker-compose.yml b/tests/docker-compose.yml index 3bf4e45cd..7dfab75de 100644 --- a/tests/docker-compose.yml +++ b/tests/docker-compose.yml @@ -2,7 +2,7 @@ version: '3.2' services: azurite: - image: mcr.microsoft.com/azure-storage/azurite:3.3.0-preview + image: mcr.microsoft.com/azure-storage/azurite:3.9.0 ports: - "10000" oss: