apache / incubator-hugegraph

A graph database that supports more than 100+ billion data, high performance and scalability (Include OLTP Engine & REST-API & Backends)
https://hugegraph.apache.org
Apache License 2.0
2.58k stars 512 forks source link

[Bug(pd-store)] hstore backend core tests failure #2420

Open VGalaxies opened 5 months ago

VGalaxies commented 5 months ago

subtask of #2265, see https://github.com/apache/incubator-hugegraph/actions/runs/7531623523/job/20500585647?pr=2414

dosubot[bot] commented 5 months ago

๐Ÿค–

Based on the provided context, it appears that the hstore core tests are failing due to several exceptions being thrown. These exceptions are related to the creation, scheduling, and deletion of tasks in the HugeGraph database.

The specific errors are as follows:

  1. IllegalArgumentException: Thrown when trying to delete an incomplete task.
  2. IllegalArgumentException: Thrown when a HugeTask is created with a null id.
  3. IllegalArgumentException: Thrown when a HugeTask is created with an id of invalid type.
  4. NullPointerException: Thrown when a HugeTask is created with a null callable.
  5. IllegalStateException: Thrown when a HugeTask is scheduled without setting a task type.
  6. IllegalStateException: Thrown when a HugeTask is scheduled without setting a task name.
  7. NotFoundException: Thrown when trying to access a task that has been deleted.

These errors are found in the testTask and testTaskWithFailure methods in the TaskCoreTest.java file.

Unfortunately, without more information, it's difficult to determine the exact cause of these test failures. The pull request #2414 and its potential impact on the hstore core tests, as well as the interaction between the pd-store and the hstore core tests, are not clear from the provided context.

If you could provide more details about the changes made in the pull request #2414, or any known issues or bugs in the pd-store that could have caused these test failures, it would be helpful in diagnosing the problem.

For more information about the purpose of the hstore core tests and the scenarios they cover, you can refer to the TaskCoreTest.java file in the incubator-hugegraph repository.

I hope this information is helpful. If you have any further questions or need more assistance, please don't hesitate to ask.

Sources


This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.

Help me be more useful! Please leave a ๐Ÿ‘ if this is helpful and ๐Ÿ‘Ž if it is irrelevant.

If you want to continue the conversation, start your reply with @dosu-bot.

Pengzna commented 5 months ago

I will try to catch it

VGalaxies commented 4 months ago

close by #2424 and #2431

VGalaxies commented 4 months ago

NOTE: the core tests of hstore expect the following tests to fail:

[INFO] Results:
[INFO] 
Error:  Failures: 
Error:    EdgeCoreTest.testScanEdgeInPaging:5214 expected:<18> but was:<0>
Error:    MultiGraphsTest.testCopySchemaWithMultiGraphs:121
Error:    VertexCoreTest.testAddOlapRangeAndOlapSecondaryProperties:2491 expected:<1> but was:<0>
Error:    VertexCoreTest.testAddOlapRangeProperties:2344 expected:<1> but was:<0>
Error:    VertexCoreTest.testAddOlapSecondaryProperties:2254 expected:<1> but was:<0>
Error:    VertexCoreTest.testQueryOlapRangeAndRegularSecondaryProperties:2638 expected:<1> but was:<0>
Error:    VertexCoreTest.testQueryOlapWithUpdates:2725 expected:<1> but was:<0>
Error:    VertexCoreTest.testScanVertexInPaging:7606 expected:<10> but was:<1>
Error:  Errors: 
Error:    EdgeCoreTest.testQueryOutEdgesOfVertexBySortkeyWithMoreFields:3912 ยป HgStoreClient
Error:    EdgeCoreTest.testQueryOutEdgesOfVertexBySortkeyWithMoreFieldsInPage:4131 ยป HgStoreClient
Error:    EdgeCoreTest.testQueryOutEdgesOfVertexBySortkeyWithPrefix:3704 ยป HgStoreClient
Error:    EdgeCoreTest.testQueryOutEdgesOfVertexBySortkeyWithPrefixInPage:3800 ยป HgStoreClient
Error:    EdgeCoreTest.testQueryOutEdgesOfVertexBySortkeyWithRange:3607 ยป HgStoreClient ...
Error:    MultiGraphsTest.testCreateGraphWithSameNameDifferentBackends:289->openGraphWithBackend:381 ยป Runtime
Error:    RamTableTest.testReloadAndQuery:112 ยป Huge Failed to load ramtable
Error:    RamTableTest.testReloadAndQueryWithBigVertex:369 ยป Huge Failed to load ramtabl...
Error:    RamTableTest.testReloadAndQueryWithMultiEdges:239 ยป Huge Failed to load ramtab...
Error:    RamTableTest.testReloadAndQueryWithProperty:444 ยป Huge Failed to load ramtable
Error:    RamTableTest.testReloadFromFileAndQuery:159 ยป Huge Failed to load ramtable
Error:    VertexCoreTest.testQueryByPropertyInPageWithLimitGtPageSize:8337 ยป IllegalArgument
Error:    VertexCoreTest.testQueryByRangeIndexInPage:8568 ยป IllegalArgument Undefined in...
Error:    VertexCoreTest.testQueryBySingleRangePropertyInPage:8423 ยป IllegalArgument Und...
[INFO] 
Error:  Tests run: 730, Failures: 8, Errors: 14, Skipped: 13