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

   Thanks for raising this concern about core dumps being generated during test 
execution. This is definitely something we should address to improve our test 
infrastructure.
   
   ## Proposed Solution
   
   We could enhance the test framework by adding an optional core file 
existence check. Here's how it would work:
   
   ```yaml
   - test: ic-resgroup-v2
     make_target: installcheck-resgroup-v2
     make_directory: --directory=src/test/isolation2
     num_primary_mirror_pairs: 3
     perform_core_file_existence_check: true
   ```
   
   When `perform_core_file_existence_check` is enabled, the framework would:
   1. Monitor for core file generation during test execution
   2. Automatically fail tests if unexpected core files are detected
   3. Capture stack trace information for debugging purposes
   4. Include clear failure messages indicating why the test failed (core file 
found)
   
   This approach would help us:
   - Identify potential issues early in the development cycle
   - Manage disk space more effectively by avoiding unnecessary core dumps
   - Maintain debugging capabilities through stack traces
   - Distinguish between intentional and unintentional core dumps
   
   ## Next Steps
   
   Before proceeding, could you clarify if any of the current core file 
generations are intentional test cases? This would help us avoid flagging 
legitimate test scenarios as failures.
   
   I'd be happy to collaborate on implementing this enhancement. Let me know if 
you'd like to move forward with this approach or if you have any other 
suggestions for handling this situation.


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