Skip to content

@W-21080170 : Fix update expression parsing for SET with IF_NOT_EXIST…

4b29820
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Closed

PHOENIX-7761 : Fix update expression parsing for SET with IF_NOT_EXISTS and arithmetic ops #3

@W-21080170 : Fix update expression parsing for SET with IF_NOT_EXIST…
4b29820
Select commit
Loading
Failed to load commit list.
GitHub Actions / Test Results failed Feb 9, 2026 in 0s

608 tests run, 587 passed, 1 skipped, 20 failed.

Annotations

Check failure on line 244 in phoenix-ddb-rest/src/test/java/org/apache/phoenix/ddb/GetRecordsShardLineageIT.java

See this annotation in the file changed.

@github-actions github-actions / Test Results

GetRecordsShardLineageIT.testGetRecordsWithPartitionSplit

New images should match for record 2 expected:<{Reviews=AttributeValue(M={FiveStar=AttributeValue(L=[AttributeValue(M={reviewer=AttributeValue(S=Bob)})])}), A.B=AttributeValue(S=not nested field 1), Id2=AttributeValue(N=42), PK2=AttributeValue(N=4), Id1=AttributeValue(N=-5), PK1=AttributeValue(S=XYZA), title=AttributeValue(S=Title1)}> but was:<{Reviews=AttributeValue(M={FiveStar=AttributeValue(L=[AttributeValue(M={reviewer=AttributeValue(S=Bob)})])}), A.B=AttributeValue(S=not nested field 1), PK2=AttributeValue(N=4), Id2=AttributeValue(M={$ADD=AttributeValue(L=[AttributeValue(S=Id2), AttributeValue(N=32)])}), PK1=AttributeValue(S=XYZA), Id1=AttributeValue(N=-5), title=AttributeValue(S=Title1)}>
Raw output
java.lang.AssertionError: New images should match for record 2 expected:<{Reviews=AttributeValue(M={FiveStar=AttributeValue(L=[AttributeValue(M={reviewer=AttributeValue(S=Bob)})])}), A.B=AttributeValue(S=not nested field 1), Id2=AttributeValue(N=42), PK2=AttributeValue(N=4), Id1=AttributeValue(N=-5), PK1=AttributeValue(S=XYZA), title=AttributeValue(S=Title1)}> but was:<{Reviews=AttributeValue(M={FiveStar=AttributeValue(L=[AttributeValue(M={reviewer=AttributeValue(S=Bob)})])}), A.B=AttributeValue(S=not nested field 1), PK2=AttributeValue(N=4), Id2=AttributeValue(M={$ADD=AttributeValue(L=[AttributeValue(S=Id2), AttributeValue(N=32)])}), PK1=AttributeValue(S=XYZA), Id1=AttributeValue(N=-5), title=AttributeValue(S=Title1)}>
	at org.junit.Assert.fail(Assert.java:89)
	at org.junit.Assert.failNotEquals(Assert.java:835)
	at org.junit.Assert.assertEquals(Assert.java:120)
	at org.apache.phoenix.ddb.TestUtils.validateRecords(TestUtils.java:234)
	at org.apache.phoenix.ddb.GetRecordsShardLineageIT.testGetRecordsWithPartitionSplit(GetRecordsShardLineageIT.java:244)
	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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:288)
	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:282)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.lang.Thread.run(Thread.java:750)

Check failure on line 221 in phoenix-ddb-rest/src/test/java/org/apache/phoenix/ddb/GetRecordsStreamTypeIT.java

See this annotation in the file changed.

@github-actions github-actions / Test Results

GetRecordsStreamTypeIT.testGetRecords[StreamType_NEW_IMAGE_1]

New images should match for record 2 expected:<{Reviews=AttributeValue(M={FiveStar=AttributeValue(L=[AttributeValue(M={reviewer=AttributeValue(S=Bob)})])}), A.B=AttributeValue(S=not nested field 1), Id2=AttributeValue(N=42), PK2=AttributeValue(N=4), Id1=AttributeValue(N=-5), PK1=AttributeValue(S=XYZA), title=AttributeValue(S=Title1)}> but was:<{Reviews=AttributeValue(M={FiveStar=AttributeValue(L=[AttributeValue(M={reviewer=AttributeValue(S=Bob)})])}), A.B=AttributeValue(S=not nested field 1), PK2=AttributeValue(N=4), Id2=AttributeValue(M={$ADD=AttributeValue(L=[AttributeValue(S=Id2), AttributeValue(N=32)])}), PK1=AttributeValue(S=XYZA), Id1=AttributeValue(N=-5), title=AttributeValue(S=Title1)}>
Raw output
java.lang.AssertionError: New images should match for record 2 expected:<{Reviews=AttributeValue(M={FiveStar=AttributeValue(L=[AttributeValue(M={reviewer=AttributeValue(S=Bob)})])}), A.B=AttributeValue(S=not nested field 1), Id2=AttributeValue(N=42), PK2=AttributeValue(N=4), Id1=AttributeValue(N=-5), PK1=AttributeValue(S=XYZA), title=AttributeValue(S=Title1)}> but was:<{Reviews=AttributeValue(M={FiveStar=AttributeValue(L=[AttributeValue(M={reviewer=AttributeValue(S=Bob)})])}), A.B=AttributeValue(S=not nested field 1), PK2=AttributeValue(N=4), Id2=AttributeValue(M={$ADD=AttributeValue(L=[AttributeValue(S=Id2), AttributeValue(N=32)])}), PK1=AttributeValue(S=XYZA), Id1=AttributeValue(N=-5), title=AttributeValue(S=Title1)}>
	at org.junit.Assert.fail(Assert.java:89)
	at org.junit.Assert.failNotEquals(Assert.java:835)
	at org.junit.Assert.assertEquals(Assert.java:120)
	at org.apache.phoenix.ddb.TestUtils.validateRecords(TestUtils.java:234)
	at org.apache.phoenix.ddb.GetRecordsStreamTypeIT.testGetRecords(GetRecordsStreamTypeIT.java:221)
	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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:288)
	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:282)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.lang.Thread.run(Thread.java:750)

Check failure on line 221 in phoenix-ddb-rest/src/test/java/org/apache/phoenix/ddb/GetRecordsStreamTypeIT.java

See this annotation in the file changed.

@github-actions github-actions / Test Results

GetRecordsStreamTypeIT.testGetRecords[StreamType_NEW_AND_OLD_IMAGES_2]

New images should match for record 2 expected:<{Reviews=AttributeValue(M={FiveStar=AttributeValue(L=[AttributeValue(M={reviewer=AttributeValue(S=Bob)})])}), A.B=AttributeValue(S=not nested field 1), Id2=AttributeValue(N=42), PK2=AttributeValue(N=4), Id1=AttributeValue(N=-5), PK1=AttributeValue(S=XYZA), title=AttributeValue(S=Title1)}> but was:<{Reviews=AttributeValue(M={FiveStar=AttributeValue(L=[AttributeValue(M={reviewer=AttributeValue(S=Bob)})])}), A.B=AttributeValue(S=not nested field 1), PK2=AttributeValue(N=4), Id2=AttributeValue(M={$ADD=AttributeValue(L=[AttributeValue(S=Id2), AttributeValue(N=32)])}), PK1=AttributeValue(S=XYZA), Id1=AttributeValue(N=-5), title=AttributeValue(S=Title1)}>
Raw output
java.lang.AssertionError: New images should match for record 2 expected:<{Reviews=AttributeValue(M={FiveStar=AttributeValue(L=[AttributeValue(M={reviewer=AttributeValue(S=Bob)})])}), A.B=AttributeValue(S=not nested field 1), Id2=AttributeValue(N=42), PK2=AttributeValue(N=4), Id1=AttributeValue(N=-5), PK1=AttributeValue(S=XYZA), title=AttributeValue(S=Title1)}> but was:<{Reviews=AttributeValue(M={FiveStar=AttributeValue(L=[AttributeValue(M={reviewer=AttributeValue(S=Bob)})])}), A.B=AttributeValue(S=not nested field 1), PK2=AttributeValue(N=4), Id2=AttributeValue(M={$ADD=AttributeValue(L=[AttributeValue(S=Id2), AttributeValue(N=32)])}), PK1=AttributeValue(S=XYZA), Id1=AttributeValue(N=-5), title=AttributeValue(S=Title1)}>
	at org.junit.Assert.fail(Assert.java:89)
	at org.junit.Assert.failNotEquals(Assert.java:835)
	at org.junit.Assert.assertEquals(Assert.java:120)
	at org.apache.phoenix.ddb.TestUtils.validateRecords(TestUtils.java:234)
	at org.apache.phoenix.ddb.GetRecordsStreamTypeIT.testGetRecords(GetRecordsStreamTypeIT.java:221)
	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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:288)
	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:282)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.lang.Thread.run(Thread.java:750)

Check failure on line 221 in phoenix-ddb-rest/src/test/java/org/apache/phoenix/ddb/GetRecordsStreamTypeIT.java

See this annotation in the file changed.

@github-actions github-actions / Test Results

GetRecordsStreamTypeIT.testGetRecords[StreamType_NEW_AND_OLD_IMAGES_4]

New images should match for record 2 expected:<{Reviews=AttributeValue(M={FiveStar=AttributeValue(L=[AttributeValue(M={reviewer=AttributeValue(S=Bob)})])}), A.B=AttributeValue(S=not nested field 1), Id2=AttributeValue(N=42), PK2=AttributeValue(N=4), Id1=AttributeValue(N=-5), PK1=AttributeValue(S=XYZA), title=AttributeValue(S=Title1)}> but was:<{Reviews=AttributeValue(M={FiveStar=AttributeValue(L=[AttributeValue(M={reviewer=AttributeValue(S=Bob)})])}), A.B=AttributeValue(S=not nested field 1), PK2=AttributeValue(N=4), Id2=AttributeValue(M={$ADD=AttributeValue(L=[AttributeValue(S=Id2), AttributeValue(N=32)])}), PK1=AttributeValue(S=XYZA), Id1=AttributeValue(N=-5), title=AttributeValue(S=Title1)}>
Raw output
java.lang.AssertionError: New images should match for record 2 expected:<{Reviews=AttributeValue(M={FiveStar=AttributeValue(L=[AttributeValue(M={reviewer=AttributeValue(S=Bob)})])}), A.B=AttributeValue(S=not nested field 1), Id2=AttributeValue(N=42), PK2=AttributeValue(N=4), Id1=AttributeValue(N=-5), PK1=AttributeValue(S=XYZA), title=AttributeValue(S=Title1)}> but was:<{Reviews=AttributeValue(M={FiveStar=AttributeValue(L=[AttributeValue(M={reviewer=AttributeValue(S=Bob)})])}), A.B=AttributeValue(S=not nested field 1), PK2=AttributeValue(N=4), Id2=AttributeValue(M={$ADD=AttributeValue(L=[AttributeValue(S=Id2), AttributeValue(N=32)])}), PK1=AttributeValue(S=XYZA), Id1=AttributeValue(N=-5), title=AttributeValue(S=Title1)}>
	at org.junit.Assert.fail(Assert.java:89)
	at org.junit.Assert.failNotEquals(Assert.java:835)
	at org.junit.Assert.assertEquals(Assert.java:120)
	at org.apache.phoenix.ddb.TestUtils.validateRecords(TestUtils.java:234)
	at org.apache.phoenix.ddb.GetRecordsStreamTypeIT.testGetRecords(GetRecordsStreamTypeIT.java:221)
	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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:288)
	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:282)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.lang.Thread.run(Thread.java:750)

Check failure on line 277 in phoenix-ddb-rest/src/test/java/org/apache/phoenix/ddb/GetRecordsTTLExpiryIT.java

See this annotation in the file changed.

@github-actions github-actions / Test Results

GetRecordsTTLExpiryIT.testTtlExpiry1

New images should match for record 2 expected:<{Reviews=AttributeValue(M={FiveStar=AttributeValue(L=[AttributeValue(M={reviewer=AttributeValue(S=Bob)})])}), A.B=AttributeValue(S=not nested field 1), Id2=AttributeValue(N=42), PK2=AttributeValue(N=4), Id1=AttributeValue(N=-5), PK1=AttributeValue(S=XYZA), ttlAttr=AttributeValue(N=1770679324), title=AttributeValue(S=Title1)}> but was:<{Reviews=AttributeValue(M={FiveStar=AttributeValue(L=[AttributeValue(M={reviewer=AttributeValue(S=Bob)})])}), A.B=AttributeValue(S=not nested field 1), PK2=AttributeValue(N=4), Id2=AttributeValue(M={$ADD=AttributeValue(L=[AttributeValue(S=Id2), AttributeValue(N=32)])}), PK1=AttributeValue(S=XYZA), Id1=AttributeValue(N=-5), ttlAttr=AttributeValue(N=1770679324), title=AttributeValue(S=Title1)}>
Raw output
java.lang.AssertionError: New images should match for record 2 expected:<{Reviews=AttributeValue(M={FiveStar=AttributeValue(L=[AttributeValue(M={reviewer=AttributeValue(S=Bob)})])}), A.B=AttributeValue(S=not nested field 1), Id2=AttributeValue(N=42), PK2=AttributeValue(N=4), Id1=AttributeValue(N=-5), PK1=AttributeValue(S=XYZA), ttlAttr=AttributeValue(N=1770679324), title=AttributeValue(S=Title1)}> but was:<{Reviews=AttributeValue(M={FiveStar=AttributeValue(L=[AttributeValue(M={reviewer=AttributeValue(S=Bob)})])}), A.B=AttributeValue(S=not nested field 1), PK2=AttributeValue(N=4), Id2=AttributeValue(M={$ADD=AttributeValue(L=[AttributeValue(S=Id2), AttributeValue(N=32)])}), PK1=AttributeValue(S=XYZA), Id1=AttributeValue(N=-5), ttlAttr=AttributeValue(N=1770679324), title=AttributeValue(S=Title1)}>
	at org.junit.Assert.fail(Assert.java:89)
	at org.junit.Assert.failNotEquals(Assert.java:835)
	at org.junit.Assert.assertEquals(Assert.java:120)
	at org.apache.phoenix.ddb.TestUtils.validateRecords(TestUtils.java:234)
	at org.apache.phoenix.ddb.GetRecordsTTLExpiryIT.testTtlExpiry1(GetRecordsTTLExpiryIT.java:277)
	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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:61)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:316)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:240)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:214)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:155)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
	at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)

Check failure on line 132 in phoenix-ddb-rest/src/test/java/org/apache/phoenix/ddb/MiscIT.java

See this annotation in the file changed.

@github-actions github-actions / Test Results

MiscIT.testMixWorkflows4

expected:<1200> but was:<77>
Raw output
java.lang.AssertionError: expected:<1200> but was:<77>
	at org.junit.Assert.fail(Assert.java:89)
	at org.junit.Assert.failNotEquals(Assert.java:835)
	at org.junit.Assert.assertEquals(Assert.java:647)
	at org.junit.Assert.assertEquals(Assert.java:633)
	at org.apache.phoenix.ddb.TestUtils.compareQueryOutputs(TestUtils.java:383)
	at org.apache.phoenix.ddb.Misc1Util.queryGSIsWithoutConditions(Misc1Util.java:1182)
	at org.apache.phoenix.ddb.Misc1Util.test3(Misc1Util.java:890)
	at org.apache.phoenix.ddb.MiscIT.testMixWorkflows4(MiscIT.java:132)
	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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:316)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:240)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:214)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:155)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
	at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)

Check failure on line 81 in phoenix-ddb-rest/src/test/java/org/apache/phoenix/ddb/UpdateItemIT.java

See this annotation in the file changed.

@github-actions github-actions / Test Results

UpdateItemIT.testConditionalCheckSuccess[SortKey_false]

expected:<{Reviews=AttributeValue(M={FiveStar=AttributeValue(L=[AttributeValue(M={reviewer=AttributeValue(S=Alice)})])}), PK2=AttributeValue(N=1), PK1=AttributeValue(S=A), COL5=AttributeValue(N=67), COL4=AttributeValue(N=-55.34), COL3=AttributeValue(S=Description1), TopLevelSet=AttributeValue(SS=[setMember1]), COL2=AttributeValue(S=TiTlE2), COL1=AttributeValue(N=4.2)}> but was:<{Reviews=AttributeValue(M={FiveStar=AttributeValue(L=[AttributeValue(M={reviewer=AttributeValue(S=Alice)})])}), PK2=AttributeValue(N=1), PK1=AttributeValue(S=A), COL5=AttributeValue(N=67), COL4=AttributeValue(M={$SUBTRACT=AttributeValue(L=[AttributeValue(S=COL4), AttributeValue(N=89.34)])}), COL3=AttributeValue(S=Description1), TopLevelSet=AttributeValue(SS=[setMember1]), COL2=AttributeValue(S=TiTlE2), COL1=AttributeValue(M={$ADD=AttributeValue(L=[AttributeValue(S=COL1), AttributeValue(N=3.2)])})}>
Raw output
java.lang.AssertionError: expected:<{Reviews=AttributeValue(M={FiveStar=AttributeValue(L=[AttributeValue(M={reviewer=AttributeValue(S=Alice)})])}), PK2=AttributeValue(N=1), PK1=AttributeValue(S=A), COL5=AttributeValue(N=67), COL4=AttributeValue(N=-55.34), COL3=AttributeValue(S=Description1), TopLevelSet=AttributeValue(SS=[setMember1]), COL2=AttributeValue(S=TiTlE2), COL1=AttributeValue(N=4.2)}> but was:<{Reviews=AttributeValue(M={FiveStar=AttributeValue(L=[AttributeValue(M={reviewer=AttributeValue(S=Alice)})])}), PK2=AttributeValue(N=1), PK1=AttributeValue(S=A), COL5=AttributeValue(N=67), COL4=AttributeValue(M={$SUBTRACT=AttributeValue(L=[AttributeValue(S=COL4), AttributeValue(N=89.34)])}), COL3=AttributeValue(S=Description1), TopLevelSet=AttributeValue(SS=[setMember1]), COL2=AttributeValue(S=TiTlE2), COL1=AttributeValue(M={$ADD=AttributeValue(L=[AttributeValue(S=COL1), AttributeValue(N=3.2)])})}>
	at org.junit.Assert.fail(Assert.java:89)
	at org.junit.Assert.failNotEquals(Assert.java:835)
	at org.junit.Assert.assertEquals(Assert.java:120)
	at org.junit.Assert.assertEquals(Assert.java:146)
	at org.apache.phoenix.ddb.UpdateItemIT.testConditionalCheckSuccess(UpdateItemIT.java:81)
	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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:288)
	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:282)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.lang.Thread.run(Thread.java:750)

Check failure on line 227 in phoenix-ddb-rest/src/test/java/org/apache/phoenix/ddb/UpdateItemIT.java

See this annotation in the file changed.

@github-actions github-actions / Test Results

UpdateItemIT.testConcurrentConditionalUpdateWithReturnValues[SortKey_false]

expected:<1> but was:<0>
Raw output
java.lang.AssertionError: expected:<1> but was:<0>
	at org.junit.Assert.fail(Assert.java:89)
	at org.junit.Assert.failNotEquals(Assert.java:835)
	at org.junit.Assert.assertEquals(Assert.java:647)
	at org.junit.Assert.assertEquals(Assert.java:633)
	at org.apache.phoenix.ddb.UpdateItemIT.testConcurrentConditionalUpdateWithReturnValues(UpdateItemIT.java:227)
	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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:288)
	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:282)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.lang.Thread.run(Thread.java:750)

Check failure on line 112 in phoenix-ddb-rest/src/test/java/org/apache/phoenix/ddb/UpdateItemIT.java

See this annotation in the file changed.

@github-actions github-actions / Test Results

UpdateItemIT.testConditionalCheckWithOldItemSuccess[SortKey_false]

expected:<{Reviews=AttributeValue(M={FiveStar=AttributeValue(L=[AttributeValue(M={reviewer=AttributeValue(S=Alice)})])}), PK2=AttributeValue(N=1), PK1=AttributeValue(S=A), COL5=AttributeValue(N=67), COL4=AttributeValue(N=-55.34), COL3=AttributeValue(S=Description1), TopLevelSet=AttributeValue(SS=[setMember1]), COL2=AttributeValue(S=TiTlE2), COL1=AttributeValue(N=4.2)}> but was:<{Reviews=AttributeValue(M={FiveStar=AttributeValue(L=[AttributeValue(M={reviewer=AttributeValue(S=Alice)})])}), PK2=AttributeValue(N=1), PK1=AttributeValue(S=A), COL5=AttributeValue(N=67), COL4=AttributeValue(M={$SUBTRACT=AttributeValue(L=[AttributeValue(S=COL4), AttributeValue(N=89.34)])}), COL3=AttributeValue(S=Description1), TopLevelSet=AttributeValue(SS=[setMember1]), COL2=AttributeValue(S=TiTlE2), COL1=AttributeValue(M={$ADD=AttributeValue(L=[AttributeValue(S=COL1), AttributeValue(N=3.2)])})}>
Raw output
java.lang.AssertionError: expected:<{Reviews=AttributeValue(M={FiveStar=AttributeValue(L=[AttributeValue(M={reviewer=AttributeValue(S=Alice)})])}), PK2=AttributeValue(N=1), PK1=AttributeValue(S=A), COL5=AttributeValue(N=67), COL4=AttributeValue(N=-55.34), COL3=AttributeValue(S=Description1), TopLevelSet=AttributeValue(SS=[setMember1]), COL2=AttributeValue(S=TiTlE2), COL1=AttributeValue(N=4.2)}> but was:<{Reviews=AttributeValue(M={FiveStar=AttributeValue(L=[AttributeValue(M={reviewer=AttributeValue(S=Alice)})])}), PK2=AttributeValue(N=1), PK1=AttributeValue(S=A), COL5=AttributeValue(N=67), COL4=AttributeValue(M={$SUBTRACT=AttributeValue(L=[AttributeValue(S=COL4), AttributeValue(N=89.34)])}), COL3=AttributeValue(S=Description1), TopLevelSet=AttributeValue(SS=[setMember1]), COL2=AttributeValue(S=TiTlE2), COL1=AttributeValue(M={$ADD=AttributeValue(L=[AttributeValue(S=COL1), AttributeValue(N=3.2)])})}>
	at org.junit.Assert.fail(Assert.java:89)
	at org.junit.Assert.failNotEquals(Assert.java:835)
	at org.junit.Assert.assertEquals(Assert.java:120)
	at org.junit.Assert.assertEquals(Assert.java:146)
	at org.apache.phoenix.ddb.UpdateItemBaseTests.validateItem(UpdateItemBaseTests.java:435)
	at org.apache.phoenix.ddb.UpdateItemIT.testConditionalCheckWithOldItemSuccess(UpdateItemIT.java:112)
	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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:288)
	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:282)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.lang.Thread.run(Thread.java:750)

