Running with gitlab-runner 17.5.1 (affd9e7d)
  on gitlab-runner-02 Fo1GHkM6a, system ID: s_e11362da0243
section_start:1729600944:prepare_executor
Preparing the "docker" executor
Using Docker executor with image docker:20.10.12 ...
Starting service docker:20.10.12-dind...
Pulling docker image docker:20.10.12-dind ...
Using docker image sha256:1a42336ff683d7dadd320ea6fe9d93a5b101474346302d23f96c9b4546cb414d for docker:20.10.12-dind with digest docker@sha256:6f2ae4a5fd85ccf85cdd829057a34ace894d25d544e5e4d9f2e7109297fedf8d ...
Waiting for services to be up and running (timeout 30 seconds)...

*** WARNING: Service runner-fo1ghkm6a-project-1791-concurrent-0-8ce52d07809f993d-docker-0 probably didn't start properly.

Health check error:
service "runner-fo1ghkm6a-project-1791-concurrent-0-8ce52d07809f993d-docker-0-wait-for-service" timeout

Health check container logs:
2024-10-22T12:42:26.918776230Z waiting for TCP connection to 172.17.0.2 on [2375 2376]...
2024-10-22T12:42:26.918873726Z dialing 172.17.0.2:2376...
2024-10-22T12:42:26.918880989Z dialing 172.17.0.2:2375...
2024-10-22T12:42:30.981012395Z dialing 172.17.0.2:2375...
2024-10-22T12:42:30.981103138Z dialing 172.17.0.2:2376...
2024-10-22T12:42:34.053136011Z dialing 172.17.0.2:2375...
2024-10-22T12:42:34.053211376Z dialing 172.17.0.2:2376...
2024-10-22T12:42:37.125701278Z dialing 172.17.0.2:2375...
2024-10-22T12:42:37.125784227Z dialing 172.17.0.2:2376...
2024-10-22T12:42:40.197230459Z dialing 172.17.0.2:2376...
2024-10-22T12:42:40.197293148Z dialing 172.17.0.2:2375...
2024-10-22T12:42:43.269203438Z dialing 172.17.0.2:2375...
2024-10-22T12:42:43.269265052Z dialing 172.17.0.2:2376...
2024-10-22T12:42:46.341239965Z dialing 172.17.0.2:2375...
2024-10-22T12:42:46.341299954Z dialing 172.17.0.2:2376...
2024-10-22T12:42:49.413052587Z dialing 172.17.0.2:2376...
2024-10-22T12:42:49.413137629Z dialing 172.17.0.2:2375...
2024-10-22T12:42:52.485039363Z dialing 172.17.0.2:2376...
2024-10-22T12:42:52.485111785Z dialing 172.17.0.2:2375...
2024-10-22T12:42:55.557469264Z dialing 172.17.0.2:2375...
2024-10-22T12:42:55.557588717Z dialing 172.17.0.2:2376...

Service container logs:
2024-10-22T12:42:26.721754906Z ip: can't find device 'ip_tables'
2024-10-22T12:42:26.724650987Z modprobe: can't change directory to '/lib/modules': No such file or directory
2024-10-22T12:42:26.729009741Z mount: permission denied (are you root?)
2024-10-22T12:42:26.729105532Z Could not mount /sys/kernel/security.
2024-10-22T12:42:26.729114062Z AppArmor detection and --privileged mode might break.
2024-10-22T12:42:26.730345367Z mount: permission denied (are you root?)

*********

Pulling docker image docker:20.10.12 ...
Using docker image sha256:15a9bc7c6340df2ac9d6c8196ca1d905180ddf2ca8b29a8d98f5422e2e5ccf85 for docker:20.10.12 with digest docker@sha256:a729cce205a05b0b86dc8dca87823efaffc3f74979fe7dc86a707c2fbf631b61 ...
section_end:1729600980:prepare_executor
section_start:1729600980:prepare_script
Preparing environment
Running on runner-fo1ghkm6a-project-1791-concurrent-0 via gitlab-runner-02.di.unipmn.it...
section_end:1729600980:prepare_script
section_start:1729600980:get_sources
Getting source from Git repository
Fetching changes with git depth set to 20...
Reinitialized existing Git repository in /builds/Ipaolo/app-mobile/.git/
Checking out bf5eed0c as detached HEAD (ref is main)...

Skipping Git submodules setup
section_end:1729600981:get_sources
section_start:1729600981:step_script
Executing "step_script" stage of the job script
Using docker image sha256:15a9bc7c6340df2ac9d6c8196ca1d905180ddf2ca8b29a8d98f5422e2e5ccf85 for docker:20.10.12 with digest docker@sha256:a729cce205a05b0b86dc8dca87823efaffc3f74979fe7dc86a707c2fbf631b61 ...
$ export SOURCE_CODE=${SOURCE_CODE:-$PWD}
$ if ! docker info &>/dev/null; then # collapsed multi-line command
$ function propagate_env_vars() { # collapsed multi-line command
$ if [ -n "$CODECLIMATE_REGISTRY_USERNAME" ] && [ -n "$CODECLIMATE_REGISTRY_PASSWORD" ] && [ -n "$CODECLIMATE_PREFIX" ]; then # collapsed multi-line command
$ docker pull --quiet "$CODE_QUALITY_IMAGE"
error during connect: Post "http://docker:2375/v1.24/images/create?fromImage=registry.gitlab.com%2Fgitlab-org%2Fci-cd%2Fcodequality&tag=0.96.0": dial tcp: lookup docker on 193.206.52.42:53: no such host
section_end:1729600982:step_script
section_start:1729600982:upload_artifacts_on_failure
Uploading artifacts for failed job
Uploading artifacts...
WARNING: gl-code-quality-report.json: no matching files. Ensure that the artifact path is relative to the working directory (/builds/Ipaolo/app-mobile) 
ERROR: No files to upload                          
section_end:1729600982:upload_artifacts_on_failure
section_start:1729600982:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1729600982:cleanup_file_variables
ERROR: Job failed: exit code 1