<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 09:03:17 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>[JAVA-4919] MONGODB-AWS ECS Auth tests fail since Kotlin driver added to the repository</title>
                <link>https://jira.mongodb.org/browse/JAVA-4919</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;&lt;b&gt;The failure&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;The error is related to gradle failing / timing out / the daemon crashing when running the test.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Investigation so far&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;These test are currently failing since the introduction of the Kotlin driver:&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/c36e7ee18502a9095bcf89e26f651f0b696732ab&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/c36e7ee18502a9095bcf89e26f651f0b696732ab&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Running the previous commit as a patch succeeds.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Probable cause&lt;/b&gt;:&lt;/p&gt;

&lt;p&gt;Adding the kotlin driver into the gradle build seems to be the suspect.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Failed fixes&lt;/b&gt;&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Updating Gradle to 7.6.1&lt;/li&gt;
	&lt;li&gt;Updating to Ubuntu 2004&lt;/li&gt;
	&lt;li&gt;Running &lt;tt&gt;driver-core:compileJava&lt;/tt&gt; before running the test&lt;/li&gt;
	&lt;li&gt;Removing kotlin when running the ECS test (driver-core has a compile time dependency due for the codec registry to bson-kotlin / bson-kotlinx)&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="2303559">JAVA-4919</key>
            <summary>MONGODB-AWS ECS Auth tests fail since Kotlin driver added to the repository</summary>
                <type id="20" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Build Failure</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="ross@mongodb.com">Ross Lawley</reporter>
                        <labels>
                    </labels>
                <created>Fri, 31 Mar 2023 15:40:37 +0000</created>
                <updated>Wed, 1 Nov 2023 15:15:30 +0000</updated>
                                                                            <component>Test Coverage</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="5327674" author="xgen-internal-githook" created="Wed, 5 Apr 2023 18:15:46 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Jeff Yemin&apos;, &apos;email&apos;: &apos;jeff.yemin@mongodb.com&apos;, &apos;username&apos;: &apos;jyemin&apos;}
&lt;p&gt;Message: Disable AWS ECS tests&lt;/p&gt;

&lt;p&gt;Until we can figure out why they are failing and fix it.&lt;/p&gt;

&lt;p&gt;It seems to be related to the recent addition of the Kotlin&lt;br/&gt;
driver&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-4919&quot; title=&quot;MONGODB-AWS ECS Auth tests fail since Kotlin driver added to the repository&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-4919&quot;&gt;JAVA-4919&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/9ac2664495639b7b2c5369c37a0562b5f202c492&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/9ac2664495639b7b2c5369c37a0562b5f202c492&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5319496" author="jeff.yemin" created="Mon, 3 Apr 2023 14:53:00 +0000"  >&lt;p&gt;Options include:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Temporarily removing driver-core dependency on bson-kotlin (added for the default codec registry)&lt;/li&gt;
	&lt;li&gt;Roll back all of Kotlin changes&lt;/li&gt;
	&lt;li&gt;Disable the ECS tests&lt;/li&gt;
	&lt;li&gt;Find the root cause&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="5316450" author="ross@10gen.com" created="Fri, 31 Mar 2023 19:03:09 +0000"  >&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;* Exception is:&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;[2023/03/31 18:48:42.756] sh14992| sh123| org.gradle.launcher.daemon.client.DaemonDisappearedException: Gradle build daemon disappeared unexpectedly (it may have been killed or may have crashed)&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;Every incantation I&apos;ve tried: &lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;increasing memory for the jvm and the kotlin.daemon.jvm.options,&lt;/li&gt;
	&lt;li&gt;using a custom settings.gradle to only include the required projects&lt;/li&gt;
	&lt;li&gt;clearing the gradle cache directory&lt;/li&gt;
	&lt;li&gt;no-daemon mode&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;All have timed out or crashed with the above error.&lt;/p&gt;

&lt;p&gt;I haven&apos;t been able to get onto the box to see if there are any error logs.&lt;/p&gt;

&lt;p&gt;Recommendations are to look at the resources - why does this scenario have issues compiling both Java and Kotlin code when its fine on the other builds?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="2477146">JAVA-5207</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_14266" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Documentation Changes Summary</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;1.  What would you like to communicate to the user about this feature?&lt;br/&gt;
2.  Would you like the user to see examples of the syntax and/or executable code and its output?&lt;br/&gt;
3.  Which versions of the driver/connector does this apply to?&lt;/p&gt;</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_21553" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Quarter</customfieldname>
                        <customfieldvalues>
                                        <label>FY24Q4</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr3mmh:0400000942rf1i01</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>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>