[SERVER-25198] Increase scons stack size for eslint Created: 21/Jul/16  Updated: 22/Nov/16  Resolved: 21/Jul/16

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: 3.3.10
Fix Version/s: 3.2.9, 3.3.11

Type: Bug Priority: Major - P3
Reporter: Brian McCarthy Assignee: Brian McCarthy
Resolution: Done Votes: 0
Labels: infrastructure
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Completed:
Steps To Reproduce:

Run the test with -j>1 on rhel6.2 without the --stack-size set.

(the below will fail if there are more than a single core or --stack-size=1024 switch is not added)

scons --ssl MONGO_DISTMOD=rhel62 -j$(grep -c ^processor /proc/cpuinfo) --release CC=/opt/mongodbtoolchain/v2/bin/gcc CXX=/opt/mongodbtoolchain/v2/bin/g++ OBJCOPY=/opt/mongodbtoolchain/v2/bin/objcopy CPPPATH="/opt/basis/rlp/rlp/include /opt/basis/rlp/utilities/include" --use-basis-tech-rosette-linguistics-platform=on lint

Sprint: Build 18 (08/05/16)
Participants:
Linked BF Score: 0

 Description   

Running the test using multiple cores causes failures on the new rhel62 ami if --stack-size parameter is not increased from default of 256.



 Comments   
Comment by Githook User [ 21/Jul/16 ]

Author:

{u'name': u'Brian McCarthy', u'email': u'brian.mccarthy@mongodb.com'}

Message: SERVER-25198 Increase scons stack size for eslint

(cherry picked from commit 90836868d8c18491ff5ea28e53767090afe802ea)
Branch: v3.2
https://github.com/mongodb/mongo/commit/9c36e7cfa2baac3661288effa99905bd0af90565

Comment by Githook User [ 21/Jul/16 ]

Author:

{u'name': u'Brian McCarthy', u'email': u'brian.mccarthy@mongodb.com'}

Message: SERVER-25198 Increase scons stack size for eslint
Branch: master
https://github.com/mongodb/mongo/commit/90836868d8c18491ff5ea28e53767090afe802ea

Comment by Ernie Hershey [ 21/Jul/16 ]

I believe this should be backported everywhere that has a lint task.

Generated at Thu Feb 08 04:08:32 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.