Skip to content

ruby segmentation when running gitlab-performance-tool

I'm running the gitlab-performance-tool using the recommended docker method on a Mac M1. The data generator completes successfully. But when I try to run gpt, it throws an immediate error

docker run --platform linux/amd64 -it \
  -e ACCESS_TOKEN=$GPT_QA_TOKEN \
  -v $(pwd)/k6/config:/config \
  -v  $(pwd)/k6/tests:/tests \
  -v $(pwd)/results:/results gitlab/gitlab-performance-tool \
  --environment 2k.json --options 60s_20rps.json

GitLab Performance Tool (GPT) v2.14.0 - Performance test runner for GitLab environments based on k6
/usr/local/lib/ruby/3.1.0/open3.rb:416: [BUG] Segmentation fault at 0x0000000000000000
ruby 3.1.4p223 (2023-03-30 revision 957bb7cb81) [x86_64-linux-musl]