<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:26:07 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>[DRIVERS-2657] Make Lambda Tests More Resilient</title>
                <link>https://jira.mongodb.org/browse/DRIVERS-2657</link>
                <project id="10980" key="DRIVERS">Drivers</project>
                    <description>&lt;div class=&quot;panel&quot; style=&quot;background-color: #fafbfc;border-color: #21313c;border-style: solid;border-width: 1px;&quot;&gt;&lt;div class=&quot;panelContent&quot; style=&quot;background-color: #fafbfc;&quot;&gt;
&lt;h3&gt;&lt;a name=&quot;Summary&quot;&gt;&lt;/a&gt;&lt;b&gt;Summary&lt;/b&gt;&lt;/h3&gt;
&lt;p&gt;When the automated AWS Lambda tests error or are aborted, Atlas clusters run the risk of being orphaned. The current script attempts to handle this in a trap, but that is not always 100% effective.&lt;/p&gt;

&lt;p&gt;The recommendation is to split the script (&lt;a href=&quot;https://github.com/mongodb-labs/drivers-evergreen-tools/blob/master/.evergreen/run-deployed-lambda-aws-tests.sh&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-labs/drivers-evergreen-tools/blob/master/.evergreen/run-deployed-lambda-aws-tests.sh&lt;/a&gt;) into separate scripts that can be run in driver CI as task groups where the setup and teardown can be guaranteed regardless of error.&lt;/p&gt;

&lt;p&gt;This should/could also be given additional protection by using cloud-dev instead of cloud and setting auto-expiration times much lower that the default, if possible.&lt;/p&gt;

&lt;h3&gt;&lt;a name=&quot;Motivation&quot;&gt;&lt;/a&gt;&lt;b&gt;Motivation&lt;/b&gt;&lt;/h3&gt;
&lt;h4&gt;&lt;a name=&quot;Whoistheaffectedenduser%3F&quot;&gt;&lt;/a&gt;Who is the affected end user?&lt;/h4&gt;
&lt;p&gt;Drivers getting orphaned clusters in Atlas due to these tests.&lt;/p&gt;
&lt;h4&gt;&lt;a name=&quot;Howdoesthisaffecttheenduser%3F&quot;&gt;&lt;/a&gt;How does this affect the end user?&lt;/h4&gt;
&lt;p&gt;Can incur high Atlas costs - for example the Node team hit the monthly limit.&lt;/p&gt;
&lt;h4&gt;&lt;a name=&quot;Howlikelyisitthatthisproblemorusecasewilloccur%3F&quot;&gt;&lt;/a&gt;How likely is it that this problem or use case will occur?&lt;/h4&gt;
&lt;p&gt;Regularly&lt;/p&gt;
&lt;h4&gt;&lt;a name=&quot;Iftheproblemdoesoccur%2Cwhataretheconsequencesandhowseverearethey%3F&quot;&gt;&lt;/a&gt;If the problem does occur, what are the consequences and how severe are they?&lt;/h4&gt;
&lt;p&gt;Once driver team cluster limit is hit, no more clusters can be created and subsequent tests will always fail.&lt;/p&gt;
&lt;h4&gt;&lt;a name=&quot;Isthisissueurgent%3F&quot;&gt;&lt;/a&gt;Is this issue urgent?&lt;/h4&gt;
&lt;p&gt;For Node, yes.&lt;/p&gt;
&lt;h4&gt;&lt;a name=&quot;Isthisticketrequiredbyadownstreamteam%3F&quot;&gt;&lt;/a&gt;Is this ticket required by a downstream team?&lt;/h4&gt;
&lt;p&gt;No&lt;/p&gt;
&lt;h4&gt;&lt;a name=&quot;Isthisticketonlyfortests%3F&quot;&gt;&lt;/a&gt;Is this ticket only for tests?&lt;/h4&gt;
&lt;p&gt;Test improvements&lt;/p&gt;
&lt;h3&gt;&lt;a name=&quot;AcceptanceCriteria&quot;&gt;&lt;/a&gt;&lt;b&gt;Acceptance Criteria&lt;/b&gt;&lt;/h3&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Reorganize the lambda scripts in drivers-evergreen-tools&lt;/li&gt;
	&lt;li&gt;Update the spec recommendations to use task groups&lt;/li&gt;
	&lt;li&gt;Show working prototype CI in 1 driver&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="2372627">DRIVERS-2657</key>
            <summary>Make Lambda Tests More Resilient</summary>
                <type id="14901" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14700&amp;avatarType=issuetype">Spec Change</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="13453" iconUrl="https://jira.mongodb.org/images/icons/status_generic.gif" description="">Implementing</status>
                    <statusCategory id="4" key="indeterminate" colorName="inprogress"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="durran.jordan@mongodb.com">Durran Jordan</assignee>
                                    <reporter username="durran.jordan@mongodb.com">Durran Jordan</reporter>
                        <labels>
                    </labels>
                <created>Tue, 20 Jun 2023 15:02:40 +0000</created>
                <updated>Mon, 21 Aug 2023 17:29:54 +0000</updated>
                                                                <component>FaaS</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="5529955" author="xgen-internal-githook" created="Wed, 28 Jun 2023 05:57:16 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Durran Jordan&apos;, &apos;email&apos;: &apos;durran@gmail.com&apos;, &apos;username&apos;: &apos;durran&apos;}
&lt;p&gt;Message: test(&lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-2657&quot; title=&quot;Make Lambda Tests More Resilient&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-2657&quot;&gt;DRIVERS-2657&lt;/a&gt;): break out lambda scripts  (#325)&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;fix: always allow all cleanup to run on lambda&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;test(&lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-2657&quot; title=&quot;Make Lambda Tests More Resilient&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-2657&quot;&gt;DRIVERS-2657&lt;/a&gt;): break out lambda scripts&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;test: update scripts&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;chore: revert old script&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;test: update scripts&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;test: dont create cluster in run script&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;test: check cluster in setup&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;test: allow supplying mongodb version&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;test: check every 15, wait 20 min&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;test: tweak cluster settings&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;test: more config tweaks&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;test: auto scaling required&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;test: add read preference back&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Update .evergreen/aws_lambda/setup-atlas-cluster.sh&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Co-authored-by: Bailey Pearson &amp;lt;bailey.pearson@gmail.com&amp;gt;&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;test: try more expansions&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;test: update suggestions&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Update .evergreen/aws_lambda/setup-atlas-cluster.sh&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Co-authored-by: Andreas Braun &amp;lt;alcaeus@users.noreply.github.com&amp;gt;&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;test: move atlas scripts&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;---------&lt;/p&gt;

&lt;p&gt;Co-authored-by: Bailey Pearson &amp;lt;bailey.pearson@gmail.com&amp;gt;&lt;br/&gt;
Co-authored-by: Andreas Braun &amp;lt;alcaeus@users.noreply.github.com&amp;gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb-labs/drivers-evergreen-tools/commit/797f71cdd51b30a13a143ee028982c898519e85b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-labs/drivers-evergreen-tools/commit/797f71cdd51b30a13a143ee028982c898519e85b&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5529954" author="xgen-internal-githook" created="Wed, 28 Jun 2023 05:56:53 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Durran Jordan&apos;, &apos;email&apos;: &apos;durran@gmail.com&apos;, &apos;username&apos;: &apos;durran&apos;}
&lt;p&gt;Message: test(&lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-2657&quot; title=&quot;Make Lambda Tests More Resilient&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-2657&quot;&gt;DRIVERS-2657&lt;/a&gt;): update faas testing spec (#1438)&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;test(&lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-2657&quot; title=&quot;Make Lambda Tests More Resilient&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-2657&quot;&gt;DRIVERS-2657&lt;/a&gt;): update faas testing spec&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;chore: update per suggestions&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;fix: table formatting&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;fix: moved atlas scripts&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/specifications/commit/8debfaebfc20402d26d8058661d51309ba5e2344&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/specifications/commit/8debfaebfc20402d26d8058661d51309ba5e2344&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="5519478" author="xgen-internal-githook" created="Thu, 22 Jun 2023 19:59:53 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Durran Jordan&apos;, &apos;email&apos;: &apos;durran@gmail.com&apos;, &apos;username&apos;: &apos;durran&apos;}
&lt;p&gt;Message: test(&lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-2657&quot; title=&quot;Make Lambda Tests More Resilient&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-2657&quot;&gt;DRIVERS-2657&lt;/a&gt;): break out lambda scripts&lt;br/&gt;
Branch: &lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-2657&quot; title=&quot;Make Lambda Tests More Resilient&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-2657&quot;&gt;DRIVERS-2657&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb-labs/drivers-evergreen-tools/commit/a3899fd3730cafc8fcf8d315554c9ab98bfc252a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-labs/drivers-evergreen-tools/commit/a3899fd3730cafc8fcf8d315554c9ab98bfc252a&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5518278" author="xgen-internal-githook" created="Thu, 22 Jun 2023 14:03:46 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Durran Jordan&apos;, &apos;email&apos;: &apos;durran@gmail.com&apos;, &apos;username&apos;: &apos;durran&apos;}
&lt;p&gt;Message: test(&lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-2657&quot; title=&quot;Make Lambda Tests More Resilient&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-2657&quot;&gt;DRIVERS-2657&lt;/a&gt;): break out lambda scripts&lt;br/&gt;
Branch: &lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-2657&quot; title=&quot;Make Lambda Tests More Resilient&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-2657&quot;&gt;DRIVERS-2657&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb-labs/drivers-evergreen-tools/commit/dfa97b1abf46d22c16d17a1a925073bc94d45a3f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-labs/drivers-evergreen-tools/commit/dfa97b1abf46d22c16d17a1a925073bc94d45a3f&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10620">
                    <name>Issue split</name>
                                            <outwardlinks description="split to">
                                        <issuelink>
            <issuekey id="2377566">JAVA-5042</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2377564">CSHARP-4692</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2377562">CDRIVER-4670</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2377563">CXX-2704</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2377565">GODRIVER-2880</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2377568">MOTOR-1147</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2377567">NODE-5373</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2377570">PHPLIB-1171</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2377569">PYTHON-3775</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2377571">RUBY-3283</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2377572">RUST-1691</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="2372445">NODE-5361</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                            <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_17052" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Downstream Changes Summary</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;Drivers that currently automate FaaS testing should update their Evergreen configurations to use task groups instead of the single tools script as described in &lt;a href=&quot;https://github.com/mongodb/specifications/commit/8debfaebfc20402d26d8058661d51309ba5e2344&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/specifications/commit/8debfaebfc20402d26d8058661d51309ba5e2344&lt;/a&gt; . &lt;/p&gt;</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10951" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Driver Changes</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10748"><![CDATA[Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_23952" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Driver Compliance</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[<style type='text/css'>
         #scriptField, #scriptField *{
                border: 1px solid black;
            }

            #scriptField{
                border-collapse: collapse;
            }

            #scriptField td {
                text-align: center; /* Center-align text in table cells */
            }

            #scriptField td.key {
                text-align: left; /* Left-align text in the Key column */
            }

            #scriptField a {
                text-decoration: none; /* Remove underlines from links */
                border: none; /* Remove border from links */
            }
            
            /* Add green background color to cells with FixVersion */
            #scriptField td.hasFixVersion {
                background-color: #00FF00; /* Green color code */
            }

            /* Center-align the first row headers */
            #scriptField th {
                text-align: center;
            }
        </style>
