Running with gitlab-runner 16.6.1 (f5da3c5a)
  on gitlab H7f3E4NW, system ID: s_5f74de2a9f9c
section_start:1703063248:prepare_executor
Preparing the "docker" executor
Using Docker executor with image docker:20.10.9 ...
Starting service docker:20.10.9-dind ...
Pulling docker image docker:20.10.9-dind ...
Using docker image sha256:1efbbff84703848e1c787073a954e8e3f0146836d94673f2d54f3672296bf82f for docker:20.10.9-dind with digest docker@sha256:d842418d21545fde57c2512681d9bdc4ce0e54f2e0305a293ee20a9b6166932b ...
Waiting for services to be up and running (timeout 30 seconds)...

*** WARNING: Service runner-h7f3e4nw-project-207-concurrent-0-8e79573bf29c3d26-docker-0 probably didn't start properly.

Health check error:
service "runner-h7f3e4nw-project-207-concurrent-0-8e79573bf29c3d26-docker-0-wait-for-service" timeout

Health check container logs:
2023-12-20T09:07:32.912025107Z waiting for TCP connection to 172.17.0.2 on [2375 2376]...
2023-12-20T09:07:32.912162795Z dialing 172.17.0.2:2376...
2023-12-20T09:07:32.912181694Z dialing 172.17.0.2:2375...
2023-12-20T09:07:33.912549968Z dialing 172.17.0.2:2375...
2023-12-20T09:07:33.912599720Z dialing 172.17.0.2:2376...
2023-12-20T09:07:34.913386621Z dialing 172.17.0.2:2376...
2023-12-20T09:07:34.913413445Z dialing 172.17.0.2:2375...
2023-12-20T09:07:35.914036214Z dialing 172.17.0.2:2376...
2023-12-20T09:07:35.914104533Z dialing 172.17.0.2:2375...

Service container logs:
2023-12-20T09:07:32.513822929Z Generating RSA private key, 4096 bit long modulus (2 primes)
2023-12-20T09:07:33.091509457Z ......................................................................................................................................++++
2023-12-20T09:07:33.474277425Z ...........................................................................................++++
2023-12-20T09:07:33.474622247Z e is 65537 (0x010001)
2023-12-20T09:07:33.503744087Z Generating RSA private key, 4096 bit long modulus (2 primes)
2023-12-20T09:07:34.612226535Z .......................................................................................................................................................................................................................................................................++++
2023-12-20T09:07:35.079882332Z ..............................................................................................................++++
2023-12-20T09:07:35.080179797Z e is 65537 (0x010001)
2023-12-20T09:07:35.139433694Z Signature ok
2023-12-20T09:07:35.139469726Z subject=CN = docker:dind server
2023-12-20T09:07:35.139597446Z Getting CA Private Key
2023-12-20T09:07:35.161404155Z /certs/server/cert.pem: OK
2023-12-20T09:07:35.214278979Z Signature ok
2023-12-20T09:07:35.214310557Z subject=CN = docker:dind client
2023-12-20T09:07:35.214407483Z Getting CA Private Key
2023-12-20T09:07:35.234115426Z /certs/client/cert.pem: OK
2023-12-20T09:07:35.318239174Z mount: permission denied (are you root?)
2023-12-20T09:07:35.318313033Z Could not mount /sys/kernel/security.
2023-12-20T09:07:35.318334748Z AppArmor detection and --privileged mode might break.
2023-12-20T09:07:35.320945482Z mount: permission denied (are you root?)

*********

Pulling docker image docker:20.10.9 ...
Using docker image sha256:b6448e722e510f9bb0bb5c2f65ef99295fc2321b656c00f088078ccf6564372b for docker:20.10.9 with digest docker@sha256:938bcb85cf77db2b80d219abd5a1424ec15ce11a3adaea6423fa16cc9acfe926 ...
section_end:1703063285:prepare_executor
section_start:1703063285:prepare_script
Preparing environment
Running on runner-h7f3e4nw-project-207-concurrent-0 via gitlab...
section_end:1703063285:prepare_script
section_start:1703063285:get_sources
Getting source from Git repository
Fetching changes with git depth set to 20...
Reinitialized existing Git repository in /builds/lnovy/docker-forum/.git/
Checking out 3655307c as detached HEAD (ref is main)...

Skipping Git submodules setup
section_end:1703063286:get_sources
section_start:1703063286:step_script
Executing "step_script" stage of the job script
Using docker image sha256:b6448e722e510f9bb0bb5c2f65ef99295fc2321b656c00f088078ccf6564372b for docker:20.10.9 with digest docker@sha256:938bcb85cf77db2b80d219abd5a1424ec15ce11a3adaea6423fa16cc9acfe926 ...
$ docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
WARNING! Using --password via the CLI is insecure. Use --password-stdin.
WARNING! Your password will be stored unencrypted in /root/.docker/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store

Login Succeeded
$ SRC_VERSION=`grep FROM Dockerfile | cut -d ':' -f 2`
$ VERSION="${SRC_VERSION}-${BUILD_VERSION}"
$ docker pull $CI_REGISTRY_IMAGE:latest || true
latest: Pulling from lnovy/docker-forum
Digest: sha256:10860db768abca4dbb2067d193ed6b4219c8c16ca1606d0476ba9a407aa669ff
Status: Image is up to date for docker-registry.pirati.cz/lnovy/docker-forum:latest
docker-registry.pirati.cz/lnovy/docker-forum:latest
$ docker build --cache-from $CI_REGISTRY_IMAGE:latest --tag $CI_REGISTRY_IMAGE:$VERSION --tag $CI_REGISTRY_IMAGE:latest .
#1 [internal] load .dockerignore
#1 sha256:d85e58b101be6835552e95aecd6c7fc80ec6a7341c62bbd20d4c2ad87f254d93
#1 transferring context: 2B done
#1 DONE 0.0s

#2 [internal] load build definition from Dockerfile
#2 sha256:34c9552a7fb677ac48a1f471da294d1e4e8afaa05b2e6a2b6be78d871f069559
#2 transferring dockerfile: 336B done
#2 DONE 0.0s

#3 [internal] load metadata for docker.io/bitnami/phpbb:3.3.8
#3 sha256:af7dc7437afca8f1470ecc904c5b9e4d062195bad9be689c070701c502a75669
#3 DONE 0.7s

#4 importing cache manifest from docker-registry.pirati.cz/lnovy/docker-forum:latest
#4 sha256:498ceba5cb6a84df7a75ffe3cc493a1644762d97e8f16359c86f1fef13a24ea1
#4 DONE 0.0s

#9 [1/5] FROM docker.io/bitnami/phpbb:3.3.8@sha256:b691b1d0fe7b061420ed3554e1db80baabc6a786f2acd43dfcf7b68898f8d41a
#9 sha256:452e4ac920c67da95fe360c73cfce8ebaa37f00605e142b731e526be48344230
#9 DONE 0.0s

#7 [internal] load build context
#7 sha256:7f7c935d253306cc137c162b642d4faab9edc8ae49c652c9525d0717f7dd85b2
#7 transferring context: 3.67MB 0.1s done
#7 DONE 0.1s

#8 [2/5] RUN install_packages cron
#8 sha256:daa28ece5a359346c48d6a95b2481fa84b6400b087fc79f9b3561b6183553f47
#8 CACHED

#6 [3/5] COPY crontab /etc/cron.d/
#6 sha256:b27844ea4af114e2def33efcc4d23822290df84d680ebcfe04a129460a9c2f60
#6 CACHED

#5 [4/5] COPY phpbb-htaccess.conf /opt/bitnami/apache/conf/vhosts/htaccess
#5 sha256:b39792812db0fba392cd42e3ff67c42c3dcdc795f4f8235885ef10eb08eb9065
#5 DONE 0.1s

#10 [5/5] COPY phpbb /opt/bitnami/phpbb
#10 sha256:b8a6e904185c9cb3b073602dec39c84bcf8deef0df156dc3f9abbbf613737eb4
#10 DONE 0.2s

#11 exporting to image
#11 sha256:04c6f4fe33532a4aaaa7b73935f875e220a6162355e0946bf4d4b79f3768cbf1
#11 exporting layers 0.1s done
#11 writing image sha256:cfd03ea3319ded2b1d251fac32f2c07cb5de4b2d3579064c6410d2f0f36b452b done
#11 naming to docker-registry.pirati.cz/lnovy/docker-forum:3.3.8-p11 done
#11 naming to docker-registry.pirati.cz/lnovy/docker-forum:latest done
#11 DONE 0.2s
$ docker push $CI_REGISTRY_IMAGE:$VERSION
The push refers to repository [docker-registry.pirati.cz/lnovy/docker-forum]
62d10cb9c78d: Preparing
ccfbc97497b9: Preparing
eb787f2318d5: Preparing
b15e945351ab: Preparing
9e0854333bf5: Preparing
72f2450750f8: Preparing
72f2450750f8: Waiting
9e0854333bf5: Layer already exists
b15e945351ab: Layer already exists
eb787f2318d5: Layer already exists
72f2450750f8: Layer already exists
ccfbc97497b9: Pushed
62d10cb9c78d: Pushed
3.3.8-p11: digest: sha256:2cbddf374884532b01f8a947e52ea2f2626e1856a78743f3a0134f3c2489e729 size: 1577
$ docker push $CI_REGISTRY_IMAGE:latest
The push refers to repository [docker-registry.pirati.cz/lnovy/docker-forum]
62d10cb9c78d: Preparing
ccfbc97497b9: Preparing
eb787f2318d5: Preparing
b15e945351ab: Preparing
9e0854333bf5: Preparing
72f2450750f8: Preparing
72f2450750f8: Waiting
b15e945351ab: Layer already exists
9e0854333bf5: Layer already exists
eb787f2318d5: Layer already exists
ccfbc97497b9: Layer already exists
62d10cb9c78d: Layer already exists
72f2450750f8: Layer already exists
latest: digest: sha256:2cbddf374884532b01f8a947e52ea2f2626e1856a78743f3a0134f3c2489e729 size: 1577
section_end:1703063290:step_script
section_start:1703063290:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1703063290:cleanup_file_variables
Job succeeded