jinchengchenghh commented on PR #6872:
URL: 
https://github.com/apache/incubator-gluten/pull/6872#issuecomment-2292924605

   I meet this exception, because we call 
`gluten::Runtime::registerFactory(gluten::kVeloxRuntimeKind, 
veloxRuntimeFactory);` twice, create the velox backend in `MemoryManagerTest` 
and `MultiMemoryManagerTest`, do you have any suggestion? @zhztheplayer 
   ```
   /mnt/DP_disk1/code/gluten/cpp/build/velox/tests# ./velox_memory_test
   Running main() from 
/mnt/DP_disk1/code/gluten/ep/build-velox/build/velox_ep/_build/release/_deps/gtest-src/googletest/src/gtest_main.cc
   [==========] Running 3 tests from 2 test suites.
   [----------] Global test environment set-up.
   [----------] 2 tests from MemoryManagerTest
   [ RUN      ] MemoryManagerTest.memoryPoolWithBlockReseravtion
   [       OK ] MemoryManagerTest.memoryPoolWithBlockReseravtion (0 ms)
   [ RUN      ] MemoryManagerTest.memoryAllocatorWithBlockReservation
   [       OK ] MemoryManagerTest.memoryAllocatorWithBlockReservation (0 ms)
   [----------] 2 tests from MemoryManagerTest (0 ms total)
   
   [----------] 1 test from MultiMemoryManagerTest
   unknown file: Failure
   C++ exception with description "Runtime factory already registered for 
velox" thrown in SetUpTestSuite().
   [ RUN      ] MultiMemoryManagerTest.spill
   /mnt/DP_disk1/code/gluten/cpp/velox/tests/MemoryManagerTest.cc:342: Skipped
   
   [  SKIPPED ] MultiMemoryManagerTest.spill (0 ms)
   [----------] 1 test from MultiMemoryManagerTest (0 ms total)
   
   [----------] Global test environment tear-down
   [==========] 3 tests from 2 test suites ran. (33 ms total)
   [  PASSED  ] 2 tests.
   [  SKIPPED ] 1 test, listed below:
   [  SKIPPED ] MultiMemoryManagerTest.spill
   [  FAILED  ] 0 tests, listed below:
   
    0 FAILED TESTS
   [  FAILED  ] MultiMemoryManagerTest: SetUpTestSuite or TearDownTestSuite
   
    1 FAILED TEST SUITE
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to