OCL API 2
Build: #2366 failed
Job: Build oclapi2 was successful
Job result summary
- Completed
- Duration
- 45 seconds
- Agent
- xiao.openmrs.org (2)
- Revision
-
25d46c36c2c5695e5221b6c679475b13ed2d6179
- Successful since
- #2293 ()
Error summary
The build generated some errors. See the full build log for more details.
+ set +x
#0 building with "default" instance using docker driver
#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 1.47kB done
#1 DONE 0.0s
#2 [internal] load metadata for docker.io/library/python:3.10-slim
#2 DONE 0.3s
#3 [internal] load .dockerignore
#3 transferring context: 276B done
#3 DONE 0.0s
#4 [builder 1/7] FROM docker.io/library/python:3.10-slim@sha256:621488956f7e14ca249420e37dbecd59f669a8776bef0429aa89a4ebd8c6de9e
#4 DONE 0.0s
#5 [internal] load build context
#5 transferring context: 47.70kB 0.0s done
#5 DONE 0.1s
#6 [stage-1 7/16] RUN apt-get update && apt-get upgrade -y && apt-get install -y --no-install-recommends libpq-dev bash curl && apt-get clean && rm -rf /var/lib/apt/lists/*
#6 CACHED
#7 [builder 2/7] RUN apt-get update && apt-get upgrade -y && apt-get install -y --no-install-recommends bash git gcc libssl-dev libffi-dev libpq-dev python3-dev build-essential cargo
#7 CACHED
#8 [stage-1 9/16] COPY --from=builder /code/wheels /wheels
#8 CACHED
#9 [stage-1 2/16] RUN groupadd -r ocl && useradd -r -g ocl ocl
#9 CACHED
#10 [builder 6/7] ADD requirements.txt /code/
#10 CACHED
#11 [stage-1 11/16] RUN pip install --no-cache-dir /wheels/*
#11 CACHED
#12 [stage-1 4/16] RUN chmod -R 0777 /home/ocl
#12 CACHED
#13 [stage-1 3/16] RUN mkdir /home/ocl
#13 CACHED
#14 [stage-1 8/16] RUN pip install --upgrade pip
#14 CACHED
#15 [builder 7/7] RUN pip wheel --no-cache-dir --wheel-dir /code/wheels -r requirements.txt
#15 CACHED
#16 [builder 4/7] RUN mkdir /code
#16 CACHED
#17 [builder 5/7] WORKDIR /code
#17 CACHED
#18 [stage-1 5/16] RUN mkdir -p /code /temp /staticfiles /uploads && chown -R ocl:ocl /code /temp /staticfiles /uploads
#18 CACHED
#19 [stage-1 10/16] COPY --from=builder /code/requirements.txt .
#19 CACHED
#20 [builder 3/7] RUN pip install --upgrade pip
#20 CACHED
#21 [stage-1 6/16] WORKDIR /code
#21 CACHED
#22 [stage-1 12/16] RUN rm -rf /wheels
#22 CACHED
#23 [stage-1 13/16] ADD --chown=ocl:ocl . /code
#23 DONE 0.9s
#24 [stage-1 14/16] RUN python manage.py collectstatic --noinput
#24 13.91
#24 13.91 285 static files copied to '/staticfiles', 225 post-processed.
#24 DONE 15.1s
#25 [stage-1 15/16] RUN chmod +x set_build_version.sh wait_for_it.sh startup.sh start_celery_worker.sh ping_celery_worker.sh start_flower.sh
#25 DONE 0.3s
#26 [stage-1 16/16] RUN ["bash", "-c", "./set_build_version.sh"]
#26 0.273 Setting build version to 25d46c36 in core/__init__.py
#26 DONE 0.3s
#27 exporting to image
#27 exporting layers
#27 exporting layers 0.9s done
#27 writing image sha256:a8d239dd959d6b547927a41a6b04927a2ec1f7c7c2b5d4c3a1b342671f4ec9cf done
#27 naming to docker.io/openconceptlab/oclapi2:nightly done
#27 DONE 0.9s
WARNING! Using --password via the CLI is insecure. Use --password-stdin.
WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credential-stores
#0 building with "default" instance using docker driver
#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 1.47kB done
#1 DONE 0.0s
#2 [internal] load metadata for docker.io/library/python:3.10-slim
#2 DONE 0.3s
#3 [internal] load .dockerignore
#3 transferring context: 276B done
#3 DONE 0.0s
#4 [builder 1/7] FROM docker.io/library/python:3.10-slim@sha256:621488956f7e14ca249420e37dbecd59f669a8776bef0429aa89a4ebd8c6de9e
#4 DONE 0.0s
#5 [internal] load build context
#5 transferring context: 47.70kB 0.0s done
#5 DONE 0.1s
#6 [stage-1 7/16] RUN apt-get update && apt-get upgrade -y && apt-get install -y --no-install-recommends libpq-dev bash curl && apt-get clean && rm -rf /var/lib/apt/lists/*
#6 CACHED
#7 [builder 2/7] RUN apt-get update && apt-get upgrade -y && apt-get install -y --no-install-recommends bash git gcc libssl-dev libffi-dev libpq-dev python3-dev build-essential cargo
#7 CACHED
#8 [stage-1 9/16] COPY --from=builder /code/wheels /wheels
#8 CACHED
#9 [stage-1 2/16] RUN groupadd -r ocl && useradd -r -g ocl ocl
#9 CACHED
#10 [builder 6/7] ADD requirements.txt /code/
#10 CACHED
#11 [stage-1 11/16] RUN pip install --no-cache-dir /wheels/*
#11 CACHED
#12 [stage-1 4/16] RUN chmod -R 0777 /home/ocl
#12 CACHED
#13 [stage-1 3/16] RUN mkdir /home/ocl
#13 CACHED
#14 [stage-1 8/16] RUN pip install --upgrade pip
#14 CACHED
#15 [builder 7/7] RUN pip wheel --no-cache-dir --wheel-dir /code/wheels -r requirements.txt
#15 CACHED
#16 [builder 4/7] RUN mkdir /code
#16 CACHED
#17 [builder 5/7] WORKDIR /code
#17 CACHED
#18 [stage-1 5/16] RUN mkdir -p /code /temp /staticfiles /uploads && chown -R ocl:ocl /code /temp /staticfiles /uploads
#18 CACHED
#19 [stage-1 10/16] COPY --from=builder /code/requirements.txt .
#19 CACHED
#20 [builder 3/7] RUN pip install --upgrade pip
#20 CACHED
#21 [stage-1 6/16] WORKDIR /code
#21 CACHED
#22 [stage-1 12/16] RUN rm -rf /wheels
#22 CACHED
#23 [stage-1 13/16] ADD --chown=ocl:ocl . /code
#23 DONE 0.9s
#24 [stage-1 14/16] RUN python manage.py collectstatic --noinput
#24 13.91
#24 13.91 285 static files copied to '/staticfiles', 225 post-processed.
#24 DONE 15.1s
#25 [stage-1 15/16] RUN chmod +x set_build_version.sh wait_for_it.sh startup.sh start_celery_worker.sh ping_celery_worker.sh start_flower.sh
#25 DONE 0.3s
#26 [stage-1 16/16] RUN ["bash", "-c", "./set_build_version.sh"]
#26 0.273 Setting build version to 25d46c36 in core/__init__.py
#26 DONE 0.3s
#27 exporting to image
#27 exporting layers
#27 exporting layers 0.9s done
#27 writing image sha256:a8d239dd959d6b547927a41a6b04927a2ec1f7c7c2b5d4c3a1b342671f4ec9cf done
#27 naming to docker.io/openconceptlab/oclapi2:nightly done
#27 DONE 0.9s
WARNING! Using --password via the CLI is insecure. Use --password-stdin.
WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credential-stores