<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:15:15 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-47795] Top-level logging infra in resmoke module for all subcommands</title>
                <link>https://jira.mongodb.org/browse/SERVER-47795</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;After&#160;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-46769&quot; title=&quot;Migrate from optparse to argparse&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-46769&quot;&gt;&lt;del&gt;SERVER-46769&lt;/del&gt;&lt;/a&gt; resmoke will begin supporting various sub-commands. For now each subcommand implements its own logging infrastructure. We should move this up so that the resmoke module creates loggers for all subcommands.&#160;&lt;/p&gt;

&lt;p&gt;For context, resmoke.py with optparse does have a single top-level logging config, but it is specific to resmoke and would not work with other subcommands, such as the hang-analyzer subcommand which will be added in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-46684&quot; title=&quot;Repackage the hang-analyzer as a resmoke subcommand&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-46684&quot;&gt;&lt;del&gt;SERVER-46684&lt;/del&gt;&lt;/a&gt;. The work in&#160;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-46769&quot; title=&quot;Migrate from optparse to argparse&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-46769&quot;&gt;&lt;del&gt;SERVER-46769&lt;/del&gt;&lt;/a&gt; moves the resmoke.py logging into the impl of the &apos;run&apos; subcommand.&lt;/p&gt;

&lt;p&gt;Other similar areas to consider:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Exiting - resmoke has some special behavior that needs to be reasoned about if when moving exit() to the resmoke.py module&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="1330011">SERVER-47795</key>
            <summary>Top-level logging infra in resmoke module for all subcommands</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="13203">Gone away</resolution>
                                        <assignee username="backlog-server-stm">Backlog - Server Tooling and Methods (STM)</assignee>
                                    <reporter username="vlad.rachev@mongodb.com">Vlad Rachev</reporter>
                        <labels>
                            <label>tig-resmoke</label>
                    </labels>
                <created>Mon, 27 Apr 2020 14:54:31 +0000</created>
                <updated>Fri, 27 Oct 2023 20:42:15 +0000</updated>
                            <resolved>Fri, 28 Jan 2022 19:42:16 +0000</resolved>
                                                                    <component>Testing Infrastructure</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="4322038" author="brooke.miller" created="Fri, 28 Jan 2022 19:42:16 +0000"  >&lt;p&gt;We&apos;ve moved over to no longer use optparse and are using structlog, so we believe this has gone away.&lt;/p&gt;</comment>
                            <comment id="3080878" author="brooke.miller" created="Tue, 12 May 2020 15:19:30 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=vlad.rachev&quot; class=&quot;user-hover&quot; rel=&quot;vlad.rachev&quot;&gt;vlad.rachev&lt;/a&gt;&#160;to create a separate ticket to do what Raiden mentioned above re:&#160;&lt;tt&gt;list-suites&lt;/tt&gt;&#160;and&#160;&lt;tt&gt;find-suites.&lt;/tt&gt; This will be created not tied to an epic.&lt;/p&gt;</comment>
                            <comment id="3060296" author="vlad.rachev" created="Wed, 29 Apr 2020 13:38:57 +0000"  >&lt;p&gt;Agreed. We should also re-work &lt;tt&gt;find-suites&lt;/tt&gt;&#160;to only require a test file (without any corresponding suite). The behavior is a little wonky now - &quot;give me a test file and one suite that runs it, and I&apos;ll give you all other suites that also run it&quot;.&#160;&lt;/p&gt;

&lt;p&gt;Splitting these subcommands out from &lt;tt&gt;run.py&lt;/tt&gt;&#160;will require some refactoring, their current implementation is heavily tied to &lt;tt&gt;run&lt;/tt&gt;. Moving logging and exit to top-level resmoke will help, and also reworking &lt;tt&gt;config.py&lt;/tt&gt; or at least refactoring the &lt;tt&gt;suiteconfig.py&lt;/tt&gt; methods that are used by &lt;tt&gt;list-suites&lt;/tt&gt; and &lt;tt&gt;find-suites&lt;/tt&gt; will also be necessary.&#160;&lt;/p&gt;</comment>
                            <comment id="3058976" author="carl.worley" created="Tue, 28 Apr 2020 17:06:32 +0000"  >&lt;p&gt;Re: &quot;other areas to consider&quot;&lt;/p&gt;

&lt;p&gt;I definitely feel like breaking &lt;tt&gt;list-suites&lt;/tt&gt; and &lt;tt&gt;find-suites&lt;/tt&gt; into separate Subcommand objects would be a great idea. I know to look for them in &lt;tt&gt;run&lt;/tt&gt; but if I was just getting up to speed on this then having multiple subcommands handled by one Subcommand would be confusing.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4.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>Tue, 28 Apr 2020 17:06:32 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        2 years, 1 week, 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>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, 1 week, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>backlog-server-stm</customfieldvalue>
            <customfieldvalue>brooke.miller@mongodb.com</customfieldvalue>
            <customfieldvalue>carl.worley@mongodb.com</customfieldvalue>
            <customfieldvalue>vlad.rachev@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hxhun3:</customfieldvalue>

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

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