Check failure on line 1 in phoenix-ddb-rest/src/test/java/org/apache/phoenix/ddb/UpdateItemIT.java

See this annotation in the file changed.

@github-actions github-actions / Test Results

UpdateItemIT.testSet1[SortKey_false]

expected:<{Reviews=AttributeValue(M={FiveStar=AttributeValue(L=[AttributeValue(M={reviewer=AttributeValue(S=Alice)})])}), PK2=AttributeValue(N=1), PK1=AttributeValue(S=A), COL5=AttributeValue(N=67), COL4=AttributeValue(N=-55.34), COL3=AttributeValue(S=Description1), TopLevelSet=AttributeValue(SS=[setMember1]), COL2=AttributeValue(S=TiTlE2), COL1=AttributeValue(N=4.2), NEWCOL=AttributeValue(B=SdkBytes(bytes=0x01ff))}> but was:<{Reviews=AttributeValue(M={FiveStar=AttributeValue(L=[AttributeValue(M={reviewer=AttributeValue(S=Alice)})])}), PK2=AttributeValue(N=1), PK1=AttributeValue(S=A), COL5=AttributeValue(N=67), COL4=AttributeValue(M={$SUBTRACT=AttributeValue(L=[AttributeValue(S=COL4), AttributeValue(N=89.34)])}), COL3=AttributeValue(S=Description1), TopLevelSet=AttributeValue(SS=[setMember1]), COL2=AttributeValue(S=TiTlE2), COL1=AttributeValue(M={$ADD=AttributeValue(L=[AttributeValue(S=COL1), AttributeValue(N=3.2)])}), NEWCOL=AttributeValue(B=SdkBytes(bytes=0x01ff))}>
Raw output
java.lang.AssertionError: expected:<{Reviews=AttributeValue(M={FiveStar=AttributeValue(L=[AttributeValue(M={reviewer=AttributeValue(S=Alice)})])}), PK2=AttributeValue(N=1), PK1=AttributeValue(S=A), COL5=AttributeValue(N=67), COL4=AttributeValue(N=-55.34), COL3=AttributeValue(S=Description1), TopLevelSet=AttributeValue(SS=[setMember1]), COL2=AttributeValue(S=TiTlE2), COL1=AttributeValue(N=4.2), NEWCOL=AttributeValue(B=SdkBytes(bytes=0x01ff))}> but was:<{Reviews=AttributeValue(M={FiveStar=AttributeValue(L=[AttributeValue(M={reviewer=AttributeValue(S=Alice)})])}), PK2=AttributeValue(N=1), PK1=AttributeValue(S=A), COL5=AttributeValue(N=67), COL4=AttributeValue(M={$SUBTRACT=AttributeValue(L=[AttributeValue(S=COL4), AttributeValue(N=89.34)])}), COL3=AttributeValue(S=Description1), TopLevelSet=AttributeValue(SS=[setMember1]), COL2=AttributeValue(S=TiTlE2), COL1=AttributeValue(M={$ADD=AttributeValue(L=[AttributeValue(S=COL1), AttributeValue(N=3.2)])}), NEWCOL=AttributeValue(B=SdkBytes(bytes=0x01ff))}>
	at org.junit.Assert.fail(Assert.java:89)
	at org.junit.Assert.failNotEquals(Assert.java:835)
	at org.junit.Assert.assertEquals(Assert.java:120)
	at org.junit.Assert.assertEquals(Assert.java:146)
	at org.apache.phoenix.ddb.UpdateItemBaseTests.validateItem(UpdateItemBaseTests.java:435)
	at org.apache.phoenix.ddb.UpdateItemBaseTests.testSet1(UpdateItemBaseTests.java:171)
	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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:288)
	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:282)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.lang.Thread.run(Thread.java:750)

Check failure on line 1 in phoenix-ddb-rest/src/test/java/org/apache/phoenix/ddb/UpdateItemIT.java

See this annotation in the file changed.

@github-actions github-actions / Test Results

UpdateItemIT.testSet2[SortKey_false]

expected:<{COL5=AttributeValue(N=67), COL4=AttributeValue(N=66), COL3=AttributeValue(S=Description1), TopLevelSet=AttributeValue(SS=[setMember1]), COL2=AttributeValue(S=Title1), COL1=AttributeValue(N=2), Reviews=AttributeValue(M={FiveStar=AttributeValue(L=[AttributeValue(M={reviewer=AttributeValue(S=Alice)})])}), PK2=AttributeValue(N=1), PK1=AttributeValue(S=A), NEWCOL6=AttributeValue(N=10), NEWCOL5=AttributeValue(N=77), NEWCOL2=AttributeValue(N=100), NEWCOL1=AttributeValue(N=100)}> but was:<{COL5=AttributeValue(N=67), COL4=AttributeValue(M={$SUBTRACT=AttributeValue(L=[AttributeValue(N=100), AttributeValue(M={$IF_NOT_EXISTS=AttributeValue(M={COL4=AttributeValue(N=100)})})])}), COL3=AttributeValue(S=Description1), TopLevelSet=AttributeValue(SS=[setMember1]), COL2=AttributeValue(S=Title1), COL1=AttributeValue(M={$ADD=AttributeValue(L=[AttributeValue(M={$IF_NOT_EXISTS=AttributeValue(M={COL1=AttributeValue(N=100)})}), AttributeValue(N=1)])}), Reviews=AttributeValue(M={FiveStar=AttributeValue(L=[AttributeValue(M={reviewer=AttributeValue(S=Alice)})])}), PK2=AttributeValue(N=1), PK1=AttributeValue(S=A), NEWCOL6=AttributeValue(N=10), NEWCOL5=AttributeValue(M={$ADD=AttributeValue(L=[AttributeValue(M={$IF_NOT_EXISTS=AttributeValue(M={NEWCOL5=AttributeValue(N=10)})}), AttributeValue(M={$IF_NOT_EXISTS=AttributeValue(M={COL5=AttributeValue(N=0)})})])}), NEWCOL2=AttributeValue(M={$SUBTRACT=AttributeValue(L=[AttributeValue(M={$IF_NOT_EXISTS=AttributeValue(M={NEWCOL2=AttributeValue(N=110)})}), AttributeValue(N=10)])}), NEWCOL1=AttributeValue(M={$ADD=AttributeValue(L=[AttributeValue(M={$IF_NOT_EXISTS=AttributeValue(M={NEWCOL1=AttributeValue(N=0)})}), AttributeValue(N=100)])})}>
Raw output
java.lang.AssertionError: expected:<{COL5=AttributeValue(N=67), COL4=AttributeValue(N=66), COL3=AttributeValue(S=Description1), TopLevelSet=AttributeValue(SS=[setMember1]), COL2=AttributeValue(S=Title1), COL1=AttributeValue(N=2), Reviews=AttributeValue(M={FiveStar=AttributeValue(L=[AttributeValue(M={reviewer=AttributeValue(S=Alice)})])}), PK2=AttributeValue(N=1), PK1=AttributeValue(S=A), NEWCOL6=AttributeValue(N=10), NEWCOL5=AttributeValue(N=77), NEWCOL2=AttributeValue(N=100), NEWCOL1=AttributeValue(N=100)}> but was:<{COL5=AttributeValue(N=67), COL4=AttributeValue(M={$SUBTRACT=AttributeValue(L=[AttributeValue(N=100), AttributeValue(M={$IF_NOT_EXISTS=AttributeValue(M={COL4=AttributeValue(N=100)})})])}), COL3=AttributeValue(S=Description1), TopLevelSet=AttributeValue(SS=[setMember1]), COL2=AttributeValue(S=Title1), COL1=AttributeValue(M={$ADD=AttributeValue(L=[AttributeValue(M={$IF_NOT_EXISTS=AttributeValue(M={COL1=AttributeValue(N=100)})}), AttributeValue(N=1)])}), Reviews=AttributeValue(M={FiveStar=AttributeValue(L=[AttributeValue(M={reviewer=AttributeValue(S=Alice)})])}), PK2=AttributeValue(N=1), PK1=AttributeValue(S=A), NEWCOL6=AttributeValue(N=10), NEWCOL5=AttributeValue(M={$ADD=AttributeValue(L=[AttributeValue(M={$IF_NOT_EXISTS=AttributeValue(M={NEWCOL5=AttributeValue(N=10)})}), AttributeValue(M={$IF_NOT_EXISTS=AttributeValue(M={COL5=AttributeValue(N=0)})})])}), NEWCOL2=AttributeValue(M={$SUBTRACT=AttributeValue(L=[AttributeValue(M={$IF_NOT_EXISTS=AttributeValue(M={NEWCOL2=AttributeValue(N=110)})}), AttributeValue(N=10)])}), NEWCOL1=AttributeValue(M={$ADD=AttributeValue(L=[AttributeValue(M={$IF_NOT_EXISTS=AttributeValue(M={NEWCOL1=AttributeValue(N=0)})}), AttributeValue(N=100)])})}>
	at org.junit.Assert.fail(Assert.java:89)
	at org.junit.Assert.failNotEquals(Assert.java:835)
	at org.junit.Assert.assertEquals(Assert.java:120)
	at org.junit.Assert.assertEquals(Assert.java:146)
	at org.apache.phoenix.ddb.UpdateItemBaseTests.validateItem(UpdateItemBaseTests.java:435)
	at org.apache.phoenix.ddb.UpdateItemBaseTests.testSet2(UpdateItemBaseTests.java:210)
	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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:288)
	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:282)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.lang.Thread.run(Thread.java:750)

Check failure on line 1 in phoenix-ddb-rest/src/test/java/org/apache/phoenix/ddb/UpdateItemIT.java

See this annotation in the file changed.

@github-actions github-actions / Test Results

UpdateItemIT.testSetDelete[SortKey_false]

expected:<{Reviews=AttributeValue(M={FiveStar=AttributeValue(L=[AttributeValue(M={reviewer=AttributeValue(S=Alice)})])}), PK2=AttributeValue(N=1), PK1=AttributeValue(S=A), COL5=AttributeValue(N=67), COL4=AttributeValue(N=34), COL3=AttributeValue(S=Description1), COL2=AttributeValue(S=TiTlE2), COL1=AttributeValue(N=4.2)}> but was:<{Reviews=AttributeValue(M={FiveStar=AttributeValue(L=[AttributeValue(M={reviewer=AttributeValue(S=Alice)})])}), PK2=AttributeValue(N=1), PK1=AttributeValue(S=A), COL5=AttributeValue(N=67), COL4=AttributeValue(N=34), COL3=AttributeValue(S=Description1), COL2=AttributeValue(S=TiTlE2), COL1=AttributeValue(M={$ADD=AttributeValue(L=[AttributeValue(S=COL1), AttributeValue(N=3.2)])})}>
Raw output
java.lang.AssertionError: expected:<{Reviews=AttributeValue(M={FiveStar=AttributeValue(L=[AttributeValue(M={reviewer=AttributeValue(S=Alice)})])}), PK2=AttributeValue(N=1), PK1=AttributeValue(S=A), COL5=AttributeValue(N=67), COL4=AttributeValue(N=34), COL3=AttributeValue(S=Description1), COL2=AttributeValue(S=TiTlE2), COL1=AttributeValue(N=4.2)}> but was:<{Reviews=AttributeValue(M={FiveStar=AttributeValue(L=[AttributeValue(M={reviewer=AttributeValue(S=Alice)})])}), PK2=AttributeValue(N=1), PK1=AttributeValue(S=A), COL5=AttributeValue(N=67), COL4=AttributeValue(N=34), COL3=AttributeValue(S=Description1), COL2=AttributeValue(S=TiTlE2), COL1=AttributeValue(M={$ADD=AttributeValue(L=[AttributeValue(S=COL1), AttributeValue(N=3.2)])})}>
	at org.junit.Assert.fail(Assert.java:89)
	at org.junit.Assert.failNotEquals(Assert.java:835)
	at org.junit.Assert.assertEquals(Assert.java:120)
	at org.junit.Assert.assertEquals(Assert.java:146)
	at org.apache.phoenix.ddb.UpdateItemBaseTests.validateItem(UpdateItemBaseTests.java:435)
	at org.apache.phoenix.ddb.UpdateItemBaseTests.testSetDelete(UpdateItemBaseTests.java:317)
	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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:288)
	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:282)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.lang.Thread.run(Thread.java:750)

Check failure on line 1 in phoenix-ddb-rest/src/test/java/org/apache/phoenix/ddb/UpdateItemIT.java

See this annotation in the file changed.

@github-actions github-actions / Test Results

UpdateItemIT.testAddSetRemove[SortKey_false]

expected:<{Reviews=AttributeValue(M={FiveStar=AttributeValue(L=[AttributeValue(M={reviewer=AttributeValue(S=Alice)})])}), PK2=AttributeValue(N=1), PK1=AttributeValue(S=A), COL5=AttributeValue(N=67), COL4=AttributeValue(N=37), TopLevelSet=AttributeValue(SS=[setMember1, setMember2]), COL2=AttributeValue(S=TiTlE2), COL1=AttributeValue(N=-2.2)}> but was:<{Reviews=AttributeValue(M={FiveStar=AttributeValue(L=[AttributeValue(M={reviewer=AttributeValue(S=Alice)})])}), PK2=AttributeValue(N=1), PK1=AttributeValue(S=A), COL5=AttributeValue(N=67), COL4=AttributeValue(M={$SUBTRACT=AttributeValue(L=[AttributeValue(S=COL4), AttributeValue(N=-3)])}), TopLevelSet=AttributeValue(SS=[setMember1, setMember2]), COL2=AttributeValue(S=TiTlE2), COL1=AttributeValue(N=-2.2)}>
Raw output
java.lang.AssertionError: expected:<{Reviews=AttributeValue(M={FiveStar=AttributeValue(L=[AttributeValue(M={reviewer=AttributeValue(S=Alice)})])}), PK2=AttributeValue(N=1), PK1=AttributeValue(S=A), COL5=AttributeValue(N=67), COL4=AttributeValue(N=37), TopLevelSet=AttributeValue(SS=[setMember1, setMember2]), COL2=AttributeValue(S=TiTlE2), COL1=AttributeValue(N=-2.2)}> but was:<{Reviews=AttributeValue(M={FiveStar=AttributeValue(L=[AttributeValue(M={reviewer=AttributeValue(S=Alice)})])}), PK2=AttributeValue(N=1), PK1=AttributeValue(S=A), COL5=AttributeValue(N=67), COL4=AttributeValue(M={$SUBTRACT=AttributeValue(L=[AttributeValue(S=COL4), AttributeValue(N=-3)])}), TopLevelSet=AttributeValue(SS=[setMember1, setMember2]), COL2=AttributeValue(S=TiTlE2), COL1=AttributeValue(N=-2.2)}>
	at org.junit.Assert.fail(Assert.java:89)
	at org.junit.Assert.failNotEquals(Assert.java:835)
	at org.junit.Assert.assertEquals(Assert.java:120)
	at org.junit.Assert.assertEquals(Assert.java:146)
	at org.apache.phoenix.ddb.UpdateItemBaseTests.validateItem(UpdateItemBaseTests.java:435)
	at org.apache.phoenix.ddb.UpdateItemBaseTests.testAddSetRemove(UpdateItemBaseTests.java:371)
	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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:288)
	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:282)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.lang.Thread.run(Thread.java:750)

