[SERVER-14230] ThreadedTests::MongoMutexTest failed in dbtest on Linux-32 Created: 04/Jun/14  Updated: 11/Jul/16  Resolved: 12/Jun/14

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 2.7.2

Type: Bug Priority: Major - P3
Reporter: Mark Benvenuto Assignee: Mark Benvenuto
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
Operating System: Linux
Participants:

 Description   

http://buildlogs.mongodb.org/mci_0.9_linux-32/builds/49142/test/dbtest_0/dbtest

https://mci.10gen.com/ui/task/mongodb_mongo_master_linux_32_659d9ecb48f0bbddfac486962c1622737641ebc7_14_06_04_18_14_13_dbtest_linux_32

2014-06-04T16:52:24.379-0400 [testsuite] 	 going to run test: ThreadedTests::List1Test
2014-06-04T16:52:24.379-0400 [testsuite] warning: DBException thrown :: caused by :: 14050 List1: item to orphan not in list
2014-06-04T16:52:24.389-0400 [testsuite] 
 0x9320070 0x92a2104 0x92a267a 0x88be0ba 0x88be32d 0x8466e1b 0x929fade 0x929c3de 0x929da38 0x904a78f 0x84cb866 0x84cb91c 0x125e9c 0x84669f1
----- BEGIN BACKTRACE -----
{"backtrace":[{"b":"8048000","o":"12D8070"},{"b":"8048000","o":"125A104"},{"b":"8048000","o":"125A67A"},{"b":"8048000","o":"8760BA"},{"b":"8048000","o":"87632D"},{"b":"8048000","o":"41EE1B"},{"b":"8048000","o":"1257ADE"},{"b":"8048000","o":"12543DE"},{"b":"8048000","o":"1255A38"},{"b":"8048000","o":"100278F"},{"b":"8048000","o":"483866"},{"b":"8048000","o":"48391C"},{"b":"110000","o":"15E9C"},{"b":"8048000","o":"41E9F1"}],"processInfo":{ "mongodbVersion" : "2.7.2-pre-", "gitVersion" : "659d9ecb48f0bbddfac486962c1622737641ebc7", "somap" : [ { "elfType" : 2, "b" : "8048000" }, { "b" : "CF0000", "elfType" : 3 }, { "path" : "/lib/i686/nosegneg/librt.so.1", "elfType" : 3 }, { "path" : "/lib/libdl.so.2", "elfType" : 3 }, { "path" : "/usr/lib/libstdc++.so.6", "elfType" : 3 }, { "path" : "/lib/i686/nosegneg/libm.so.6", "elfType" : 3 }, { "path" : "/lib/libgcc_s.so.1", "elfType" : 3 }, { "path" : "/lib/i686/nosegneg/libpthread.so.0", "elfType" : 3 }, { "b" : "FF579000", "path" : "/lib/i686/nosegneg/libc.so.6", "elfType" : 3 }, { "path" : "/lib/ld-linux.so.2", "elfType" : 3 } ] }}
 dbtest(_ZN5mongo15printStackTraceERSo+0x30) [0x9320070]
 dbtest(_ZN5mongo11DBException13traceIfNeededERKS0_+0x114) [0x92a2104]
 dbtest(_ZN5mongo9uassertedEiPKc+0x16A) [0x92a267a]
 dbtest(_ZN13ThreadedTests9List1Test3runEv+0x3BA) [0x88be0ba]
 dbtest(_ZN5mongo8unittest5Suite13runTestObjectIN13ThreadedTests9List1TestEEEvv+0x1D) [0x88be32d]
 dbtest(_ZN5boost6detail8function22void_function_invoker0IPFvvEvE6invokeERNS1_15function_bufferE+0xB) [0x8466e1b]
 dbtest(_ZNK5boost9function0IvEclEv+0x27E) [0x929fade]
 dbtest(_ZN5mongo8unittest5Suite3runERKSsi+0x4EE) [0x929c3de]
 dbtest(_ZN5mongo8unittest5Suite3runERKSt6vectorISsSaISsEERKSsi+0x758) [0x929da38]
 dbtest(_ZN5mongo7dbtests10runDbTestsEiPPc+0xCF) [0x904a78f]
 dbtest(_Z11dbtestsMainiPPcS0_+0xA6) [0x84cb866]
 dbtest(main+0x3C) [0x84cb91c]
 libc.so.6(__libc_start_main+0xDC) [0x125e9c]
 dbtest(+0x41E9F1) [0x84669f1]
-----  END BACKTRACE  -----



 Comments   
Comment by Githook User [ 12/Jun/14 ]

Author:

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

Message: SERVER-14230: Reduce thread count on linux-32

Linux-32 machines are hitting mutex exhaustion often. Use a lower number
of thread (1/3 of the original number) to run the tests in 32-bit
versions to avoid mutex exhaustion.
Branch: master
https://github.com/mongodb/mongo/commit/c91b1561b38cbd9ac97fd60e84c004d930d16161

Comment by Mark Benvenuto [ 10/Jun/14 ]

It uses 135 threads. I am going to change it to use a lower number for linux-32 and see the results.

Comment by Mark Benvenuto [ 06/Jun/14 ]

Failed again
http://buildlogs.mongodb.org/mci_0.9_linux-32/builds/49716/test/dbtest_0/dbtest

Comment by Mark Benvenuto [ 05/Jun/14 ]

Hit it again:
http://buildlogs.mongodb.org/mci_0.9_linux-32/builds/49562/test/dbtest_0/dbtest

2014-06-05T16:44:34.072-0400 [testsuite] FAIL: ThreadedTests::MongoMutexTest	 std::exception: boost::thread_resource_error in test ThreadedTests::MongoMutexTest

Comment by Eric Milkie [ 05/Jun/14 ]

Actually, the test always prints that message. That test is succeeding.
The test that failed is at the end of the log, the Threading test. We ran out of free threads, apparently.

Comment by Matt Kangas [ 05/Jun/14 ]

Who should we ping about this?

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