<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:25:22 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-2355] Test with consistent versions of crypt_shared and server</title>
                <link>https://jira.mongodb.org/browse/DRIVERS-2355</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;Drivers generally provision server versions in Evergreen using the &lt;a href=&quot;https://github.com/mongodb-labs/drivers-evergreen-tools/blob/master/.evergreen/download-mongodb.sh&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;download-mongodb.sh&lt;/a&gt; script, which internally keeps a map of &lt;tt&gt;Major.Minor&lt;/tt&gt; server versions to specific packages for various operating systems.&lt;/p&gt;

&lt;p&gt;The &lt;a href=&quot;https://github.com/mongodb-labs/drivers-evergreen-tools/blob/master/.evergreen/mongodl.py&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;mongodl.py&lt;/a&gt; originally introduced in &lt;a href=&quot;https://github.com/mongodb-labs/drivers-evergreen-tools/commit/b233de2dfe327575d2c80dd43842fb5c86b943fe&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;b233de2&lt;/a&gt; operates very differently by downloading &lt;tt&gt;full.json&lt;/tt&gt; from mongodb.com. Although it does have aliases for &quot;latest&quot; and &quot;latest-stable&quot;, it&apos;s not clear if those are consistent with the aliases we have in download-mongodb.sh.&lt;/p&gt;

