Untitled

 avatar
unknown
plain_text
2 years ago
27 kB
4
Indexable
 bensonkwek@C02FC61MMD6R  ~/Odoo15_ZL/CICD/odoo-base-layers   HI-3193/lp_create_FE_fix  sh build-all.sh
build-all.sh: line 1: cd: odoo-base-layers: No such file or directory
.sh629408246689.dkr.ecr.us-west-1.amazonaws.com/zipline15-base-images:layer-odoo-community-2022-06-29 not found
[+] Building 8.3s (11/12)
[+] Building 8.6s (12/12) FINISHED
 => [internal] load build definition from Dockerfile                                                                                                                                             0.0s
 => => transferring dockerfile: 533B                                                                                                                                                             0.0s
 => [internal] load .dockerignore                                                                                                                                                                0.0s
 => => transferring context: 2B                                                                                                                                                                  0.0s
 => resolve image config for docker.io/docker/dockerfile:1.0.0-experimental                                                                                                                      1.1s
 => CACHED docker-image://docker.io/docker/dockerfile:1.0.0-experimental@sha256:d2d402b6fa1dae752f8c688d72066a912d7042cc1727213f7990cdb57f60df0c                                                 0.0s
 => [internal] load .dockerignore                                                                                                                                                                0.0s
 => => transferring context: 2B                                                                                                                                                                  0.0s
 => [internal] load build definition from Dockerfile                                                                                                                                             0.0s
 => => transferring dockerfile: 533B                                                                                                                                                             0.0s
 => [internal] load metadata for docker.io/library/alpine:latest                                                                                                                                 1.2s
 => [1/5] FROM docker.io/library/alpine@sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872                                                                                  0.5s
 => => resolve docker.io/library/alpine@sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872                                                                                  0.0s
 => => sha256:530afca65e2ea04227630ae746e0c85b2bd1a179379cbf2b6501b49c4cab2ccc 2.80MB / 2.80MB                                                                                                   0.3s
 => => sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 1.64kB / 1.64kB                                                                                                   0.0s
 => => sha256:9b2a28eb47540823042a2ba401386845089bb7b62a9637d55816132c4c3c36eb 528B / 528B                                                                                                       0.0s
 => => sha256:d7d3d98c851ff3a95dbcb70ce09d186c9aaf7e25d48d55c0f99aae360aecfd53 1.47kB / 1.47kB                                                                                                   0.0s
 => => extracting sha256:530afca65e2ea04227630ae746e0c85b2bd1a179379cbf2b6501b49c4cab2ccc                                                                                                        0.2s
 => [2/5] RUN apk add --update git openssh                                                                                                                                                       2.2s
 => [3/5] RUN mkdir -m 700 /root/.ssh;   touch -m 600 /root/.ssh/known_hosts;   ssh-keyscan github.com bitbucket.com > /root/.ssh/known_hosts                                                    1.8s
 => [4/5] RUN mkdir -p /opt/odoo                                                                                                                                                                 0.3s
 => ERROR [5/5] RUN --mount=type=ssh,id=github cd /opt/odoo && git clone git@github.com:odoo/odoo.git                                                                                            0.8s
------
 > [5/5] RUN --mount=type=ssh,id=github cd /opt/odoo && git clone git@github.com:odoo/odoo.git:
