[SERVER-21843] secure_allocator_test fails on ppc64 Created: 10/Dec/15  Updated: 23/Nov/16  Resolved: 29/Dec/15

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 3.2.5, 3.3.0

Type: Task Priority: Major - P3
Reporter: Mark Benvenuto Assignee: Mark Benvenuto
Resolution: Done Votes: 0
Labels: code-only, ppc64le_3_2_backport
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by DOCS-6885 Add "Locked Memory Pages" ulimit note Closed
Related
Backwards Compatibility: Fully Compatible
Backport Completed:
Sprint: Platforms E (01/08/16)
Participants:

 Description   

2015-12-10T16:24:09.143+0000 I -        [main] going to run suite: SecureAllocator
2015-12-10T16:24:09.143+0000 I -        [main]   going to run test: SecureVector
2015-12-10T16:24:09.144+0000 F -        [main] Failed to mlock: errno:12 Cannot allocate memory
2015-12-10T16:24:09.144+0000 I -        [main] Fatal Assertion 28832
2015-12-10T16:24:09.144+0000 I -        [main]
...
 libc.so.6(gsignal+0x74) [0x3fff854def94]
 libc.so.6(abort+0x2EC) [0x3fff854e189c]
 secure_allocator_test(_ZN5mongo13fassertFailedEi+0xC0) [0x1011e1a0]
 secure_allocator_test(_ZN5mongo24secure_allocator_details8allocateEm+0x198) [0x100c5318]
 secure_allocator_test(_ZNSt6vectorIiN5mongo15SecureAllocatorIiEEE19_M_emplace_back_auxIIiEEEvDpOT_+0x60) [0x100ad690]
 secure_allocator_test(_ZN5mongo39UnitTest__SecureAllocator__SecureVector7_doTestEv+0x111C) [0x100ac2ac]
 secure_allocator_test(_ZN5mongo8unittest4Test3runEv+0x54) [0x101132f4]
 secure_allocator_test(_ZN5mongo8unittest5Suite13runTestObjectINS_39UnitTest__SecureAllocator__SecureVectorEEEvv+0x58) [0x100ad0f8]
 secure_allocator_test(_ZNSt17_Function_handlerIFvvEPS0_E9_M_invokeERKSt9_Any_data+0x2C) [0x100accec]
 secure_allocator_test(_ZN5mongo8unittest5Suite3runERKSsi+0x578) [0x10117348]
 secure_allocator_test(_ZN5mongo8unittest5Suite3runERKSt6vectorISsSaISsEERKSsi+0x6D4) [0x10118cd4]
 secure_allocator_test(main+0x98) [0x100a46e8]
 libc.so.6(+0x23500) [0x3fff854c3500]
 libc.so.6(__libc_start_main+0xB4) [0x3fff854c3734]



 Comments   
Comment by Githook User [ 08/Mar/16 ]

Author:

{u'username': u'markbenvenuto', u'name': u'Mark Benvenuto', u'email': u'mark.benvenuto@mongodb.com'}

Message: SERVER-21843 warn user if locked memory limit is too low

(cherry picked from commit eb93849cdbdaa9ffb60bd424036d48e2aa3c4826)
Branch: v3.2
https://github.com/mongodb/mongo/commit/46c4425f0bfd91983f95899d5e4f26920661a6f8

Comment by Githook User [ 29/Dec/15 ]

Author:

{u'username': u'markbenvenuto', u'name': u'Mark Benvenuto', u'email': u'mark.benvenuto@mongodb.com'}

Message: SERVER-21843 warn user if locked memory limit is too low
Branch: master
https://github.com/mongodb/mongo/commit/eb93849cdbdaa9ffb60bd424036d48e2aa3c4826

Comment by Mark Benvenuto [ 21/Dec/15 ]

secure_allocator_test - needs 128 kb or 2 pages
wiredtiger_encryption_test - needs 256 kb or 4 pages

Other test suites need more. I have found 1024kb or 16 pages seems to work well.

Generated at Thu Feb 08 03:58:35 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.