<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:25:02 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-73566] Improve backports required exclusion mechanism/detection</title>
                <link>https://jira.mongodb.org/browse/SERVER-73566</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;This is open ended. We should make this experience better. We probably need prevention of weird states by enforcing linting and improve test exclusion visibility so that devs can figure out what&apos;s running. Both of these are part of the overall project. Adding this ticket so that we keep this in mind during/after implementation.&lt;/p&gt;

&lt;p&gt;NOTE: Also, it looks like this may have gotten messed up due to cleanup of &quot;outdated&quot; entries&lt;/p&gt;</description>
                <environment></environment>
        <key id="2251339">SERVER-73566</key>
            <summary>Improve backports required exclusion mechanism/detection</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="devprod-correctness-team@mongodb.com">[DO NOT ASSIGN] Backlog - DevProd Correctness</assignee>
                                    <reporter username="tausif.rahman@mongodb.com">Tausif Rahman</reporter>
                        <labels>
                    </labels>
                <created>Thu, 2 Feb 2023 20:09:58 +0000</created>
                <updated>Tue, 16 Jan 2024 16:21:28 +0000</updated>
                                                                                                <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="5173080" author="JIRAUSER1268551" created="Tue, 7 Feb 2023 06:02:29 +0000"  >&lt;p&gt;FYI you can use memento in slack to capture slack messages like this&lt;/p&gt;</comment>
                            <comment id="5163821" author="JIRAUSER1258055" created="Thu, 2 Feb 2023 20:14:48 +0000"  >&lt;p&gt;&lt;b&gt;Randolph Tan&lt;/b&gt;&lt;br/&gt;
Does evergreen log something when it decides to exclude a test from running in a multiversion suite? I&apos;m trying to figure out why a test is not being run in master when running in multiversion suite but gets in the multiversion suite of the older branch when backported&lt;/p&gt;

&lt;p&gt;&lt;b&gt;tausif.rahman&lt;/b&gt;&lt;br/&gt;
Is there an entry in this file? &lt;a href=&quot;https://github.com/10gen/mongo/blob/b99588b40e4f5c44ed976438f58ce2249626204c/etc/backports_required_for_multiversion_tests.yml&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/10gen/mongo/blob/b99588b40e4f5c44ed976438f58ce2249626204c/etc/backports_required_for_multiversion_tests.yml&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;b&gt;maxh&lt;/b&gt;&lt;br/&gt;
(I feel like it&apos;d help to have a link to a multiversion run where the test isn&apos;t being run for some commit and what the test expected to be included is)&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Randolph Tan&lt;/b&gt;&lt;br/&gt;
master version, kind of old, &lt;a href=&quot;https://spruce.mongodb.com/task/mongodb_mongo_master_enterprise_rhel_80_64_bit_dynamic_all_feature_flags_required_display_sharding_multiversion_patch_af1ad78010f1396ad09f2f96e16705598f45a54b_63d04d1a57e85a4c62fbeb63_23_01_24_21_27_11/execution-tasks?execution=0&amp;amp;sorts=STATUS%3AASC&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://spruce.mongodb.com/task/mongodb_mongo_master_enterprise_rhel_80_64_bit_dynamic_all_feature_flags_required_display_sharding_multiversion_patch_af1ad78010f1396ad09f2f96e16705598f45a54b_63d04d1a57e85a4c62fbeb63_23_01_24_21_27_11/execution-tasks?execution=0&amp;amp;sorts=STATUS%3AASC&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Randolph Tan&lt;/b&gt;&lt;br/&gt;
backport version&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Randolph Tan&lt;/b&gt;&lt;br/&gt;
&lt;a href=&quot;https://spruce.mongodb.com/task/mongodb_mongo_v6.2_enterprise_rhel_80_64_bit_dynamic_required_sharding_last_continuous_2_linux_enterprise_patch_4fa7a897ed4677516bd6ef1e2f9d4298ec8b35de_63d98231850e61080e21a5a5_23_01_31_21_06_14/tests?execution=0&amp;amp;sortBy=STATUS&amp;amp;sortDir=ASC&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://spruce.mongodb.com/task/mongodb_mongo_v6.2_enterprise_rhel_80_64_bit_dynamic_required_sharding_last_continuous_2_linux_enterprise_patch_4fa7a897ed4677516bd6ef1e2f9d4298ec8b35de_63d98231850e61080e21a5a5_23_01_31_21_06_14/tests?execution=0&amp;amp;sortBy=STATUS&amp;amp;sortDir=ASC&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Randolph Tan&lt;/b&gt;&lt;br/&gt;
both have entries on backports_required file, but I had to update the one on v6.2 branch with the new server ticket number because for some reason it is skipped in master&lt;br/&gt;
New&lt;/p&gt;

&lt;p&gt;&lt;b&gt;maxh&lt;/b&gt;&lt;br/&gt;
I don&apos;t see &lt;a href=&quot;https://spruce.mongodb.com/version/63d98231850e61080e21a5a5/changes?sorts=STATUS%3AASC%3BBASE_STATUS%3ADESC&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://spruce.mongodb.com/version/63d98231850e61080e21a5a5/changes?sorts=STATUS%3AASC%3BBASE_STATUS%3ADESC&lt;/a&gt; changing the ticket number for the prepare_transaction_then_migrate.js entries in backports_required_for_multiversion_tests.yml. backports_required_for_multiversion_tests.yml for the 6.2 branch only has an entry for last-lts and doesn&apos;t have an entry for last-continuous&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Randolph Tan&lt;/b&gt;&lt;br/&gt;
I did not change it here. I used this example only so it would be obviuos that it is being executed in the older branch&lt;/p&gt;

