[SERVER-74027] unittest_shell_hang_analyzer passes when GDB segfaults Created: 14/Feb/23  Updated: 30/Jul/23  Resolved: 19/Jul/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Daniel Moody Assignee: Alex Neben
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Assigned Teams:
Server Development Platform
Operating System: ALL
Steps To Reproduce:

Here we see the task is success: https://spruce.mongodb.com/task/mongodb_mongo_master_enterprise_rhel_80_64_bit_dynamic_unittest_shell_hang_analyzer_0_linux_enterprise_d1ec31a870e6189634389f8a1c4dac293c9352f5_23_02_07_04_46_39/tests?execution=0&sortBy=STATUS&sortDir=ASC

but if you look at the logs the GDB has errored and the hang analyzer was not run:
https://parsley.mongodb.com/resmoke/3110af5f88fa5709f29336d6a551e307/test/1741abf36ad96ab8bf09019c87ddde72?bookmarks=0,25896&filters=100sh%255Cd%252B%255C%257C&shareLine=25643

Participants:
Linked BF Score: 118

 Description   

Recently in this https://jira.mongodb.org/browse/BF-23437 the unittest_shell_hang_analyzer test was reporting passing even though GDB was segfaulting and the hang analyzer was not running.

 

The test should fail if gdb fails in anyway.



 Comments   
Comment by Alex Neben [ 19/Jul/23 ]

This will be fixed with the hang analyzer async project

Comment by Githook User [ 24/Feb/23 ]

Author:

{'name': 'Alexander Neben', 'email': 'alexander.neben@mongodb.com', 'username': 'IamXander'}

Message: SERVER-74027 Added asserts to hang_analyzer test
Branch: master
https://github.com/mongodb/mongo/commit/b10204c3cb2c0e2ee49b45fe8cfe51578bc9262c

Generated at Thu Feb 08 06:26:18 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.