#12 0.219 Cloning into 'odoo'...
#12 0.825 git@github.com: Permission denied (publickey).
#12 0.826 fatal: Could not read from remote repository.
#12 0.826
#12 0.826 Please make sure you have the correct access rights
#12 0.826 and the repository exists.
------
executor failed running [/bin/sh -c cd /opt/odoo && git clone git@github.com:odoo/odoo.git]: exit code: 128
The push refers to repository [629408246689.dkr.ecr.us-west-1.amazonaws.com/zipline15-base-images]
An image does not exist locally with the tag: 629408246689.dkr.ecr.us-west-1.amazonaws.com/zipline15-base-images
629408246689.dkr.ecr.us-west-1.amazonaws.com/zipline15-base-images:layer-odoo-enterprise-2022-06-29 not found
[+] Building 1.8s (11/12)
[+] Building 2.1s (12/12) FINISHED
 => [internal] load build definition from Dockerfile                                                                                                                                             0.0s
 => => transferring dockerfile: 548B                                                                                                                                                             0.0s
 => [internal] load .dockerignore                                                                                                                                                                0.0s
 => => transferring context: 2B                                                                                                                                                                  0.0s
 => resolve image config for docker.io/docker/dockerfile:1.0.0-experimental                                                                                                                      0.4s
 => CACHED docker-image://docker.io/docker/dockerfile:1.0.0-experimental@sha256:d2d402b6fa1dae752f8c688d72066a912d7042cc1727213f7990cdb57f60df0c                                                 0.0s
 => [internal] load build definition from Dockerfile                                                                                                                                             0.0s
 => => transferring dockerfile: 548B                                                                                                                                                             0.0s
 => [internal] load .dockerignore                                                                                                                                                                0.0s
 => => transferring context: 2B                                                                                                                                                                  0.0s
 => [internal] load metadata for docker.io/library/alpine:latest                                                                                                                                 0.4s
 => [1/5] FROM docker.io/library/alpine@sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872                                                                                  0.0s
 => CACHED [2/5] RUN apk add --update git openssh                                                                                                                                                0.0s
 => CACHED [3/5] RUN mkdir -m 700 /root/.ssh;   touch -m 600 /root/.ssh/known_hosts;   ssh-keyscan github.com bitbucket.com > /root/.ssh/known_hosts                                             0.0s
 => CACHED [4/5] RUN mkdir -p /opt/odoo                                                                                                                                                          0.0s
 => ERROR [5/5] RUN --mount=type=ssh,id=github cd /opt/odoo && git clone git@github.com:novobi1/enterprise.git                                                                                   0.9s
------
 > [5/5] RUN --mount=type=ssh,id=github cd /opt/odoo && git clone git@github.com:novobi1/enterprise.git:
#12 0.235 Cloning into 'enterprise'...
#12 0.841 git@github.com: Permission denied (publickey).
#12 0.842 fatal: Could not read from remote repository.
#12 0.842
#12 0.842 Please make sure you have the correct access rights
#12 0.842 and the repository exists.
------
executor failed running [/bin/sh -c cd /opt/odoo && git clone git@github.com:novobi1/enterprise.git]: exit code: 128
The push refers to repository [629408246689.dkr.ecr.us-west-1.amazonaws.com/zipline15-base-images]
An image does not exist locally with the tag: 629408246689.dkr.ecr.us-west-1.amazonaws.com/zipline15-base-images
629408246689.dkr.ecr.us-west-1.amazonaws.com/zipline15-base-images:odoo15-zipline-base-2022-06-26 not found
[+] Building 145.3s (16/26)
[+] Building 147.8s (19/26)
 => [internal] load build definition from Dockerfile                                                                                                                                             0.0s
 => => transferring dockerfile: 4.07kB                                                                                                                                                           0.0s
 => [internal] load .dockerignore                                                                                                                                                                0.0s
 => => transferring context: 2B                                                                                                                                                                  0.0s
 => resolve image config for docker.io/docker/dockerfile:1.0.0-experimental                                                                                                                      0.2s
 => CACHED docker-image://docker.io/docker/dockerfile:1.0.0-experimental@sha256:d2d402b6fa1dae752f8c688d72066a912d7042cc1727213f7990cdb57f60df0c                                                 0.0s
 => [internal] load .dockerignore                                                                                                                                                                0.0s
 => => transferring context: 2B                                                                                                                                                                  0.0s
 => [internal] load build definition from Dockerfile                                                                                                                                             0.1s
 => => transferring dockerfile: 4.07kB                                                                                                                                                           0.0s
 => [internal] load metadata for 629408246689.dkr.ecr.us-west-1.amazonaws.com/zipline15-base-images:layer-odoo-enterprise-2022-06-29                                                             0.7s
 => [internal] load metadata for docker.io/library/python:3.7.9-slim-buster                                                                                                                      1.7s
 => [internal] load metadata for 629408246689.dkr.ecr.us-west-1.amazonaws.com/zipline15-base-images:layer-odoo-community-2022-06-29                                                              0.8s
 => [auth] sharing credentials for 629408246689.dkr.ecr.us-west-1.amazonaws.com                                                                                                                  0.0s
 => [stage-2 1/10] FROM docker.io/library/python:3.7.9-slim-buster@sha256:6a8b802fa7091bd775d5045ef23672c96a594738fa3efe667c222bf2612e842f                                                       0.1s
 => => resolve docker.io/library/python:3.7.9-slim-buster@sha256:6a8b802fa7091bd775d5045ef23672c96a594738fa3efe667c222bf2612e842f                                                                0.0s
 => => sha256:6a8b802fa7091bd775d5045ef23672c96a594738fa3efe667c222bf2612e842f 1.86kB / 1.86kB                                                                                                   0.0s
 => => sha256:df2ce532aee2fe98d750bceeee9f297d65dad734a456aacf7c60eb61e27d9f8e 1.37kB / 1.37kB                                                                                                   0.0s
 => => sha256:95df6bf70e35bef570140aecaa2dca450b3acd06706750d858cf93096d2b6381 8.28kB / 8.28kB                                                                                                   0.0s
 => CACHED [internal] helper image for file operations                                                                                                                                           0.0s
 => [odoo_enterprise 1/2] FROM 629408246689.dkr.ecr.us-west-1.amazonaws.com/zipline15-base-images:layer-odoo-enterprise-2022-06-29@sha256:ed153ffcacb5fbb08e03a5d586ebe55af63b0807b67f4b48121  141.6s
 => => resolve 629408246689.dkr.ecr.us-west-1.amazonaws.com/zipline15-base-images:layer-odoo-enterprise-2022-06-29@sha256:ed153ffcacb5fbb08e03a5d586ebe55af63b0807b67f4b481210dfedc942bd86       0.0s
 => => sha256:40677f4e3c791816beb11bb16f999609fb7d28d1a6e6b9c7987c4c2480d35a97 12.00MB / 12.00MB                                                                                                 8.5s
 => => sha256:f9bf98e246d7923ceb9ea687c3cc585134c47c3c96e12621b8459d327038e1c0 977B / 977B                                                                                                       0.3s
 => => sha256:ed153ffcacb5fbb08e03a5d586ebe55af63b0807b67f4b481210dfedc942bd86 1.37kB / 1.37kB                                                                                                   0.0s
 => => sha256:0903bfed751a3a59c98138be0693bb0b4530fd5bbd27cce336a1687bb7e0f140 1.64kB / 1.64kB                                                                                                   0.0s
 => => sha256:2408cc74d12b6cd092bb8b516ba7d5e290f485d3eb9672efc00f0583730179e8 2.80MB / 2.80MB                                                                                                   0.4s
 => => sha256:d7d5230c4b4a2d82626db54f23f4c4c86d6defe017cda6a3d51ee279e594996b 122B / 122B                                                                                                       0.4s
 => => extracting sha256:2408cc74d12b6cd092bb8b516ba7d5e290f485d3eb9672efc00f0583730179e8                                                                                                        0.2s
 => => sha256:1c0a673fa744ce2d546bc215bea2909f44923c880423232506784bf4d9c69a1c 602.83MB / 602.83MB                                                                                             116.5s
 => => extracting sha256:40677f4e3c791816beb11bb16f999609fb7d28d1a6e6b9c7987c4c2480d35a97                                                                                                        0.4s
 => => extracting sha256:f9bf98e246d7923ceb9ea687c3cc585134c47c3c96e12621b8459d327038e1c0                                                                                                      135.8s
 => => extracting sha256:d7d5230c4b4a2d82626db54f23f4c4c86d6defe017cda6a3d51ee279e594996b                                                                                                        0.0s
 => => extracting sha256:1c0a673fa744ce2d546bc215bea2909f44923c880423232506784bf4d9c69a1c                                                                                                       24.2s
 => [internal] load build context                                                                                                                                                                0.4s
 => => transferring context: 18.14MB                                                                                                                                                             0.4s
 => CANCELED [odoo_community 1/2] FROM 629408246689.dkr.ecr.us-west-1.amazonaws.com/zipline15-base-images:layer-odoo-community-2022-06-29@sha256:b038e610c8b8bcdbfe6ad1cbfd4e19b595054f2e43df  143.8s
 => => resolve 629408246689.dkr.ecr.us-west-1.amazonaws.com/zipline15-base-images:layer-odoo-community-2022-06-29@sha256:b038e610c8b8bcdbfe6ad1cbfd4e19b595054f2e43dfb80d5e8226a679960b94        0.0s
 => => sha256:2408cc74d12b6cd092bb8b516ba7d5e290f485d3eb9672efc00f0583730179e8 2.80MB / 2.80MB                                                                                                   0.4s
 => => sha256:40677f4e3c791816beb11bb16f999609fb7d28d1a6e6b9c7987c4c2480d35a97 12.00MB / 12.00MB                                                                                                 8.5s
 => => sha256:f9bf98e246d7923ceb9ea687c3cc585134c47c3c96e12621b8459d327038e1c0 977B / 977B                                                                                                       0.3s
 => => sha256:b038e610c8b8bcdbfe6ad1cbfd4e19b595054f2e43dfb80d5e8226a679960b94 1.37kB / 1.37kB                                                                                                   0.0s
 => => sha256:af14ced00bf791814f8edc3694945bb18475a230f3dd370c9b02f5b63c63cce7 1.63kB / 1.63kB                                                                                                   0.0s
 => => sha256:d7d5230c4b4a2d82626db54f23f4c4c86d6defe017cda6a3d51ee279e594996b 122B / 122B                                                                                                       0.4s
 => => sha256:57c685c09b9b2a25e295e64aa81cb7d7270e205984898622d5e2f32313081eb3 1.57GB / 4.92GB                                                                                                 144.8s
 => => extracting sha256:40677f4e3c791816beb11bb16f999609fb7d28d1a6e6b9c7987c4c2480d35a97                                                                                                      136.3s
 => => extracting sha256:f9bf98e246d7923ceb9ea687c3cc585134c47c3c96e12621b8459d327038e1c0                                                                                                        0.0s
 => [stage-2 2/10] COPY packages/wkhtmltox_0.12.5-1.buster_amd64.deb /etc/packages/wkhtmltox_0.12.5-1.buster_amd64.deb                                                                           0.2s
 => [stage-2 3/10] COPY odoo15-requirements.txt /etc/                                                                                                                                            0.2s
 => CANCELED [stage-2 4/10] RUN set -x;         apt-get update &&         DEBIAN_FRONTEND=noninteractive apt-get install -yq --no-install-recommends             ca-certificates               144.1s
 => ERROR [odoo_enterprise 2/2] RUN --mount=type=ssh,id=github cd /opt/odoo/enterprise && git pull && git checkout 15.0 && git checkout $ODOO_ENTERPRISE_COMMIT_ID && rm -rfv .git               2.2s
------
 > [odoo_enterprise 2/2] RUN --mount=type=ssh,id=github cd /opt/odoo/enterprise && git pull && git checkout 15.0 && git checkout $ODOO_ENTERPRISE_COMMIT_ID && rm -rfv .git:
#21 1.630 git@github.com: Permission denied (publickey).
#21 1.631 fatal: Could not read from remote repository.
#21 1.631
#21 1.631 Please make sure you have the correct access rights
#21 1.631 and the repository exists.
------
executor failed running [/bin/sh -c cd /opt/odoo/enterprise && git pull && git checkout 15.0 && git checkout $ODOO_ENTERPRISE_COMMIT_ID && rm -rfv .git]: exit code: 1
The push refers to repository [629408246689.dkr.ecr.us-west-1.amazonaws.com/zipline15-base-images]
An image does not exist locally with the tag: 629408246689.dkr.ecr.us-west-1.amazonaws.com/zipline15-base-images
 bensonkwek@C02FC61MMD6R  ~/Odoo15_ZL/CICD/odoo-base-layers   HI-3193/lp_create_FE_fix  .docker compose -up
zsh: command not found: .docker
 ✘ bensonkwek@C02FC61MMD6R  ~/Odoo15_ZL/CICD/odoo-base-layers   HI-3193/lp_create_FE_fix  docker-compose up -d
Creating network "odoo15_zl_default" with the default driver
Pulling db (postgres:13)...
13: Pulling from library/postgres
1efc276f4ff9: Pull complete
66c520df917d: Pull complete
5b124e6748c9: Pull complete
1a06bb042d01: Pull complete
e3849c675ec5: Pull complete
d3b2eaf1435b: Pull complete
074399829dc9: Pull complete
6feb085525d8: Pull complete
4153d17924d6: Pull complete
bc311b90edd7: Pull complete
9dab89a024b4: Pull complete
e60b3f3ab3f2: Pull complete
0091f9daf172: Pull complete
Digest: sha256:03652c675ae177af98ddd50f9f4b4b2cf8ad38d0e116aa68fe670fbc2cf250fc
Status: Downloaded newer image for postgres:13
Building odoo
[+] Building 0.6s (16/16) FINISHED
 => [internal] load build definition from Dockerfile                                                                                                                                             0.0s
 => => transferring dockerfile: 37B                                                                                                                                                              0.0s
 => [internal] load .dockerignore                                                                                                                                                                0.0s
 => => transferring context: 2B                                                                                                                                                                  0.0s
 => [internal] load metadata for 629408246689.dkr.ecr.us-west-1.amazonaws.com/zipline15-base-images:odoo15-zipline-base-2022-06-26                                                               0.2s
 => [auth] sharing credentials for 629408246689.dkr.ecr.us-west-1.amazonaws.com                                                                                                                  0.0s
 => [ 1/10] FROM 629408246689.dkr.ecr.us-west-1.amazonaws.com/zipline15-base-images:odoo15-zipline-base-2022-06-26@sha256:e60f5e8eef33fb05dcbe3d24f4cc5feecbcee3013a215b7e3d812b022e0893b4       0.0s
 => [internal] load build context                                                                                                                                                                0.2s
 => => transferring context: 211.56kB                                                                                                                                                            0.2s
 => CACHED [ 2/10] COPY pip.conf /etc/pip.conf                                                                                                                                                   0.0s
 => CACHED [ 3/10] COPY requirements.txt /requirements.txt                                                                                                                                       0.0s
 => CACHED [ 4/10] RUN pip3 install -r /requirements.txt                                                                                                                                         0.0s
 => CACHED [ 5/10] COPY entrypoint.sh /                                                                                                                                                          0.0s
 => CACHED [ 6/10] COPY make_env.py /                                                                                                                                                            0.0s
 => CACHED [ 7/10] COPY odoo.conf.template /                                                                                                                                                     0.0s
 => CACHED [ 8/10] RUN chmod +x /entrypoint.sh && chmod +x /opt/odoo/odoo/odoo-bin                                                                                                               0.0s
 => CACHED [ 9/10] RUN apt-get update && apt install -y geoip-database                                                                                                                           0.0s
 => CACHED [10/10] ADD hardware_info_systems/Odoo/customaddons/ /opt/odoo/customized_addons/                                                                                                     0.0s
 => exporting to image                                                                                                                                                                           0.0s
 => => exporting layers                                                                                                                                                                          0.0s
 => => writing image sha256:dc47bb5d78e489cf016f2baec8df72abbc7e1413987d23ab121008a2d2e87c5d                                                                                                     0.0s
 => => naming to docker.io/library/odoo15_zl_odoo                                                                                                                                                0.0s

Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them
WARNING: Image for service odoo was built because it did not already exist. To rebuild this image you must use `docker-compose build` or `docker-compose up --build`.
Creating odoo15_zl_db_1 ... done
Creating odoo15_zl_odoo_1 ... error

ERROR: for odoo15_zl_odoo_1  Cannot start service odoo: failed to create shim: OCI runtime create failed: container_linux.go:380: starting container process caused: exec: "/entrypoint.sh": permission denied: unknown

ERROR: for odoo  Cannot start service odoo: failed to create shim: OCI runtime create failed: container_linux.go:380: starting container process caused: exec: "/entrypoint.sh": permission denied: unknown
ERROR: Encountered errors while bringing up the project.