[SERVER-6077] Build times out compiling queryoptimizertests.cpp on OS X 32-bit Created: 12/Jun/12  Updated: 11/Jul/16  Resolved: 16/Jul/12

Status: Closed
Project: Core Server
Component/s: Build, Testing Infrastructure
Affects Version/s: 2.1.2
Fix Version/s: 2.2.0-rc0

Type: Bug Priority: Critical - P2
Reporter: Andy Schwerin Assignee: Randall Hunt
Resolution: Done Votes: 0
Labels: buildbot
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: OS X
Participants:

 Description   

The 32-bit OS X builder regularly times out during compilation, possibly while compiling queryoptimizertests.cpp.



 Comments   
Comment by Randall Hunt [ 16/Jul/12 ]

reconfiged

Comment by Eric Milkie [ 16/Jul/12 ]

commit 0b4a7c59031a389f879e461f1912136468fb72ec
Author: Eric Milkie <milkie@10gen.com>
Date: Mon Jul 16 16:54:15 2012 -0400

SERVER-6077 change to -j1 for small builder

Comment by Aaron Staple [ 16/Jul/12 ]

This machine has a dual core cpu but only 1gb of ram. Compiling certain pairs of object files simultaneously seems to cause severe thrashing (cpu goes way down vs near 100% cpu with a single compilation).

I timed compiling queryoptimizertests.cpp and queryoptimizercursortests.cpp sequentially and it took under 4 minutes. I also tried running them simultaneously with -j2 and stopped the test after it ran for 25 minutes.

I recommend reconfiguring this build slave to call scons with -j1.

Comment by Aaron Staple [ 16/Jul/12 ]

Seems to have been happening again recently. Of the following three instances:

<http://buildbot.mongodb.org/builders/OS%20X%2010.5%2032-bit/builds/3917/steps/compile/logs/stdio>
<http://buildbot.mongodb.org/builders/OS%20X%2010.5%2032-bit/builds/3919/steps/compile/logs/stdio>
<http://buildbot.mongodb.org/builders/OS%20X%2010.5%2032-bit/builds/3920/steps/compile/logs/stdio>

The timeout was triggered twice during queryoptimizertests.cpp and once during queryoptimizercursortests.cpp, which seems to often compile right before (or in parallel with?) queryoptimizertests.cpp

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