Remove unused "install dependencies" step from Evergreen config - #2095
Open
GromNaN wants to merge 1 commit into
Open
Remove unused "install dependencies" step from Evergreen config#2095GromNaN wants to merge 1 commit into
GromNaN wants to merge 1 commit into
Conversation
The step ran drivers-evergreen-tools install-dependencies.sh, which only does something on Ubuntu (apt-get install awscli) and Solaris (sasl_dev). Neither is needed here: the aws CLI is never invoked, S3 and role assumption go through the native s3.put/s3.get and ec2.assume_role commands, setup-secrets.sh uses the boto3 virtualenv, and there is no Solaris variant. On Ubuntu the apt call uses DPkg::Lock::Timeout=-1, so it waits forever on the dpkg lock while unattended-upgrades runs. Build tasks were spending up to 9 minutes there and hitting the 10 minute exec_timeout_secs before compiling anything.
GromNaN
requested review from
paulinevos
and
a lite review from Copilot
and removed request for
a team and
Copilot
September 4, 2026 19:47
Member
Author
|
Answer: no, the implementation uses python+boto3. |
paulinevos
approved these changes
Sep 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Build tasks on Ubuntu variants repeatedly fail with
Hit exec timeout (10m0s), with theinstall dependenciesstep alone taking over 9 minutes:The step runs
drivers-evergreen-tools/.evergreen/install-dependencies.sh, which only does something on two platforms:linux-ubuntu*:apt-get updatethenapt-get -qqy -o DPkg::Lock::Timeout=-1 install awsclisunos*:pkgutil -i sasl_devEvery other platform just echoes a message, which is why only Ubuntu hosts are affected.
Neither dependency is needed in this project:
awsCLI is never invoked anywhere in.evergreen/. S3 uploads and downloads use the natives3.putands3.getcommands, role assumption usesec2.assume_role, and the only DET script we call that touches AWS,secrets_handling/setup-secrets.sh, uses the boto3 virtualenv instead of the CLI.The Ubuntu apt call passes
DPkg::Lock::Timeout=-1, so it waits forever for the dpkg lock whileunattended-upgradesruns on a freshly booted host. The task group setssetup_task_timeout_secs: 1800, but the globalexec_timeout_secs: 600covers the whole task including setup, so the task is killed before compiling anything.This is not specific to one PHP version. Within
build-all-php(max_hosts: 4), whichever task lands on a fresh host pays the lock wait, while the others find a warm apt cache.This removes the function and its two call sites.
evergreen validatepasses and the generated config does not reference the function.