Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Update ruby base image to bullseye in CI tests #765

Merged
merged 1 commit into from
Mar 28, 2024

Conversation

ahasunos
Copy link
Contributor

Description

The current Docker image version (ruby:3.1) encounters a ThreadError due to restrictions imposed by libseccomp, blocking certain system calls necessary for the certain operations.

/workdir/vendor/bundle/ruby/3.1.0/gems/minitest-5.22.3/lib/minitest/parallel.rb:28:in `initialize': can't create Thread: Operation not permitted (ThreadError)

This PR addresses the issue encountered in the current Docker image setup by updating the Docker image version from ruby:3.1 to ruby:3.1-bullseye.

Note: This is a workaround

Related Issue

CHEF-11234: CI is breaking for inspec, inspec-gcp, and train due to issue with docker image used for the tests

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New content (non-breaking change)
  • Breaking change (a content change which would break existing functionality or processes)

Checklist:

  • I have read the CONTRIBUTING document.

@Vasu1105 Vasu1105 changed the title [WIP] Fix: Update ruby base image to bullseye in CI tests Fix: Update ruby base image to bullseye in CI tests Mar 28, 2024
@Vasu1105 Vasu1105 merged commit 4fc25f9 into main Mar 28, 2024
7 checks passed
@ahasunos ahasunos deleted the ss/update-ruby-image branch March 28, 2024 07:34
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.

3 participants