You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are running Rails test on CircleCI pipeline that got the segmentation faults error. It doesn't alway occur but randomly after some pipelines.
We saw that issue before when running with Ruby 2.6.5, Rails 6.0.3 and Mysql 5.7 with gem mysql2 0.5.2, but lately it seems to happen more often when we upgrade to Ruby 3.2.2, Rails 7.0.4 and Mysql 8.0 with gem mysql2 0.5.5.
Here is the Dockerfile for image that the tests running on
FROM ruby:3.2.2
ARG RAILS_ENV
RUN apt-get update -qq \
&& apt-get upgrade -y \
&& default-libmysqlclient-dev
RUN mkdir -p /myapp
WORKDIR /myapp
COPY Gemfile* /myapp/
ENV BUNDLER_VERSION 2.4.1
RUN gem install bundler -v ${BUNDLER_VERSION} \
&& if [ -n "$RAILS_ENV" ]; then \
bundle install --without development test -j20; \
else \
bundle install -j20; \
fi
Error log
We randomly get this error when running bundle exec rails test
Overview
We are running Rails test on CircleCI pipeline that got the segmentation faults error. It doesn't alway occur but randomly after some pipelines.
We saw that issue before when running with Ruby 2.6.5, Rails 6.0.3 and Mysql 5.7 with gem mysql2 0.5.2, but lately it seems to happen more often when we upgrade to Ruby 3.2.2, Rails 7.0.4 and Mysql 8.0 with gem mysql2 0.5.5.
Here is the Dockerfile for image that the tests running on
Error log
We randomly get this error when running
bundle exec rails test
The text was updated successfully, but these errors were encountered: