Unable to run void linux container on CI

Summary

A simple official voidlinux-musl container fails to run on CI with the following error:

/usr/bin/sh: 7: Syntax error: Unterminated quoted string

Steps to reproduce

  1. Create an empty project
  2. Add yml file for the CI with the contents:
stages:
  - test

test_step:
  stage: test
  image: ghcr.io/void-linux/void-musl:latest
  script:
    - whoami
  1. Run the pipeline

Example Project

voidlinux-ci-test

What is the current bug behavior?

Pipeline fails with the following error while on "step_script" phase:

/usr/bin/sh: 7: Syntax error: Unterminated quoted string

What is the expected correct behavior?

The pipeline runs successfully.

Relevant logs and/or screenshots

Running with gitlab-runner 16.6.0~beta.105.gd2263193 (d2263193)
  on blue-4.saas-linux-small-amd64.runners-manager.gitlab.com/default J2nyww-s, system ID: s_cf1798852952
  feature flags: FF_USE_IMPROVED_URL_MASKING:true
Preparing the "docker+machine" executor 00:06
Using Docker executor with image ghcr.io/void-linux/void-musl:latest ...
Pulling docker image ghcr.io/void-linux/void-musl:latest ...
Using docker image sha256:50f026380bd6ec5454e99360aa8194493c6f0ef26094518e26e228a62a2033bd for ghcr.io/void-linux/void-musl:latest with digest ghcr.io/void-linux/void-musl@sha256:b9a84aa78229a8b3f30b6036933b887964d72478c580c3f2e76c138b8c96967e ...
Preparing environment 00:00
Running on runner-j2nyww-s-project-54798084-concurrent-0 via runner-j2nyww-s-s-l-s-amd64-1707569413-aed91980...
Getting source from Git repository 00:01
Fetching changes with git depth set to 20...
Initialized empty Git repository in /builds/happanda/voidlinux-ci-test/.git/
Created fresh repository.
Checking out 330d07d1 as detached HEAD (ref is main)...
Skipping Git submodules setup
$ git remote set-url origin "${CI_REPOSITORY_URL}"
Executing "step_script" stage of the job script 00:00
Using docker image sha256:50f026380bd6ec5454e99360aa8194493c6f0ef26094518e26e228a62a2033bd for ghcr.io/void-linux/void-musl:latest with digest ghcr.io/void-linux/void-musl@sha256:b9a84aa78229a8b3f30b6036933b887964d72478c580c3f2e76c138b8c96967e ...
/usr/bin/sh: 7: Syntax error: Unterminated quoted string
Cleaning up project directory and file based variables 00:01
ERROR: Job failed: exit code 2

Output of checks

This bug happens on GitLab.com

Results of GitLab environment info

Results of GitLab application Check

Possible fixes

I have tried using CI_DEBUG_TRACE variable. Unfortunately there is no output of the failing command.

If at least I could find out what script is used during "step_script" phase, I could try to find out the reason why it's not compatible with voidlinux-musl image.

Edited by 🤖 GitLab Bot 🤖