<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:15:08 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[SERVER-47755] Send SIGABRT as a fallback in the hang analyzer</title>
                <link>https://jira.mongodb.org/browse/SERVER-47755</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Due to TIG-859, the hang analyzer may fail to attach and create core dumps in macOS tests. Core dumps are often the only way to get information about process state, and lack of them may completely block Server engineers on BFs, such as the recent BF-16858.&lt;/p&gt;

&lt;p&gt;As a fallback measure, we should send SIGABRT to processes that the debugger has failed to create core dumps from. We have precedent from &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-45342&quot; title=&quot;Send an abort signal instead of a kill signal when archiving&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-45342&quot;&gt;&lt;del&gt;SERVER-45342&lt;/del&gt;&lt;/a&gt; of sending externally-created SIGABRTs and logging messages to distinguish them from internally-generated aborts. Since the signal handler is a separate thread that doesn&apos;t take locks, it should work in the case of a hang.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1328210">SERVER-47755</key>
            <summary>Send SIGABRT as a fallback in the hang analyzer</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="13201">Fixed</resolution>
                                        <assignee username="carl.worley@mongodb.com">Raiden Worley</assignee>
                                    <reporter username="carl.worley@mongodb.com">Raiden Worley</reporter>
                        <labels>
                            <label>quick-win</label>
                            <label>tig-hanganalyzer</label>
                    </labels>
                <created>Fri, 24 Apr 2020 16:32:09 +0000</created>
                <updated>Sun, 29 Oct 2023 22:09:05 +0000</updated>
                            <resolved>Mon, 12 Oct 2020 13:41:41 +0000</resolved>
                                                    <fixVersion>4.9.0</fixVersion>
                                    <component>Testing Infrastructure</component>
                                        <votes>0</votes>
                                    <watches>10</watches>
                                                                                                                <comments>
                            <comment id="3440747" author="xgen-internal-githook" created="Mon, 12 Oct 2020 23:18:20 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Carl Raiden Worley&apos;, &apos;email&apos;: &apos;carl.worley@10gen.com&apos;, &apos;username&apos;: &apos;aggrand&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-47755&quot; title=&quot;Send SIGABRT as a fallback in the hang analyzer&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-47755&quot;&gt;&lt;del&gt;SERVER-47755&lt;/del&gt;&lt;/a&gt; Send SIGABRT as a fallback in the hang analyzer&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/0dadef8dd93175bf3a75412d8a32b377d9eba42c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/0dadef8dd93175bf3a75412d8a32b377d9eba42c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3439226" author="xgen-internal-githook" created="Mon, 12 Oct 2020 13:38:41 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Carl Raiden Worley&apos;, &apos;email&apos;: &apos;carl.worley@10gen.com&apos;, &apos;username&apos;: &apos;aggrand&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-47755&quot; title=&quot;Send SIGABRT as a fallback in the hang analyzer&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-47755&quot;&gt;&lt;del&gt;SERVER-47755&lt;/del&gt;&lt;/a&gt; Send SIGABRT as a fallback in the hang analyzer&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/d6f12000b477a80f444e59d304857c31853b036e&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/d6f12000b477a80f444e59d304857c31853b036e&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3434829" author="carl.worley" created="Thu, 8 Oct 2020 17:03:37 +0000"  >&lt;p&gt;In case anyone wants to run the hang analyzer locally after these changes: I was able to get consistent core dumps from SIGABRTs locally by running &lt;tt&gt;sudo sysctl kern.corefile=&quot;dump_%N.%P.core&quot;&lt;/tt&gt; and &lt;tt&gt;ulimit -c unlimited&lt;/tt&gt;. This worked for me on macOS version 10.14.6, but apparently the sysctl API for this has changed a few times across versions.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-37462&quot; title=&quot;Archive core dumps on macOS hosts in Evergreen&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-37462&quot;&gt;&lt;del&gt;SERVER-37462&lt;/del&gt;&lt;/a&gt; and BUILD-4025 made those changes in CI, but it looks like some macOS hosts still aren&apos;t having the core pattern set, so I filed BUILD-12127 to address that.&lt;/p&gt;

