[SERVER-69829] Intermittent "Error 105" build errors Created: 20/Sep/22  Updated: 27/Oct/23  Resolved: 27/Oct/23

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

Type: Improvement Priority: Major - P3
Reporter: Daniel Moody Assignee: [DO NOT ASSIGN] Backlog - Server Development Platform Team (SDP) (Inactive)
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Server Development Platform
Participants:

 Description   

While building with icecream I got a few files failing to build with error "Error 105". Rerunning the build command rebuilt the files successfully. I was using a pure scons build.

I didn't record much info about the current but recently another person ran into the same issue:

buildscripts/scons.py -j 256 --ssl --build-tools=next --variables-files=etc/scons/developer_versions.vars --variables-files=etc/scons/mongodbtoolchain_stable_gcc.vars CCACHE=ccache ICECC=icecc --link-model=dynamic VARIANT_DIR=gcc install-core install-mongo

My guess is its icecream related, error 105 in icecream correlates to out of memory:

/**
 * Common exit codes for both client and server.
 *
 * These need to be in [1,255] so that they can be used as exit()
 * codes.
 **/
enum dcc_exitcode {
    EXIT_DISTCC_FAILED = 100, /**< General failure */
    EXIT_BAD_ARGUMENTS = 101,
    EXIT_BIND_FAILED = 102,
    EXIT_CONNECT_FAILED = 103,
    EXIT_COMPILER_CRASHED = 104,
    EXIT_OUT_OF_MEMORY = 105,


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