OCL API 2

Build: #201 did not complete

Job: Build oclapi2 did not complete

Stages & jobs

  1. Build

  2. Test

  3. Deploy for testing

    Requires a user to start manually
  4. Release

    Requires a user to start manually

Job result summary

Queued
Source updated
Started
Completed
Cancelled
Flags
Custom revision
Agent
xiao.openmrs.org
Revision
c3d416977edc7a16980ac1334f7ffd97cd05f463

Custom variables

Custom revision
c3d416977edc7a16980ac1334f7ffd97cd05f463

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.56MB 2.4s done
#5 DONE 2.4s

#6 [stage-1  6/16] WORKDIR /code
#6 CACHED

#7 [builder 4/7] RUN mkdir /code
#7 CACHED

#8 [stage-1 10/16] COPY --from=builder /code/requirements.txt .
#8 CACHED

#9 [stage-1  4/16] RUN chmod -R 0777 /home/ocl
#9 CACHED

#10 [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/*
#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 [builder 3/7] RUN pip install --upgrade pip
#12 CACHED

#13 [builder 6/7] ADD requirements.txt /code/
#13 CACHED

#14 [stage-1 11/16] RUN pip install --no-cache-dir /wheels/*
#14 CACHED

#15 [stage-1  2/16] RUN groupadd -r ocl && useradd -r -g ocl ocl
#15 CACHED

#16 [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
#16 CACHED

#17 [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
#17 CACHED

#18 [stage-1 12/16] RUN rm -rf /wheels
#18 CACHED

#19 [stage-1  3/16] RUN mkdir /home/ocl
#19 CACHED

#20 [builder 5/7] WORKDIR /code
#20 CACHED

#21 [builder 7/7] RUN pip wheel --no-cache-dir --wheel-dir /code/wheels -r requirements.txt
#21 CACHED

#22 [stage-1  9/16] COPY --from=builder /code/wheels /wheels
#22 CACHED

#23 [stage-1 14/16] RUN python manage.py collectstatic --noinput
#23 CACHED

#24 [stage-1  8/16] RUN pip install --upgrade pip
#24 CACHED

#25 [stage-1 13/16] ADD --chown=ocl:ocl . /code
#25 CACHED

#26 [stage-1 16/16] RUN ["bash", "-c", "./set_build_version.sh"]
#26 CACHED

#27 exporting to image
#27 exporting layers done
#27 writing image sha256:46eba6cf4f201f1a3e070c7112a04bd22b5c5d9a4ae06b941bc4d3566d3d3377 done
#27 naming to docker.io/openconceptlab/oclapi2:nightly-dev done
#27 DONE 0.0s

4 warnings found (use docker --debug to expand):
 - LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 2)
- LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 3)
- LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 18)
- LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 19)
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

Build was manually stopped.