Problem/Motivation

Running with gitlab-runner 18.1.1 (2b813ade)
  on gitlab-runner-649d7d7d9-xlf45 s8ex1X2yJ, system ID: r_XBbVkHr1KPET
Resolving secrets
Preparing the "kubernetes" executor
00:00
"CPURequest" overwritten with "2"
Using Kubernetes namespace: gitlab-runner
Using Kubernetes executor with image registry.gitlab.com/drupal-infrastructure/drupalci/drupalci-environments/php-8.3-ubuntu-apache:production ...
Using attach strategy to execute scripts...
Using effective pull policy of [] for container helper
Using effective pull policy of [] for container init-permissions
Using effective pull policy of [] for container build
Preparing environment
00:31
Using FF_USE_POD_ACTIVE_DEADLINE_SECONDS, the Pod activeDeadlineSeconds will be set to the job timeout: 1h0m0s...
Waiting for pod gitlab-runner/runner-s8ex1x2yj-project-187350-concurrent-1-qzpyp0jj to be running, status is Pending
Running on runner-s8ex1x2yj-project-187350-concurrent-1-qzpyp0jj via gitlab-runner-649d7d7d9-xlf45...
Getting source from Git repository
00:01
Gitaly correlation ID: 1988750648
Fetching changes...
Initialized empty Git repository in /builds/issue/environment_indicator-3536522/.git/
Created fresh repository.
Checking out 572d59b3 as detached HEAD (ref is 3536522-insufficient-permission-check)...
Skipping Git submodules setup
Downloading artifacts
00:07
Downloading artifacts for composer (5921805)...
Downloading artifacts from coordinator... ok        correlation_id= host=drupal-gitlab-job-artifacts.s3.us-west-2.amazonaws.com id=5921805 responseStatus=200 OK token=64_dSL_KU
Executing "step_script" stage of the job script
$ if [ ! -d "$CI_PROJECT_DIR/$_WEB_ROOT/core/node_modules" ]; then # collapsed multi-line command
$ cd $CI_PROJECT_DIR/$_WEB_ROOT/core && corepack enable && yarn add @gitlab-formatters/stylelint-formatter-gitlab
! Corepack is about to download https://repo.yarnpkg.com/4.9.1/packages/yarnpkg-cli/bin/yarn.js
➤ YN0000: · Yarn 4.9.1
➤ YN0000: ┌ Resolution step
Resolution step
00:01
➤ YN0000: └ Completed
➤ YN0000: ┌ Fetch step
Fetch step
00:03
➤ YN0000: └ Completed in 3s 608ms
➤ YN0000: ┌ Link step
Link step
00:01
➤ YN0000: └ Completed in 0s 269ms
➤ YN0000: · Done in 4s 58ms
$ cd $DRUPAL_PROJECT_FOLDER && pwd
/builds/issue/environment_indicator-3536522/web/modules/custom/environment_indicator-3536522
$ echo "Stylelint version $(${CI_PROJECT_DIR}/${_WEB_ROOT}/core/node_modules/.bin/stylelint --version)"
Stylelint version 16.19.1
$ $CI_PROJECT_DIR/$_WEB_ROOT/core/node_modules/.bin/stylelint --ignore-path ./.stylelintignore --config $CI_PROJECT_DIR/$_WEB_ROOT/core/.stylelintrc.json ./**/*.css --formatter verbose --color $_STYLELINT_EXTRA || true
css/environment_indicator.css
  15:5  ✖  Expected "rgba" to be "rgb"  color-function-alias-notation
  16:5  ✖  Expected "rgba" to be "rgb"  color-function-alias-notation
  17:5  ✖  Expected "rgba" to be "rgb"  color-function-alias-notation
  92:5  ✖  Expected "rgba" to be "rgb"  color-function-alias-notation
✖ 4 problems (4 errors, 0 warnings)
  4 errors potentially fixable with the "--fix" option.
1 source checked
  /builds/issue/environment_indicator-3536522/web/modules/custom/environment_indicator-3536522/css/environment_indicator.css
4 errors found
  color-function-alias-notation: 4 (maybe fixable)
$ echo -e "\e[0Ksection_start:`date +%s`:generate_stylelint_artifact[collapsed=true]\r\e[0KGenerating stylelint artifact"
Generating stylelint artifact
00:08
Uploading artifacts for failed job
00:01
Uploading artifacts...
gl-codequality.json: found 1 matching artifact files and directories 
Uploading artifacts as "archive" to coordinator... 201 Created  correlation_id=1762200839 id=5921811 responseStatus=201 Created token=64_dSL_KU
Uploading artifacts...
gl-codequality.json: found 1 matching artifact files and directories 
Uploading artifacts as "codequality" to coordinator... 201 Created  correlation_id=3268023331 id=5921811 responseStatus=201 Created token=64_dSL_KU
Cleaning up project directory and file based variables
00:01
ERROR: Job failed: command terminated with exit code 1

Steps to reproduce

See https://git.drupalcode.org/issue/environment_indicator-3536522/-/jobs/59...

Proposed resolution

Do what stylelint says to do and remove rgba in favor of rgb.

Remaining tasks

User interface changes

API changes

Data model changes

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

trackleft2 created an issue. See original summary.

trackleft2’s picture

Status: Active » Needs review
trackleft2’s picture

Status: Needs review » Fixed

  • trackleft2 committed 131b2e4b on 4.x
    Issue #3536931 Fix failing stylelint test by converting rgba color to...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.