<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:04:09 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-65979] Fix issue with python multiprocess shutdown</title>
                <link>https://jira.mongodb.org/browse/SERVER-65979</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;In BF-24933, when the mongod crashes and the test runner treats it as a failure (starts up the hang analyzer), the hang analyzer tries to kill the process using &lt;tt&gt;proc.kill()&lt;/tt&gt; which sends a SIGKILL to the pyKMIP process. However, PyKMIP uses multiprocessing and has created two children processes, which the hang analyzer fails to kill. We need to modify the call to proc.kill to first search for child processes and then kill the parent process.&lt;/p&gt;</description>
                <environment></environment>
        <key id="2033619">SERVER-65979</key>
            <summary>Fix issue with python multiprocess shutdown</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="10038" iconUrl="https://jira.mongodb.org/images/icons/subtask.gif" description="">Backlog</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="backlog-server-stm">Backlog - Server Tooling and Methods (STM)</assignee>
                                    <reporter username="shreyas.kalyan@mongodb.com">Shreyas Kalyan</reporter>
                        <labels>
                    </labels>
                <created>Tue, 26 Apr 2022 18:49:21 +0000</created>
                <updated>Mon, 21 Aug 2023 20:25:05 +0000</updated>
                                                                                                <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="4593600" author="JIRAUSER1257562" created="Fri, 3 Jun 2022 17:12:11 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=shreyas.kalyan%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;shreyas.kalyan@mongodb.com&quot;&gt;shreyas.kalyan@mongodb.com&lt;/a&gt; Thank you for tracking down this issue and taking the time to explain it in more details. Sure, feel free to write up a quick PR.&#160;&lt;/p&gt;</comment>
                            <comment id="4538492" author="shreyas.kalyan" created="Tue, 10 May 2022 15:20:43 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=iryna.zhuravlova%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;iryna.zhuravlova@mongodb.com&quot;&gt;iryna.zhuravlova@mongodb.com&lt;/a&gt; I apologize, I did not fully explain the issue that was occurring in the BF ticket. This issue is not causing the BF. The BF has been fixed by &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-65852&quot; title=&quot;Fix issue in ese suite kmip tests&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-65852&quot;&gt;&lt;del&gt;SERVER-65852&lt;/del&gt;&lt;/a&gt;. &lt;/p&gt;

&lt;p&gt;The issue that we are observing here is that there is a process that we are starting from our JS tests called PyKMIP. PyKMIP spawns its own threads. Now if the test hangs for whatever reason (sometimes there is an issue and we need the hang analyzer to kick in), the hang analyzer will kick in and perform its tasks, the last of which involves cleaning up all processes. Now when cleaning up the processes, the analyzer fails to kill the child processes of PyKMIP on macOS. Because the child processes are still running, resmoke fails to exit and hangs for 2 hours until the task times out and kills processes, children and all. What I want from this ticket is to not wait the 2 hours because that just wastes compute time on the mac machines that could be better optimized to be running other tasks.&lt;/p&gt;

&lt;p&gt;The line I want to change is &lt;a href=&quot;https://github.com/mongodb/mongo/blob/master/buildscripts/resmokelib/hang_analyzer/process.py#L148-L150&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here&lt;/a&gt;. I could write up a quick PR if that would be helpful?&lt;/p&gt;</comment>
                            <comment id="4535989" author="JIRAUSER1257562" created="Mon, 9 May 2022 17:36:25 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=shreyas.kalyan%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;shreyas.kalyan@mongodb.com&quot;&gt;shreyas.kalyan@mongodb.com&lt;/a&gt; The hang analyzer is not optimized to process the python processes. Can we increase the timeout on MacOS instead?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                                        </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25142"><![CDATA[Server Tooling & Methods]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 9 May 2022 17:36:25 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        1 year, 35 weeks, 5 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></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_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>trevor.guidry@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            1 year, 35 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_16465" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Linked BF Score</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>35.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>backlog-server-stm</customfieldvalue>
            <customfieldvalue>iryna.zhuravlova@mongodb.com</customfieldvalue>
            <customfieldvalue>shreyas.kalyan@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i0sn9z:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i0blb4:</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_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|i0s9fb:</customfieldvalue>

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