&lt;p&gt;Two ideas came to mind (I&apos;m open to others):&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;mongodl.py looks like a generally useful tool. If we can find some way to share a consistent mapping of &lt;tt&gt;Major.Minor&lt;/tt&gt; aliases between it and download-mongodb.sh, that would help.&lt;/li&gt;
	&lt;li&gt;Alternatively, we need some way to extract the exact server version fetched by download-mongodb.sh. I looked into this briefly by writing a sed one-liner to parse &lt;tt&gt;mongod --version&lt;/tt&gt; but ran into trouble finding the extracted binaries. AFAIK, they are fed to mongo-orchestration but don&apos;t end up in &lt;tt&gt;$PATH&lt;/tt&gt;.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;This came up in &lt;a href=&quot;https://github.com/mongodb/mongo-python-driver/pull/961#issuecomment-1146425848&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;mongodb/mongo-python-driver#961&lt;/a&gt; for &lt;a href=&quot;https://jira.mongodb.org/browse/PYTHON-3296&quot; title=&quot;Tests should use the same crypt_shared version as the server being tested&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PYTHON-3296&quot;&gt;&lt;del&gt;PYTHON-3296&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;On a separate note, I&apos;m not sure if &lt;tt&gt;mongodl.py&lt;/tt&gt; caches &lt;tt&gt;full.json&lt;/tt&gt; or downloads it on each invocation. That file is quite large, so this does add overhead to the minimal mappings we maintain for &lt;tt&gt;download-mongodb.sh&lt;/tt&gt;. Perhaps a separate tool to query &lt;tt&gt;full.json&lt;/tt&gt; and prepare a mapping list similar to what we have in &lt;tt&gt;download-mongodb.sh&lt;/tt&gt; would be more useful, if we decide to go the mapping route.&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;Driver developers.&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;Difficulty ensuring consistent versions are used for the MongoDB server and crypt_shared.&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;Yes. This is relevant for crypt_shared CI testing.&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;May be relevant for shell testing, unless they&apos;re using entirely different tooling.&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;Yes.&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="2068300">DRIVERS-2355</key>
            <summary>Test with consistent versions of crypt_shared and server</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="10300" iconUrl="https://jira.mongodb.org/images/icons/priorities/medium.svg">Unknown</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="kevin.albertson@mongodb.com">Kevin Albertson</assignee>
                                    <reporter username="jmikola@mongodb.com">Jeremy Mikola</reporter>
                        <labels>
                    </labels>
                <created>Tue, 14 Jun 2022 15:11:40 +0000</created>
                <updated>Mon, 21 Aug 2023 20:11:43 +0000</updated>
                                                                <component>Client Side Encryption</component>
                    <component>Evergreen Tools</component>
                                        <votes>1</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="4682037" author="xgen-internal-githook" created="Fri, 15 Jul 2022 14:08:46 +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/DRIVERS-2355&quot; title=&quot;Test with consistent versions of crypt_shared and server&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-2355&quot;&gt;DRIVERS-2355&lt;/a&gt; check for bin directory in Windows (#214)&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;fix windows64 links&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;use zip, not tgz&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-2355&quot; title=&quot;Test with consistent versions of crypt_shared and server&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-2355&quot;&gt;DRIVERS-2355&lt;/a&gt; check for bin directory in Windows&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb-labs/drivers-evergreen-tools/commit/f2d54aad53451ff3bf563604a35b9f32cff13b58&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/f2d54aad53451ff3bf563604a35b9f32cff13b58&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="4680374" author="xgen-internal-githook" created="Thu, 14 Jul 2022 20:03:50 +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/DRIVERS-2355&quot; title=&quot;Test with consistent versions of crypt_shared and server&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-2355&quot;&gt;DRIVERS-2355&lt;/a&gt; Clarify that driver tests &amp;lt; 6.0 should use mongocryptd (#1275)&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/specifications/commit/9a0a385dc897319ecc10dd3dd19bc9d8e4c10de7&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/specifications/commit/9a0a385dc897319ecc10dd3dd19bc9d8e4c10de7&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4680320" author="xgen-internal-githook" created="Thu, 14 Jul 2022 19:45:23 +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/DRIVERS-2355&quot; title=&quot;Test with consistent versions of crypt_shared and server&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-2355&quot;&gt;DRIVERS-2355&lt;/a&gt; add crypt_shared download function to download-mongodb.sh (#213)&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;only return shared lib if exists for version&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;add download_and_extract_crypt_shared&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb-labs/drivers-evergreen-tools/commit/005c9d6a73032bfebee867aa6eab2b481c19c48f&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/005c9d6a73032bfebee867aa6eab2b481c19c48f&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="2061971">PYTHON-3296</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10620">
                    <name>Issue split</name>
                                            <outwardlinks description="split to">
                                        <issuelink>
            <issuekey id="2126266">PHPC-2135</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2090603">CXX-2545</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2090606">JAVA-4678</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2090602">CDRIVER-4427</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2090604">CSHARP-4254</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2090605">GODRIVER-2492</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2090608">MOTOR-994</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2090607">NODE-4422</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2090610">PHPLIB-911</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2090609">PYTHON-3355</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2090611">RUBY-3051</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2090612">RUST-1408</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="1897768">DRIVERS-1950</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2054417">GODRIVER-2437</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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;Update CSFLE tests to use the same version of crypt_shared as the server.&lt;br/&gt;
Update CSFLE tests to use mongocryptd when using server version &amp;lt; 6.&lt;/p&gt;

&lt;p&gt;Please see &lt;a href=&quot;https://github.com/mongodb/specifications/commit/9a0a385dc897319ecc10dd3dd19bc9d8e4c10de7&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/specifications/commit/9a0a385dc897319ecc10dd3dd19bc9d8e4c10de7&lt;/a&gt; for the specification clarification.&lt;/p&gt;

&lt;p&gt;The &lt;tt&gt;CRYPT_SHARED_LIB_PATH&lt;/tt&gt; expansion is made available from run-orchestration.sh as part of &lt;a href=&quot;https://github.com/mongodb-labs/drivers-evergreen-tools/commit/5af4bfe0f18ece58d8492436b115c24a4167f1a3&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/5af4bfe0f18ece58d8492436b115c24a4167f1a3&lt;/a&gt;.&#160;&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-4427'>CDRIVER-4427</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>1.23.2</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/CXX-2545'>CXX-2545</a>
    </td>
    <td>Backlog</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/CSHARP-4254'>CSHARP-4254</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>2.18.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/GODRIVER-2492'>GODRIVER-2492</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>1.11.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/JAVA-4678'>JAVA-4678</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>4.9.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/NODE-4422'>NODE-4422</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>4.9.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/MOTOR-994'>MOTOR-994</a>
    </td>
    <td>Duplicate</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/PYTHON-3355'>PYTHON-3355</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>4.3</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/PHPLIB-911'>PHPLIB-911</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>1.13.1</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/RUBY-3051'>RUBY-3051</a>
    </td>
    <td>Works as Designed</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/RUST-1408'>RUST-1408</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>2.4.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/SWIFT-1602'>SWIFT-1602</a>
    </td>
    <td>Won't Do</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/PHPC-2135'>PHPC-2135</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>1.14.1</td>
  </tr>
</table>]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i0hew0:</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>Thu, 14 Jul 2022 00:00:00 +0000</customfieldvalue>

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