<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:21:09 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>[CDRIVER-4512] Remove legacy shell from test scripts</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-4512</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;This ticket was split from &lt;tt&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-2328&quot; title=&quot;Remove legacy shell from test scripts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-2328&quot;&gt;DRIVERS-2328&lt;/a&gt;&lt;/tt&gt;, please see that ticket for a detailed description. &lt;/p&gt;</description>
                <environment></environment>
        <key id="2166458">CDRIVER-4512</key>
            <summary>Remove legacy shell from test scripts</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="kevin.albertson@mongodb.com">Kevin Albertson</assignee>
                                    <reporter username="dbeng-pm-bot">PM Bot</reporter>
                        <labels>
                    </labels>
                <created>Tue, 25 Oct 2022 15:16:48 +0000</created>
                <updated>Mon, 22 Jan 2024 17:11:14 +0000</updated>
                            <resolved>Wed, 17 Jan 2024 19:48:36 +0000</resolved>
                                                    <fixVersion>1.26.0</fixVersion>
                                    <component>Evergreen Tools</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="6031296" author="xgen-internal-githook" created="Mon, 22 Jan 2024 17:11:14 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Kevin Albertson&apos;, &apos;email&apos;: &apos;kevin.albertson@mongodb.com&apos;, &apos;username&apos;: &apos;kevinAlbs&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-4512&quot; title=&quot;Remove legacy shell from test scripts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-4512&quot;&gt;&lt;del&gt;CDRIVER-4512&lt;/del&gt;&lt;/a&gt; run `aws_tester.py` for `session-creds` and `env-creds` test cases (#389)&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;remove `cd`&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Remove unnecessary `aws_tester.py` command&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;`aws_setup.sh` runs `aws_tester.py`&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;run `assume-role` setup for `session-creds` and `env-creds` tests&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;note required `MONGODB_BINARIES` env var&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;run `regular` setup for `env-creds` test case&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;source `activate-authawsvenv.sh`&lt;br/&gt;
Branch: dependabot/pip/dot-evergreen/ocsp/flask-2.2.5&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb-labs/drivers-evergreen-tools/commit/8e2f560511bbd0a532a84eef6528a12f01890143&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/8e2f560511bbd0a532a84eef6528a12f01890143&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="6018636" author="xgen-internal-githook" created="Wed, 17 Jan 2024 19:46:04 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Kevin Albertson&apos;, &apos;email&apos;: &apos;kevin.albertson@mongodb.com&apos;, &apos;username&apos;: &apos;kevinAlbs&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-4512&quot; title=&quot;Remove legacy shell from test scripts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-4512&quot;&gt;&lt;del&gt;CDRIVER-4512&lt;/del&gt;&lt;/a&gt; do not use `execdir` (#1516)&lt;/p&gt;

&lt;p&gt;Resolves insecure error produced by `find`&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/26867012b5982731c728c3b86d7e461f6f7a7b99&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/26867012b5982731c728c3b86d7e461f6f7a7b99&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="6017105" author="xgen-internal-githook" created="Wed, 17 Jan 2024 13:28:15 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Kevin Albertson&apos;, &apos;email&apos;: &apos;kevin.albertson@mongodb.com&apos;, &apos;username&apos;: &apos;kevinAlbs&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-4512&quot; title=&quot;Remove legacy shell from test scripts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-4512&quot;&gt;&lt;del&gt;CDRIVER-4512&lt;/del&gt;&lt;/a&gt; remove legacy shell from AWS test scripts (#1514)&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;run `setup_secrets.sh` for AWS auth&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;use `aws_setup.sh` instead of legacy shell setup for AWS test cases&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;remove unused `url_encode`&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;make `*.sh` scripts readable and executable in drivers-evergreen-tools&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;add `secrets-export.sh` to .gitignore&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;remove outdated comment&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;remove unnecessary PATH modification&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;remove unused `mongodb_bin_dir`&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;add shellcheck directives&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Ignore `aws_setup.sh` since it is in drivers-evergreen-tools&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;add missing `LAMBDA` test case to test without a session token&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;migrate Ubuntu 18.04 AWS tasks to Ubuntu 20.04&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;migrate 6.0+ tasks to Ubuntu 22.04&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;enable tracing and print &quot;aws_auth&quot; trace logs&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;This is intended to help diagnose spurious observed auth failures&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;replace legacy shell with `mongosh` in tutorial&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/7f1a88b42a311e6db8edd4adafcce55aa3b8a094&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/7f1a88b42a311e6db8edd4adafcce55aa3b8a094&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="6008392" author="xgen-internal-githook" created="Fri, 12 Jan 2024 20:13:39 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Kevin Albertson&apos;, &apos;email&apos;: &apos;kevin.albertson@mongodb.com&apos;, &apos;username&apos;: &apos;kevinAlbs&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-4512&quot; title=&quot;Remove legacy shell from test scripts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-4512&quot;&gt;&lt;del&gt;CDRIVER-4512&lt;/del&gt;&lt;/a&gt; run `aws_tester.py` for `session-creds` and `env-creds` test cases (#389)&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;remove `cd`&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Remove unnecessary `aws_tester.py` command&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;`aws_setup.sh` runs `aws_tester.py`&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;run `assume-role` setup for `session-creds` and `env-creds` tests&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;note required `MONGODB_BINARIES` env var&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;run `regular` setup for `env-creds` test case&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;source `activate-authawsvenv.sh`&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb-labs/drivers-evergreen-tools/commit/8e2f560511bbd0a532a84eef6528a12f01890143&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/8e2f560511bbd0a532a84eef6528a12f01890143&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10620">
                    <name>Issue split</name>
                                                                <inwardlinks description="split from">
                                        <issuelink>
            <issuekey id="2046813">DRIVERS-2328</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                                        </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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>CDRIVER-2733</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hvwqom:</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_21457" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Upstream Changes Summary</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-2328&quot; title=&quot;Remove legacy shell from test scripts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-2328&quot;&gt;DRIVERS-2328&lt;/a&gt;:&lt;br/&gt;
The legacy shell will no longer be installed in the near future. Drivers are encouraged to remove all usages of the legacy shell in their drivers with this &lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/pull/1429&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Go driver PR&lt;/a&gt; serving as inspiration.&lt;/p&gt;

&lt;p&gt;All drivers that require the use of the legacy library are required to define the &lt;tt&gt;INSTALL_LEGACY_SHELL&lt;/tt&gt; environment variable to a non-zero value when running MongoDB installation (either by running &lt;tt&gt;run-orchestration.sh&lt;/tt&gt; or by manually invoking &lt;tt&gt;download_and_extract()&lt;/tt&gt; from &lt;tt&gt;download-mongoldb.sh&lt;/tt&gt;). This variable replaces the current &lt;tt&gt;SKIP_LEGACY_SHELL&lt;/tt&gt; variable which will no longer be respected.&lt;/p&gt;

&lt;p&gt;The upcoming changes can be tested by using the development branch for this change. In your evergreen functions, locate the &lt;tt&gt;git clone&lt;/tt&gt; command that clones the drivers-evergreen-tools repository and replace it with this command:&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;git clone https://github.com/alcaeus/drivers-evergreen-tools.git --depth 1 --branch skip-legacy-shell-by-default $DRIVERS_TOOLS&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;This will show which of your build tasks still need the legacy shell, which can be installed using the &lt;tt&gt;INSTALL_LEGACY_SHELL&lt;/tt&gt; environment variable in that specific task.&lt;/p&gt;</customfieldvalue>

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