<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 22:00: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>[CXX-744] RandomTest.NextInt64SanityCheck Fails on PPC</title>
                <link>https://jira.mongodb.org/browse/CXX-744</link>
                <project id="11980" key="CXX">C++ Driver</project>
                    <description>&lt;p&gt;Hi, &lt;br/&gt;
I&apos;ve updated mongo server to rc3. However, when I run the tests for cxx driver, I&apos;m getting the failure in unit tests as shown in the snapshot attached.&lt;/p&gt;

&lt;p&gt;I also tried testing on Ubuntu PPC but that also gives the same results.&lt;/p&gt;

&lt;p&gt;Kindly guide me on this issue.&lt;/p&gt;

&lt;p&gt;Regards,&lt;br/&gt;
valnci&lt;/p&gt;

&lt;p&gt;System Info:&lt;br/&gt;
OS/Arch - RHELppc and UbuntuPPC&lt;br/&gt;
MongoDB shell version: 3.2.0-rc3-24-g2508a0f&lt;br/&gt;
Mongo Orchestration v0.6.dev0&lt;/p&gt;</description>
                <environment></environment>
        <key id="241061">CXX-744</key>
            <summary>RandomTest.NextInt64SanityCheck Fails on PPC</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="andrew.morrow@mongodb.com">Andrew Morrow</assignee>
                                    <reporter username="valnci">Valencia Serrao</reporter>
                        <labels>
                            <label>legacy-cxx</label>
                    </labels>
                <created>Wed, 25 Nov 2015 05:32:46 +0000</created>
                <updated>Mon, 7 Dec 2015 17:38:46 +0000</updated>
                            <resolved>Mon, 30 Nov 2015 18:33:14 +0000</resolved>
                                    <version>legacy-1.0.7</version>
                                    <fixVersion>legacy-1.1.0</fixVersion>
                                    <component>Testing</component>
                                        <votes>3</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="1100970" author="xgen-internal-githook" created="Mon, 30 Nov 2015 18:31:01 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;acmorrow&apos;, u&apos;name&apos;: u&apos;Andrew Morrow&apos;, u&apos;email&apos;: u&apos;acm@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CXX-744&quot; title=&quot;RandomTest.NextInt64SanityCheck Fails on PPC&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-744&quot;&gt;&lt;del&gt;CXX-744&lt;/del&gt;&lt;/a&gt; Fix incorrect types used to hold 64 bit values&lt;br/&gt;
Branch: legacy&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-cxx-driver/commit/69f2088dfec6107d0b62eee2a9cbebad3120c773&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-cxx-driver/commit/69f2088dfec6107d0b62eee2a9cbebad3120c773&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1100535" author="acm" created="Mon, 30 Nov 2015 14:08:29 +0000"  >&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/mongo-cxx-driver/pull/379&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-cxx-driver/pull/379&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1100342" author="valnci" created="Mon, 30 Nov 2015 05:06:45 +0000"  >&lt;p&gt;Hi Andrew&lt;/p&gt;

&lt;p&gt;Yes, the fix has solved the failure. Modifying the test &quot;NextInt64SanityCheck&quot; as per the fix, solved the failure. I have also applied the additional fix for test &quot;NextInt64InRange&quot;. &lt;/p&gt;

&lt;p&gt;Regards,&lt;br/&gt;
Valencia&lt;/p&gt;</comment>
                            <comment id="1100330" author="valnci" created="Mon, 30 Nov 2015 04:24:57 +0000"  >&lt;p&gt;Hi Andrew&lt;/p&gt;

&lt;p&gt;Thanks for the fix. I was facing a hardware issue with my machine, so could not try it. Now that the h/w issue is settled i&apos;ll report to you the results ASAP.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Valencia&lt;/p&gt;</comment>
                            <comment id="1099942" author="acm" created="Sat, 28 Nov 2015 21:30:57 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=valnci&quot; class=&quot;user-hover&quot; rel=&quot;valnci&quot;&gt;valnci&lt;/a&gt; where you able to test out the fix in my patch? It would be a big help to know if that resolves the issue for you. As to when to expect a fix for this, I&apos;d expect a release containing this fix within the next two weeks.&lt;/p&gt;</comment>
                            <comment id="1099194" author="acm" created="Thu, 26 Nov 2015 14:20:43 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=valnci&quot; class=&quot;user-hover&quot; rel=&quot;valnci&quot;&gt;valnci&lt;/a&gt; - Before I can estimate when we will have a fix, I first need you to confirm for me whether you can fix the issue on your system by applying the patch I linked to above. You should just be able to make the same change by hand (it is only two lines). Here is the patch I would like you to test, again:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/acmorrow/mongo-cxx-driver/commit/be941ee1dff857c6ff49a48e5a323621aaa283c5&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/acmorrow/mongo-cxx-driver/commit/be941ee1dff857c6ff49a48e5a323621aaa283c5&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1098970" author="valnci" created="Thu, 26 Nov 2015 05:48:14 +0000"  >&lt;p&gt;Hi Andrew,&lt;/p&gt;

&lt;p&gt;Thanks for the information. Do we expect a fix for this Failure in near future ?&lt;/p&gt;

&lt;p&gt;-valnci&lt;/p&gt;</comment>
                            <comment id="1098926" author="acm" created="Thu, 26 Nov 2015 03:46:12 +0000"  >&lt;p&gt;I believe this is a bug in the test introduced when backporting it from the server and changing C+&lt;ins&gt;11 to C&lt;/ins&gt;+03. This should not affect the correctness of the driver.&lt;/p&gt;</comment>
                            <comment id="1098881" author="acm" created="Thu, 26 Nov 2015 01:01:12 +0000"  >&lt;p&gt;As I mentioned on mongodb-dev, this test doesn&apos;t interact with the server, so changing the server version won&apos;t make any difference.&lt;/p&gt;</comment>
                            <comment id="1098099" author="valnci" created="Wed, 25 Nov 2015 09:41:25 +0000"  >&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;I&apos;ve updated server to rc4. However, when I execute the unit tests the same Failure is observed.&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;valnci&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="1098014" author="valnci" created="Wed, 25 Nov 2015 05:47:32 +0000"  >&lt;p&gt;PFA scons output of tests run on legacy-1.0.6 (named: sconsOutput)&lt;/p&gt;</comment>
                            <comment id="1098013" author="valnci" created="Wed, 25 Nov 2015 05:45:12 +0000"  >&lt;p&gt;Information Update:&lt;/p&gt;

&lt;p&gt;As per earlier discussion with acm on mongodb-dev &lt;a href=&quot;https://groups.google.com/forum/#!topic/mongodb-dev/BWcidH1EWaU&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://groups.google.com/forum/#!topic/mongodb-dev/BWcidH1EWaU&lt;/a&gt;, I&apos;ve already tried running the tests on legacy-1.0.6, however, the RandonTest.NextInt64SanityCheck failure is not observed as the test is not there in source code.&lt;/p&gt;

&lt;p&gt;PFA the scons output for the test run on legacy-1.0.6 (name: sconsOutput)&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="99759" name="rc3CXXerror.PNG" size="20681" author="valnci" created="Wed, 25 Nov 2015 05:32:46 +0000"/>
                            <attachment id="99760" name="sconsOutput" size="131347" author="valnci" created="Wed, 25 Nov 2015 05:47:32 +0000"/>
                    </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_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hsem7j:</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_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="756">Platform D (12/11/15)</customfieldvalue>

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