<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:46: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-81306] core-analyzer bug fixes</title>
                <link>https://jira.mongodb.org/browse/SERVER-81306</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;This fixes a couple of bugs in the core analyzer currently.&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;Before the core analyzer would look at the name of the core dump to determine which binary it was generated from. Turns out this is not correct and binaries can be named something other than the binary they came from so it now uses gdb to determine what the correct binary is.&lt;/li&gt;
	&lt;li&gt;Validates the core dumps on the failed tasks to ensure we know how to process at least one of them before generating a task. This prevents us from generating a task which ends up doing nothing because it does not know how to process the core dumps.&lt;/li&gt;
	&lt;li&gt;Makes core dump downloading/uploading less error prone. I ran into some issues where a very small and inconsistent amount of core dumps were corrupted/not a valid gzipped file. I am assuming this issue is because of Pigz so I got rid of it and now use the standard gzip library. I got rid of the timeout in the fast_archive function because evergreen increased the default timeout in the post section to 30 minutes and I don&apos;t think we will ever get close to that limit currently. I have made downloading core dumps retry at the core level instead of retrying to download all of the cores at once so if it fails to download one core dump it doesn&apos;t ruin the whole task.&lt;/li&gt;
	&lt;li&gt;Reduces the amount of workers when running gdb. Rarely, when analyzing the core dumps evergreen with terminate the host with system unresponsive because it failed to return a heartbeat. I am guessing this is because we are just clobbering every possible thread on the machine so hopefully lowing the amount of concurrent workers will help this.&lt;/li&gt;
&lt;/ol&gt;


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

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

&lt;p&gt;Old description below:&lt;/p&gt;

&lt;p&gt;Currently the task is generated if there are any core dumps found on the task. Sometimes we upload core dumps from processes that are not mongo binaries. This can lead to no analysis being done if the only core dumps there are from non-mongo processes.&lt;/p&gt;

&lt;p&gt;We need to be smarter about when we generate the tasks and check if at least one of the core dumps is from a known binary&lt;/p&gt;

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

&lt;p&gt;An example failure caused by this issue is here &lt;a href=&quot;https://spruce.mongodb.com/task/mongodb_mongo_master_enterprise_rhel_80_64_bit_dynamic_all_feature_flags_display_replica_sets_abe6f7a64d785277fb223958957252c6f8f89027_23_09_21_11_09_00&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_display_replica_sets_abe6f7a64d785277fb223958957252c6f8f89027_23_09_21_11_09_00&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="2448183">SERVER-81306</key>
            <summary>core-analyzer bug fixes</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="trevor.guidry@mongodb.com">Trevor Guidry</assignee>
                                    <reporter username="trevor.guidry@mongodb.com">Trevor Guidry</reporter>
                        <labels>
                    </labels>
                <created>Thu, 21 Sep 2023 15:58:37 +0000</created>
                <updated>Fri, 3 Nov 2023 01:16:42 +0000</updated>
                            <resolved>Wed, 27 Sep 2023 19:55:01 +0000</resolved>
                                                    <fixVersion>7.2.0-rc0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="5733324" author="xgen-internal-githook" created="Wed, 27 Sep 2023 01:26:23 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Trevor Guidry&apos;, &apos;email&apos;: &apos;trevor.guidry@mongodb.com&apos;, &apos;username&apos;: &apos;&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-81306&quot; title=&quot;core-analyzer bug fixes&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-81306&quot;&gt;&lt;del&gt;SERVER-81306&lt;/del&gt;&lt;/a&gt; core-analyzer bug fixes&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/3dc142f226ee91d0cf18e251c03808f2b45dd19d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/3dc142f226ee91d0cf18e251c03808f2b45dd19d&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5721817" author="JIRAUSER1271042" created="Thu, 21 Sep 2023 16:27:48 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=max.hirschhorn%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;max.hirschhorn@mongodb.com&quot;&gt;max.hirschhorn@mongodb.com&lt;/a&gt; Thanks for commenting, I was going to naively use the file name. I will have to think about this more now.&lt;/p&gt;</comment>
                            <comment id="5721772" author="max.hirschhorn@10gen.com" created="Thu, 21 Sep 2023 16:15:50 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=trevor.guidry%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;trevor.guidry@mongodb.com&quot;&gt;trevor.guidry@mongodb.com&lt;/a&gt;, would you please clarify how you intend to detect whether a core dump was generated from a known MongoDB binary? An approach based on the filename won&apos;t be possible. This is because %e in kernel.core_pattern=dump_%e.%p.core is substituted with &lt;b&gt;the thread name&lt;/b&gt; when the process crashes rather than &lt;em&gt;the process name&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;In the linked Evergreen task, BackgroundSync refers to the name of a thread related to the replication subsystem in mongod. It is a core dump which must successfully analyzed.&lt;/p&gt;

&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;[2023/09/21 13:29:21.372] Downloading core dump: dump_BackgroundSync.8073.core.gz&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;

&lt;p&gt;&lt;a href=&quot;https://parsley.mongodb.com/evergreen/mongodb_mongo_master_enterprise_rhel_80_64_bit_dynamic_all_feature_flags_core_analysis_replica_sets_4_linux_enterprise_VH0PM_abe6f7a64d785277fb223958957252c6f8f89027_23_09_21_11_09_00/0/task?bookmarks=0,388,2472&amp;amp;shareLine=388&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://parsley.mongodb.com/evergreen/mongodb_mongo_master_enterprise_rhel_80_64_bit_dynamic_all_feature_flags_core_analysis_replica_sets_4_linux_enterprise_VH0PM_abe6f7a64d785277fb223958957252c6f8f89027_23_09_21_11_09_00/0/task?bookmarks=0,388,2472&amp;amp;shareLine=388&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The core dump contains the contents of /proc/&amp;lt;pid&amp;gt;/exe and this information is &amp;#40;i) displayed in a &quot;Core was generated by&quot; message by gdb and (ii) accessible programmatically within gdb from &lt;a href=&quot;https://sourceware.org/gdb/onlinedocs/gdb/Process-Information.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;the &lt;tt&gt;info proc exe&lt;/tt&gt; command&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;You may be interested in looking at &lt;a href=&quot;https://github.com/mongodb/mongo/blob/79410907d1ff3ad614496713e6440c5e88991eed/evergreen/failed_unittests_gather.sh#L26&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;this logic in failed&amp;#95;unittests&amp;#95;gather.sh&lt;/a&gt; as an approach for doing &amp;#40;i).&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </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_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>Thu, 21 Sep 2023 16:15:50 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        19 weeks, 1 day 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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>DEVPROD-290</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>trevor.guidry@mongodb.com</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>max.hirschhorn@mongodb.com</customfieldvalue>
            <customfieldvalue>trevor.guidry@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i2rken:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i29ikc:</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_22250" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Special Downgrade Instructions Required</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="23343"><![CDATA[Not Needed]]></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|i2r6jz:</customfieldvalue>

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