<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:29:49 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-53062] Add shutdown cleanness checking when running resmoke tests</title>
                <link>https://jira.mongodb.org/browse/SERVER-53062</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;A recent &lt;a href=&quot;https://jira.mongodb.org/browse/HELP-20171?focusedCommentId=3502055&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-3502055&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;issue reproduction experience&lt;/a&gt; running a resmoke ESE test yielded a positive testing result, though there were BACKTRACE&apos;s reported in the logs during the shutdown phase.&#160;&lt;/p&gt;

&lt;p&gt;It would be useful to add a shutdown cleanness checking, as unclean shutdowns could sometimes cause serious consequences like data corruption, which should be captured and reflected on the testing result.&lt;/p&gt;

&lt;p&gt;It may also worth considering how widespread this improvement should be applied, e.g. certain resmoke tests, all resmoke tests, other tests running on Evergreen.&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="1550543">SERVER-53062</key>
            <summary>Add shutdown cleanness checking when running resmoke tests</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="spencer.jackson@mongodb.com">Spencer Jackson</assignee>
                                    <reporter username="luke.chen@mongodb.com">Luke Chen</reporter>
                        <labels>
                    </labels>
                <created>Mon, 23 Nov 2020 23:44:33 +0000</created>
                <updated>Sun, 29 Oct 2023 22:00:03 +0000</updated>
                            <resolved>Wed, 23 Jun 2021 18:24:35 +0000</resolved>
                                                    <fixVersion>5.1.0-rc0</fixVersion>
                                    <component>Security</component>
                                        <votes>0</votes>
                                    <watches>8</watches>
                                                                                                                <comments>
                            <comment id="4108257" author="JIRAUSER1259052" created="Wed, 6 Oct 2021 19:01:44 +0000"  >&lt;p&gt;Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it&#8217;s been triggered. For more active release information, please keep an eye on #server-release. Thank you!&lt;/p&gt;</comment>
                            <comment id="3894727" author="xgen-internal-githook" created="Wed, 23 Jun 2021 17:51:17 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Spencer Jackson&apos;, &apos;email&apos;: &apos;spencer.jackson@mongodb.com&apos;, &apos;username&apos;: &apos;spencerjackson&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-53062&quot; title=&quot;Add shutdown cleanness checking when running resmoke tests&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-53062&quot;&gt;&lt;del&gt;SERVER-53062&lt;/del&gt;&lt;/a&gt; Throw an exception in tests if server startup fails&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/09f99b41e373768c5c1645d15733d1148b891176&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/09f99b41e373768c5c1645d15733d1148b891176&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3894725" author="xgen-internal-githook" created="Wed, 23 Jun 2021 17:51:11 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Spencer Jackson&apos;, &apos;email&apos;: &apos;spencer.jackson@mongodb.com&apos;, &apos;username&apos;: &apos;spencerjackson&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-53062&quot; title=&quot;Add shutdown cleanness checking when running resmoke tests&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-53062&quot;&gt;&lt;del&gt;SERVER-53062&lt;/del&gt;&lt;/a&gt; Throw an exception in tests if server startup fails&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/10gen/mongo-enterprise-modules/commit/1d5cf0a1ab3dde3edb5ff2a64c901c9e84685d0b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/10gen/mongo-enterprise-modules/commit/1d5cf0a1ab3dde3edb5ff2a64c901c9e84685d0b&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3617458" author="robert.guo" created="Tue, 16 Feb 2021 17:03:18 +0000"  >&lt;p&gt;It should be possible to do this check for all tests that use shell-spawned fixtures like &lt;tt&gt;kmip.js&lt;/tt&gt;. An example of such a check is &lt;a href=&quot;https://github.com/mongodb/mongo/blob/e6c38cb94c71f751fa05bc11a625123c4a713832/src/mongo/shell/servers.js#L1068&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;validate collection&lt;/a&gt;. The shutdown backtrace can be next to it, either pre or post the  shutdown action itself.&lt;/p&gt;

&lt;p&gt;resmoke fixtures used by most &quot;passthrough&quot; suites will not be able to benefit from this change but they also start and stop far less frequently; a few times per test suite, compared with a few times per test for shell fixtures. A check can likely be added to the CleanEveryN hook (in cleanup.py) but I think it&apos;ll be lower value. &lt;/p&gt;</comment>
                            <comment id="3604414" author="spencer.jackson@10gen.com" created="Mon, 8 Feb 2021 15:32:35 +0000"  >&lt;p&gt;Unfortunately, I think that kmip.js has to use &lt;tt&gt;MongoRunner.runMongod&lt;/tt&gt; for managing server processes. While running in ESE mode, the server supports a startup option called &lt;tt&gt;--kmipRotateMasterKey&lt;/tt&gt;, which when set causes the server to create a new key encryption key in KMIP, re-encrypt its keystore using the new key, and shutdown. Because &lt;tt&gt;kmip.js&lt;/tt&gt; is testing this functionality, it needs to retain control over process lifecycle and repeatedly start and stop the server.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=robert.guo&quot; class=&quot;user-hover&quot; rel=&quot;robert.guo&quot;&gt;robert.guo&lt;/a&gt;, is my understanding of the usecase for fixtures correct, or is there some way to use them while still retaining control over the lifecycle?&#160;&lt;/p&gt;</comment>
                            <comment id="3503861" author="brooke.miller" created="Tue, 24 Nov 2020 16:51:52 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=robert.guo&quot; class=&quot;user-hover&quot; rel=&quot;robert.guo&quot;&gt;robert.guo&lt;/a&gt;&#160;mentioned that we don&apos;t use resmoke fixtures for the kmip.js test (context from this comment), so this would end up being a change in the kmip test. Therefore, we&apos;re re-assigning to security.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <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>6.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>13.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, 24 Nov 2020 16:51:52 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        2 years, 18 weeks 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_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_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>
                            2 years, 18 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>brooke.miller@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>luke.chen@mongodb.com</customfieldvalue>
            <customfieldvalue>robert.guo@mongodb.com</customfieldvalue>
            <customfieldvalue>spencer.jackson@mongodb.com</customfieldvalue>
            <customfieldvalue>vivian.ge@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hyit8f:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hyo4fj:</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="4231">Security 2020-12-14</customfieldvalue>
    <customfieldvalue id="4233">Security 2021-01-11</customfieldvalue>
    <customfieldvalue id="4571">Security 2021-01-25</customfieldvalue>
    <customfieldvalue id="4572">Security 2021-02-08</customfieldvalue>
    <customfieldvalue id="4573">Security 2021-02-22</customfieldvalue>
    <customfieldvalue id="4683">Security 2021-03-08</customfieldvalue>
    <customfieldvalue id="4684">Security 2021-03-22</customfieldvalue>
    <customfieldvalue id="4793">Security 2021-04-05</customfieldvalue>
    <customfieldvalue id="4832">Security 2021-05-03</customfieldvalue>
    <customfieldvalue id="4833">Security 2021-05-17</customfieldvalue>
    <customfieldvalue id="4834">Security 2021-05-31</customfieldvalue>
    <customfieldvalue id="4970">Security 2021-06-14</customfieldvalue>
    <customfieldvalue id="4971">Security 2021-06-28</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|hyifhr:</customfieldvalue>

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