Check failure on line 81 in phoenix-ddb-rest/src/test/java/org/apache/phoenix/ddb/UpdateItemIT.java

See this annotation in the file changed.

@github-actions github-actions / Test Results

UpdateItemIT.testConditionalCheckSuccess[SortKey_true]

expected:<{Reviews=AttributeValue(M={FiveStar=AttributeValue(L=[AttributeValue(M={reviewer=AttributeValue(S=Alice)})])}), PK2=AttributeValue(N=1), PK1=AttributeValue(S=A), COL5=AttributeValue(N=67), COL4=AttributeValue(N=-55.34), COL3=AttributeValue(S=Description1), TopLevelSet=AttributeValue(SS=[setMember1]), COL2=AttributeValue(S=TiTlE2), COL1=AttributeValue(N=4.2)}> but was:<{Reviews=AttributeValue(M={FiveStar=AttributeValue(L=[AttributeValue(M={reviewer=AttributeValue(S=Alice)})])}), PK2=AttributeValue(N=1), PK1=AttributeValue(S=A), COL5=AttributeValue(N=67), COL4=AttributeValue(M={$SUBTRACT=AttributeValue(L=[AttributeValue(S=COL4), AttributeValue(N=89.34)])}), COL3=AttributeValue(S=Description1), TopLevelSet=AttributeValue(SS=[setMember1]), COL2=AttributeValue(S=TiTlE2), COL1=AttributeValue(M={$ADD=AttributeValue(L=[AttributeValue(S=COL1), AttributeValue(N=3.2)])})}>
Raw output
java.lang.AssertionError: expected:<{Reviews=AttributeValue(M={FiveStar=AttributeValue(L=[AttributeValue(M={reviewer=AttributeValue(S=Alice)})])}), PK2=AttributeValue(N=1), PK1=AttributeValue(S=A), COL5=AttributeValue(N=67), COL4=AttributeValue(N=-55.34), COL3=AttributeValue(S=Description1), TopLevelSet=AttributeValue(SS=[setMember1]), COL2=AttributeValue(S=TiTlE2), COL1=AttributeValue(N=4.2)}> but was:<{Reviews=AttributeValue(M={FiveStar=AttributeValue(L=[AttributeValue(M={reviewer=AttributeValue(S=Alice)})])}), PK2=AttributeValue(N=1), PK1=AttributeValue(S=A), COL5=AttributeValue(N=67), COL4=AttributeValue(M={$SUBTRACT=AttributeValue(L=[AttributeValue(S=COL4), AttributeValue(N=89.34)])}), COL3=AttributeValue(S=Description1), TopLevelSet=AttributeValue(SS=[setMember1]), COL2=AttributeValue(S=TiTlE2), COL1=AttributeValue(M={$ADD=AttributeValue(L=[AttributeValue(S=COL1), AttributeValue(N=3.2)])})}>
	at org.junit.Assert.fail(Assert.java:89)
	at org.junit.Assert.failNotEquals(Assert.java:835)
	at org.junit.Assert.assertEquals(Assert.java:120)
	at org.junit.Assert.assertEquals(Assert.java:146)
	at org.apache.phoenix.ddb.UpdateItemIT.testConditionalCheckSuccess(UpdateItemIT.java:81)
	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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:288)
	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:282)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.lang.Thread.run(Thread.java:750)

Check failure on line 227 in phoenix-ddb-rest/src/test/java/org/apache/phoenix/ddb/UpdateItemIT.java

See this annotation in the file changed.

@github-actions github-actions / Test Results

UpdateItemIT.testConcurrentConditionalUpdateWithReturnValues[SortKey_true]

expected:<1> but was:<0>
Raw output
java.lang.AssertionError: expected:<1> but was:<0>
	at org.junit.Assert.fail(Assert.java:89)
	at org.junit.Assert.failNotEquals(Assert.java:835)
	at org.junit.Assert.assertEquals(Assert.java:647)
	at org.junit.Assert.assertEquals(Assert.java:633)
	at org.apache.phoenix.ddb.UpdateItemIT.testConcurrentConditionalUpdateWithReturnValues(UpdateItemIT.java:227)
	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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:288)
	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:282)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.lang.Thread.run(Thread.java:750)

Check failure on line 112 in phoenix-ddb-rest/src/test/java/org/apache/phoenix/ddb/UpdateItemIT.java

See this annotation in the file changed.

@github-actions github-actions / Test Results

UpdateItemIT.testConditionalCheckWithOldItemSuccess[SortKey_true]

expected:<{Reviews=AttributeValue(M={FiveStar=AttributeValue(L=[AttributeValue(M={reviewer=AttributeValue(S=Alice)})])}), PK2=AttributeValue(N=1), PK1=AttributeValue(S=A), COL5=AttributeValue(N=67), COL4=AttributeValue(N=-55.34), COL3=AttributeValue(S=Description1), TopLevelSet=AttributeValue(SS=[setMember1]), COL2=AttributeValue(S=TiTlE2), COL1=AttributeValue(N=4.2)}> but was:<{Reviews=AttributeValue(M={FiveStar=AttributeValue(L=[AttributeValue(M={reviewer=AttributeValue(S=Alice)})])}), PK2=AttributeValue(N=1), PK1=AttributeValue(S=A), COL5=AttributeValue(N=67), COL4=AttributeValue(M={$SUBTRACT=AttributeValue(L=[AttributeValue(S=COL4), AttributeValue(N=89.34)])}), COL3=AttributeValue(S=Description1), TopLevelSet=AttributeValue(SS=[setMember1]), COL2=AttributeValue(S=TiTlE2), COL1=AttributeValue(M={$ADD=AttributeValue(L=[AttributeValue(S=COL1), AttributeValue(N=3.2)])})}>
Raw output
java.lang.AssertionError: expected:<{Reviews=AttributeValue(M={FiveStar=AttributeValue(L=[AttributeValue(M={reviewer=AttributeValue(S=Alice)})])}), PK2=AttributeValue(N=1), PK1=AttributeValue(S=A), COL5=AttributeValue(N=67), COL4=AttributeValue(N=-55.34), COL3=AttributeValue(S=Description1), TopLevelSet=AttributeValue(SS=[setMember1]), COL2=AttributeValue(S=TiTlE2), COL1=AttributeValue(N=4.2)}> but was:<{Reviews=AttributeValue(M={FiveStar=AttributeValue(L=[AttributeValue(M={reviewer=AttributeValue(S=Alice)})])}), PK2=AttributeValue(N=1), PK1=AttributeValue(S=A), COL5=AttributeValue(N=67), COL4=AttributeValue(M={$SUBTRACT=AttributeValue(L=[AttributeValue(S=COL4), AttributeValue(N=89.34)])}), COL3=AttributeValue(S=Description1), TopLevelSet=AttributeValue(SS=[setMember1]), COL2=AttributeValue(S=TiTlE2), COL1=AttributeValue(M={$ADD=AttributeValue(L=[AttributeValue(S=COL1), AttributeValue(N=3.2)])})}>
	at org.junit.Assert.fail(Assert.java:89)
	at org.junit.Assert.failNotEquals(Assert.java:835)
	at org.junit.Assert.assertEquals(Assert.java:120)
	at org.junit.Assert.assertEquals(Assert.java:146)
	at org.apache.phoenix.ddb.UpdateItemBaseTests.validateItem(UpdateItemBaseTests.java:435)
	at org.apache.phoenix.ddb.UpdateItemIT.testConditionalCheckWithOldItemSuccess(UpdateItemIT.java:112)
	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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:288)
	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:282)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.lang.Thread.run(Thread.java:750)

