<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:09:25 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-67928] UBSAN builder separate-debug=off still create debugsymbols archive</title>
                <link>https://jira.mongodb.org/browse/SERVER-67928</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;There may not exist any relationship between the --separate-debug=off and packaging of the debugsymbols archive. When --separate-debug=off, the debug symbols are in the binaries and there is nothing and no reason to package up the debugsymbols archive.&lt;/p&gt;

&lt;p&gt;Its not known what all builders are affected by this, but here is an example of &lt;a href=&quot;https://evergreen.mongodb.com/task/mongodb_mongo_master_rhel80_debug_ubsan_classic_engine_archive_dist_test_debug_32dbb2fa349b6dcabfcdb019a81c4c1dcdf3101c_22_06_26_23_47_13##hidden=Final+cache+hit+ratio%252CNode.Node+class%252CNode.FS.File+class%252CNode.FS.Dir+class%252CNode.FS.Base+class%252CExecutor.Null+class%252CExecutor.Executor+class%252CEnvironment.OverrideEnvironment+class%252CEnvironment.EnvironmentClone+class%252CEnvironment.Base+class%252CBuilder.OverrideWarner+class%252CBuilder.CompositeBuilder+class%252CBuilder.BuilderBase+class%252CAction.ListAction+class%252CAction.LazyAction+class%252CAction.FunctionAction+class%252CAction.CommandGeneratorAction+class%252CAction.CommandAction+class%252CTotal+command+execution+time%252CTotal+SCons+execution+time%252CTotal+SConscript+file+execution+time%252CTotal+build+time%252CMemory+after+building+targets%252CMemory+before+building+targets%252CMemory+after+reading+SConscript+files%252CMemory+before+reading+SConscript+files&amp;amp;threads=all&amp;amp;selected.Final+cache+hit+ratio=&amp;amp;selected.Node.Node+class=&amp;amp;selected.Node.FS.File+class=&amp;amp;selected.Node.FS.Dir+class=&amp;amp;selected.Node.FS.Base+class=&amp;amp;selected.Executor.Null+class=&amp;amp;selected.Executor.Executor+class=&amp;amp;selected.Environment.OverrideEnvironment+class=&amp;amp;selected.Environment.EnvironmentClone+class=&amp;amp;selected.Environment.Base+class=&amp;amp;selected.Builder.OverrideWarner+class=&amp;amp;selected.Builder.CompositeBuilder+class=&amp;amp;selected.Builder.BuilderBase+class=&amp;amp;selected.Action.ListAction+class=&amp;amp;selected.Action.LazyAction+class=&amp;amp;selected.Action.FunctionAction+class=&amp;amp;selected.Action.CommandGeneratorAction+class=&amp;amp;selected.Action.CommandAction+class=&amp;amp;selected.Total+command+execution+time=&amp;amp;selected.Total+SCons+execution+time=&amp;amp;selected.Total+SConscript+file+execution+time=&amp;amp;selected.Total+build+time=&amp;amp;selected.Memory+after+building+targets=&amp;amp;selected.Memory+before+building+targets=&amp;amp;selected.Memory+after+reading+SConscript+files=&amp;amp;selected.Memory+before+reading+SConscript+files=&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;empty debugsymbols archive task&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Looking at the compile_dist_test task dependency, it was built with --separate-debug=off.&lt;/p&gt;

&lt;p&gt;This ticket is to create some mechanism so that empty debugsymbols archives are not created as their existence is confusing and misleading.&lt;/p&gt;</description>
                <environment></environment>
        <key id="2086236">SERVER-67928</key>
            <summary>UBSAN builder separate-debug=off still create debugsymbols archive</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="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="-1">Unassigned</assignee>
                                    <reporter username="daniel.moody@mongodb.com">Daniel Moody</reporter>
                        <labels>
                            <label>code-analysis</label>
                    </labels>
                <created>Sat, 9 Jul 2022 05:13:52 +0000</created>
                <updated>Fri, 2 Feb 2024 20:57:16 +0000</updated>
                                                                                                <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="4866275" author="acm" created="Thu, 29 Sep 2022 18:01:49 +0000"  >&lt;p&gt;One possibility here would be to make it so that if &lt;tt&gt;&amp;#45;&amp;#45;separate-debug=off&lt;/tt&gt;, then the &lt;tt&gt;debug&lt;/tt&gt; role would simply not exist, so there would be no &lt;tt&gt;x-debug&lt;/tt&gt; targets and no associated archive. What I don&apos;t like about that is that it would complicate the evergreen setup, because certain tasks like archiving the debug symbols would fail since the target wouldn&apos;t exist, and we would then need to find a way to skip those tasks. That might be even more confusing for developers since the file they expect to obtain wouldn&apos;t even exist.&lt;/p&gt;

&lt;p&gt;Given that, I think producing the empty debug symbols archive is the right thing to do: the debug symbols archive is the stuff you need to add in order to be able to do symbolic debugging. If that happens to be nothing, an empty archive is appropriate and I don&apos;t see that it causes much harm. We could consider creating a &lt;tt&gt;README.debug&lt;/tt&gt; file or something that always got staged in under the &lt;tt&gt;common&lt;/tt&gt; role that explained that an empty archive means that the debug symbols were not separated and are expected to be found in the executables. That might help alleviate any confusion. But I&apos;m not sure it is necessary. I read the discussion, and it didn&apos;t seem like it caused that much confusion in practice: just a clarifying question. I&apos;m inclined to close this as works as designed.&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>1.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25138"><![CDATA[Build]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 29 Sep 2022 18:01:49 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        1 year, 18 weeks, 6 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>steve.gross@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            1 year, 18 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>andrew.morrow@mongodb.com</customfieldvalue>
            <customfieldvalue>daniel.moody@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i11m9b:</customfieldvalue>

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

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