&lt;p&gt;We&apos;ll go ahead with the changes in this ticket, which will immediately improve the situation to create core dumps more often than not. We can expect the rest of the core dumps to start being successfully generated after BUILD-12127 is resolved.&lt;/p&gt;</comment>
                            <comment id="3422609" author="cristopher.stauffer" created="Fri, 2 Oct 2020 12:48:15 +0000"  >&lt;p&gt;Richard,&lt;/p&gt;

&lt;p&gt;I wanted to reopen this to make we answer Samy&apos;s question and see if there are any other possible paths before we close this out. If in fact we have no other options, we should discuss what test coverage for MacOS looks like in the future. &lt;/p&gt;</comment>
                            <comment id="3416705" author="samy.lanka" created="Tue, 29 Sep 2020 17:20:14 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=richard.samuels&quot; class=&quot;user-hover&quot; rel=&quot;richard.samuels&quot;&gt;richard.samuels&lt;/a&gt; Repl has been seeing a lot of failures on MacOS without core dumps recently. Do you know if there&apos;s another ticket we could track with an alternative approach?&lt;/p&gt;</comment>
                            <comment id="3416636" author="richard.samuels" created="Tue, 29 Sep 2020 16:58:46 +0000"  >&lt;p&gt;SIGABRT does not reliably produce core dumps on macOS. It might even be less reliable that what we currently do with lldb.&lt;/p&gt;</comment>
                            <comment id="3134204" author="brooke.miller" created="Thu, 28 May 2020 15:31:33 +0000"  >&lt;p&gt;Need to wait until Archive Data Files Project (PM-1569) is done, or until the hang_analyzer behaves differently for macOS.&lt;/p&gt;</comment>
                            <comment id="3081958" author="brooke.miller" created="Tue, 12 May 2020 20:57:47 +0000"  >&lt;p&gt;Discussed that we will add an option to make it no op when it&apos;s running on mac in evergreen and add a code path to resmoke&apos;s signal handler to sigabt all processes when archival is not configured on MacOS in the case of a hang.&lt;/p&gt;</comment>
                            <comment id="3064480" author="carl.worley" created="Fri, 1 May 2020 14:48:44 +0000"  >&lt;p&gt;Re above comment: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-47880&quot; title=&quot;Send SIGSTOP to all processes before attaching to any&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-47880&quot;&gt;&lt;del&gt;SERVER-47880&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3054478" author="carl.worley" created="Fri, 24 Apr 2020 16:38:59 +0000"  >&lt;p&gt;Worth thinking about: if we manage to send SIGSTOP to resolve TIG-768 as discussed in the comments of &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-46693&quot; title=&quot;Parallelize debugger processes in hang-analyzer&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-46693&quot;&gt;&lt;del&gt;SERVER-46693&lt;/del&gt;&lt;/a&gt;, I&apos;m not sure how that might affect the signal handler thread&apos;s response to a SIGABRT.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                                        </outwardlinks>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                                        </outwardlinks>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>10.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10038"><![CDATA[Fully Compatible]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 12 May 2020 20:57:47 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        3 years, 17 weeks, 2 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[<s><a href='https://jira.mongodb.org/browse/PM-1569'>PM-1569</a></s>]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_17050" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Downstream Team Attention</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="16941"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-2022</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            3 years, 17 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_16465" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Linked BF Score</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>14.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>brooke.miller@mongodb.com</customfieldvalue>
            <customfieldvalue>cristopher.stauffer@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>carl.worley@mongodb.com</customfieldvalue>
            <customfieldvalue>richard.samuels@mongodb.com</customfieldvalue>
            <customfieldvalue>samy.lanka@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hxhjk7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hxi74n:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="4121">STM 2020-10-05</customfieldvalue>
    <customfieldvalue id="4122">STM 2020-10-19</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10555" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hxh5tj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>