Check failure on line 1 in phoenix-ddb-rest/src/test/java/org/apache/phoenix/ddb/UpdateItemIT.java

See this annotation in the file changed.

@github-actions github-actions / Test Results

UpdateItemIT.testSet1[SortKey_true]

expected:<{Reviews=AttributeValue(M={FiveStar=AttributeValue(L=[AttributeValue(M={reviewer=AttributeValue(S=Alice)})])}), PK2=AttributeValue(N=1), PK1=AttributeValue(S=A), COL5=AttributeValue(N=67), COL4=AttributeValue(N=-55.34), COL3=AttributeValue(S=Description1), TopLevelSet=AttributeValue(SS=[setMember1]), COL2=AttributeValue(S=TiTlE2), COL1=AttributeValue(N=4.2), NEWCOL=AttributeValue(B=SdkBytes(bytes=0x01ff))}> but was:<{Reviews=AttributeValue(M={FiveStar=AttributeValue(L=[AttributeValue(M={reviewer=AttributeValue(S=Alice)})])}), PK2=AttributeValue(N=1), PK1=AttributeValue(S=A), COL5=AttributeValue(N=67), COL4=AttributeValue(M={$SUBTRACT=AttributeValue(L=[AttributeValue(S=COL4), AttributeValue(N=89.34)])}), COL3=AttributeValue(S=Description1), TopLevelSet=AttributeValue(SS=[setMember1]), COL2=AttributeValue(S=TiTlE2), COL1=AttributeValue(M={$ADD=AttributeValue(L=[AttributeValue(S=COL1), AttributeValue(N=3.2)])}), NEWCOL=AttributeValue(B=SdkBytes(bytes=0x01ff))}>
Raw output
java.lang.AssertionError: expected:<{Reviews=AttributeValue(M={FiveStar=AttributeValue(L=[AttributeValue(M={reviewer=AttributeValue(S=Alice)})])}), PK2=AttributeValue(N=1), PK1=AttributeValue(S=A), COL5=AttributeValue(N=67), COL4=AttributeValue(N=-55.34), COL3=AttributeValue(S=Description1), TopLevelSet=AttributeValue(SS=[setMember1]), COL2=AttributeValue(S=TiTlE2), COL1=AttributeValue(N=4.2), NEWCOL=AttributeValue(B=SdkBytes(bytes=0x01ff))}> but was:<{Reviews=AttributeValue(M={FiveStar=AttributeValue(L=[AttributeValue(M={reviewer=AttributeValue(S=Alice)})])}), PK2=AttributeValue(N=1), PK1=AttributeValue(S=A), COL5=AttributeValue(N=67), COL4=AttributeValue(M={$SUBTRACT=AttributeValue(L=[AttributeValue(S=COL4), AttributeValue(N=89.34)])}), COL3=AttributeValue(S=Description1), TopLevelSet=AttributeValue(SS=[setMember1]), COL2=AttributeValue(S=TiTlE2), COL1=AttributeValue(M={$ADD=AttributeValue(L=[AttributeValue(S=COL1), AttributeValue(N=3.2)])}), NEWCOL=AttributeValue(B=SdkBytes(bytes=0x01ff))}>
	at org.junit.Assert.fail(Assert.java:89)
	at org.junit.Assert.failNotEquals(Assert.java:835)
	at org.junit.Assert.assertEquals(Assert.java:120)
	at org.junit.Assert.assertEquals(Assert.java:146)
	at org.apache.phoenix.ddb.UpdateItemBaseTests.validateItem(UpdateItemBaseTests.java:435)
	at org.apache.phoenix.ddb.UpdateItemBaseTests.testSet1(UpdateItemBaseTests.java:171)
	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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:288)
	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:282)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.lang.Thread.run(Thread.java:750)

Check failure on line 1 in phoenix-ddb-rest/src/test/java/org/apache/phoenix/ddb/UpdateItemIT.java

See this annotation in the file changed.

@github-actions github-actions / Test Results

UpdateItemIT.testSet2[SortKey_true]

expected:<{COL5=AttributeValue(N=67), COL4=AttributeValue(N=66), COL3=AttributeValue(S=Description1), TopLevelSet=AttributeValue(SS=[setMember1]), COL2=AttributeValue(S=Title1), COL1=AttributeValue(N=2), Reviews=AttributeValue(M={FiveStar=AttributeValue(L=[AttributeValue(M={reviewer=AttributeValue(S=Alice)})])}), PK2=AttributeValue(N=1), PK1=AttributeValue(S=A), NEWCOL6=AttributeValue(N=10), NEWCOL5=AttributeValue(N=77), NEWCOL2=AttributeValue(N=100), NEWCOL1=AttributeValue(N=100)}> but was:<{COL5=AttributeValue(N=67), COL4=AttributeValue(M={$SUBTRACT=AttributeValue(L=[AttributeValue(N=100), AttributeValue(M={$IF_NOT_EXISTS=AttributeValue(M={COL4=AttributeValue(N=100)})})])}), COL3=AttributeValue(S=Description1), TopLevelSet=AttributeValue(SS=[setMember1]), COL2=AttributeValue(S=Title1), COL1=AttributeValue(M={$ADD=AttributeValue(L=[AttributeValue(M={$IF_NOT_EXISTS=AttributeValue(M={COL1=AttributeValue(N=100)})}), AttributeValue(N=1)])}), Reviews=AttributeValue(M={FiveStar=AttributeValue(L=[AttributeValue(M={reviewer=AttributeValue(S=Alice)})])}), PK2=AttributeValue(N=1), PK1=AttributeValue(S=A), NEWCOL6=AttributeValue(N=10), NEWCOL5=AttributeValue(M={$ADD=AttributeValue(L=[AttributeValue(M={$IF_NOT_EXISTS=AttributeValue(M={NEWCOL5=AttributeValue(N=10)})}), AttributeValue(M={$IF_NOT_EXISTS=AttributeValue(M={COL5=AttributeValue(N=0)})})])}), NEWCOL2=AttributeValue(M={$SUBTRACT=AttributeValue(L=[AttributeValue(M={$IF_NOT_EXISTS=AttributeValue(M={NEWCOL2=AttributeValue(N=110)})}), AttributeValue(N=10)])}), NEWCOL1=AttributeValue(M={$ADD=AttributeValue(L=[AttributeValue(M={$IF_NOT_EXISTS=AttributeValue(M={NEWCOL1=AttributeValue(N=0)})}), AttributeValue(N=100)])})}>
Raw output
java.lang.AssertionError: expected:<{COL5=AttributeValue(N=67), COL4=AttributeValue(N=66), COL3=AttributeValue(S=Description1), TopLevelSet=AttributeValue(SS=[setMember1]), COL2=AttributeValue(S=Title1), COL1=AttributeValue(N=2), Reviews=AttributeValue(M={FiveStar=AttributeValue(L=[AttributeValue(M={reviewer=AttributeValue(S=Alice)})])}), PK2=AttributeValue(N=1), PK1=AttributeValue(S=A), NEWCOL6=AttributeValue(N=10), NEWCOL5=AttributeValue(N=77), NEWCOL2=AttributeValue(N=100), NEWCOL1=AttributeValue(N=100)}> but was:<{COL5=AttributeValue(N=67), COL4=AttributeValue(M={$SUBTRACT=AttributeValue(L=[AttributeValue(N=100), AttributeValue(M={$IF_NOT_EXISTS=AttributeValue(M={COL4=AttributeValue(N=100)})})])}), COL3=AttributeValue(S=Description1), TopLevelSet=AttributeValue(SS=[setMember1]), COL2=AttributeValue(S=Title1), COL1=AttributeValue(M={$ADD=AttributeValue(L=[AttributeValue(M={$IF_NOT_EXISTS=AttributeValue(M={COL1=AttributeValue(N=100)})}), AttributeValue(N=1)])}), Reviews=AttributeValue(M={FiveStar=AttributeValue(L=[AttributeValue(M={reviewer=AttributeValue(S=Alice)})])}), PK2=AttributeValue(N=1), PK1=AttributeValue(S=A), NEWCOL6=AttributeValue(N=10), NEWCOL5=AttributeValue(M={$ADD=AttributeValue(L=[AttributeValue(M={$IF_NOT_EXISTS=AttributeValue(M={NEWCOL5=AttributeValue(N=10)})}), AttributeValue(M={$IF_NOT_EXISTS=AttributeValue(M={COL5=AttributeValue(N=0)})})])}), NEWCOL2=AttributeValue(M={$SUBTRACT=AttributeValue(L=[AttributeValue(M={$IF_NOT_EXISTS=AttributeValue(M={NEWCOL2=AttributeValue(N=110)})}), AttributeValue(N=10)])}), NEWCOL1=AttributeValue(M={$ADD=AttributeValue(L=[AttributeValue(M={$IF_NOT_EXISTS=AttributeValue(M={NEWCOL1=AttributeValue(N=0)})}), AttributeValue(N=100)])})}>
	at org.junit.Assert.fail(Assert.java:89)
	at org.junit.Assert.failNotEquals(Assert.java:835)
	at org.junit.Assert.assertEquals(Assert.java:120)
	at org.junit.Assert.assertEquals(Assert.java:146)
	at org.apache.phoenix.ddb.UpdateItemBaseTests.validateItem(UpdateItemBaseTests.java:435)
	at org.apache.phoenix.ddb.UpdateItemBaseTests.testSet2(UpdateItemBaseTests.java:210)
	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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:288)
	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:282)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.lang.Thread.run(Thread.java:750)

