Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Per-partition automatic failover #41029

Draft
wants to merge 42 commits into
base: main
Choose a base branch
from

Adding tests for 408 handling with PPAF.

af8bb0d
Select commit
Loading
Failed to load commit list.
Draft

Per-partition automatic failover #41029

Adding tests for 408 handling with PPAF.
af8bb0d
Select commit
Loading
Failed to load commit list.
Azure Pipelines / java - cosmos - ci failed Dec 27, 2024 in 1h 17m 51s

Build #20241227.1 had test failures

Details

Tests

  • Failed: 53 (0.06%)
  • Passed: 84,003 (99.45%)
  • Other: 412 (0.49%)
  • Total: 84,468
Code coverage

  • 2255 of 102351 line covered (2.20%)

Annotations

Check failure on line 18654 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / java - cosmos - ci

Build log #L18654

Build failed.

Check failure on line 18823 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / java - cosmos - ci

Build log #L18823

Build failed.

Check failure on line 1246193 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / java - cosmos - ci

Build log #L1246193

Build failed.

Check failure on line 76682 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / java - cosmos - ci

Build log #L76682

Build failed.

Check failure on line 1 in gone_RefreshCache_Write[Eventual](2)

See this annotation in the file changed.

@azure-pipelines azure-pipelines / java - cosmos - ci

gone_RefreshCache_Write[Eventual](2)

expected: 410
 but was: 503
Raw output
java.lang.AssertionError: 

expected: 410
 but was: 503
	at com.azure.cosmos.implementation.FailureValidator$Builder$2.validate(FailureValidator.java:43)
	at com.azure.cosmos.implementation.FailureValidator$Builder$1.validate(FailureValidator.java:31)
	at com.azure.cosmos.implementation.directconnectivity.ReplicatedResourceClientPartitionSplitTest.validateFailure(ReplicatedResourceClientPartitionSplitTest.java:195)
	at com.azure.cosmos.implementation.directconnectivity.ReplicatedResourceClientGoneForWriteTest.gone_RefreshCache_Write(ReplicatedResourceClientGoneForWriteTest.java:124)
	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)
	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)

Check failure on line 1 in gone_RefreshCache_Write

See this annotation in the file changed.

@azure-pipelines azure-pipelines / java - cosmos - ci

gone_RefreshCache_Write

 expected: 410  but was: 503
Raw output
java.lang.AssertionError: 
expected: 410
 but was: 503
at com.azure.cosmos.implementation.FailureValidator$Builder$2.validate(FailureValidator.java:43)
at com.azure.cosmos.implementation.FailureValidator$Builder$1.validate(FailureValidator.java:31)
at com.azure.cosmos.implementation.directconnectivity.ReplicatedResourceClientPartitionSplitTest.validateFailure(ReplicatedResourceClientPartitionSplitTest.java:195)
at com.azure.cosmos.implementation.directconnectivity.ReplicatedResourceClientGoneForWriteTest.gone_RefreshCache_Write(ReplicatedResourceClientGoneForWriteTest.java:124)
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)
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)

Check failure on line 1 in gone_RefreshCache_Write

See this annotation in the file changed.

@azure-pipelines azure-pipelines / java - cosmos - ci

gone_RefreshCache_Write

 expected: 410  but was: 503
Raw output
java.lang.AssertionError: 
expected: 410
 but was: 503
at com.azure.cosmos.implementation.FailureValidator$Builder$2.validate(FailureValidator.java:43)
at com.azure.cosmos.implementation.FailureValidator$Builder$1.validate(FailureValidator.java:31)
at com.azure.cosmos.implementation.directconnectivity.ReplicatedResourceClientPartitionSplitTest.validateFailure(ReplicatedResourceClientPartitionSplitTest.java:195)
at com.azure.cosmos.implementation.directconnectivity.ReplicatedResourceClientGoneForWriteTest.gone_RefreshCache_Write(ReplicatedResourceClientGoneForWriteTest.java:124)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:136)
at org.testng.internal.invokers.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:44)
at org.testng.internal.invokers.InvokeMethodRunnable.call(InvokeMethodRunnable.java:72)
at org.testng.internal.invokers.InvokeMethodRunnable.call(InvokeMethodRunnable.java:10)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)

Check failure on line 1 in gone_RefreshCache_Write[Eventual](2)

See this annotation in the file changed.

@azure-pipelines azure-pipelines / java - cosmos - ci

gone_RefreshCache_Write[Eventual](2)

expected: 410
 but was: 503
Raw output
java.lang.AssertionError: 

expected: 410
 but was: 503
	at com.azure.cosmos.implementation.FailureValidator$Builder$2.validate(FailureValidator.java:43)
	at com.azure.cosmos.implementation.FailureValidator$Builder$1.validate(FailureValidator.java:31)
	at com.azure.cosmos.implementation.directconnectivity.ReplicatedResourceClientPartitionSplitTest.validateFailure(ReplicatedResourceClientPartitionSplitTest.java:195)
	at com.azure.cosmos.implementation.directconnectivity.ReplicatedResourceClientGoneForWriteTest.gone_RefreshCache_Write(ReplicatedResourceClientGoneForWriteTest.java:124)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:136)
	at org.testng.internal.invokers.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:44)
	at org.testng.internal.invokers.InvokeMethodRunnable.call(InvokeMethodRunnable.java:72)
	at org.testng.internal.invokers.InvokeMethodRunnable.call(InvokeMethodRunnable.java:10)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:829)