<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:00:49 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>[SERVER-2664] geo_near_random failures in parallel suite</title>
                <link>https://jira.mongodb.org/browse/SERVER-2664</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;sh27219| starting test: geo_near_random2&lt;br/&gt;
sh27219|          S1 Test : jstests/all.js 203ms&lt;br/&gt;
sh27219|          S1 Test : jstests/geo_near_random1.js ...&lt;br/&gt;
sh27219| starting test: geo_near_random1&lt;br/&gt;
sh27219| testing point: [ 0, 0 ] opts: &lt;/p&gt;
{ &quot;sphere&quot; : 0, &quot;nToTest&quot; : 50 }
&lt;p&gt;sh27219| testing point: [ 0, 0 ] opts: &lt;/p&gt;
{ &quot;sphere&quot; : 0, &quot;nToTest&quot; : 50 }
&lt;p&gt;sh27219| testing point: [ 170.29694362366573, 51.24143734574318 ] opts: &lt;/p&gt;
{ &quot;sphere&quot; : 0, &quot;nToTest&quot; : 50 }
&lt;p&gt;sh27219| testing point: [ 53.335167698562145, -12.835224671289325 ] opts: &lt;/p&gt;
{ &quot;sphere&quot; : 0, &quot;nToTest&quot; : 50 }
&lt;p&gt;sh27219| testing point: [ 19.258053189236676, -52.71366306580603 ] opts: &lt;/p&gt;
{ &quot;sphere&quot; : 0, &quot;nToTest&quot; : 50 }
&lt;p&gt;sh27219| testing point: [ -41.339404338225734, 14.501830078661442 ] opts: &lt;/p&gt;
{ &quot;sphere&quot; : 0, &quot;nToTest&quot; : 50 }
&lt;p&gt;sh27219| testing point: [ -18.142901269625867, 1.3285951036959887 ] opts: &lt;/p&gt;
{ &quot;sphere&quot; : 0, &quot;nToTest&quot; : 50 }
&lt;p&gt;sh27219| assert: [{&lt;br/&gt;
sh27219|        &quot;dis&quot; : 10.746876999658907,&lt;br/&gt;
sh27219|        &quot;obj&quot; : &lt;/p&gt;
{
sh27219|                &quot;_id&quot; : 567,
sh27219|                &quot;loc&quot; : [
sh27219|                        -28.45454671103508,
sh27219|                        4.356025876477361
sh27219|                ]
sh27219|        }
&lt;p&gt;sh27219| }] != [{&lt;br/&gt;
sh27219|        &quot;dis&quot; : 10.746876999658907,&lt;br/&gt;
sh27219|        &quot;obj&quot; : &lt;/p&gt;
{
sh27219|                &quot;_id&quot; : 1230,
sh27219|                &quot;loc&quot; : [
sh27219|                        -28.45454671103508,
sh27219|                        4.356025876477361
sh27219|                ]
sh27219|        }
&lt;p&gt;sh27219| }] are not equal : undefined&lt;/p&gt;

&lt;p&gt;sh27219| Error: Printing Stack Trace&lt;br/&gt;
sh27219|     at shell/utils.js:21:7&lt;br/&gt;
sh27219|     at shell/utils.js:32:1&lt;br/&gt;
sh27219|     at Function.eq (shell/utils.js:60:42)&lt;br/&gt;
sh27219|     at &lt;span class=&quot;error&quot;&gt;&amp;#91;object Object&amp;#93;&lt;/span&gt;.assertIsPrefix (jstests/libs/geo_near_random.js:32:16)&lt;br/&gt;
sh27219|     at &lt;span class=&quot;error&quot;&gt;&amp;#91;object Object&amp;#93;&lt;/span&gt;.testPt (jstests/libs/geo_near_random.js:55:18)&lt;br/&gt;
sh27219|     at jstests/geo_near_random2.js:13:6&lt;br/&gt;
sh27219|     at _funcs1:7:40&lt;br/&gt;
sh27219|     at Function.timeFunc (shell/utils.js:271:9)&lt;br/&gt;
sh27219|     at _funcs1:7:17&lt;br/&gt;
sh27219|     at Array.forEach (native)&lt;br/&gt;
sh27219| *** failed while compairing 46 and 47&lt;br/&gt;
sh27219| &lt;/p&gt;
{
sh27219|        &quot;geoNear&quot; : &quot;geo_near_random2&quot;,
sh27219|        &quot;near&quot; : [
sh27219|                -18.142901269625867,
sh27219|                1.3285951036959887
sh27219|        ],
sh27219|        &quot;num&quot; : 47,
sh27219|        &quot;spherical&quot; : 0
sh27219| }
&lt;p&gt;sh27219| Tue Mar  1 20:18:01 exec error: jstests/libs/geo_near_random.js:59 [{&lt;br/&gt;
sh27219|        &quot;dis&quot; : 10.746876999658907,&lt;br/&gt;
sh27219|        &quot;obj&quot; : &lt;/p&gt;
{
sh27219|                &quot;_id&quot; : 567,
sh27219|                &quot;loc&quot; : [
sh27219|                        -28.45454671103508,
sh27219|                        4.356025876477361
sh27219|                ]
sh27219|        }
&lt;p&gt;sh27219| }] != [{&lt;/p&gt;

&lt;p&gt;sh27219|        &quot;dis&quot; : 10.746876999658907,&lt;br/&gt;
sh27219|        &quot;obj&quot; : &lt;/p&gt;
{
sh27219|                &quot;_id&quot; : 1230,
sh27219|                &quot;loc&quot; : [
sh27219|                        -28.45454671103508,
sh27219|                        4.356025876477361
sh27219|                ]
sh27219|        }
&lt;p&gt;sh27219| }] are not equal : undefined&lt;br/&gt;
sh27219|             throw e; // rethrow&lt;br/&gt;
sh27219|             ^&lt;br/&gt;
sh27219|&lt;/p&gt;


&lt;p&gt;Looks like maybe the geo_near_random tests can&apos;t handle two points that are in the same place.  Since we have one global random number seed, the tests can&apos;t run during another test that resets the seed to the same value that these tests do.&lt;/p&gt;

&lt;p&gt;We could fix by removing the tests from the parallel suite or making the tests work when there are duplicate point locations.&lt;/p&gt;</description>
                <environment></environment>
        <key id="14958">SERVER-2664</key>
            <summary>geo_near_random failures in parallel suite</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</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="9">Done</resolution>
                                        <assignee username="greg_10gen">Greg Studer</assignee>
                                    <reporter username="aaron">Aaron Staple</reporter>
                        <labels>
                    </labels>
                <created>Wed, 2 Mar 2011 03:02:50 +0000</created>
                <updated>Tue, 12 Jul 2016 00:20:37 +0000</updated>
                            <resolved>Wed, 2 Mar 2011 17:43:47 +0000</resolved>
                                                    <fixVersion>1.9.0</fixVersion>
                                    <component>Geo</component>
                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="25079" author="greg_10gen" created="Wed, 2 Mar 2011 17:43:47 +0000"  >&lt;p&gt;Made the point check test for actual point values and distances, so that reordered duplicate points can get handled correctly.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 2 Mar 2011 17:43:47 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        12 years, 51 weeks ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>ramon.fernandez@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            12 years, 51 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>aaron</customfieldvalue>
            <customfieldvalue>greg_10gen</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrp4rz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hridq7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>20876</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hsbw7r:</customfieldvalue>

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