azure-cosmos-db-emulator-docker
azure-cosmos-db-emulator-docker copied to clipboard
Spurious update failures when using emulator in github pipeline
Describe the bug
We use the cosmos emulator in testing as part of our CI pipeline in github. In the last week, following a dependabot update to azure-cosmos from 4.9.0 to 4.14.1, this has started to regularly fail when attempting document updates, with the error:
'azure.cosmos.exceptions.CosmosHttpResponseError: (InternalServerError) invalid input syntax for type json'
To Reproduce
There is no obvious pattern to the failures - different tests fail on each run. Our code is in python and we're using pytest to run tests. Tests run fine locally using the windows emulator. Tests here, are failing on a linux agent in github.
Will attach the raw logs from one such run. For the moment we've just fixed our version to 4.9.0.
Expected behavior Tests should all pass without spurious failures.
Desktop (please complete the following information):
- OS: github agent - Ubuntu 24.04.3 LTS
- SDK version: 3.11
- SDK language: Python