[CDRIVER-1186] Failed test on ARM Created: 01/Apr/16  Updated: 03/May/17  Resolved: 01/Apr/16

Status: Closed
Project: C Driver
Component/s: tests
Affects Version/s: 1.3.5
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Remi Collet Assignee: A. Jesse Jiryu Davis
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Fedora 24 / armv7hl



 Description   

See https://kojipkgs.fedoraproject.org//work/tasks/6949/13526949/build.log

FAIL:tests/test-mongoc-collection.c:2275 test_large_return()
mongoc_collection_insert ( collection, MONGOC_INSERT_NONE, &insert_doc, NULL, &error)
can't map file memory - mongo requires 64 bit build for larger datasets



 Comments   
Comment by A. Jesse Jiryu Davis [ 01/Apr/16 ]

Thanks for helping diagnose acm. Closing this, the driver is working as designed and the server behavior is a known limitation.

Comment by Remi Collet [ 01/Apr/16 ]

Yes armv7hl is 32bits.

Thanks for clarification.

Comment by Andrew Morrow (Inactive) [ 01/Apr/16 ]

Are you running the MongoDB server on the ARM machine as well while running the C driver tests? Is this a 32-bit ARM system or 64-bit (aarch64)? That error message looks like it comes from the server, and is only generated if the server is running on a 32-bit system. If that is the situation, please note that:

  • No version of MongoDB is officially supported on ARM at this time.
  • 32-bit MongoDB support was officially deprecated in MongoDB 3.2, and support is being removed in 3.4.
  • If and when ARM support is added to MongoDB, it will only be for Aarch64.
Comment by Remi Collet [ 01/Apr/16 ]

Fun thing... this test pass on i386 and x86_64...

Generated at Wed Feb 07 21:11:49 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.