<table id='scriptField'>
  <tr>
    <th>Key</th>
    <th>Status/Resolution</th>
    <th>FixVersion</th>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/CDRIVER-4670'>CDRIVER-4670</a>
    </td>
    <td>Won't Do</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/CXX-2704'>CXX-2704</a>
    </td>
    <td>Won't Do</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/CSHARP-4692'>CSHARP-4692</a>
    </td>
    <td>Backlog</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/GODRIVER-2880'>GODRIVER-2880</a>
    </td>
    <td>Duplicate</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/JAVA-5042'>JAVA-5042</a>
    </td>
    <td>Backlog</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/NODE-5373'>NODE-5373</a>
    </td>
    <td>Duplicate</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/MOTOR-1147'>MOTOR-1147</a>
    </td>
    <td>Duplicate</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/PYTHON-3775'>PYTHON-3775</a>
    </td>
    <td>Duplicate</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/PHPLIB-1171'>PHPLIB-1171</a>
    </td>
    <td>Won't Do</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/RUBY-3283'>RUBY-3283</a>
    </td>
    <td>Done</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/RUST-1691'>RUST-1691</a>
    </td>
    <td>Duplicate</td>
    <td class=''></td>
  </tr>
</table>]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18362" key="com.atlassian.jira.plugin.system.customfieldtypes:userpicker">
                        <customfieldname>Engineering Lead</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>andreas.braun@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i1wtfs:</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>Mon, 26 Jun 2023 00:00:00 +0000</customfieldvalue>

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