<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 22:29:14 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>[COMPASS-2163] Spike - Investigate CollectionsStore &quot;before all&quot; hook: Error: Timeout of 2000ms exceeded</title>
                <link>https://jira.mongodb.org/browse/COMPASS-2163</link>
                <project id="13182" key="COMPASS">Compass </project>
                    <description>&lt;h4&gt;&lt;a name=&quot;Goals&quot;&gt;&lt;/a&gt;Goals&lt;/h4&gt;

&lt;ul&gt;
	&lt;li&gt;A better understanding of the &lt;a href=&quot;https://github.com/10gen/compass/blob/f05b3ac/test/unit/collections.store.test.js#L18-L20&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;CollectionsStore before all hook&lt;/a&gt; within the Compass unit test suite, e.g. How does the mock data service work?&lt;/li&gt;
	&lt;li&gt;An estimate or probability - How likely it is to hit the 2000ms time limit?&lt;/li&gt;
	&lt;li&gt;An explanation of how the 2000ms (or more) of time is spent&lt;/li&gt;
	&lt;li&gt;Recommendations or proof-of-concepts which may resolve this issue&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;If time allows, PR and fix this test issue, if not, create a follow up ticket with any proposed future work.&lt;/p&gt;

&lt;p&gt;As this ticket is a spike and focused on exploring - ideas are always welcome &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;

&lt;h4&gt;&lt;a name=&quot;Rationale&quot;&gt;&lt;/a&gt;Rationale&lt;/h4&gt;
&lt;p&gt;As noted on COMPASS-2159, Travis build failures usually require the developer to manually retry the build, which as technical debt slows down the team&apos;s capacity to deliver new features and bug fixes.&lt;/p&gt;

&lt;h4&gt;&lt;a name=&quot;Exampleerroroutput&quot;&gt;&lt;/a&gt;Example error output&lt;/h4&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;   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;  1) CollectionsStore &quot;before all&quot; hook:&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&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-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;     Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure &quot;done()&quot; is called; if returning a Promise, ensure it resolves.&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;h4&gt;&lt;a name=&quot;Listofknownredjobs&quot;&gt;&lt;/a&gt;List of known red jobs&lt;/h4&gt;
&lt;p&gt;&lt;a href=&quot;https://travis-ci.com/10gen/compass/jobs/89073210&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://travis-ci.com/10gen/compass/jobs/89073210&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://travis-ci.com/10gen/compass/jobs/89088573&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://travis-ci.com/10gen/compass/jobs/89088573&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://travis-ci.com/10gen/compass/jobs/93094619&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://travis-ci.com/10gen/compass/jobs/93094619&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://travis-ci.com/10gen/compass/jobs/93096547&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://travis-ci.com/10gen/compass/jobs/93096547&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;1.9-releases is also known to be affected, so a fix should be backported to supported Compass versions:&lt;br/&gt;
&lt;a href=&quot;https://travis-ci.com/10gen/compass/jobs/93287442&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://travis-ci.com/10gen/compass/jobs/93287442&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="439963">COMPASS-2163</key>
            <summary>Spike - Investigate CollectionsStore &quot;before all&quot; hook: Error: Timeout of 2000ms exceeded</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="13203">Gone away</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="peter.schmidt">Peter Schmidt</reporter>
                        <labels>
                    </labels>
                <created>Wed, 4 Oct 2017 02:43:02 +0000</created>
                <updated>Wed, 10 Jan 2024 22:45:36 +0000</updated>
                            <resolved>Wed, 13 Nov 2019 18:22:48 +0000</resolved>
                                                                    <component>CI</component>
                    <component>Testing</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="1688594" author="peter.schmidt" created="Wed, 4 Oct 2017 05:30:02 +0000"  >&lt;p&gt;I can also reproduce this reliably (3/3 tries so far) in my Ubuntu VM with a 50% CPU execution cap, and also (5/5 tries so far) in my Red Hat VM (&lt;a href=&quot;https://github.com/10gen/compass-internal-docs/blob/master/testing-on-platforms/vm-red-hat.md&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;setup instructions here&lt;/a&gt;) with a 50% execution cap. &lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;167135_thumb&quot; href=&quot;https://jira.mongodb.org/secure/attachment/167135/167135_Virtual+Box+-+Machine+-+Settings+-+System+-+Processor+-+Execution+Cap.png&quot; title=&quot;Virtual Box - Machine - Settings - System - Processor - Execution Cap.png&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;167135&quot; file-preview-title=&quot;Virtual Box - Machine - Settings - System - Processor - Execution Cap.png&quot;&gt;&lt;img src=&quot;https://jira.mongodb.org/secure/thumbnail/167135/_thumb_167135.png&quot; style=&quot;border: 0px solid black&quot; role=&quot;presentation&quot;/&gt;&lt;/a&gt;&lt;/span&gt; &lt;/p&gt;</comment>
                            <comment id="1688565" author="satyendra.sinha" created="Wed, 4 Oct 2017 03:40:23 +0000"  >&lt;p&gt;So this has been happening locally for me in Windows on master consistently.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                                        </outwardlinks>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="167127" name="Travis Failure.png" size="100732" author="peter.schmidt" created="Wed, 4 Oct 2017 02:32:12 +0000"/>
                            <attachment id="167135" name="Virtual Box - Machine - Settings - System - Processor - Execution Cap.png" size="146410" author="peter.schmidt" created="Wed, 4 Oct 2017 05:28:53 +0000"/>
                    </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_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 4 Oct 2017 03:40:23 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        6 years, 19 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_14262" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                        <customfieldname>End date</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 27 Oct 2017 00:00:00 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>COMPASS-2228</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>jessica.sigafoos@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            6 years, 19 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>peter.schmidt</customfieldvalue>
            <customfieldvalue>satyendra.sinha@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|htgxl3:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|ht7i2v:</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_14261" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                        <customfieldname>Start date</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 4 Oct 2017 00:00:00 +0000</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_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|htgjon:</customfieldvalue>

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