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

CMake test failures #968

Closed
berquist opened this issue Jul 12, 2023 · 1 comment
Closed

CMake test failures #968

berquist opened this issue Jul 12, 2023 · 1 comment

Comments

@berquist
Copy link
Member

This might be a catch-all for getting the CMake build up to test parity with the autotools build.

On macOS 13.4.1 (M2 Max) with Apple Clang 14.0.3 and Spack-provided OpenMPI 4.1.5, I'm getting

testsuite_default_Links.testcase_Links
 - FAILED  : test_Links_dangling (testsuite_default_Links.testcase_Links.test_Links_dangling)
 - FAILED  : test_Links_wrong_port (testsuite_default_Links.testcase_Links.test_Links_wrong_port)

testsuite_default_MemPoolTest.testcase_StatisticComponent
 - FAILED  : test_MemPool_overflow (testsuite_default_MemPoolTest.testcase_StatisticComponent.test_MemPool_overflow)
 - FAILED  : test_MemPool_undeleted_items (testsuite_default_MemPoolTest.testcase_StatisticComponent.test_MemPool_undeleted_items)

testsuite_default_StatisticsComponent.testcase_StatisticComponent
 - FAILED  : test_StatisticsBasic (testsuite_default_StatisticsComponent.testcase_StatisticComponent.test_StatisticsBasic)
  • test_StatisticsBasic fails for me as well with the autotools build (test_StatisticsComponent_basic failure on M2 Mac #967), so not unique to CMake.
  • The two links tests fail with an additional line in stderr: Backtrace not available on this build/platform..
  • The two MemPool tests fail with similar errors, so only including one:
diff --git a/Users/ejberqu/development/sst/github/sst-core/tests/refFiles/test_MemPool_undeleted_items.out b/Users/ejberqu/development/sst/github/sst_test_outputs/run_data/test_MemPool_undeleted_items.out
index 81caefd..14d9835 100644
--- a/Users/ejberqu/development/sst/github/sst-core/tests/refFiles/test_MemPool_undeleted_items.out
+++ b/Users/ejberqu/development/sst/github/sst_test_outputs/run_data/test_MemPool_undeleted_items.out
@@ -1,16 +1,24 @@
-# Event rate = 8.568284 Mmsgs/s
-Simulation is complete, simulated time: 10 us
+Valid SubComponents: SubCompReceiver
+SubCompSendRecv
+SubCompSender
+SubCompSlot
+message_mesh.message_port
+message_mesh.port_slot
+message_mesh.route_message
+Valid Components: StatisticsComponent.float
+StatisticsComponent.int
+SubComponentLoader
+coreTestClockerComponent
+coreTestComponent
+coreTestDistribComponent
+coreTestLinks
+coreTestMessageGeneratorComponent
+coreTestParamComponent
+coreTestPerfComponent
+coreTestRNGComponent
+coreTestSerialization
+coreTestSharedObjectsComponent
+message_mesh.enclosing_component

-Undeleted Mempool Items:
-  MemPoolTestEvent2 to be delivered at 1000
-  MemPoolTestEvent2 to be delivered at 1000
-  MemPoolTestEvent2 to be delivered at 1000
-  MemPoolTestEvent1 to be delivered at 1000
-  MemPoolTestEvent1 to be delivered at 1000
-  MemPoolTestEvent1 to be delivered at 1000
-  MemPoolTestEvent1 to be delivered at 1000
-  MemPoolTestEvent1 to be delivered at 1000
-  MemPoolTestEvent1 to be delivered at 1000
-  MemPoolTestEvent1 to be delivered at 1000
-  MemPoolTestEvent1 to be delivered at 1000
-  MemPoolTestEvent1 to be delivered at 1000
+FATAL:  SST Core: can't find requested component or subcomponent 'coreTestElement.memPoolTestComponent'
+ Backtrace not available on this build/platform.

These tests also fail in a CentOS 8-based runner with GCC 8.4.1, so are likely CMake-specific and not OS or compiler dependent.

@berquist
Copy link
Member Author

Done in #970.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant