Running with gitlab-runner 13.11.0 (7f7a4bb0)
  on Nexus Runner LNj6NJoi
section_start:1621946301:resolve_secrets
Resolving secrets
section_end:1621946301:resolve_secrets
section_start:1621946301:prepare_executor
Preparing the "docker" executor
Using Docker executor with image docker:19.03.8 ...
Starting service docker:19.03.8-dind ...
Authenticating with credentials from /root/.docker/config.json
Pulling docker image docker:19.03.8-dind ...
Using docker image sha256:c814ba3a41a3de0a9a23b7d0bb36f64257b12aef5103b4ce1d5f1bfc3033aad3 for docker:19.03.8-dind with digest docker@sha256:841b5eb000551dc3c30a46386ab4bfed5839ec9592c88e961236b25194ce88b9 ...
Waiting for services to be up and running...

*** WARNING: Service runner-lnj6njoi-project-73-concurrent-0-14f8c52d2393a0b4-docker-0 probably didn't start properly.

Health check error:
service "runner-lnj6njoi-project-73-concurrent-0-14f8c52d2393a0b4-docker-0-wait-for-service" timeout

Health check container logs:


Service container logs:
2021-05-25T12:38:24.801824651Z Generating RSA private key, 4096 bit long modulus (2 primes)
2021-05-25T12:38:24.936433807Z ...............................++++
2021-05-25T12:38:25.280852106Z ......................................................................................++++
2021-05-25T12:38:25.281278931Z e is 65537 (0x010001)
2021-05-25T12:38:25.298230434Z Generating RSA private key, 4096 bit long modulus (2 primes)
2021-05-25T12:38:25.573402561Z ..................................................................++++
2021-05-25T12:38:26.400419894Z ............................................................................................................................................................................................................++++
2021-05-25T12:38:26.400913174Z e is 65537 (0x010001)
2021-05-25T12:38:26.431707418Z Signature ok
2021-05-25T12:38:26.431733271Z subject=CN = docker:dind server
2021-05-25T12:38:26.431864614Z Getting CA Private Key
2021-05-25T12:38:26.445799641Z /certs/server/cert.pem: OK
2021-05-25T12:38:26.450957565Z Generating RSA private key, 4096 bit long modulus (2 primes)
2021-05-25T12:38:26.585523251Z .............................++++
2021-05-25T12:38:26.635245765Z ...........++++
2021-05-25T12:38:26.635602089Z e is 65537 (0x010001)
2021-05-25T12:38:26.674216529Z Signature ok
2021-05-25T12:38:26.674241573Z subject=CN = docker:dind client
2021-05-25T12:38:26.674439735Z Getting CA Private Key
2021-05-25T12:38:26.693623876Z /certs/client/cert.pem: OK
2021-05-25T12:38:26.699137883Z mount: permission denied (are you root?)
2021-05-25T12:38:26.699204871Z Could not mount /sys/kernel/security.
2021-05-25T12:38:26.699211215Z AppArmor detection and --privileged mode might break.
2021-05-25T12:38:26.700592529Z mount: permission denied (are you root?)

*********

Authenticating with credentials from /root/.docker/config.json
Pulling docker image docker:19.03.8 ...
Using docker image sha256:5cfd4d13e0a8e4b9681447772c9df4864ac5d935abced4535f2ff670a73f2939 for docker:19.03.8 with digest docker@sha256:8c119115801ae96e1f55b2ccb69cc84537c79eea057a00f363df0196f3d09fd4 ...
section_end:1621946338:prepare_executor
section_start:1621946338:prepare_script
Preparing environment
Running on runner-lnj6njoi-project-73-concurrent-0 via ubuntu...
section_end:1621946338:prepare_script
section_start:1621946338:get_sources
Getting source from Git repository
Fetching changes with git depth set to 50...
Reinitialized existing Git repository in /builds/pub/nexus-release-image/.git/
Checking out 8661933a as master...

Skipping Git submodules setup
section_end:1621946339:get_sources
section_start:1621946339:step_script
Executing "step_script" stage of the job script
Using docker image sha256:5cfd4d13e0a8e4b9681447772c9df4864ac5d935abced4535f2ff670a73f2939 for docker:19.03.8 with digest docker@sha256:8c119115801ae96e1f55b2ccb69cc84537c79eea057a00f363df0196f3d09fd4 ...
$ 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
$ docker build --build-arg DOCKER_VERSION="$DOCKER_VERSION" --tag "$BUILD_IMAGE_NAME" --tag "$BUILD_IMAGE_NAME_LATEST" .
Sending build context to Docker daemon  138.2kB

Step 1/16 : FROM node:14-buster-slim
 ---> d4c353c8e216
Step 2/16 : RUN apt-get update && apt-get install -y --no-install-recommends git-core ca-certificates openssh-client     && apt-get clean     && rm -rf /var/lib/apt/lists/*
 ---> Using cache
 ---> f5c71e318bce
Step 3/16 : RUN npm i -g standard-version
 ---> Using cache
 ---> ade20a68ee6f
Step 4/16 : RUN npm i -g yaml
 ---> Using cache
 ---> d44ac0abf4fd
Step 5/16 : RUN npm i -g standard-version-updater-yaml
 ---> Running in 5e63392670ee
npm WARN standard-version-updater-yaml@1.0.2 requires a peer of standard-version@^9.0.0 but none is installed. You must install peer dependencies yourself.

+ standard-version-updater-yaml@1.0.2
added 2 packages from 2 contributors in 1.068s
Removing intermediate container 5e63392670ee
 ---> 7c4746be8e3d
Step 6/16 : USER node
 ---> Running in b28bb17e5f15
Removing intermediate container b28bb17e5f15
 ---> 0a0d1c5d0ae8
Step 7/16 : RUN git config --global user.email "ci-versioning@nexusmods.com"
 ---> Running in 94f1be7c3d67
Removing intermediate container 94f1be7c3d67
 ---> 9447f6c72ef1
Step 8/16 : RUN git config --global user.name "git"
 ---> Running in e8f528a56ff3
Removing intermediate container e8f528a56ff3
 ---> a5fe98981133
Step 9/16 : RUN which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )
 ---> Running in 3072122d2322
/usr/bin/ssh-agent
Removing intermediate container 3072122d2322
 ---> aad27bf23a60
Step 10/16 : RUN eval $(ssh-agent -s)
 ---> Running in 10d830686635
Agent pid 7
Removing intermediate container 10d830686635
 ---> a65d33f5de09
Step 11/16 : RUN mkdir -p ~/.ssh
 ---> Running in 112d49f18b03
Removing intermediate container 112d49f18b03
 ---> ff04510b709d
Step 12/16 : RUN chmod 700 ~/.ssh
 ---> Running in 285fae58cfd2
Removing intermediate container 285fae58cfd2
 ---> 4d73d16f20b3
Step 13/16 : RUN touch ~/.ssh/known_hosts
 ---> Running in 73ce9a33e169
Removing intermediate container 73ce9a33e169
 ---> ac42784b11bd
Step 14/16 : RUN chmod 644 ~/.ssh/known_hosts
 ---> Running in e6bcb87a5c03
Removing intermediate container e6bcb87a5c03
 ---> a99257d33e9a
Step 15/16 : COPY src/ build/
 ---> e59aee7d8f11
Step 16/16 : CMD ["/build/release.sh"]
 ---> Running in 9952c5922106
Removing intermediate container 9952c5922106
 ---> df20e3d0d8d5
[Warning] One or more build-args [DOCKER_VERSION] were not consumed
Successfully built df20e3d0d8d5
Successfully tagged gitlab.nexdev.uk:5555/pub/nexus-release-image/master:8661933abcc2cba2ccc8f28327f68c0836ace49b
Successfully tagged gitlab.nexdev.uk:5555/pub/nexus-release-image/master:latest
$ docker push "$BUILD_IMAGE_NAME"
The push refers to repository [gitlab.nexdev.uk:5555/pub/nexus-release-image/master]
6db3b1db6633: Preparing
3fdb36707911: Preparing
3fdb36707911: Preparing
ab96c1a80a6d: Preparing
f0f6e20a6a1e: Preparing
68970ef74021: Preparing
bf08a089aac7: Preparing
ab0813961846: Preparing
e0d447ce45bc: Preparing
788dcddbe492: Preparing
e40ae3a0a53c: Preparing
4ecc89cfb593: Preparing
0dafd1e48387: Preparing
b77162beae6a: Preparing
ff9a0a5309b9: Preparing
3adfb2a720ee: Preparing
02c055ef67f5: Preparing
4ecc89cfb593: Waiting
bf08a089aac7: Waiting
0dafd1e48387: Waiting
b77162beae6a: Waiting
788dcddbe492: Waiting
ab0813961846: Waiting
e40ae3a0a53c: Waiting
e0d447ce45bc: Waiting
ff9a0a5309b9: Waiting
02c055ef67f5: Waiting
3adfb2a720ee: Waiting
ab96c1a80a6d: Pushed
6db3b1db6633: Pushed
f0f6e20a6a1e: Pushed
3fdb36707911: Pushed
68970ef74021: Pushed
788dcddbe492: Layer already exists
e40ae3a0a53c: Layer already exists
4ecc89cfb593: Layer already exists
0dafd1e48387: Layer already exists
b77162beae6a: Layer already exists
ff9a0a5309b9: Layer already exists
3adfb2a720ee: Layer already exists
02c055ef67f5: Layer already exists
bf08a089aac7: Pushed
ab0813961846: Pushed
e0d447ce45bc: Pushed
8661933abcc2cba2ccc8f28327f68c0836ace49b: digest: sha256:b4852b136ab31eb44979123fc49a2da048eed10d88102f2409354a48641f9375 size: 3867
$ docker push "$BUILD_IMAGE_NAME_LATEST"
The push refers to repository [gitlab.nexdev.uk:5555/pub/nexus-release-image/master]
6db3b1db6633: Preparing
3fdb36707911: Preparing
3fdb36707911: Preparing
ab96c1a80a6d: Preparing
f0f6e20a6a1e: Preparing
68970ef74021: Preparing
bf08a089aac7: Preparing
ab0813961846: Preparing
e0d447ce45bc: Preparing
788dcddbe492: Preparing
e40ae3a0a53c: Preparing
4ecc89cfb593: Preparing
0dafd1e48387: Preparing
b77162beae6a: Preparing
ff9a0a5309b9: Preparing
3adfb2a720ee: Preparing
02c055ef67f5: Preparing
e40ae3a0a53c: Waiting
4ecc89cfb593: Waiting
0dafd1e48387: Waiting
b77162beae6a: Waiting
bf08a089aac7: Waiting
ff9a0a5309b9: Waiting
ab0813961846: Waiting
3adfb2a720ee: Waiting
e0d447ce45bc: Waiting
788dcddbe492: Waiting
02c055ef67f5: Waiting
3fdb36707911: Layer already exists
ab96c1a80a6d: Layer already exists
f0f6e20a6a1e: Layer already exists
6db3b1db6633: Layer already exists
ab0813961846: Layer already exists
e0d447ce45bc: Layer already exists
68970ef74021: Layer already exists
788dcddbe492: Layer already exists
bf08a089aac7: Layer already exists
0dafd1e48387: Layer already exists
e40ae3a0a53c: Layer already exists
b77162beae6a: Layer already exists
4ecc89cfb593: Layer already exists
ff9a0a5309b9: Layer already exists
3adfb2a720ee: Layer already exists
02c055ef67f5: Layer already exists
latest: digest: sha256:b4852b136ab31eb44979123fc49a2da048eed10d88102f2409354a48641f9375 size: 3867
section_end:1621946353:step_script
section_start:1621946353:cleanup_file_variables
Cleaning up file based variables
section_end:1621946353:cleanup_file_variables
Job succeeded