&lt;p&gt;&lt;b&gt;maxh&lt;/b&gt;&lt;br/&gt;
The rule is that both branches need the same file+ticket entry in the same section for the test to get run (edited) &lt;/p&gt;

&lt;p&gt;&lt;b&gt;Randolph Tan&lt;/b&gt;&lt;br/&gt;
But if when I look in master, it looks green because it did not get run&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Randolph Tan&lt;/b&gt;&lt;br/&gt;
ah&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Randolph Tan&lt;/b&gt;&lt;br/&gt;
because the older branch had the wrong entries it will never get run in master?&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Randolph Tan&lt;/b&gt;&lt;br/&gt;
unless I &apos;fix&apos; the older branch?&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Randolph Tan&lt;/b&gt;&lt;br/&gt;
I thought it was based on the ticket number and it checks the git log&lt;/p&gt;

&lt;p&gt;&lt;b&gt;maxh&lt;/b&gt;&lt;br/&gt;
there&apos;s no &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-68361&quot; title=&quot;LogTransactionOperationsForShardingHandler::commit misses transferring documents from prepared and non-prepared transactions changing a document&amp;#39;s shard key value&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-68361&quot;&gt;&lt;del&gt;SERVER-68361&lt;/del&gt;&lt;/a&gt; entry on the 6.2 branch in last-continuous section so it won&apos;t run in sharding_multiversion_last_continuous and there is no &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-68361&quot; title=&quot;LogTransactionOperationsForShardingHandler::commit misses transferring documents from prepared and non-prepared transactions changing a document&amp;#39;s shard key value&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-68361&quot;&gt;&lt;del&gt;SERVER-68361&lt;/del&gt;&lt;/a&gt; sentry on the 6.0 branch in last-lts so it won&apos;t get run in sharding_multiversion_last_lts&lt;/p&gt;

&lt;p&gt;&lt;b&gt;maxh&lt;/b&gt;&lt;br/&gt;
I thought it was based on the ticket number and it checks the git log&lt;br/&gt;
Less clever than that. It relies on the byproduct of git cherry-pick making the same edits across the branches to that file&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Randolph Tan&lt;/b&gt;&lt;br/&gt;
Hm... I see. I failed to update the ticket number when doing the original fix (twice actually from different tickets) because it didn&apos;t appear as a failure (probably because it was already not being run in master at that time). And the ticket number in the yml file is based on commit made in v5.1. I wonder if there&apos;s a better way of doing this so it would catch errors like this&lt;/p&gt;

&lt;p&gt;&lt;b&gt;maxh&lt;/b&gt;&lt;br/&gt;
It sounds like something would need to reconcile the Jira and/or git state to detect when an entry is omitted. Maybe &lt;br/&gt;
@tausif.rahman&lt;br/&gt;
 can think on this with the rest of the SDP team. Perhaps there could be some kind of lint step when making changes on older branches which checks to see if there&apos;s an entry for the backported ticket on the later branch which hasn&apos;t been added to the older branch&apos;s backports_required_for_multiversion_tests.yml&lt;br/&gt;
:this:&lt;br/&gt;
1&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Randolph Tan&lt;/b&gt;&lt;br/&gt;
Ok, I was so confused, but I think I know what happened&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Randolph Tan&lt;/b&gt;&lt;br/&gt;
The entry was deleted for some reason&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Randolph Tan&lt;/b&gt;&lt;br/&gt;
&lt;a href=&quot;https://github.com/10gen/mongo/commit/7fbabf32d91ba028e6952b411aa2e7bfc253c342&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/10gen/mongo/commit/7fbabf32d91ba028e6952b411aa2e7bfc253c342&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;b&gt;maxh&lt;/b&gt;&lt;br/&gt;
heh must be a bug in garbage collection :kirby-sunglasses:&lt;/p&gt;

&lt;p&gt;&lt;b&gt;maxh&lt;/b&gt;&lt;br/&gt;
maybe there&apos;s a test case to turn this into for &lt;a href=&quot;https://github.com/mongodb/mongo/blob/f8dba817139f2ea4493b6657f81e78cd8761b7c6/buildscripts/backports_required_for_multiversion_tests_deduplicator.py&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/blob/f8dba817139f2ea4493b6657f81e78cd8761b7c6/buildscripts/backports_required_for_multiversion_tests_deduplicator.py&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Randolph Tan&lt;/b&gt;&lt;br/&gt;
If I understand it correctly, the ticket for cleaning up &apos;outdated&apos; multiversion entry should have also deleted the entry in master&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Randolph Tan&lt;/b&gt;&lt;br/&gt;
but it only deleted the one in v6.2 branch causing the &apos;anomaly&apos;&lt;/p&gt;

&lt;p&gt;&lt;b&gt;tausif.rahman&lt;/b&gt;&lt;br/&gt;
I think we can improve this experience as part of PM-3104. I&#8217;ve created &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-73566&quot; title=&quot;Improve backports required exclusion mechanism/detection&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-73566&quot;&gt;SERVER-73566&lt;/a&gt; to track this&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="2235086">SERVER-72927</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2235089">SERVER-72928</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2235093">SERVER-72930</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="26418"><![CDATA[Correctness]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 7 Feb 2023 06:02:29 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        1 year, 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/SERVER-72928'>SERVER-72928</a></s>, <s><a href='https://jira.mongodb.org/browse/SERVER-72927'>SERVER-72927</a></s>, <s><a href='https://jira.mongodb.org/browse/SERVER-72930'>SERVER-72930</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_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>iryna.zhuravlova@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            1 year, 2 days ago
                        </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>devprod-correctness-team@mongodb.com</customfieldvalue>
            <customfieldvalue>alex.neben@mongodb.com</customfieldvalue>
            <customfieldvalue>tausif.rahman@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i1tq87:</customfieldvalue>

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

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