<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 09:00:54 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-3967] Investigate MongoClientListenerRegistration test failure</title>
                <link>https://jira.mongodb.org/browse/JAVA-3967</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;&lt;a href=&quot;https://evergreen.mongodb.com/task/mongo_java_driver_tests_jdk8_unsecure__version~3.2_os~linux_topology~replicaset_auth~noauth_ssl~nossl_jdk~jdk8_test_82129d04205d9b493ab910cfe3a4b17cf016b41e_21_01_26_23_53_26&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://evergreen.mongodb.com/task/mongo_java_driver_tests_jdk8_unsecure__version~3.2_os~linux_topology~replicaset_auth~noauth_ssl~nossl_jdk~jdk8_test_82129d04205d9b493ab910cfe3a4b17cf016b41e_21_01_26_23_53_26&lt;/a&gt;&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;   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;[2021/01/27 00:13:52.207] com.mongodb.reactivestreams.client.MongoClientListenerRegistrationSpecification &amp;gt; should register event listeners FAILED&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;   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;[2021/01/27 00:13:52.207]     Too few invocations for:&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;   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;[2021/01/27 00:13:52.207]     (1.._) * _   (0 invocations)&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;   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;[2021/01/27 00:13:52.207]     Unmatched invocations (ordered by similarity):&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;   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;[2021/01/27 00:13:52.207]     None&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;   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;[2021/01/27 00:13:52.207]         at org.spockframework.mock.runtime.InteractionScope.verifyInteractions(InteractionScope.java:104)&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;   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;[2021/01/27 00:13:52.207]         at org.spockframework.mock.runtime.MockController.leaveScope(MockController.java:77)&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;   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;[2021/01/27 00:13:52.207]         at com.mongodb.reactivestreams.client.MongoClientListenerRegistrationSpecification.should register event listeners(MongoClientListenerRegistrationSpecification.groovy:68)&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;[2021/01/27 00:13:52.207] com.mongodb.reactivestreams.client.MongoClientListenerRegistrationSpecification &amp;gt; should register multiple command listeners STANDARD_OUT&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;</description>
                <environment></environment>
        <key id="1601455">JAVA-3967</key>
            <summary>Investigate MongoClientListenerRegistration test failure</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="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="jeff.yemin@mongodb.com">Jeffrey Yemin</reporter>
                        <labels>
                    </labels>
                <created>Wed, 27 Jan 2021 04:01:41 +0000</created>
                <updated>Wed, 30 Mar 2022 23:07:05 +0000</updated>
                                                                            <component>Reactive Streams</component>
                    <component>Test Failure</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="3652956" author="jeff.yemin" created="Mon, 8 Mar 2021 20:02:30 +0000"  >&lt;p&gt;Moving back to open until we have time to investigate the root cause of the test failure.  For now, the test is being ignored.&lt;/p&gt;</comment>
                            <comment id="3652953" author="xgen-internal-githook" created="Mon, 8 Mar 2021 20:01:47 +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 event listener test in reactive streams driver&lt;/p&gt;

&lt;p&gt;This test fails intermittently in continuous integration tests.&lt;br/&gt;
It&apos;s not clear why but it doesn&apos;t appear likely to be a bug in&lt;br/&gt;
the driver that is causing the failure, but rather in the test&lt;br/&gt;
expectations.  As the same test succeeds consistently in the&lt;br/&gt;
sync driver, disabling the reactive streams-base one for now&lt;br/&gt;
until we have time to more fully investigate.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-3967&quot; title=&quot;Investigate MongoClientListenerRegistration test failure&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-3967&quot;&gt;JAVA-3967&lt;/a&gt;&lt;br/&gt;
Branch: 4.2.x&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/33d601724f576bef248809764d8cac079a0e9e06&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/33d601724f576bef248809764d8cac079a0e9e06&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3652952" author="xgen-internal-githook" created="Mon, 8 Mar 2021 20:01:39 +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 event listener test in reactive streams driver&lt;/p&gt;

&lt;p&gt;This test fails intermittently in continuous integration tests.&lt;br/&gt;
It&apos;s not clear why but it doesn&apos;t appear likely to be a bug in&lt;br/&gt;
the driver that is causing the failure, but rather in the test&lt;br/&gt;
expectations.  As the same test succeeds consistently in the&lt;br/&gt;
sync driver, disabling the reactive streams-base one for now&lt;br/&gt;
until we have time to more fully investigate.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-3967&quot; title=&quot;Investigate MongoClientListenerRegistration test failure&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-3967&quot;&gt;JAVA-3967&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/d6c40956dbe6fc6eaa6738197897dcd1551e6cf3&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/d6c40956dbe6fc6eaa6738197897dcd1551e6cf3&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3651918" author="jeff.yemin" created="Mon, 8 Mar 2021 14:59:34 +0000"  >&lt;p&gt;I tried re-writing the method to ensure that all the code under test was in the &lt;tt&gt;when&lt;/tt&gt; clause (currently it&apos;s in the &lt;tt&gt;then&lt;/tt&gt; clause, and also re-writing the mock expectations so that when one them fails it&apos;s clear which one.  I ran a patch build to see if it would still fail and eventually it did: &lt;a href=&quot;https://evergreen.mongodb.com/task/mongo_java_driver_tests_snappy_compression__version~4.0_os~linux_topology~standalone_auth~noauth_ssl~nossl_compressor~snappy_jdk~jdk8_test_patch_9932dd05c6a09142b5f95a25624e8793048b335e_60457fe53e8e86386b9a07fe_21_03_08_01_37_53##comparehashes=9932dd05c6a09142b5f95a25624e8793048b335e&amp;amp;threads=maxonly&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://evergreen.mongodb.com/task/mongo_java_driver_tests_snappy_compression__version~4.0_os~linux_topology~standalone_auth~noauth_ssl~nossl_compressor~snappy_jdk~jdk8_test_patch_9932dd05c6a09142b5f95a25624e8793048b335e_60457fe53e8e86386b9a07fe_21_03_08_01_37_53##comparehashes=9932dd05c6a09142b5f95a25624e8793048b335e&amp;amp;threads=maxonly&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;So re-organizing the code didn&apos;t help, but we do at least see that at least in one case it&apos;s the ServerMonitorListener expectation that fails.  It&apos;s not obvious how this could be since the server monitor has to run prior to completion of running a command.  &lt;/p&gt;

&lt;p&gt;Since only the driver-reactive-streams version of this test ever fails, and it fails only rarely, there must be some data race that only shows up when in async mode, but it&apos;s not clear what it could be.&lt;/p&gt;</comment>
                    </comments>
                    <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>JAVA-3971</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr3nov:</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>