Check failure on line 1 in phoenix-ddb-rest/src/test/java/org/apache/phoenix/ddb/UpdateItemIT.java

See this annotation in the file changed.

@github-actions github-actions / Test Results

UpdateItemIT.testSetDelete[SortKey_true]

expected:<{Reviews=AttributeValue(M={FiveStar=AttributeValue(L=[AttributeValue(M={reviewer=AttributeValue(S=Alice)})])}), PK2=AttributeValue(N=1), PK1=AttributeValue(S=A), COL5=AttributeValue(N=67), COL4=AttributeValue(N=34), COL3=AttributeValue(S=Description1), COL2=AttributeValue(S=TiTlE2), COL1=AttributeValue(N=4.2)}> but was:<{Reviews=AttributeValue(M={FiveStar=AttributeValue(L=[AttributeValue(M={reviewer=AttributeValue(S=Alice)})])}), PK2=AttributeValue(N=1), PK1=AttributeValue(S=A), COL5=AttributeValue(N=67), COL4=AttributeValue(N=34), COL3=AttributeValue(S=Description1), COL2=AttributeValue(S=TiTlE2), COL1=AttributeValue(M={$ADD=AttributeValue(L=[AttributeValue(S=COL1), AttributeValue(N=3.2)])})}>
Raw output
java.lang.AssertionError: expected:<{Reviews=AttributeValue(M={FiveStar=AttributeValue(L=[AttributeValue(M={reviewer=AttributeValue(S=Alice)})])}), PK2=AttributeValue(N=1), PK1=AttributeValue(S=A), COL5=AttributeValue(N=67), COL4=AttributeValue(N=34), COL3=AttributeValue(S=Description1), COL2=AttributeValue(S=TiTlE2), COL1=AttributeValue(N=4.2)}> but was:<{Reviews=AttributeValue(M={FiveStar=AttributeValue(L=[AttributeValue(M={reviewer=AttributeValue(S=Alice)})])}), PK2=AttributeValue(N=1), PK1=AttributeValue(S=A), COL5=AttributeValue(N=67), COL4=AttributeValue(N=34), COL3=AttributeValue(S=Description1), COL2=AttributeValue(S=TiTlE2), COL1=AttributeValue(M={$ADD=AttributeValue(L=[AttributeValue(S=COL1), AttributeValue(N=3.2)])})}>
	at org.junit.Assert.fail(Assert.java:89)
	at org.junit.Assert.failNotEquals(Assert.java:835)
	at org.junit.Assert.assertEquals(Assert.java:120)
	at org.junit.Assert.assertEquals(Assert.java:146)
	at org.apache.phoenix.ddb.UpdateItemBaseTests.validateItem(UpdateItemBaseTests.java:435)
	at org.apache.phoenix.ddb.UpdateItemBaseTests.testSetDelete(UpdateItemBaseTests.java:317)
	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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:288)
	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:282)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.lang.Thread.run(Thread.java:750)

Check failure on line 1 in phoenix-ddb-rest/src/test/java/org/apache/phoenix/ddb/UpdateItemIT.java

See this annotation in the file changed.

@github-actions github-actions / Test Results

UpdateItemIT.testAddSetRemove[SortKey_true]

expected:<{Reviews=AttributeValue(M={FiveStar=AttributeValue(L=[AttributeValue(M={reviewer=AttributeValue(S=Alice)})])}), PK2=AttributeValue(N=1), PK1=AttributeValue(S=A), COL5=AttributeValue(N=67), COL4=AttributeValue(N=37), TopLevelSet=AttributeValue(SS=[setMember1, setMember2]), COL2=AttributeValue(S=TiTlE2), COL1=AttributeValue(N=-2.2)}> but was:<{Reviews=AttributeValue(M={FiveStar=AttributeValue(L=[AttributeValue(M={reviewer=AttributeValue(S=Alice)})])}), PK2=AttributeValue(N=1), PK1=AttributeValue(S=A), COL5=AttributeValue(N=67), COL4=AttributeValue(M={$SUBTRACT=AttributeValue(L=[AttributeValue(S=COL4), AttributeValue(N=-3)])}), TopLevelSet=AttributeValue(SS=[setMember1, setMember2]), COL2=AttributeValue(S=TiTlE2), COL1=AttributeValue(N=-2.2)}>
Raw output
java.lang.AssertionError: expected:<{Reviews=AttributeValue(M={FiveStar=AttributeValue(L=[AttributeValue(M={reviewer=AttributeValue(S=Alice)})])}), PK2=AttributeValue(N=1), PK1=AttributeValue(S=A), COL5=AttributeValue(N=67), COL4=AttributeValue(N=37), TopLevelSet=AttributeValue(SS=[setMember1, setMember2]), COL2=AttributeValue(S=TiTlE2), COL1=AttributeValue(N=-2.2)}> but was:<{Reviews=AttributeValue(M={FiveStar=AttributeValue(L=[AttributeValue(M={reviewer=AttributeValue(S=Alice)})])}), PK2=AttributeValue(N=1), PK1=AttributeValue(S=A), COL5=AttributeValue(N=67), COL4=AttributeValue(M={$SUBTRACT=AttributeValue(L=[AttributeValue(S=COL4), AttributeValue(N=-3)])}), TopLevelSet=AttributeValue(SS=[setMember1, setMember2]), COL2=AttributeValue(S=TiTlE2), COL1=AttributeValue(N=-2.2)}>
	at org.junit.Assert.fail(Assert.java:89)
	at org.junit.Assert.failNotEquals(Assert.java:835)
	at org.junit.Assert.assertEquals(Assert.java:120)
	at org.junit.Assert.assertEquals(Assert.java:146)
	at org.apache.phoenix.ddb.UpdateItemBaseTests.validateItem(UpdateItemBaseTests.java:435)
	at org.apache.phoenix.ddb.UpdateItemBaseTests.testAddSetRemove(UpdateItemBaseTests.java:371)
	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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:288)
	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:282)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.lang.Thread.run(Thread.java:750)