OCL API 2
Build: #188 failed
Job: Build oclapi2 was successful
Job result summary
- Completed
- Duration
- 55 seconds
- Agent
- ploong.openmrs.org
- Revision
-
d28e25df1321bf5fdbdccbd32e4b74b684ccabd3
- Successful since
- #187 ()
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:420fbb0e468d3eaf0f7e93ea6f7a48792cbcadc39d43ac95b96bee2afe4367da
#4 DONE 0.0s
#5 [internal] load build context
#5 transferring context: 286.55MB 1.4s done
#5 DONE 1.4s
#6 [stage-1 6/16] WORKDIR /code
#6 CACHED
#7 [stage-1 11/16] RUN pip install --no-cache-dir /wheels/*
#7 CACHED
#8 [stage-1 8/16] RUN pip install --upgrade pip
#8 CACHED
#9 [builder 3/7] RUN pip install --upgrade pip
#9 CACHED
#10 [builder 5/7] WORKDIR /code
#10 CACHED
#11 [stage-1 5/16] RUN mkdir -p /code /temp /staticfiles /uploads && chown -R ocl:ocl /code /temp /staticfiles /uploads
#11 CACHED
#12 [stage-1 10/16] COPY --from=builder /code/requirements.txt .
#12 CACHED
#13 [builder 6/7] ADD requirements.txt /code/
#13 CACHED
#14 [stage-1 3/16] RUN mkdir /home/ocl
#14 CACHED
#15 [builder 7/7] RUN pip wheel --no-cache-dir --wheel-dir /code/wheels -r requirements.txt
#15 CACHED
#16 [stage-1 4/16] RUN chmod -R 0777 /home/ocl
#16 CACHED
#17 [stage-1 9/16] COPY --from=builder /code/wheels /wheels
#17 CACHED
#18 [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
#18 CACHED
#19 [builder 4/7] RUN mkdir /code
#19 CACHED
#20 [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/*
#20 CACHED
#21 [stage-1 2/16] RUN groupadd -r ocl && useradd -r -g ocl ocl
#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.7s
#24 [stage-1 14/16] RUN python manage.py collectstatic --noinput
#24 15.31 /usr/local/lib/python3.10/site-packages/drf_yasg/__init__.py:2: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
#24 15.31 from pkg_resources import DistributionNotFound, get_distribution
#24 20.30
#24 20.30 285 static files copied to '/staticfiles', 225 post-processed.
#24 DONE 23.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.4s
#26 [stage-1 16/16] RUN ["bash", "-c", "./set_build_version.sh"]
#26 0.278 Setting build version to d28e25df in core/__init__.py
#26 DONE 0.4s
#27 exporting to image
#27 exporting layers
#27 exporting layers 0.7s done
#27 writing image sha256:5f369aa88a110355076f02182edaf4301d0b876e9f4a6750f57edaa4027cca14 done
#27 naming to docker.io/openconceptlab/oclapi2:nightly-dev done
#27 DONE 0.7s
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:420fbb0e468d3eaf0f7e93ea6f7a48792cbcadc39d43ac95b96bee2afe4367da
#4 DONE 0.0s
#5 [internal] load build context
#5 transferring context: 286.55MB 1.4s done
#5 DONE 1.4s
#6 [stage-1 6/16] WORKDIR /code
#6 CACHED
#7 [stage-1 11/16] RUN pip install --no-cache-dir /wheels/*
#7 CACHED
#8 [stage-1 8/16] RUN pip install --upgrade pip
#8 CACHED
#9 [builder 3/7] RUN pip install --upgrade pip
#9 CACHED
#10 [builder 5/7] WORKDIR /code
#10 CACHED
#11 [stage-1 5/16] RUN mkdir -p /code /temp /staticfiles /uploads && chown -R ocl:ocl /code /temp /staticfiles /uploads
#11 CACHED
#12 [stage-1 10/16] COPY --from=builder /code/requirements.txt .
#12 CACHED
#13 [builder 6/7] ADD requirements.txt /code/
#13 CACHED
#14 [stage-1 3/16] RUN mkdir /home/ocl
#14 CACHED
#15 [builder 7/7] RUN pip wheel --no-cache-dir --wheel-dir /code/wheels -r requirements.txt
#15 CACHED
#16 [stage-1 4/16] RUN chmod -R 0777 /home/ocl
#16 CACHED
#17 [stage-1 9/16] COPY --from=builder /code/wheels /wheels
#17 CACHED
#18 [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
#18 CACHED
#19 [builder 4/7] RUN mkdir /code
#19 CACHED
#20 [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/*
#20 CACHED
#21 [stage-1 2/16] RUN groupadd -r ocl && useradd -r -g ocl ocl
#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.7s
#24 [stage-1 14/16] RUN python manage.py collectstatic --noinput
#24 15.31 /usr/local/lib/python3.10/site-packages/drf_yasg/__init__.py:2: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
#24 15.31 from pkg_resources import DistributionNotFound, get_distribution
#24 20.30
#24 20.30 285 static files copied to '/staticfiles', 225 post-processed.
#24 DONE 23.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.4s
#26 [stage-1 16/16] RUN ["bash", "-c", "./set_build_version.sh"]
#26 0.278 Setting build version to d28e25df in core/__init__.py
#26 DONE 0.4s
#27 exporting to image
#27 exporting layers
#27 exporting layers 0.7s done
#27 writing image sha256:5f369aa88a110355076f02182edaf4301d0b876e9f4a6750f57edaa4027cca14 done
#27 naming to docker.io/openconceptlab/oclapi2:nightly-dev done
#27 DONE 0.7s
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