Skip to content

Fixed test failures

5829d82
Select commit
Loading
Failed to load commit list.
Open

Update cosmos emulator tests to include vnext #47605

Fixed test failures
5829d82
Select commit
Loading
Failed to load commit list.
Azure Pipelines / java - cosmos failed Dec 29, 2025 in 1h 23m 37s

Build #20251229.2 had test failures

Details

Tests

  • Failed: 853 (1.05%)
  • Passed: 66,756 (81.96%)
  • Other: 13,845 (17.00%)
  • Total: 81,454
Code coverage

  • 2396 of 97892 line covered (2.45%)

Annotations

Check failure on line 68644 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / java - cosmos

Build log #L68644

Build failed.

Check failure on line 66878 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / java - cosmos

Build log #L66878

Build failed.

Check failure on line 67026 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / java - cosmos

Build log #L67026

Build failed.

Check failure on line 122056 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / java - cosmos

Build log #L122056

Build failed.

Check failure on line 1 in c.a.c.r.ReadFeedOffersTest.beforeSuite

See this annotation in the file changed.

@azure-pipelines azure-pipelines / java - cosmos

c.a.c.r.ReadFeedOffersTest.beforeSuite

java.lang.RuntimeException: Client initialization failed. Check if the endpoint is reachable and if your auth token is valid. More info: https://aka.ms/cosmosdb-tsg-service-unavailable-java. More details: {"innerErrorMessage":"General OpenSslEngine problem","cosmosDiagnostics":{"userAgent":"azsdk-java-cosmos/4.77.0-beta.1 Linux/6.11.0-1018-azure JRE/1.8.0_472","activityId":"8ec72e62-69ce-4607-af6c-befbc90537e7","requestLatencyInMs":1410,"requestStartTimeUTC":"2025-12-29T22:30:54.279Z","requestEndTimeUTC":"2025-12-29T22:30:55.689Z","responseStatisticsList":[],"supplementalResponseStatisticsList":[],"addressResolutionStatistics":{},"regionsContacted":[],"retryContext":{"statusAndSubStatusCodes":null,"retryCount":0,"retryLatency":0},"metadataDiagnosticsContext":{"metadataDiagnosticList":null,"empty":true},"serializationDiagnosticsContext":{"serializationDiagnosticsList":null},"gatewayStatisticsList":[{"sessionToken":null,"operationType":"Read","resourceType":"DatabaseAccount","statusCode":503,"subStatusCode":10001,"requestCharge":0.0,"requestTimeline":[{"eventName":"connectionAcquired","startTimeUTC":"2025-12-29T22:30:54.280Z","durationInMilliSecs":384.0},{"eventName":"connectionConfigured","startTimeUTC":null,"durationInMilliSecs":0.0},{"eventName":"requestSent","startTimeUTC":null,"durationInMilliSecs":0.0},{"eventName":"transitTime","startTimeUTC":null,"durationInMilliSecs":0.0},{"eventName":"received","startTimeUTC":null,"durationInMilliSecs":0.0}],"partitionKeyRangeId":null,"responsePayloadSizeInBytes":0,"exceptionMessage":"General OpenSslEngine problem","exceptionResponseHeaders":"{x-ms-substatus=10001}","endpoint":"https://localhost:8081/"},{"sessionToken":null,"operationType":"Read","resourceType":"DatabaseAccount","statusCode":503,"subStatusCode":10001,"requestCharge":0.0,"requestTimeline":[{"eventName":"connectionAcquired","startTimeUTC":"2025-12-29T22:30:54.667Z","durationInMilliSecs":13.0},{"eventName":"connectionConfigured","startTimeUTC":null,"durationInMilliSecs":0.0},{"eventName":"requestSent","startTimeUTC":null,"durationInMilliSecs":0.0},{"eventName":"transitTime","startTimeUTC":null,"durationInMilliSecs":0.0},{"eventName":"received","startTimeUTC":null,"durationInMilliSecs":0.0}],"partitionKeyRangeId":null,"responsePayloadSizeInBytes":0,"exceptionMessage":"General OpenSslEngine problem","exceptionResponseHeaders":"{x-ms-substatus=10001}","endpoint":"https://localhost:8081/"},{"sessionToken":null,"operationType":"Read","resourceType":"DatabaseAccount","statusCode":503,"subStatusCode":10001,"requestCharge":0.0,"requestTimeline":[{"eventName":"connectionAcquired","startTimeUTC":"2025-12-29T22:30:55.681Z","durationInMilliSecs":8.0},{"eventName":"connectionConfigured","startTimeUTC":null,"durationInMilliSecs":0.0},{"eventName":"requestSent","startTimeUTC":null,"durationInMilliSecs":0.0},{"eventName":"transitTime","startTimeUTC":null,"durationInMilliSecs":0.0},{"eventName":"received","startTimeUTC":null,"durationInMilliSecs":0.0}],"partitionKeyRangeId":null,"responsePayloadSizeInBytes":0,"exceptionMessage":"General OpenSslEngine problem","exceptionResponseHeaders":"{x-ms-substatus=10001}","endpoint":"https://localhost:8081/"}],"samplingRateSnapshot":1.0,"bloomFilterInsertionCountSnapshot":0,"systemInformation":{"usedMemory":"99360 KB","availableMemory":"3629024 KB","systemCpuLoad":"empty","availableProcessors":4},"clientCfgs":{"id":1,"machineId":"uuid:afe86b24-1e81-41c9-95aa-9fcfa0e52d78","connectionMode":"GATEWAY","numberOfClients":1,"isPpafEnabled":"false","isFalseProgSessionTokenMergeEnabled":"true","excrgns":"[]","clientEndpoints":{"https://localhost:8081/":1},"connCfg":{"rntbd":null,"gw":"(cps:1000, nrto:PT1M, icto:PT1M, cto:PT45S, p:false, http2:(enabled:false, maxc:1000, minc:8, maxs:30))","other":"(ed: true, cs: false, rv: true)"},"consistencyCfg":"(consistency: Session, readConsistencyStrategy: null,  mm: true, prgns: [])","proactiveInitCfg":"","e2ePolicyCfg":"","sessionRetryCfg":""}}}
Raw output
org.testng.internal.invokers.InvokeMethodRunnable$TestNGRuntimeException: java.lang.RuntimeException: Client initialization failed. Check if the endpoint is reachable and if your auth token is valid. More info: https://aka.ms/cosmosdb-tsg-service-unavailable-java. More details: {"innerErrorMessage":"General OpenSslEngine problem","cosmosDiagnostics":{"userAgent":"azsdk-java-cosmos/4.77.0-beta.1 Linux/6.11.0-1018-azure JRE/1.8.0_472","activityId":"8ec72e62-69ce-4607-af6c-befbc90537e7","requestLatencyInMs":1410,"requestStartTimeUTC":"2025-12-29T22:30:54.279Z","requestEndTimeUTC":"2025-12-29T22:30:55.689Z","responseStatisticsList":[],"supplementalResponseStatisticsList":[],"addressResolutionStatistics":{},"regionsContacted":[],"retryContext":{"statusAndSubStatusCodes":null,"retryCount":0,"retryLatency":0},"metadataDiagnosticsContext":{"metadataDiagnosticList":null,"empty":true},"serializationDiagnosticsContext":{"serializationDiagnosticsList":null},"gatewayStatisticsList":[{"sessionToken":null,"operationType":"Read","resourceType":"DatabaseAccount","statusCode":503,"subStatusCode":10001,"requestCharge":0.0,"requestTimeline":[{"eventName":"connectionAcquired","startTimeUTC":"2025-12-29T22:30:54.280Z","durationInMilliSecs":384.0},{"eventName":"connectionConfigured","startTimeUTC":null,"durationInMilliSecs":0.0},{"eventName":"requestSent","startTimeUTC":null,"durationInMilliSecs":0.0},{"eventName":"transitTime","startTimeUTC":null,"durationInMilliSecs":0.0},{"eventName":"received","startTimeUTC":null,"durationInMilliSecs":0.0}],"partitionKeyRangeId":null,"responsePayloadSizeInBytes":0,"exceptionMessage":"General OpenSslEngine problem","exceptionResponseHeaders":"{x-ms-substatus=10001}","endpoint":"https://localhost:8081/"},{"sessionToken":null,"operationType":"Read","resourceType":"DatabaseAccount","statusCode":503,"subStatusCode":10001,"requestCharge":0.0,"requestTimeline":[{"eventName":"connectionAcquired","startTimeUTC":"2025-12-29T22:30:54.667Z","durationInMilliSecs":13.0},{"eventName":"connectionConfigured","startTimeUTC":null,"durationInMilliSecs":0.0},{"eventName":"requestSent","startTimeUTC":null,"durationInMilliSecs":0.0},{"eventName":"transitTime","startTimeUTC":null,"durationInMilliSecs":0.0},{"eventName":"received","startTimeUTC":null,"durationInMilliSecs":0.0}],"partitionKeyRangeId":null,"responsePayloadSizeInBytes":0,"exceptionMessage":"General OpenSslEngine problem","exceptionResponseHeaders":"{x-ms-substatus=10001}","endpoint":"https://localhost:8081/"},{"sessionToken":null,"operationType":"Read","resourceType":"DatabaseAccount","statusCode":503,"subStatusCode":10001,"requestCharge":0.0,"requestTimeline":[{"eventName":"connectionAcquired","startTimeUTC":"2025-12-29T22:30:55.681Z","durationInMilliSecs":8.0},{"eventName":"connectionConfigured","startTimeUTC":null,"durationInMilliSecs":0.0},{"eventName":"requestSent","startTimeUTC":null,"durationInMilliSecs":0.0},{"eventName":"transitTime","startTimeUTC":null,"durationInMilliSecs":0.0},{"eventName":"received","startTimeUTC":null,"durationInMilliSecs":0.0}],"partitionKeyRangeId":null,"responsePayloadSizeInBytes":0,"exceptionMessage":"General OpenSslEngine problem","exceptionResponseHeaders":"{x-ms-substatus=10001}","endpoint":"https://localhost:8081/"}],"samplingRateSnapshot":1.0,"bloomFilterInsertionCountSnapshot":0,"systemInformation":{"usedMemory":"99360 KB","availableMemory":"3629024 KB","systemCpuLoad":"empty","availableProcessors":4},"clientCfgs":{"id":1,"machineId":"uuid:afe86b24-1e81-41c9-95aa-9fcfa0e52d78","connectionMode":"GATEWAY","numberOfClients":1,"isPpafEnabled":"false","isFalseProgSessionTokenMergeEnabled":"true","excrgns":"[]","clientEndpoints":{"https://localhost:8081/":1},"connCfg":{"rntbd":null,"gw":"(cps:1000, nrto:PT1M, icto:PT1M, cto:PT45S, p:false, http2:(enabled:false, maxc:1000, minc:8, maxs:30))","other":"(ed: true, cs: false, rv: true)"},"consistencyCfg":"(consistency: Session, readConsistencyStrategy: null,  mm: true, prgns: [])","proactiveIn

Check failure on line 1 in c.a.c.r.DocumentCrudTest.afterClass

See this annotation in the file changed.

@azure-pipelines azure-pipelines / java - cosmos

c.a.c.r.DocumentCrudTest.afterClass

java.lang.AssertionError: 
Expecting actual not to be null
Raw output
org.testng.internal.invokers.InvokeMethodRunnable$TestNGRuntimeException: 
java.lang.AssertionError: 
Expecting actual not to be null
	at org.testng.internal.invokers.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:54)
	at org.testng.internal.invokers.InvokeMethodRunnable.call(InvokeMethodRunnable.java:72)
	at org.testng.internal.invokers.InvokeMethodRunnable.call(InvokeMethodRunnable.java:10)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:750)
Caused by: java.lang.AssertionError: 
Expecting actual not to be null
	at com.azure.cosmos.rx.DocumentCrudTest.afterClass(DocumentCrudTest.java:453)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:136)
	at org.testng.internal.invokers.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:44)
	... 6 more

Check failure on line 1 in c.a.c.r.CosmosAuthorizationTokenResolverTest.afterClass

See this annotation in the file changed.

@azure-pipelines azure-pipelines / java - cosmos

c.a.c.r.CosmosAuthorizationTokenResolverTest.afterClass

java.lang.NullPointerException
Raw output
org.testng.internal.invokers.InvokeMethodRunnable$TestNGRuntimeException: java.lang.NullPointerException
	at org.testng.internal.invokers.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:54)
	at org.testng.internal.invokers.InvokeMethodRunnable.call(InvokeMethodRunnable.java:72)
	at org.testng.internal.invokers.InvokeMethodRunnable.call(InvokeMethodRunnable.java:10)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:750)
Caused by: java.lang.NullPointerException
	at com.azure.cosmos.rx.CosmosAuthorizationTokenResolverTest.afterClass(CosmosAuthorizationTokenResolverTest.java:510)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:136)
	at org.testng.internal.invokers.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:44)
	... 6 more

Check failure on line 1 in c.a.c.DistributedClientTest.afterClass

See this annotation in the file changed.

@azure-pipelines azure-pipelines / java - cosmos

c.a.c.DistributedClientTest.afterClass

java.lang.AssertionError: 
Expecting actual not to be null
Raw output
org.testng.internal.invokers.InvokeMethodRunnable$TestNGRuntimeException: 
java.lang.AssertionError: 
Expecting actual not to be null
	at org.testng.internal.invokers.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:54)
	at org.testng.internal.invokers.InvokeMethodRunnable.call(InvokeMethodRunnable.java:72)
	at org.testng.internal.invokers.InvokeMethodRunnable.call(InvokeMethodRunnable.java:10)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:750)
Caused by: java.lang.AssertionError: 
Expecting actual not to be null
	at com.azure.cosmos.DistributedClientTest.afterClass(DistributedClientTest.java:70)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:136)
	at org.testng.internal.invokers.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:44)
	... 6 more