edespino commented on issue #765:
URL: https://github.com/apache/cloudberry/issues/765#issuecomment-2544339321

   @avamingli Again, thank you for raising this important concern about core 
dumps in our test suite. I've been investigating this issue and have made 
several improvements to help us better handle and track core dumps:
   
   1. I've identified that the `mirror_replay` test suite intentionally 
generates a core file as part of its test scenarios. It is included in 
`greenplum_schedule`. I do not know if this is intentional behavior.
   
   2. To better analyze core dumps, I've implemented a debug build mechanism:
      - Added debug-specific configure flags (--enable-debug, 
--enable-profiling, etc.)
      - Created a separate debug RPM build that preserves debug symbols
      - Debug builds are clearly marked with 'dbg' in the package name
   
   3. During this investigation, I discovered that the 
`resgroup/resgroup_views` test exhibits a small memory difference when run with 
debug builds enabled.
   
   4. I've enhanced our test infrastructure to:
      - Properly configure core dump generation
      - Ensure core dumps are detectable when they occur
      - Store core dumps in a consistent location
   
   5. Added automated core dump detection:
      - Each test configuration now executes a new `Check for Core Dumps Across 
All Configurations: ${{ matrix.test }}` step
      - This step scans for core files and provides detailed analysis
      - Test runs will fail if unexpected core dumps are found
   
   These changes will help us better distinguish between intentional and 
unexpected core dumps, while providing more detailed information for debugging 
when issues occur.
   
   Can you please review the following test runs and let me know if this is 
they type of core dump support you were thinking of? In addition the the core 
file that is created in `mirror_replay`, you will see that this new mechanism 
also identified an additional core file. See if you can spot it.
   
   - [Apache Cloudberry Build 
(DEBUG)](https://github.com/edespino/cloudberry/actions/runs/12343463222)
   - [Apache Cloudberry 
Build](https://github.com/edespino/cloudberry/actions/runs/12343458042)


-- 
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