Skip to content

build: tweak docker and kernel settings for cc integration tests#171313

Closed
chenbh wants to merge 1 commit into
cockroachdb:masterfrom
chenbh:teamcity-ubuntu
Closed

build: tweak docker and kernel settings for cc integration tests#171313
chenbh wants to merge 1 commit into
cockroachdb:masterfrom
chenbh:teamcity-ubuntu

Conversation

@chenbh

@chenbh chenbh commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

The current build of the runners is unable to run the cc integration tests. More specifically, all of the k3d tests are failing. This commit tweaks the docker daemon and system settings to partially fix the tests. This will need to be paired with changes in the managed-service repo to fully unblock the Ubuntu 24.04 runner migration

The docker LimitNOFILE changes are returning to old behaviour, where the old runners have a limit of at least 1048576 (probably infinity, but I didn't dig too deeply)

The inotify.max_user_instances is new, the old runners have it set to the default 128. For reasons I'm not sure of, k3d is now requiring more instances and will fail to start. Note that the max is still way higher than the proposed value of 256

Informs: CC-35466

@chenbh chenbh requested a review from a team as a code owner June 1, 2026 17:52
@trunk-io

trunk-io Bot commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Merging to master in this repository is managed by Trunk.

  • To merge this pull request, check the box to the left or comment /trunk merge below.

After your PR is submitted to the merge queue, this comment will be automatically updated with its status. If the PR fails, failure details will also be posted here

@cockroach-teamcity

Copy link
Copy Markdown
Member

This change is Reviewable

The current build of the runners is unable to run the cc integration
tests. More specifically, all of the k3d tests are failing. This commit
tweaks the docker daemon and system settings to partially fix the tests.
This will need to be paired with changes in the managed-service repo to
fully unblock the Ubuntu 24.04 runner migration

The docker LimitNOFILE changes are return to old behaviour, where the
current runners have a limit of at least 1048576 (probably infinity, but
I didn't dig too deeply)

The `inotify.max_user_instances` is new, the current runners have it set
to the default 128. For reasons I'm not sure of, k3d is now requiring
more instances and will fail to start. Note that the max is still way
higher than the current value of 256

Fixes: CC-35466
@chenbh chenbh force-pushed the teamcity-ubuntu branch from 364e22a to 1ada624 Compare June 4, 2026 20:53
@chenbh chenbh closed this by deleting the head repository Jun 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants