Skip to content

Failing to start DDEV project in GitLab CI #32

@elvism-lullabot

Description

@elvism-lullabot

These last couple of days, I've been seeing the following error after running ddev start in a GitLab job that uses the ddev-gitlab-ci:stable image.

$ ddev start
Network ddev_default created
Starting d11_project...
Download complete.
time="2026-06-05T16:35:50Z" level=warning msg="/builds/organization/d11_project/.ddev/docker-compose.selenium.yaml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion"
 Image ddev/ddev-xhgui:v1.25.2 Pulling 
 Image ddev/ddev-utilities:latest Pulling 
 Image redis:7 Pulling 
 Image seleniarm/standalone-firefox:4.1.2-20220227 Pulling 
 Image ddev/ddev-ssh-agent:v1.25.2 Pulling 
 Image ddev/ddev-dbserver-mysql-8.4:v1.25.2 Pulling 
 Image ddev/ddev-traefik-router:v1.25.2 Pulling 
 Image ddev/ddev-webserver:v1.25.2 Pulling 
 Image seleniarm/standalone-chromium:4.1.2-20220227 Pulling 
 43c4264eed91 Pulling fs layer 0B
 134d3819e0e6 Pulling fs layer 0B
 068fedd6b0f1 Pulling fs layer 0B
 23c4f420408e Pulling fs layer 0B
 281993ab1a86 Pulling fs layer 0B
 ec2307f4d05c Pulling fs layer 0B
 6f26ab5b45cd Pulling fs layer 0B
 4f4fb700ef54 Pulling fs layer 0B
 0251943f3cb8 Pulling fs layer 0B
 5435b2dcdf5c Pulling fs layer 0B
 2ec4345cdacd Pulling fs layer 0B
 33842dae351d Pulling fs layer 0B
 4f4fb700ef54 Pulling fs layer 0B
 5d49a2955bfb Pulling fs layer 0B
 670c4b14c21a Pulling fs layer 0B
 b5dea5e5fd92 Pulling fs layer 0B
 4f4fb700ef54 Pulling fs layer 0B
 c55295201882 Pulling fs layer 0B
 9b087f465bfd Pulling fs layer 0B
 878ec4892199 Pulling fs layer 0B
 9f1affc85086 Pulling fs layer 0B
 201eab77da33 Pulling fs layer 0B
 59519433b86e Pulling fs layer 0B
 a45caac69025 Pulling fs layer 0B
 d142e03d6b5d Pulling fs layer 0B
 b5ded36be84a Pulling fs layer 0B
 5fbaffa6b69f Pulling fs layer 0B
 938826d4ad39 Pulling fs layer 0B
 35abe0f8ff1a Pulling fs layer 0B
 493c02b18b21 Pulling fs layer 0B
 802e977d69a7 Pulling fs layer 0B
 487ef90287fd Pulling fs layer 0B
 a5394ecc7bd3 Pulling fs layer 0B
 4b4da9f14eb1 Pulling fs layer 0B
 84078298b8a4 Pulling fs layer 0B
 605b8cc3e8eb Pulling fs layer 0B
 c558a519cde7 Pulling fs layer 0B
 fe07684b16b8 Pulling fs layer 0B
 82f733943d42 Pulling fs layer 0B
 47835c1098fd Pulling fs layer 0B
 99eef1430f53 Pulling fs layer 0B
 676bfde283a0 Pulling fs layer 0B
 3a2359e88fc4 Pulling fs layer 0B
 3e0200d20100 Pulling fs layer 0B
 8a39a1082773 Pulling fs layer 0B
 620836991a35 Pulling fs layer 0B
 1bc66c3e8b19 Pulling fs layer 0B
 f33265d93fb1 Pulling fs layer 0B
 1d0c83068726 Pulling fs layer 0B
 4f4fb700ef54 Pulling fs layer 0B
 6a0ac1617861 Pulling fs layer 0B
 8213dc07c4f6 Pulling fs layer 0B
 4bfffbb6e80b Pulling fs layer 0B
 7e8a8ec6ab16 Pulling fs layer 0B
 92c75a743ca8 Pulling fs layer 0B
 de69adb1320b Pulling fs layer 0B
 b4c279dcaca6 Pulling fs layer 0B
 4f4fb700ef54 Pulling fs layer 0B
 534d8d6ab3f5 Pulling fs layer 0B
 7c620fc291a3 Pulling fs layer 0B
 76e37deb6a5e Pulling fs layer 0B
 7025a07b68d5 Pulling fs layer 0B
 0c6b8ff8c37e Pulling fs layer 0B
 591175549012 Pulling fs layer 0B
 2d6d729f7885 Pulling fs layer 0B
 cf027c9e7e65 Pulling fs layer 0B
 6ed8ada7aa74 Pulling fs layer 0B
 5cf76f9aa67b Pulling fs layer 0B
 6d3cfe6f6214 Pulling fs layer 0B
 f52847aa87ff Pulling fs layer 0B
 785a9354507a Pulling fs layer 0B
 95bc57d5541f Pulling fs layer 0B
 b9ba73a1e467 Pulling fs layer 0B
 92810359b2bf Pulling fs layer 0B
 e98a84ad2092 Pulling fs layer 0B
 44ff5414ccb9 Pulling fs layer 0B
 53cf2bc3cb3d Pulling fs layer 0B
 6567797f6f57 Pulling fs layer 0B
 4f5ad9681221 Pulling fs layer 0B
 1e8ae3bf0fcd Pulling fs layer 0B
 24ba39af2551 Pulling fs layer 0B
 d26c074919d9 Pulling fs layer 0B
 915e82f7a819 Pulling fs layer 0B
 5a7f1b7c97d9 Pulling fs layer 0B
 56b2ebeab86e Pulling fs layer 0B
 b9306eb196d7 Pulling fs layer 0B
 6ed9256bb9c7 Pulling fs layer 0B
 6612ba8eef8f Pulling fs layer 0B
 984825eb5d58 Pulling fs layer 0B
 1a97dc4c81b7 Pulling fs layer 0B
 1b329615b8c1 Pulling fs layer 0B
 0c6b8ff8c37e Pulling fs layer 0B
 591175549012 Pulling fs layer 0B
 2d6d729f7885 Pulling fs layer 0B
 cf027c9e7e65 Pulling fs layer 0B
 6ed8ada7aa74 Pulling fs layer 0B
 5cf76f9aa67b Pulling fs layer 0B
 6d3cfe6f6214 Pulling fs layer 0B
 f52847aa87ff Pulling fs layer 0B
 785a9354507a Pulling fs layer 0B
 95bc57d5541f Pulling fs layer 0B
 b9ba73a1e467 Pulling fs layer 0B
 92810359b2bf Pulling fs layer 0B
 e98a84ad2092 Pulling fs layer 0B
 44ff5414ccb9 Pulling fs layer 0B
 53cf2bc3cb3d Pulling fs layer 0B
 6567797f6f57 Pulling fs layer 0B
 4f5ad9681221 Pulling fs layer 0B
 1e8ae3bf0fcd Pulling fs layer 0B
 24ba39af2551 Pulling fs layer 0B
 d26c074919d9 Pulling fs layer 0B
 915e82f7a819 Pulling fs layer 0B
 5a7f1b7c97d9 Pulling fs layer 0B
 0eeeae4d1262 Pulling fs layer 0B
 8b42e305b556 Pulling fs layer 0B
 46baa22cc1d5 Pulling fs layer 0B
 3c088a8ca8a6 Pulling fs layer 0B
 bf375d64e451 Pulling fs layer 0B
 b5d41b9436d1 Pulling fs layer 0B
 89decf5a2ff6 Pulling fs layer 0B
 430697008a14 Pulling fs layer 0B
 Image ddev/ddev-utilities:latest Pulled 
 Image redis:7 Pulled 
 Image ddev/ddev-ssh-agent:v1.25.2 Pulled 
 Image ddev/ddev-xhgui:v1.25.2 Pulled 
 Image ddev/ddev-traefik-router:v1.25.2 Pulled 
 Image ddev/ddev-webserver:v1.25.2 Pulled 
 Image ddev/ddev-dbserver-mysql-8.4:v1.25.2 Pulled 
 Image seleniarm/standalone-firefox:4.1.2-20220227 Pulled 
 Image seleniarm/standalone-chromium:4.1.2-20220227 Pulled 
 Volume ddev-ssh-agent_socket_dir Created 
 Volume ddev-ssh-agent_dot_ssh Created 
 Container ddev-ssh-agent Started 
ssh-agent container is running: If you want to add authentication to the ssh-agent container, run 'ddev auth ssh' to enable your keys.
Custom configuration detected in project 'd11_project':
  • Web server:
    - /builds/organization/d11_project/.ddev/nginx_full/nginx-site.conf
    - /builds/organization/d11_project/.ddev/web-build/Dockerfile.drainpipe
  • Commands:
    - /builds/organization/d11_project/.ddev/commands/web/drupal
    - /builds/organization/d11_project/.ddev/commands/web/task
  • Docker Compose: /builds/organization/d11_project/.ddev/docker-compose.selenium.yaml
Custom configuration is updated on restart. Run 'ddev restart' if changes don't take effect.
Add '#ddev-silent-no-warn' comment to files if you don't want to see these warnings.
time="2026-06-05T16:36:54Z" level=warning msg="/builds/organization/d11_project/.ddev/docker-compose.selenium.yaml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion"
Not trying to add hostnames to hosts file because DDEV_NONINTERACTIVE=true
Building project images...Dockerfile:51
--------------------
  49 |     # Install Task
  50 |     ADD taskfile .
  51 | >>> RUN sh -c "$(curl -fsSL https://taskfile.dev/install.sh)" -- -b /usr/local/bin -d $(cat taskfile)
  52 |     
  53 |     # Install action-validator
--------------------
target web: failed to solve: process "/bin/bash -c sh -c \"$(curl -fsSL https://taskfile.dev/install.sh)\" -- -b /usr/local/bin -d $(cat taskfile)" did not complete successfully: exit code: 28
Failed to start d11_project: docker-compose build failed: composeCmd failed to run 'COMPOSE_PROJECT_NAME=ddev-d11_project docker-compose -f /builds/organization/d11_project/.ddev/.ddev-docker-compose-full.yaml --progress=plain build', action='[--progress=plain build]', err='exit status 1', stdout='#1 [internal] load local bake definitions

From my understanding, when trying to download Task, a request timeout occurs, which curl reports with exit code 28 (https://curl.se/libcurl/c/libcurl-errors.html). I'm not sure whether this timeout is caused by the image itself or by the GitLab runner.

Any insights would be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions