Running with gitlab-runner 12.7.1 (003fe500)
  on grady-ci-runner 6oEdkxQQ
section_start:1647514688:prepare_executor
Using Docker executor with image docker:latest ...
Starting service docker:dind ...
Pulling docker image docker:dind ...
Using docker image sha256:c05a8c965912fe35df9cce58ddb7aed725fb34d81772761a4ef7a373fd3271c1 for docker:dind ...
Waiting for services to be up and running...

*** WARNING: Service runner-6oEdkxQQ-project-985-concurrent-2-docker-0 probably didn't start properly.

Health check error:
ContainerCreate: Error response from daemon: Conflict. The container name "/runner-6oEdkxQQ-project-985-concurrent-2-docker-0-wait-for-service" is already in use by container "a254fa1dae6485386228a1622eb1a164445d113acefd24adcb49054eb460bed3". You have to remove (or rename) that container to be able to reuse that name. (executor_docker.go:1254:0s)

Service container logs:
2022-03-17T10:58:11.456582391Z time="2022-03-17T10:58:11.456303946Z" level=info msg="Starting up"
2022-03-17T10:58:11.458283574Z time="2022-03-17T10:58:11.458089971Z" level=warning msg="could not change group /var/run/docker.sock to docker: group docker not found"
2022-03-17T10:58:11.458617261Z time="2022-03-17T10:58:11.458506228Z" level=warning msg="Binding to IP address without --tlsverify is insecure and gives root access on this machine to everyone who has access to your network." host="tcp://0.0.0.0:2375"
2022-03-17T10:58:11.458643470Z time="2022-03-17T10:58:11.458555900Z" level=warning msg="Binding to an IP address, even on localhost, can also give access to scripts run in a browser. Be safe out there!" host="tcp://0.0.0.0:2375"
2022-03-17T10:58:12.459158055Z time="2022-03-17T10:58:12.458824418Z" level=warning msg="Binding to an IP address without --tlsverify is deprecated. Startup is intentionally being slowed down to show this message" host="tcp://0.0.0.0:2375"
2022-03-17T10:58:12.459207285Z time="2022-03-17T10:58:12.459000511Z" level=warning msg="Please consider generating tls certificates with client validation to prevent exposing unauthenticated root access to your network" host="tcp://0.0.0.0:2375"
2022-03-17T10:58:12.459215196Z time="2022-03-17T10:58:12.459048132Z" level=warning msg="You can override this by explicitly specifying '--tls=false' or '--tlsverify=false'" host="tcp://0.0.0.0:2375"
2022-03-17T10:58:12.459292457Z time="2022-03-17T10:58:12.459134915Z" level=warning msg="Support for listening on TCP without authentication or explicit intent to run without authentication will be removed in the next release" host="tcp://0.0.0.0:2375"

*********

Pulling docker image docker:latest ...
Using docker image sha256:6816f070b2395d750ce78e4fbdb7e9df0af63b7686f3063c09e008c2ef1a0036 for docker:latest ...
section_end:1647514694:prepare_executor
section_start:1647514694:prepare_script
Running on runner-6oEdkxQQ-project-985-concurrent-2 via gitlab-runner...
section_end:1647514697:prepare_script
section_start:1647514697:get_sources
Fetching changes...
Reinitialized existing Git repository in /builds/j.michal/grady/.git/
From https://gitlab.gwdg.de/j.michal/grady
 * [new ref]         f493f58369b7c6868e129b5a4fc9cf4ae18eb2da -> refs/pipelines/283886
 * [new branch]      282-copy-button-does-not-work-when-reviewing-corrections -> origin/282-copy-button-does-not-work-when-reviewing-corrections
Checking out f493f583 as 282-copy-button-does-not-work-when-reviewing-corrections...

Skipping Git submodules setup
section_end:1647514712:get_sources
section_start:1647514712:restore_cache
Checking cache for pip-cache-4...
No URL provided, cache will not be downloaded from shared cache server. Instead a local version of cache will be extracted. 
Successfully extracted cache
section_end:1647514713:restore_cache
section_start:1647514713:download_artifacts
section_end:1647514715:download_artifacts
section_start:1647514715:build_script
$ docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $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 pull $DEV_IMAGE_BASE || true
Using default tag: latest
latest: Pulling from j.michal/grady/dev-image-base
ec52bb9d0b76: Pulling fs layer
f289049e62eb: Pulling fs layer
1e926c3d7cca: Pulling fs layer
fd63791ebe32: Pulling fs layer
07df46628d6b: Pulling fs layer
16c43736258f: Pulling fs layer
154b42332ade: Pulling fs layer
103c8b5aa42d: Pulling fs layer
5bc3dff5a704: Pulling fs layer
b81f5ae961a6: Pulling fs layer
764e57c544ac: Pulling fs layer
5d493e1d198a: Pulling fs layer
411d4b9d692d: Pulling fs layer
2dc06f7754df: Pulling fs layer
14548798ca90: Pulling fs layer
fd63791ebe32: Waiting
07df46628d6b: Waiting
16c43736258f: Waiting
154b42332ade: Waiting
5bc3dff5a704: Waiting
5d493e1d198a: Waiting
411d4b9d692d: Waiting
764e57c544ac: Waiting
2dc06f7754df: Waiting
14548798ca90: Waiting
103c8b5aa42d: Waiting
1e926c3d7cca: Verifying Checksum
1e926c3d7cca: Download complete
f289049e62eb: Verifying Checksum
f289049e62eb: Download complete
ec52bb9d0b76: Download complete
16c43736258f: Verifying Checksum
16c43736258f: Download complete
fd63791ebe32: Verifying Checksum
fd63791ebe32: Download complete
103c8b5aa42d: Verifying Checksum
103c8b5aa42d: Download complete
5bc3dff5a704: Download complete
154b42332ade: Verifying Checksum
154b42332ade: Download complete
b81f5ae961a6: Verifying Checksum
b81f5ae961a6: Download complete
764e57c544ac: Verifying Checksum
764e57c544ac: Download complete
5d493e1d198a: Download complete
2dc06f7754df: Download complete
14548798ca90: Verifying Checksum
14548798ca90: Download complete
ec52bb9d0b76: Pull complete
07df46628d6b: Verifying Checksum
07df46628d6b: Download complete
411d4b9d692d: Verifying Checksum
411d4b9d692d: Download complete
f289049e62eb: Pull complete
1e926c3d7cca: Pull complete
fd63791ebe32: Pull complete
07df46628d6b: Pull complete
16c43736258f: Pull complete
154b42332ade: Pull complete
103c8b5aa42d: Pull complete
5bc3dff5a704: Pull complete
b81f5ae961a6: Pull complete
764e57c544ac: Pull complete
5d493e1d198a: Pull complete
411d4b9d692d: Pull complete
2dc06f7754df: Pull complete
14548798ca90: Pull complete
Digest: sha256:cb702bb870b5b686fa265935a19feb02ed6ba99b34fc85f651e4b5e778c4422c
Status: Downloaded newer image for docker.gitlab.gwdg.de/j.michal/grady/dev-image-base:latest
docker.gitlab.gwdg.de/j.michal/grady/dev-image-base:latest
$ docker build --network=host --cache-from $DEV_IMAGE_BASE -t $DEV_IMAGE_BASE --target node .
Sending build context to Docker daemon  2.603MB

Step 1/7 : FROM node:fermium as node
fermium: Pulling from library/node
ec52bb9d0b76: Already exists
f289049e62eb: Already exists
1e926c3d7cca: Already exists
fd63791ebe32: Already exists
07df46628d6b: Already exists
16c43736258f: Already exists
154b42332ade: Already exists
103c8b5aa42d: Already exists
5bc3dff5a704: Already exists
Digest: sha256:d3f3c5105b1defedbdd7a8c6a4184d11e65f246d0dfd798e6f0fabc4b5326d46
Status: Downloaded newer image for node:fermium
 ---> fbfc0867b024
Step 2/7 : WORKDIR /app/
 ---> Using cache
 ---> 07e6d5bac693
Step 3/7 : COPY frontend/package.json .
 ---> Using cache
 ---> 7d27d95d04ad
Step 4/7 : COPY frontend/yarn.lock .
 ---> Using cache
 ---> c23b6cc9a3cd
Step 5/7 : RUN yarn
 ---> Using cache
 ---> 473a309ce317
Step 6/7 : COPY frontend/ .
 ---> Using cache
 ---> 2d270700c10b
Step 7/7 : RUN yarn build
 ---> Using cache
 ---> d35c82d87407
Successfully built d35c82d87407
Successfully tagged docker.gitlab.gwdg.de/j.michal/grady/dev-image-base:latest
$ docker pull $DEV_IMAGE || true
Using default tag: latest
latest: Pulling from j.michal/grady/dev-image
41dcc117e123: Pulling fs layer
87473ef71d0c: Pulling fs layer
ce1c1540e840: Pulling fs layer
d76cd7ef7991: Pulling fs layer
bbe3d9f87c7e: Pulling fs layer
e06c6521e289: Pulling fs layer
97f2d1054273: Pulling fs layer
ecb36c635a98: Pulling fs layer
0591bd4fe68b: Pulling fs layer
ea1c5714975a: Pulling fs layer
26faf3373d6d: Pulling fs layer
0d3c8d1c5e77: Pulling fs layer
1fbb7eb5dd9d: Pulling fs layer
37a280e02e7f: Pulling fs layer
ecb36c635a98: Waiting
ea1c5714975a: Waiting
0591bd4fe68b: Waiting
26faf3373d6d: Waiting
0d3c8d1c5e77: Waiting
1fbb7eb5dd9d: Waiting
bbe3d9f87c7e: Waiting
97f2d1054273: Waiting
37a280e02e7f: Waiting
d76cd7ef7991: Waiting
87473ef71d0c: Verifying Checksum
87473ef71d0c: Download complete
d76cd7ef7991: Download complete
41dcc117e123: Download complete
e06c6521e289: Download complete
97f2d1054273: Download complete
bbe3d9f87c7e: Verifying Checksum
bbe3d9f87c7e: Download complete
0591bd4fe68b: Verifying Checksum
0591bd4fe68b: Download complete
ea1c5714975a: Verifying Checksum
ea1c5714975a: Download complete
26faf3373d6d: Verifying Checksum
26faf3373d6d: Download complete
ecb36c635a98: Verifying Checksum
ecb36c635a98: Download complete
0d3c8d1c5e77: Verifying Checksum
0d3c8d1c5e77: Download complete
37a280e02e7f: Verifying Checksum
37a280e02e7f: Download complete
1fbb7eb5dd9d: Verifying Checksum
1fbb7eb5dd9d: Download complete
ce1c1540e840: Verifying Checksum
ce1c1540e840: Download complete
41dcc117e123: Pull complete
87473ef71d0c: Pull complete
ce1c1540e840: Pull complete
d76cd7ef7991: Pull complete
bbe3d9f87c7e: Pull complete
e06c6521e289: Pull complete
97f2d1054273: Pull complete
ecb36c635a98: Pull complete
0591bd4fe68b: Pull complete
ea1c5714975a: Pull complete
26faf3373d6d: Pull complete
0d3c8d1c5e77: Pull complete
1fbb7eb5dd9d: Pull complete
37a280e02e7f: Pull complete
Digest: sha256:f782673866084f13a37163c95a2e15eceb44db920c99f1c2391c5be1c97cb2ce
Status: Downloaded newer image for docker.gitlab.gwdg.de/j.michal/grady/dev-image:latest
docker.gitlab.gwdg.de/j.michal/grady/dev-image:latest
$ docker build --network=host --cache-from $DEV_IMAGE --cache-from $DEV_IMAGE_BASE -t $DEV_IMAGE .
Sending build context to Docker daemon  2.603MB

Step 1/23 : FROM node:fermium as node
 ---> fbfc0867b024
Step 2/23 : WORKDIR /app/
 ---> Using cache
 ---> 07e6d5bac693
Step 3/23 : COPY frontend/package.json .
 ---> Using cache
 ---> 7d27d95d04ad
Step 4/23 : COPY frontend/yarn.lock .
 ---> Using cache
 ---> c23b6cc9a3cd
Step 5/23 : RUN yarn
 ---> Using cache
 ---> 473a309ce317
Step 6/23 : COPY frontend/ .
 ---> Using cache
 ---> 2d270700c10b
Step 7/23 : RUN yarn build
 ---> Using cache
 ---> d35c82d87407
Step 8/23 : FROM alpine:edge
edge: Pulling from library/alpine
4dbaae8e10fe: Pulling fs layer
4dbaae8e10fe: Verifying Checksum
4dbaae8e10fe: Download complete
4dbaae8e10fe: Pull complete
Digest: sha256:8ba3bd9fa0c4cdf20b3f1543dd292cadbbe98ca6a232c5bf725af126b973b087
Status: Downloaded newer image for alpine:edge
 ---> 4655d913df59
Step 9/23 : WORKDIR /code
 ---> Running in efc4d2aa2439
Removing intermediate container efc4d2aa2439
 ---> 46ed7fb110ea
Step 10/23 : RUN apk update     && apk add build-base gcc curl libzmq musl-dev zeromq-dev python3 python3-dev py3-pip     && apk add --no-cache postgresql-dev git
 ---> Running in efa5e3f9b1e5
fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
v20220316-89-gececc6b34c [https://dl-cdn.alpinelinux.org/alpine/edge/main]
v20220316-92-gf01c679141 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
OK: 16433 distinct packages available
(1/67) Installing libgcc (11.2.1_git20220219-r1)
(2/67) Installing libstdc++ (11.2.1_git20220219-r1)
(3/67) Installing binutils (2.38-r1)
(4/67) Installing libmagic (5.41-r0)
(5/67) Installing file (5.41-r0)
(6/67) Installing libgomp (11.2.1_git20220219-r1)
(7/67) Installing libatomic (11.2.1_git20220219-r1)
(8/67) Installing gmp (6.2.1-r1)
(9/67) Installing isl22 (0.22-r0)
(10/67) Installing mpfr4 (4.1.0-r0)
(11/67) Installing mpc1 (1.2.1-r0)
(12/67) Installing gcc (11.2.1_git20220219-r1)
(13/67) Installing musl-dev (1.2.2-r7)
(14/67) Installing libc-dev (0.7.2-r3)
(15/67) Installing g++ (11.2.1_git20220219-r1)
(16/67) Installing make (4.3-r0)
(17/67) Installing fortify-headers (1.1-r1)
(18/67) Installing patch (2.7.6-r7)
(19/67) Installing build-base (0.5-r2)
(20/67) Installing ca-certificates (20211220-r0)
(21/67) Installing brotli-libs (1.0.9-r6)
(22/67) Installing nghttp2-libs (1.47.0-r0)
(23/67) Installing libcurl (7.82.0-r0)
(24/67) Installing curl (7.82.0-r0)
(25/67) Installing libsodium (1.0.18-r0)
(26/67) Installing libzmq (4.3.4-r0)
(27/67) Installing libbz2 (1.0.8-r1)
(28/67) Installing expat (2.4.7-r0)
(29/67) Installing libffi (3.4.2-r1)
(30/67) Installing gdbm (1.23-r0)
(31/67) Installing xz-libs (5.2.5-r0)
(32/67) Installing mpdecimal (2.5.1-r1)
(33/67) Installing ncurses-terminfo-base (6.3_p20220312-r0)
(34/67) Installing ncurses-libs (6.3_p20220312-r0)
(35/67) Installing readline (8.1.2-r0)
(36/67) Installing sqlite-libs (3.37.2-r0)
(37/67) Installing python3 (3.10.2-r0)
(38/67) Installing py3-appdirs (1.4.4-r3)
(39/67) Installing py3-certifi (2021.10.8-r0)
(40/67) Installing py3-charset-normalizer (2.0.10-r0)
(41/67) Installing py3-idna (3.3-r2)
(42/67) Installing py3-urllib3 (1.26.8-r0)
(43/67) Installing py3-requests (2.27.1-r0)
(44/67) Installing py3-msgpack (1.0.3-r0)
(45/67) Installing py3-lockfile (0.12.2-r5)
(46/67) Installing py3-cachecontrol (0.12.10-r1)
(47/67) Installing py3-colorama (0.4.4-r2)
(48/67) Installing py3-contextlib2 (21.6.0-r2)
(49/67) Installing py3-distlib (0.3.4-r1)
(50/67) Installing py3-distro (1.7.0-r0)
(51/67) Installing py3-six (1.16.0-r1)
(52/67) Installing py3-webencodings (0.5.1-r5)
(53/67) Installing py3-html5lib (1.1-r2)
(54/67) Installing py3-parsing (2.4.7-r3)
(55/67) Installing py3-packaging (21.3-r0)
(56/67) Installing py3-tomli (2.0.0-r1)
(57/67) Installing py3-pep517 (0.12.0-r1)
(58/67) Installing py3-progress (1.6-r1)
(59/67) Installing py3-retrying (1.3.3-r3)
(60/67) Installing py3-ordered-set (4.0.2-r3)
(61/67) Installing py3-setuptools (52.0.0-r5)
(62/67) Installing py3-toml (0.10.2-r3)
(63/67) Installing py3-pip (21.3.1-r0)
(64/67) Installing pkgconf (1.8.0-r0)
(65/67) Installing python3-dev (3.10.2-r0)
(66/67) Installing libsodium-dev (1.0.18-r0)
(67/67) Installing zeromq-dev (4.3.4-r0)
Executing busybox-1.35.0-r5.trigger
Executing ca-certificates-20211220-r0.trigger
OK: 304 MiB in 82 packages
fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
(1/16) Installing pcre2 (10.39-r0)
(2/16) Installing git (2.35.1-r0)
(3/16) Installing libpq (14.2-r2)
(4/16) Installing openssl-dev (1.1.1n-r0)
(5/16) Installing libpq-dev (14.2-r2)
(6/16) Installing libecpg (14.2-r2)
(7/16) Installing libecpg-dev (14.2-r2)
(8/16) Installing libxml2 (2.9.13-r0)
(9/16) Installing llvm13-libs (13.0.1-r0)
(10/16) Installing clang-libs (13.0.1-r0)
(11/16) Installing clang (13.0.1-r0)
(12/16) Installing icu-libs (70.1-r0)
(13/16) Installing icu (70.1-r0)
(14/16) Installing icu-dev (70.1-r0)
(15/16) Installing llvm13 (13.0.1-r0)
(16/16) Installing postgresql14-dev (14.2-r2)
Executing busybox-1.35.0-r5.trigger
OK: 667 MiB in 98 packages
Removing intermediate container efa5e3f9b1e5
 ---> 10793ccb81d6
Step 11/23 : RUN ln -sf python3 /usr/bin/python
 ---> Running in 307f945365a8
Removing intermediate container 307f945365a8
 ---> 702be1051226
Step 12/23 : RUN pip install pipenv
 ---> Running in 6483785c5ba3
Collecting pipenv
  Downloading pipenv-2022.1.8-py2.py3-none-any.whl (3.6 MB)
Requirement already satisfied: pip>=18.0 in /usr/lib/python3.10/site-packages (from pipenv) (21.3.1)
Requirement already satisfied: certifi in /usr/lib/python3.10/site-packages (from pipenv) (2021.10.8)
Requirement already satisfied: setuptools>=36.2.1 in /usr/lib/python3.10/site-packages (from pipenv) (52.0.0)
Collecting virtualenv
  Downloading virtualenv-20.13.3-py2.py3-none-any.whl (8.7 MB)
Collecting virtualenv-clone>=0.2.5
  Downloading virtualenv_clone-0.5.7-py3-none-any.whl (6.6 kB)
Requirement already satisfied: six<2,>=1.9.0 in /usr/lib/python3.10/site-packages (from virtualenv->pipenv) (1.16.0)
Collecting filelock<4,>=3.2
  Downloading filelock-3.6.0-py3-none-any.whl (10.0 kB)
Collecting platformdirs<3,>=2
  Downloading platformdirs-2.5.1-py3-none-any.whl (14 kB)
Requirement already satisfied: distlib<1,>=0.3.1 in /usr/lib/python3.10/site-packages (from virtualenv->pipenv) (0.3.4)
Installing collected packages: platformdirs, filelock, virtualenv-clone, virtualenv, pipenv
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Successfully installed filelock-3.6.0 pipenv-2022.1.8 platformdirs-2.5.1 virtualenv-20.13.3 virtualenv-clone-0.5.7
Removing intermediate container 6483785c5ba3
 ---> da6e55e9feb7
Step 13/23 : COPY Pipfile .
 ---> b328c9417ba8
Step 14/23 : COPY Pipfile.lock .
 ---> d16e13c8386a
Step 15/23 : RUN pipenv install  --system --deploy && rm -rf /root/.cache
 ---> Running in 64d4c8bcca9e
Installing dependencies from Pipfile.lock (740007)...
An error occurred while installing packaging==20.9; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3' --hash=sha256:5b327ac1320dc863dca72f4514ecc086f31186744b84a230374cc1fd776feae5 --hash=sha256:67714da7f7bc052e064859c05c595155bd1ee9f69f76557e21f051443c20947a! Will try again.
Ignoring ruamel.yaml.clib: markers 'python_version < "3.10" and platform_python_implementation == "CPython"' don't match your environment
An error occurred while installing six==1.15.0; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3' --hash=sha256:30639c035cdb23534cd4aa2dd52c3bf48f06e5f4a941509c8bafd8ce11080259 --hash=sha256:8b74bedcbbbaca38ff6d7491d76f2b06b3592611af620f8426e82dddb04a5ced! Will try again.
Installing initially failed dependencies...
[pipenv.exceptions.InstallError]: Collecting packaging==20.9
[pipenv.exceptions.InstallError]:   Using cached packaging-20.9-py2.py3-none-any.whl (40 kB)
[pipenv.exceptions.InstallError]: Installing collected packages: packaging
[pipenv.exceptions.InstallError]:   Attempting uninstall: packaging
[pipenv.exceptions.InstallError]:     Found existing installation: packaging 21.3
[pipenv.exceptions.InstallError]: ERROR: Cannot uninstall 'packaging'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
ERROR: Couldn't install package: packaging
 Package installation failed...
/usr/lib/python3.10/subprocess.py:1067: ResourceWarning: subprocess 534 is still running
  _warn("subprocess %s is still running" % self.pid,
ResourceWarning: Enable tracemalloc to get the object allocation traceback
sys:1: ResourceWarning: unclosed file <_io.FileIO name=4 mode='rb' closefd=True>
ResourceWarning: Enable tracemalloc to get the object allocation traceback
sys:1: ResourceWarning: unclosed file <_io.FileIO name=7 mode='rb' closefd=True>
ResourceWarning: Enable tracemalloc to get the object allocation traceback
The command '/bin/sh -c pipenv install  --system --deploy && rm -rf /root/.cache' returned a non-zero code: 1
section_end:1647515042:build_script
section_start:1647515042:after_script
section_end:1647515043:after_script
section_start:1647515043:upload_artifacts_on_failure
section_end:1647515045:upload_artifacts_on_failure
ERROR: Job failed: exit code 1