GoogleContainerTools / kaniko

Build Container Images In Kubernetes
Apache License 2.0
14.73k stars 1.43k forks source link

Build falls when getting base image #1021

Closed raijinsetsu closed 4 years ago

raijinsetsu commented 4 years ago

Actual behavior I receive the following when building under v0.17.0: error building image: error building stage: failed to get filesystem from image: error removing var/run to make way for new symlink: unlinkat /var/run/docker.sock: device or resource busy

Reverting to v0.16.0 allows the build to complete.

Here is the log output with some context:

Step #0 - "RestServer:Build:build": gcr.io/kaniko-project/executor:latest
Step #0 - "RestServer:Build:build": INFO[0000] Resolved base name node:${node_version} to node:12.14.1
Step #0 - "RestServer:Build:build": INFO[0000] Using dockerignore file: /workspace/.dockerignore
Step #0 - "RestServer:Build:build": INFO[0000] Resolved base name node:${node_version} to node:12.14.1
ERROR: (gcloud.builds.submit) build eff83275-73d4-438a-a675-d513b6571e23 completed with status "FAILURE"
Step #0 - "RestServer:Build:build": INFO[0000] Retrieving image manifest node:12.14.1
Step #0 - "RestServer:Build:build": INFO[0000] Retrieving image manifest node:12.14.1
Step #0 - "RestServer:Build:build": INFO[0001] Built cross stage deps: map[]
Step #0 - "RestServer:Build:build": INFO[0001] Retrieving image manifest node:12.14.1
Step #0 - "RestServer:Build:build": INFO[0001] Retrieving image manifest node:12.14.1
Step #0 - "RestServer:Build:build": INFO[0001] Checking for cached layer gcr.io/nth-fort-242316/rest-server/build/cache:3622f232ccd64eb18a40794ce830280842fb7991d171d1a81452e57bdb1d4944...
Step #0 - "RestServer:Build:build": INFO[0001] No cached layer found for cmd RUN npm install -g lerna@${lerna_version}
Step #0 - "RestServer:Build:build": INFO[0001] Resolving srcs [check-changes.sh lerna.json package*.json tsconfig.json]...
Step #0 - "RestServer:Build:build": INFO[0002] Resolving srcs [packages/server/package*.json]...
Step #0 - "RestServer:Build:build": INFO[0002] Resolving srcs [packages/base-build/package*.json]...
Step #0 - "RestServer:Build:build": INFO[0002] Resolving srcs [apps/admin-panel/package*.json]...
Step #0 - "RestServer:Build:build": INFO[0002] Unpacking rootfs as cmd RUN npm install -g lerna@${lerna_version} requires it.
Step #0 - "RestServer:Build:build": error building image: error building stage: failed to get filesystem from image: error removing var/run to make way for new symlink: unlinkat /var/run/docker.sock: device or resource busy
Finished Step #0 - "RestServer:Build:build"
ERROR
ERROR: build step 0 "gcr.io/kaniko-project/executor:latest" failed: exit status 1

Expected behavior I expect my build to run.

To Reproduce We're using node:12.14.1 as the base image. Dockerfile is below.

Additional Information

FROM node:${node_version}

ARG build_type ARG commit_sha ARG lerna_version ARG rest_path

WORKDIR ${rest_path}

===== Create Build Environment

ENV REST_BUILD Docker RUN npm install -g lerna@${lerna_version}

===== Copy Sources for Bootstrap

COPY modules/ ${rest_path}/modules/ COPY packages/ng/ ${rest_path}/packages/ng/ COPY scripts/ ${rest_path}/scripts/ COPY configs/ ${rest_path}/configs/ COPY check-changes.sh lerna.json package*.json tsconfig.json ${rest_path}/ COPY tokens/READ_ONLY_TOKEN.npmrc /root/.npmrc

COPY packages/server/package.json ${rest_path}/packages/server/ COPY packages/base-build/package.json ${rest_path}/packages/base-build/ COPY apps/admin-panel/package*.json ${rest_path}/apps/admin-panel/

===== Bootstrap

Build the modules and link local modules

RUN scripts/bootstrap.sh -f

===== Compile

ENV COMMIT_SHA ${commit_sha} COPY packages/server/ ${rest_path}/packages/server/ COPY packages/base-build/ ${rest_path}/packages/base-build/ COPY apps/admin-panel/ ${rest_path}/apps/admin-panel/ RUN scripts/build.sh --ci


 - Build Context
Build fails before the context is used.
 - Kaniko Image (fully qualified with digest)
 Broken under v0.17.0/latest, digest: `sha256:c65c64d157bb6b1f15278e8ee28b02184e83e39340ddc25d346f18396c24da1d`
Works under v0.16.0, digest: `sha256:f116560a308ead98708bd66b80fe06ab19a70355d590060aa4a01703d8b17203`

 **Triage Notes for the Maintainers**
 <!-- 🎉🎉🎉 Thank you for an opening an issue !!! 🎉🎉🎉
We are doing our best to get to this. Please help us by helping us prioritize your issue by filling the section below -->

 | **Description** | **Yes/No** |
 |----------------|---------------|
 | Please check if this a new feature you are proposing        | <ul><li>- [ ] </li></ul>|
 | Please check if the build works in docker but not in kaniko | <ul><li>- [ ] </li></ul>| 
 | Please check if this error is seen when you use `--cache` flag | <ul><li>- [ ] </li></ul>|
 | Please check if your dockerfile is a multistage dockerfile | <ul><li>- [ ] </li></ul>| 
afirth commented 4 years ago

relates #1001 (bottom of comments) breaks our cloudbuilds too, not mounting anything funny (stage 1 golang, stage 2 distroless)

stevehipwell commented 4 years ago

In GitLab CI using the debug image we get the following error building image: error building stage: failed to get filesystem from image: error removing var/run to make way for new symlink: unlinkat /var/run/secrets/kubernetes.io/serviceaccount/..2020_02_04_07_54_57.166504180: read-only file system.

pehbehbeh commented 4 years ago

@stevehipwell same here. :-/

davidschrooten commented 4 years ago

same here

liemdo commented 4 years ago

We get the same error in Google Cloud Build.

LanceSandino commented 4 years ago

Reverted to v16 for now and working.

raijinsetsu commented 4 years ago

The fix is listed in #1001

tejal29 commented 4 years ago

@raijinsetsu Can you please give us trace logs using -v=trace options. Also can you please mention your kaniko command

raijinsetsu commented 4 years ago

Here is my cloudbuild.yaml:

steps:
    - name: "gcr.io/kaniko-project/executor:v0.17.0"
      id: "build"
      args:
          - --cache=true
          - --cache-ttl=12h
          - -v=trace
          - --destination=${_RESTSERVER_BUILD_IMAGE}
          - --dockerfile=ci/builds/RestServer/build/Dockerfile
          - --build-arg=build_type=${_BUILD_TYPE}
          - --build-arg=commit_sha=${COMMIT_SHA}
          - --build-arg=lerna_version=${_LERNA_VERSION}
          - --build-arg=node_version=${_NODE_VERSION}
          - --build-arg=rest_path=${_REST_PATH}
    # TODO: add testing steps
timeout: 3600s

Logs will take a little bit as I'm traveling.

raijinsetsu commented 4 years ago

I got to it quicker than I expected. See attached. build.log

tejal29 commented 4 years ago

No worries @raijinsetsu we have the logs now.

Fetching storage object: gs://tejal-test_cloudbuild/source/1580841182.179646-0da454182f2340489839c5d1e962f3d3.tgz#1580841225902348
Copying gs://tejal-test_cloudbuild/source/1580841182.179646-0da454182f2340489839c5d1e962f3d3.tgz#1580841225902348...
| [1 files][150.5 MiB/150.5 MiB]                                                
Operation completed over 1 objects/150.5 MiB.                                    
BUILD
Pulling image: gcr.io/kaniko-project/executor:debug
debug: Pulling from kaniko-project/executor
bfb70510d7c5: Pulling fs layer
dc2057c58a5b: Pulling fs layer
1fcacdcafaa9: Pulling fs layer
d06d96ef79d9: Pulling fs layer
a7090596b381: Pulling fs layer
e6f4337a185f: Pulling fs layer
4536006be0b7: Pulling fs layer
d06d96ef79d9: Waiting
a7090596b381: Waiting
e6f4337a185f: Waiting
4536006be0b7: Waiting
dc2057c58a5b: Verifying Checksum
dc2057c58a5b: Download complete
1fcacdcafaa9: Verifying Checksum
1fcacdcafaa9: Download complete
d06d96ef79d9: Verifying Checksum
d06d96ef79d9: Download complete
a7090596b381: Verifying Checksum
a7090596b381: Download complete
e6f4337a185f: Verifying Checksum
e6f4337a185f: Download complete
4536006be0b7: Download complete
bfb70510d7c5: Verifying Checksum
bfb70510d7c5: Download complete
bfb70510d7c5: Pull complete
dc2057c58a5b: Pull complete
1fcacdcafaa9: Pull complete
d06d96ef79d9: Pull complete
a7090596b381: Pull complete
e6f4337a185f: Pull complete
4536006be0b7: Pull complete
Digest: sha256:53bf8a6d56fed34914676e8d930fd96c3969914d96082de08dc99bf31f09c636
Status: Downloaded newer image for gcr.io/kaniko-project/executor:debug
gcr.io/kaniko-project/executor:debug
DEBU[0000] Getting source context from dir:///usr/local/google/home/tejaldesai/workspace/kaniko/integration 
DEBU[0000] Build context located at /usr/local/google/home/tejaldesai/workspace/kaniko/integration 
DEBU[0000] Copying file /workspace/dockerfiles/Dockerfile_test_copy to /kaniko/Dockerfile 
DEBU[0000] Skip resolving path /kaniko/Dockerfile       
DEBU[0000] Skip resolving path /usr/local/google/home/tejaldesai/workspace/kaniko/integration 
DEBU[0000] Skip resolving path /cache                   
DEBU[0000] Skip resolving path                          
DEBU[0000] Skip resolving path                          
DEBU[0000] Skip resolving path                          
INFO[0000] Resolved base name alpine@sha256:5ce5f501c457015c4b91f91a15ac69157d9b06f1a75cf9107bf2b62e0843983a to alpine@sha256:5ce5f501c457015c4b91f91a15ac69157d9b06f1a75cf9107bf2b62e0843983a 
INFO[0000] Resolved base name alpine@sha256:5ce5f501c457015c4b91f91a15ac69157d9b06f1a75cf9107bf2b62e0843983a to alpine@sha256:5ce5f501c457015c4b91f91a15ac69157d9b06f1a75cf9107bf2b62e0843983a 
DEBU[0000] No file found for cache key sha256:5ce5f501c457015c4b91f91a15ac69157d9b06f1a75cf9107bf2b62e0843983a stat /cache/sha256:5ce5f501c457015c4b91f91a15ac69157d9b06f1a75cf9107bf2b62e0843983a: no such file or directory 
DEBU[0000] Image alpine@sha256:5ce5f501c457015c4b91f91a15ac69157d9b06f1a75cf9107bf2b62e0843983a not found in cache 
INFO[0000] Retrieving image manifest alpine@sha256:5ce5f501c457015c4b91f91a15ac69157d9b06f1a75cf9107bf2b62e0843983a 
INFO[0000] Built cross stage deps: map[]                
DEBU[0000] No file found for cache key sha256:5ce5f501c457015c4b91f91a15ac69157d9b06f1a75cf9107bf2b62e0843983a stat /cache/sha256:5ce5f501c457015c4b91f91a15ac69157d9b06f1a75cf9107bf2b62e0843983a: no such file or directory 
DEBU[0000] Image alpine@sha256:5ce5f501c457015c4b91f91a15ac69157d9b06f1a75cf9107bf2b62e0843983a not found in cache 
INFO[0000] Retrieving image manifest alpine@sha256:5ce5f501c457015c4b91f91a15ac69157d9b06f1a75cf9107bf2b62e0843983a 
INFO[0000] Unpacking rootfs as cmd COPY context/foo foo requires it. 
TRAC[0000] Read the following line from /proc/self/mountinfo: 487 392 0:47 / / rw,relatime master:33 - overlay overlay rw,lowerdir=/var/lib/docker/overlay2/l/W4XRHNSPCKS4ELWAJS5UPOOLX3:/var/lib/docker/overlay2/l/5GO2FVRPU6WT4WQ46HYQ3ZJX7N:/var/lib/docker/overlay2/l/IE2LJTD2723DHC55MRLM5PQUHW:/var/lib/docker/overlay2/l/LZXVHW44HXHLR32Y2PBY4MDSDP:/var/lib/docker/overlay2/l/IOPDTM76P42FDVZCP2MTXP42LT:/var/lib/docker/overlay2/l/EZHCKLE5VEA7ZQK4OCJLFU6XHL:/var/lib/docker/overlay2/l/AFO2MA4OKUSEFDXNLZHUBN6UN7:/var/lib/docker/overlay2/l/E3JJHDNNH2H2M3F7DLGPIGDTZZ,upperdir=/var/lib/docker/overlay2/8a3ccdd7cc54ecda0fd3ac5b207bd51d385770cd768f4a563f9e280d83803029/diff,workdir=/var/lib/docker/overlay2/8a3ccdd7cc54ecda0fd3ac5b207bd51d385770cd768f4a563f9e280d83803029/work 
TRAC[0000] Read the following line from /proc/self/mountinfo: 488 487 0:85 / /proc rw,nosuid,nodev,noexec,relatime - proc proc rw 
TRAC[0000] Appending /proc from line: 488 487 0:85 / /proc rw,nosuid,nodev,noexec,relatime - proc proc rw 
TRAC[0000] Read the following line from /proc/self/mountinfo: 489 487 0:86 / /dev rw,nosuid - tmpfs tmpfs rw,size=65536k,mode=755 
TRAC[0000] Appending /dev from line: 489 487 0:86 / /dev rw,nosuid - tmpfs tmpfs rw,size=65536k,mode=755 
TRAC[0000] Read the following line from /proc/self/mountinfo: 490 489 0:87 / /dev/pts rw,nosuid,noexec,relatime - devpts devpts rw,gid=5,mode=620,ptmxmode=666 
TRAC[0000] Appending /dev/pts from line: 490 489 0:87 / /dev/pts rw,nosuid,noexec,relatime - devpts devpts rw,gid=5,mode=620,ptmxmode=666 
TRAC[0000] Read the following line from /proc/self/mountinfo: 491 487 0:88 / /sys rw,nosuid,nodev,noexec,relatime - sysfs sysfs rw 
TRAC[0000] Appending /sys from line: 491 487 0:88 / /sys rw,nosuid,nodev,noexec,relatime - sysfs sysfs rw 
TRAC[0000] Read the following line from /proc/self/mountinfo: 492 491 0:89 / /sys/fs/cgroup rw,nosuid,nodev,noexec,relatime - tmpfs tmpfs rw,mode=755 
TRAC[0000] Appending /sys/fs/cgroup from line: 492 491 0:89 / /sys/fs/cgroup rw,nosuid,nodev,noexec,relatime - tmpfs tmpfs rw,mode=755 
TRAC[0000] Read the following line from /proc/self/mountinfo: 493 492 0:28 /docker/5f1efaff45e8c67815500684402624a7662415f5df87fd5b6359e99b606e5746 /sys/fs/cgroup/systemd rw,nosuid,nodev,noexec,relatime master:11 - cgroup cgroup rw,xattr,name=systemd 
TRAC[0000] Appending /sys/fs/cgroup/systemd from line: 493 492 0:28 /docker/5f1efaff45e8c67815500684402624a7662415f5df87fd5b6359e99b606e5746 /sys/fs/cgroup/systemd rw,nosuid,nodev,noexec,relatime master:11 - cgroup cgroup rw,xattr,name=systemd 
TRAC[0000] Read the following line from /proc/self/mountinfo: 494 492 0:30 /docker/5f1efaff45e8c67815500684402624a7662415f5df87fd5b6359e99b606e5746 /sys/fs/cgroup/net_cls,net_prio rw,nosuid,nodev,noexec,relatime master:14 - cgroup cgroup rw,net_cls,net_prio 
TRAC[0000] Appending /sys/fs/cgroup/net_cls,net_prio from line: 494 492 0:30 /docker/5f1efaff45e8c67815500684402624a7662415f5df87fd5b6359e99b606e5746 /sys/fs/cgroup/net_cls,net_prio rw,nosuid,nodev,noexec,relatime master:14 - cgroup cgroup rw,net_cls,net_prio 
TRAC[0000] Read the following line from /proc/self/mountinfo: 495 492 0:31 /docker/5f1efaff45e8c67815500684402624a7662415f5df87fd5b6359e99b606e5746 /sys/fs/cgroup/hugetlb rw,nosuid,nodev,noexec,relatime master:15 - cgroup cgroup rw,hugetlb 
TRAC[0000] Appending /sys/fs/cgroup/hugetlb from line: 495 492 0:31 /docker/5f1efaff45e8c67815500684402624a7662415f5df87fd5b6359e99b606e5746 /sys/fs/cgroup/hugetlb rw,nosuid,nodev,noexec,relatime master:15 - cgroup cgroup rw,hugetlb 
TRAC[0000] Read the following line from /proc/self/mountinfo: 496 492 0:32 /docker/5f1efaff45e8c67815500684402624a7662415f5df87fd5b6359e99b606e5746 /sys/fs/cgroup/pids rw,nosuid,nodev,noexec,relatime master:16 - cgroup cgroup rw,pids 
TRAC[0000] Appending /sys/fs/cgroup/pids from line: 496 492 0:32 /docker/5f1efaff45e8c67815500684402624a7662415f5df87fd5b6359e99b606e5746 /sys/fs/cgroup/pids rw,nosuid,nodev,noexec,relatime master:16 - cgroup cgroup rw,pids 
TRAC[0000] Read the following line from /proc/self/mountinfo: 497 492 0:33 /docker/5f1efaff45e8c67815500684402624a7662415f5df87fd5b6359e99b606e5746 /sys/fs/cgroup/freezer rw,nosuid,nodev,noexec,relatime master:17 - cgroup cgroup rw,freezer 
TRAC[0000] Appending /sys/fs/cgroup/freezer from line: 497 492 0:33 /docker/5f1efaff45e8c67815500684402624a7662415f5df87fd5b6359e99b606e5746 /sys/fs/cgroup/freezer rw,nosuid,nodev,noexec,relatime master:17 - cgroup cgroup rw,freezer 
TRAC[0000] Read the following line from /proc/self/mountinfo: 498 492 0:34 /docker/5f1efaff45e8c67815500684402624a7662415f5df87fd5b6359e99b606e5746 /sys/fs/cgroup/cpu,cpuacct rw,nosuid,nodev,noexec,relatime master:18 - cgroup cgroup rw,cpu,cpuacct 
TRAC[0000] Appending /sys/fs/cgroup/cpu,cpuacct from line: 498 492 0:34 /docker/5f1efaff45e8c67815500684402624a7662415f5df87fd5b6359e99b606e5746 /sys/fs/cgroup/cpu,cpuacct rw,nosuid,nodev,noexec,relatime master:18 - cgroup cgroup rw,cpu,cpuacct 
TRAC[0000] Read the following line from /proc/self/mountinfo: 499 492 0:35 /docker/5f1efaff45e8c67815500684402624a7662415f5df87fd5b6359e99b606e5746 /sys/fs/cgroup/memory rw,nosuid,nodev,noexec,relatime master:19 - cgroup cgroup rw,memory 
TRAC[0000] Appending /sys/fs/cgroup/memory from line: 499 492 0:35 /docker/5f1efaff45e8c67815500684402624a7662415f5df87fd5b6359e99b606e5746 /sys/fs/cgroup/memory rw,nosuid,nodev,noexec,relatime master:19 - cgroup cgroup rw,memory 
TRAC[0000] Read the following line from /proc/self/mountinfo: 500 492 0:36 /docker/5f1efaff45e8c67815500684402624a7662415f5df87fd5b6359e99b606e5746 /sys/fs/cgroup/blkio rw,nosuid,nodev,noexec,relatime master:20 - cgroup cgroup rw,blkio 
TRAC[0000] Appending /sys/fs/cgroup/blkio from line: 500 492 0:36 /docker/5f1efaff45e8c67815500684402624a7662415f5df87fd5b6359e99b606e5746 /sys/fs/cgroup/blkio rw,nosuid,nodev,noexec,relatime master:20 - cgroup cgroup rw,blkio 
TRAC[0000] Read the following line from /proc/self/mountinfo: 501 492 0:37 /docker/5f1efaff45e8c67815500684402624a7662415f5df87fd5b6359e99b606e5746 /sys/fs/cgroup/devices rw,nosuid,nodev,noexec,relatime master:21 - cgroup cgroup rw,devices 
TRAC[0000] Appending /sys/fs/cgroup/devices from line: 501 492 0:37 /docker/5f1efaff45e8c67815500684402624a7662415f5df87fd5b6359e99b606e5746 /sys/fs/cgroup/devices rw,nosuid,nodev,noexec,relatime master:21 - cgroup cgroup rw,devices 
TRAC[0000] Read the following line from /proc/self/mountinfo: 502 492 0:38 /docker/5f1efaff45e8c67815500684402624a7662415f5df87fd5b6359e99b606e5746 /sys/fs/cgroup/perf_event rw,nosuid,nodev,noexec,relatime master:22 - cgroup cgroup rw,perf_event 
TRAC[0000] Appending /sys/fs/cgroup/perf_event from line: 502 492 0:38 /docker/5f1efaff45e8c67815500684402624a7662415f5df87fd5b6359e99b606e5746 /sys/fs/cgroup/perf_event rw,nosuid,nodev,noexec,relatime master:22 - cgroup cgroup rw,perf_event 
TRAC[0000] Read the following line from /proc/self/mountinfo: 503 492 0:39 /docker/5f1efaff45e8c67815500684402624a7662415f5df87fd5b6359e99b606e5746 /sys/fs/cgroup/cpuset rw,nosuid,nodev,noexec,relatime master:23 - cgroup cgroup rw,cpuset 
TRAC[0000] Appending /sys/fs/cgroup/cpuset from line: 503 492 0:39 /docker/5f1efaff45e8c67815500684402624a7662415f5df87fd5b6359e99b606e5746 /sys/fs/cgroup/cpuset rw,nosuid,nodev,noexec,relatime master:23 - cgroup cgroup rw,cpuset 
TRAC[0000] Read the following line from /proc/self/mountinfo: 504 492 0:40 / /sys/fs/cgroup/rdma rw,nosuid,nodev,noexec,relatime master:24 - cgroup cgroup rw,rdma 
TRAC[0000] Appending /sys/fs/cgroup/rdma from line: 504 492 0:40 / /sys/fs/cgroup/rdma rw,nosuid,nodev,noexec,relatime master:24 - cgroup cgroup rw,rdma 
TRAC[0000] Read the following line from /proc/self/mountinfo: 505 489 0:84 / /dev/mqueue rw,nosuid,nodev,noexec,relatime - mqueue mqueue rw 
TRAC[0000] Appending /dev/mqueue from line: 505 489 0:84 / /dev/mqueue rw,nosuid,nodev,noexec,relatime - mqueue mqueue rw 
TRAC[0000] Read the following line from /proc/self/mountinfo: 506 487 8:1 /var/lib/docker/volumes/6f7a71a22946d9329b5be3aca32884c6f7edbf262b0817f9b4bd8bae54aa6b67/_data /busybox rw,relatime master:1 - ext4 /dev/sda1 rw,data=ordered 
TRAC[0000] Appending /busybox from line: 506 487 8:1 /var/lib/docker/volumes/6f7a71a22946d9329b5be3aca32884c6f7edbf262b0817f9b4bd8bae54aa6b67/_data /busybox rw,relatime master:1 - ext4 /dev/sda1 rw,data=ordered 
TRAC[0000] Read the following line from /proc/self/mountinfo: 507 487 8:1 /workspace /workspace rw,relatime - ext4 /dev/sda1 rw,data=ordered 
TRAC[0000] Appending /workspace from line: 507 487 8:1 /workspace /workspace rw,relatime - ext4 /dev/sda1 rw,data=ordered 
TRAC[0000] Read the following line from /proc/self/mountinfo: 508 487 8:1 /var/lib/docker/volumes/homevol/_data /builder/home rw,relatime master:1 - ext4 /dev/sda1 rw,data=ordered 
TRAC[0000] Appending /builder/home from line: 508 487 8:1 /var/lib/docker/volumes/homevol/_data /builder/home rw,relatime master:1 - ext4 /dev/sda1 rw,data=ordered 
TRAC[0000] Read the following line from /proc/self/mountinfo: 537 487 8:1 /tmp/step-0 /builder/outputs rw,relatime - ext4 /dev/sda1 rw,data=ordered 
TRAC[0000] Appending /builder/outputs from line: 537 487 8:1 /tmp/step-0 /builder/outputs rw,relatime - ext4 /dev/sda1 rw,data=ordered 
TRAC[0000] Read the following line from /proc/self/mountinfo: 539 487 8:1 /root/tokencache /root/tokencache rw,relatime - ext4 /dev/sda1 rw,data=ordered 
TRAC[0000] Appending /root/tokencache from line: 539 487 8:1 /root/tokencache /root/tokencache rw,relatime - ext4 /dev/sda1 rw,data=ordered 
TRAC[0000] Read the following line from /proc/self/mountinfo: 546 487 8:1 /var/lib/docker/containers/5f1efaff45e8c67815500684402624a7662415f5df87fd5b6359e99b606e5746/resolv.conf /etc/resolv.conf rw,relatime - ext4 /dev/sda1 rw,data=ordered 
TRAC[0000] Appending /etc/resolv.conf from line: 546 487 8:1 /var/lib/docker/containers/5f1efaff45e8c67815500684402624a7662415f5df87fd5b6359e99b606e5746/resolv.conf /etc/resolv.conf rw,relatime - ext4 /dev/sda1 rw,data=ordered 
TRAC[0000] Read the following line from /proc/self/mountinfo: 548 487 8:1 /var/lib/docker/containers/5f1efaff45e8c67815500684402624a7662415f5df87fd5b6359e99b606e5746/hostname /etc/hostname rw,relatime - ext4 /dev/sda1 rw,data=ordered 
TRAC[0000] Appending /etc/hostname from line: 548 487 8:1 /var/lib/docker/containers/5f1efaff45e8c67815500684402624a7662415f5df87fd5b6359e99b606e5746/hostname /etc/hostname rw,relatime - ext4 /dev/sda1 rw,data=ordered 
TRAC[0000] Read the following line from /proc/self/mountinfo: 554 487 8:1 /var/lib/docker/containers/5f1efaff45e8c67815500684402624a7662415f5df87fd5b6359e99b606e5746/hosts /etc/hosts rw,relatime - ext4 /dev/sda1 rw,data=ordered 
TRAC[0000] Appending /etc/hosts from line: 554 487 8:1 /var/lib/docker/containers/5f1efaff45e8c67815500684402624a7662415f5df87fd5b6359e99b606e5746/hosts /etc/hosts rw,relatime - ext4 /dev/sda1 rw,data=ordered 
TRAC[0000] Read the following line from /proc/self/mountinfo: 555 489 0:83 / /dev/shm rw,nosuid,nodev,noexec,relatime - tmpfs shm rw,size=65536k 
TRAC[0000] Appending /dev/shm from line: 555 489 0:83 / /dev/shm rw,nosuid,nodev,noexec,relatime - tmpfs shm rw,size=65536k 
TRAC[0000] Read the following line from /proc/self/mountinfo: 556 487 0:23 /docker.sock /var/run/docker.sock rw,nosuid,noexec,relatime - tmpfs tmpfs rw,size=378192k,mode=755 
TRAC[0000] Appending /var/run/docker.sock from line: 556 487 0:23 /docker.sock /var/run/docker.sock rw,nosuid,noexec,relatime - tmpfs tmpfs rw,size=378192k,mode=755 
TRAC[0000] Read the following line from /proc/self/mountinfo:  
TRAC[0000] Reached end of file /proc/self/mountinfo     
DEBU[0000] Mounted directories: [{/kaniko false} {/etc/mtab false} {/tmp/apt-key-gpghome true} {/proc false} {/dev false} {/dev/pts false} {/sys false} {/sys/fs/cgroup false} {/sys/fs/cgroup/systemd false} {/sys/fs/cgroup/net_cls,net_prio false} {/sys/fs/cgroup/hugetlb false} {/sys/fs/cgroup/pids false} {/sys/fs/cgroup/freezer false} {/sys/fs/cgroup/cpu,cpuacct false} {/sys/fs/cgroup/memory false} {/sys/fs/cgroup/blkio false} {/sys/fs/cgroup/devices false} {/sys/fs/cgroup/perf_event false} {/sys/fs/cgroup/cpuset false} {/sys/fs/cgroup/rdma false} {/dev/mqueue false} {/busybox false} {/workspace false} {/builder/home false} {/builder/outputs false} {/root/tokencache false} {/etc/resolv.conf false} {/etc/hostname false} {/etc/hosts false} {/dev/shm false} {/var/run/docker.sock false}] 
TRAC[0000] Extracting layer 0 of media type application/vnd.docker.image.rootfs.diff.tar.gzip 
TRAC[0000] creating dir /bin                            
TRAC[0000] symlink from /bin/busybox to /bin/ash        
TRAC[0000] symlink from /bin/busybox to /bin/base64     
TRAC[0000] symlink from /bin/busybox to /bin/bbconfig   
TRAC[0000] creating file /bin/busybox                   
TRAC[0000] symlink from /bin/busybox to /bin/cat        
TRAC[0000] symlink from /bin/busybox to /bin/chgrp      
TRAC[0000] symlink from /bin/busybox to /bin/chmod      
TRAC[0000] symlink from /bin/busybox to /bin/chown      
TRAC[0000] symlink from /bin/busybox to /bin/conspy     
TRAC[0000] symlink from /bin/busybox to /bin/cp         
TRAC[0000] symlink from /bin/busybox to /bin/date       
TRAC[0000] symlink from /bin/busybox to /bin/dd         
TRAC[0000] symlink from /bin/busybox to /bin/df         
TRAC[0000] symlink from /bin/busybox to /bin/dmesg      
TRAC[0000] symlink from /bin/busybox to /bin/dnsdomainname 
TRAC[0000] symlink from /bin/busybox to /bin/dumpkmap   
TRAC[0000] symlink from /bin/busybox to /bin/echo       
TRAC[0000] symlink from /bin/busybox to /bin/ed         
TRAC[0000] symlink from /bin/busybox to /bin/egrep      
TRAC[0000] symlink from /bin/busybox to /bin/false      
TRAC[0000] symlink from /bin/busybox to /bin/fatattr    
TRAC[0000] symlink from /bin/busybox to /bin/fdflush    
TRAC[0000] symlink from /bin/busybox to /bin/fgrep      
TRAC[0000] symlink from /bin/busybox to /bin/fsync      
TRAC[0000] symlink from /bin/busybox to /bin/getopt     
TRAC[0000] symlink from /bin/busybox to /bin/grep       
TRAC[0000] symlink from /bin/busybox to /bin/gunzip     
TRAC[0000] symlink from /bin/busybox to /bin/gzip       
TRAC[0000] symlink from /bin/busybox to /bin/hostname   
TRAC[0000] symlink from /bin/busybox to /bin/ionice     
TRAC[0000] symlink from /bin/busybox to /bin/iostat     
TRAC[0000] symlink from /bin/busybox to /bin/ipcalc     
TRAC[0000] symlink from /bin/busybox to /bin/kbd_mode   
TRAC[0000] symlink from /bin/busybox to /bin/kill       
TRAC[0000] symlink from /bin/busybox to /bin/link       
TRAC[0000] symlink from /bin/busybox to /bin/linux32    
TRAC[0000] symlink from /bin/busybox to /bin/linux64    
TRAC[0000] symlink from /bin/busybox to /bin/ln         
TRAC[0000] symlink from /bin/busybox to /bin/login      
TRAC[0000] symlink from /bin/busybox to /bin/ls         
TRAC[0000] symlink from /bin/busybox to /bin/lzop       
TRAC[0000] symlink from /bin/busybox to /bin/makemime   
TRAC[0000] symlink from /bin/busybox to /bin/mkdir      
TRAC[0000] symlink from /bin/busybox to /bin/mknod      
TRAC[0000] symlink from /bin/busybox to /bin/mktemp     
TRAC[0000] symlink from /bin/busybox to /bin/more       
TRAC[0000] symlink from /bin/busybox to /bin/mount      
TRAC[0000] symlink from /bin/busybox to /bin/mountpoint 
TRAC[0000] symlink from /bin/busybox to /bin/mpstat     
TRAC[0000] symlink from /bin/busybox to /bin/mv         
TRAC[0000] symlink from /bin/busybox to /bin/netstat    
TRAC[0000] symlink from /bin/busybox to /bin/nice       
TRAC[0000] symlink from /bin/busybox to /bin/pidof      
TRAC[0000] symlink from /bin/busybox to /bin/ping       
TRAC[0000] symlink from /bin/busybox to /bin/ping6      
TRAC[0000] symlink from /bin/busybox to /bin/pipe_progress 
TRAC[0000] symlink from /bin/busybox to /bin/printenv   
TRAC[0000] symlink from /bin/busybox to /bin/ps         
TRAC[0000] symlink from /bin/busybox to /bin/pwd        
TRAC[0000] symlink from /bin/busybox to /bin/reformime  
TRAC[0000] symlink from /bin/busybox to /bin/rev        
TRAC[0000] symlink from /bin/busybox to /bin/rm         
TRAC[0000] symlink from /bin/busybox to /bin/rmdir      
TRAC[0000] symlink from /bin/busybox to /bin/run-parts  
TRAC[0000] symlink from /bin/busybox to /bin/sed        
TRAC[0000] symlink from /bin/busybox to /bin/setpriv    
TRAC[0000] symlink from /bin/busybox to /bin/setserial  
TRAC[0000] symlink from /bin/busybox to /bin/sh         
TRAC[0000] symlink from /bin/busybox to /bin/sleep      
TRAC[0000] symlink from /bin/busybox to /bin/stat       
TRAC[0000] symlink from /bin/busybox to /bin/stty       
TRAC[0000] symlink from /bin/busybox to /bin/su         
TRAC[0000] symlink from /bin/busybox to /bin/sync       
TRAC[0000] symlink from /bin/busybox to /bin/tar        
TRAC[0000] symlink from /bin/busybox to /bin/touch      
TRAC[0000] symlink from /bin/busybox to /bin/true       
TRAC[0000] symlink from /bin/busybox to /bin/umount     
TRAC[0000] symlink from /bin/busybox to /bin/uname      
TRAC[0000] symlink from /bin/busybox to /bin/usleep     
TRAC[0000] symlink from /bin/busybox to /bin/watch      
TRAC[0000] symlink from /bin/busybox to /bin/zcat       
DEBU[0000] Not adding /dev because it is whitelisted    
TRAC[0000] creating dir /etc                            
TRAC[0000] creating file /etc/TZ                        
TRAC[0000] creating file /etc/alpine-release            
TRAC[0000] creating dir /etc/apk                        
TRAC[0000] creating file /etc/apk/arch                  
TRAC[0000] creating dir /etc/apk/keys                   
TRAC[0000] creating file /etc/apk/keys/alpine-devel@lists.alpinelinux.org-4a6a0840.rsa.pub 
TRAC[0000] creating file /etc/apk/keys/alpine-devel@lists.alpinelinux.org-5243ef4b.rsa.pub 
TRAC[0000] creating file /etc/apk/keys/alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub 
TRAC[0000] creating dir /etc/apk/protected_paths.d      
TRAC[0000] creating file /etc/apk/repositories          
TRAC[0000] creating file /etc/apk/world                 
TRAC[0000] creating dir /etc/conf.d                     
TRAC[0000] creating dir /etc/crontabs                   
TRAC[0000] creating file /etc/crontabs/root             
TRAC[0000] creating file /etc/fstab                     
TRAC[0000] creating file /etc/group                     
DEBU[0000] Not adding /etc/hostname because it is whitelisted 
DEBU[0000] Not adding /etc/hosts because it is whitelisted 
TRAC[0000] creating dir /etc/init.d                     
TRAC[0000] creating file /etc/inittab                   
TRAC[0000] creating file /etc/issue                     
TRAC[0000] creating file /etc/localtime                 
TRAC[0000] creating dir /etc/logrotate.d                
TRAC[0000] creating file /etc/logrotate.d/acpid         
TRAC[0000] creating dir /etc/modprobe.d                 
TRAC[0000] creating file /etc/modprobe.d/aliases.conf   
TRAC[0000] creating file /etc/modprobe.d/blacklist.conf 
TRAC[0000] creating file /etc/modprobe.d/i386.conf      
TRAC[0000] creating file /etc/modprobe.d/kms.conf       
TRAC[0000] creating file /etc/modules                   
TRAC[0000] creating dir /etc/modules-load.d             
TRAC[0000] creating file /etc/motd                      
DEBU[0000] Not adding /etc/mtab because it is whitelisted 
TRAC[0000] creating dir /etc/network                    
TRAC[0000] creating dir /etc/network/if-down.d          
TRAC[0000] creating dir /etc/network/if-post-down.d     
TRAC[0000] creating dir /etc/network/if-post-up.d       
TRAC[0000] creating dir /etc/network/if-pre-down.d      
TRAC[0000] creating dir /etc/network/if-pre-up.d        
TRAC[0000] creating dir /etc/network/if-up.d            
TRAC[0000] creating file /etc/network/if-up.d/dad       
TRAC[0000] creating dir /etc/opt                        
TRAC[0000] creating file /etc/os-release                
TRAC[0000] creating file /etc/passwd                    
TRAC[0000] creating dir /etc/periodic                   
TRAC[0000] creating dir /etc/periodic/15min             
TRAC[0000] creating dir /etc/periodic/daily             
TRAC[0000] creating dir /etc/periodic/hourly            
TRAC[0000] creating dir /etc/periodic/monthly           
TRAC[0000] creating dir /etc/periodic/weekly            
TRAC[0000] creating file /etc/profile                   
TRAC[0000] creating dir /etc/profile.d                  
TRAC[0000] creating file /etc/profile.d/color_prompt    
TRAC[0000] creating file /etc/protocols                 
TRAC[0000] creating file /etc/securetty                 
TRAC[0000] creating file /etc/services                  
TRAC[0000] creating file /etc/shadow                    
TRAC[0000] creating file /etc/shells                    
TRAC[0000] creating dir /etc/ssl                        
TRAC[0000] creating file /etc/ssl/cert.pem              
TRAC[0000] creating dir /etc/ssl/certs                  
TRAC[0000] creating file /etc/ssl/openssl.cnf           
TRAC[0000] creating file /etc/ssl/x509v3.cnf            
TRAC[0000] creating file /etc/sysctl.conf               
TRAC[0000] creating dir /etc/sysctl.d                   
TRAC[0000] creating file /etc/sysctl.d/00-alpine.conf   
TRAC[0000] creating file /etc/udhcpd.conf               
TRAC[0000] creating dir /home                           
TRAC[0000] creating dir /lib                            
TRAC[0000] creating dir /lib/apk                        
TRAC[0000] creating dir /lib/apk/db                     
TRAC[0000] creating file /lib/apk/db/installed          
TRAC[0000] creating file /lib/apk/db/lock               
TRAC[0000] creating file /lib/apk/db/scripts.tar        
TRAC[0000] creating file /lib/apk/db/triggers           
TRAC[0000] creating dir /lib/firmware                   
TRAC[0000] creating file /lib/ld-musl-x86_64.so.1       
TRAC[0000] symlink from ld-musl-x86_64.so.1 to /lib/libc.musl-x86_64.so.1 
TRAC[0000] symlink from libcrypto.so.42.0.0 to /lib/libcrypto.so.42 
TRAC[0000] creating file /lib/libcrypto.so.42.0.0       
TRAC[0000] symlink from libssl.so.44.0.1 to /lib/libssl.so.44 
TRAC[0000] creating file /lib/libssl.so.44.0.1          
TRAC[0000] symlink from libtls.so.16.0.1 to /lib/libtls.so.16 
TRAC[0000] creating file /lib/libtls.so.16.0.1          
TRAC[0000] symlink from libz.so.1.2.11 to /lib/libz.so.1 
TRAC[0000] creating file /lib/libz.so.1.2.11            
TRAC[0000] creating dir /lib/mdev                       
TRAC[0000] creating dir /media                          
TRAC[0000] creating dir /media/cdrom                    
TRAC[0000] creating dir /media/floppy                   
TRAC[0000] creating dir /media/usb                      
TRAC[0000] creating dir /mnt                            
DEBU[0000] Not adding /proc because it is whitelisted   
TRAC[0000] creating dir /root                           
TRAC[0000] creating dir /run                            
TRAC[0000] creating dir /sbin                           
TRAC[0000] symlink from /bin/busybox to /sbin/acpid     
TRAC[0000] symlink from /bin/busybox to /sbin/adjtimex  
TRAC[0000] creating file /sbin/apk                      
TRAC[0000] symlink from /bin/busybox to /sbin/arp       
TRAC[0000] symlink from /bin/busybox to /sbin/blkid     
TRAC[0000] symlink from /bin/busybox to /sbin/blockdev  
TRAC[0000] symlink from /bin/busybox to /sbin/depmod    
TRAC[0000] symlink from /bin/busybox to /sbin/fbsplash  
TRAC[0000] symlink from /bin/busybox to /sbin/fdisk     
TRAC[0000] symlink from /bin/busybox to /sbin/findfs    
TRAC[0000] symlink from /bin/busybox to /sbin/fsck      
TRAC[0000] symlink from /bin/busybox to /sbin/fstrim    
TRAC[0000] symlink from /bin/busybox to /sbin/getty     
TRAC[0000] symlink from /bin/busybox to /sbin/halt      
TRAC[0000] symlink from /bin/busybox to /sbin/hdparm    
TRAC[0000] symlink from /bin/busybox to /sbin/hwclock   
TRAC[0000] symlink from /bin/busybox to /sbin/ifconfig  
TRAC[0000] symlink from /bin/busybox to /sbin/ifdown    
TRAC[0000] symlink from /bin/busybox to /sbin/ifenslave 
TRAC[0000] symlink from /bin/busybox to /sbin/ifup      
TRAC[0000] symlink from /bin/busybox to /sbin/init      
TRAC[0000] symlink from /bin/busybox to /sbin/inotifyd  
TRAC[0000] symlink from /bin/busybox to /sbin/insmod    
TRAC[0000] symlink from /bin/busybox to /sbin/ip        
TRAC[0000] symlink from /bin/busybox to /sbin/ipaddr    
TRAC[0000] symlink from /bin/busybox to /sbin/iplink    
TRAC[0000] symlink from /bin/busybox to /sbin/ipneigh   
TRAC[0000] symlink from /bin/busybox to /sbin/iproute   
TRAC[0000] symlink from /bin/busybox to /sbin/iprule    
TRAC[0000] symlink from /bin/busybox to /sbin/iptunnel  
TRAC[0000] symlink from /bin/busybox to /sbin/klogd     
TRAC[0000] creating file /sbin/ldconfig                 
TRAC[0000] symlink from /bin/busybox to /sbin/loadkmap  
TRAC[0000] symlink from /bin/busybox to /sbin/logread   
TRAC[0000] symlink from /bin/busybox to /sbin/losetup   
TRAC[0000] symlink from /bin/busybox to /sbin/lsmod     
TRAC[0000] symlink from /bin/busybox to /sbin/mdev      
TRAC[0000] symlink from /bin/busybox to /sbin/mkdosfs   
TRAC[0000] symlink from /bin/busybox to /sbin/mkfs.vfat 
TRAC[0000] creating file /sbin/mkmntdirs                
TRAC[0000] symlink from /bin/busybox to /sbin/mkswap    
TRAC[0000] symlink from /bin/busybox to /sbin/modinfo   
TRAC[0000] symlink from /bin/busybox to /sbin/modprobe  
TRAC[0000] symlink from /bin/busybox to /sbin/nameif    
TRAC[0000] symlink from /bin/busybox to /sbin/nologin   
TRAC[0000] symlink from /bin/busybox to /sbin/poweroff  
TRAC[0000] symlink from /bin/busybox to /sbin/raidautorun 
TRAC[0000] symlink from /bin/busybox to /sbin/reboot    
TRAC[0000] symlink from /bin/busybox to /sbin/rmmod     
TRAC[0000] symlink from /bin/busybox to /sbin/route     
TRAC[0000] symlink from /bin/busybox to /sbin/setconsole 
TRAC[0000] symlink from /bin/busybox to /sbin/slattach  
TRAC[0000] symlink from /bin/busybox to /sbin/swapoff   
TRAC[0000] symlink from /bin/busybox to /sbin/swapon    
TRAC[0000] symlink from /bin/busybox to /sbin/switch_root 
TRAC[0000] symlink from /bin/busybox to /sbin/sysctl    
TRAC[0000] symlink from /bin/busybox to /sbin/syslogd   
TRAC[0000] symlink from /bin/busybox to /sbin/tunctl    
TRAC[0000] symlink from /bin/busybox to /sbin/udhcpc    
TRAC[0000] symlink from /bin/busybox to /sbin/vconfig   
TRAC[0000] symlink from /bin/busybox to /sbin/watchdog  
TRAC[0000] creating dir /srv                            
DEBU[0000] Not adding /sys because it is whitelisted    
TRAC[0000] creating dir /tmp                            
TRAC[0000] creating dir /usr                            
TRAC[0000] creating dir /usr/bin                        
TRAC[0000] symlink from /bin/busybox to /usr/bin/[      
TRAC[0000] symlink from /bin/busybox to /usr/bin/[[     
TRAC[0000] symlink from /bin/busybox to /usr/bin/awk    
TRAC[0000] symlink from /bin/busybox to /usr/bin/basename 
TRAC[0000] symlink from /bin/busybox to /usr/bin/beep   
TRAC[0000] symlink from /bin/busybox to /usr/bin/blkdiscard 
TRAC[0000] symlink from /bin/busybox to /usr/bin/bunzip2 
TRAC[0000] symlink from /bin/busybox to /usr/bin/bzcat  
TRAC[0000] symlink from /bin/busybox to /usr/bin/bzip2  
TRAC[0000] symlink from /bin/busybox to /usr/bin/cal    
TRAC[0000] symlink from /bin/busybox to /usr/bin/chvt   
TRAC[0000] symlink from /bin/busybox to /usr/bin/cksum  
TRAC[0000] symlink from /bin/busybox to /usr/bin/clear  
TRAC[0000] symlink from /bin/busybox to /usr/bin/cmp    
TRAC[0000] symlink from /bin/busybox to /usr/bin/comm   
TRAC[0000] symlink from /bin/busybox to /usr/bin/cpio   
TRAC[0000] symlink from /bin/busybox to /usr/bin/crontab 
TRAC[0000] symlink from /bin/busybox to /usr/bin/cryptpw 
TRAC[0000] symlink from /bin/busybox to /usr/bin/cut    
TRAC[0000] symlink from /bin/busybox to /usr/bin/dc     
TRAC[0000] symlink from /bin/busybox to /usr/bin/deallocvt 
TRAC[0000] symlink from /bin/busybox to /usr/bin/diff   
TRAC[0000] symlink from /bin/busybox to /usr/bin/dirname 
TRAC[0000] symlink from /bin/busybox to /usr/bin/dos2unix 
TRAC[0000] symlink from /bin/busybox to /usr/bin/du     
TRAC[0000] symlink from /bin/busybox to /usr/bin/dumpleases 
TRAC[0000] symlink from /bin/busybox to /usr/bin/eject  
TRAC[0000] symlink from /bin/busybox to /usr/bin/env    
TRAC[0000] symlink from /bin/busybox to /usr/bin/expand 
TRAC[0000] symlink from /bin/busybox to /usr/bin/expr   
TRAC[0000] symlink from /bin/busybox to /usr/bin/factor 
TRAC[0000] symlink from /bin/busybox to /usr/bin/fallocate 
TRAC[0000] symlink from /bin/busybox to /usr/bin/find   
TRAC[0000] symlink from /bin/busybox to /usr/bin/flock  
TRAC[0000] symlink from /bin/busybox to /usr/bin/fold   
TRAC[0000] symlink from /bin/busybox to /usr/bin/free   
TRAC[0000] symlink from /bin/busybox to /usr/bin/fuser  
TRAC[0000] creating file /usr/bin/getconf               
TRAC[0000] creating file /usr/bin/getent                
TRAC[0000] symlink from /bin/busybox to /usr/bin/groups 
TRAC[0000] symlink from /bin/busybox to /usr/bin/hd     
TRAC[0000] symlink from /bin/busybox to /usr/bin/head   
TRAC[0000] symlink from /bin/busybox to /usr/bin/hexdump 
TRAC[0000] symlink from /bin/busybox to /usr/bin/hostid 
TRAC[0000] creating file /usr/bin/iconv                 
TRAC[0000] symlink from /bin/busybox to /usr/bin/id     
TRAC[0000] symlink from /bin/busybox to /usr/bin/install 
TRAC[0000] symlink from /bin/busybox to /usr/bin/ipcrm  
TRAC[0000] symlink from /bin/busybox to /usr/bin/ipcs   
TRAC[0000] symlink from /bin/busybox to /usr/bin/killall 
TRAC[0000] symlink from ../../lib/ld-musl-x86_64.so.1 to /usr/bin/ldd 
TRAC[0000] symlink from /bin/busybox to /usr/bin/less   
TRAC[0000] symlink from /bin/busybox to /usr/bin/logger 
TRAC[0000] symlink from /bin/busybox to /usr/bin/lsof   
TRAC[0000] symlink from /bin/busybox to /usr/bin/lsusb  
TRAC[0000] symlink from /bin/busybox to /usr/bin/lzcat  
TRAC[0000] symlink from /bin/busybox to /usr/bin/lzma   
TRAC[0000] symlink from /bin/busybox to /usr/bin/lzopcat 
TRAC[0000] symlink from /bin/busybox to /usr/bin/md5sum 
TRAC[0000] symlink from /bin/busybox to /usr/bin/mesg   
TRAC[0000] symlink from /bin/busybox to /usr/bin/microcom 
TRAC[0000] symlink from /bin/busybox to /usr/bin/mkfifo 
TRAC[0000] symlink from /bin/busybox to /usr/bin/mkpasswd 
TRAC[0000] symlink from /bin/busybox to /usr/bin/nc     
TRAC[0000] symlink from /bin/busybox to /usr/bin/nl     
TRAC[0000] symlink from /bin/busybox to /usr/bin/nmeter 
TRAC[0000] symlink from /bin/busybox to /usr/bin/nohup  
TRAC[0000] symlink from /bin/busybox to /usr/bin/nproc  
TRAC[0000] symlink from /bin/busybox to /usr/bin/nsenter 
TRAC[0000] symlink from /bin/busybox to /usr/bin/nslookup 
TRAC[0000] symlink from /bin/busybox to /usr/bin/od     
TRAC[0000] symlink from /bin/busybox to /usr/bin/openvt 
TRAC[0000] symlink from /bin/busybox to /usr/bin/passwd 
TRAC[0000] symlink from /bin/busybox to /usr/bin/paste  
TRAC[0000] symlink from /bin/busybox to /usr/bin/patch  
TRAC[0000] symlink from /bin/busybox to /usr/bin/pgrep  
TRAC[0000] symlink from /bin/busybox to /usr/bin/pkill  
TRAC[0000] symlink from /bin/busybox to /usr/bin/pmap   
TRAC[0000] symlink from /bin/busybox to /usr/bin/printf 
TRAC[0000] symlink from /bin/busybox to /usr/bin/pscan  
TRAC[0000] symlink from /bin/busybox to /usr/bin/pstree 
TRAC[0000] symlink from /bin/busybox to /usr/bin/pwdx   
TRAC[0000] symlink from /bin/busybox to /usr/bin/readlink 
TRAC[0000] symlink from /bin/busybox to /usr/bin/realpath 
TRAC[0000] symlink from /bin/busybox to /usr/bin/renice 
TRAC[0000] symlink from /bin/busybox to /usr/bin/reset  
TRAC[0000] symlink from /bin/busybox to /usr/bin/resize 
TRAC[0000] creating file /usr/bin/scanelf               
TRAC[0000] symlink from /bin/busybox to /usr/bin/seq    
TRAC[0000] symlink from /bin/busybox to /usr/bin/setkeycodes 
TRAC[0000] symlink from /bin/busybox to /usr/bin/setsid 
TRAC[0000] symlink from /bin/busybox to /usr/bin/sha1sum 
TRAC[0000] symlink from /bin/busybox to /usr/bin/sha256sum 
TRAC[0000] symlink from /bin/busybox to /usr/bin/sha3sum 
TRAC[0000] symlink from /bin/busybox to /usr/bin/sha512sum 
TRAC[0000] symlink from /bin/busybox to /usr/bin/showkey 
TRAC[0000] symlink from /bin/busybox to /usr/bin/shred  
TRAC[0000] symlink from /bin/busybox to /usr/bin/shuf   
TRAC[0000] symlink from /bin/busybox to /usr/bin/smemcap 
TRAC[0000] symlink from /bin/busybox to /usr/bin/sort   
TRAC[0000] symlink from /bin/busybox to /usr/bin/split  
TRAC[0000] creating file /usr/bin/ssl_client            
TRAC[0000] symlink from /bin/busybox to /usr/bin/strings 
TRAC[0000] symlink from /bin/busybox to /usr/bin/sum    
TRAC[0000] symlink from /bin/busybox to /usr/bin/tac    
TRAC[0000] symlink from /bin/busybox to /usr/bin/tail   
TRAC[0000] symlink from /bin/busybox to /usr/bin/tee    
TRAC[0000] symlink from /bin/busybox to /usr/bin/test   
TRAC[0000] symlink from /bin/busybox to /usr/bin/time   
TRAC[0000] symlink from /bin/busybox to /usr/bin/timeout 
TRAC[0000] symlink from /bin/busybox to /usr/bin/top    
TRAC[0000] symlink from /bin/busybox to /usr/bin/tr     
TRAC[0000] symlink from /bin/busybox to /usr/bin/traceroute 
TRAC[0000] symlink from /bin/busybox to /usr/bin/traceroute6 
TRAC[0000] symlink from /bin/busybox to /usr/bin/truncate 
TRAC[0000] symlink from /bin/busybox to /usr/bin/tty    
TRAC[0000] symlink from /bin/busybox to /usr/bin/ttysize 
TRAC[0000] symlink from /bin/busybox to /usr/bin/udhcpc6 
TRAC[0000] symlink from /bin/busybox to /usr/bin/unexpand 
TRAC[0000] symlink from /bin/busybox to /usr/bin/uniq   
TRAC[0000] symlink from /bin/busybox to /usr/bin/unix2dos 
TRAC[0000] symlink from /bin/busybox to /usr/bin/unlink 
TRAC[0000] symlink from /bin/busybox to /usr/bin/unlzma 
TRAC[0000] symlink from /bin/busybox to /usr/bin/unlzop 
TRAC[0000] symlink from /bin/busybox to /usr/bin/unshare 
TRAC[0000] symlink from /bin/busybox to /usr/bin/unxz   
TRAC[0000] symlink from /bin/busybox to /usr/bin/unzip  
TRAC[0000] symlink from /bin/busybox to /usr/bin/uptime 
TRAC[0000] symlink from /bin/busybox to /usr/bin/uudecode 
TRAC[0000] symlink from /bin/busybox to /usr/bin/uuencode 
TRAC[0000] symlink from /bin/busybox to /usr/bin/vi     
TRAC[0000] symlink from /bin/busybox to /usr/bin/vlock  
TRAC[0000] symlink from /bin/busybox to /usr/bin/volname 
TRAC[0000] symlink from /bin/busybox to /usr/bin/wc     
TRAC[0000] symlink from /bin/busybox to /usr/bin/wget   
TRAC[0000] symlink from /bin/busybox to /usr/bin/which  
TRAC[0000] symlink from /bin/busybox to /usr/bin/whoami 
TRAC[0000] symlink from /bin/busybox to /usr/bin/whois  
TRAC[0000] symlink from /bin/busybox to /usr/bin/xargs  
TRAC[0000] symlink from /bin/busybox to /usr/bin/xxd    
TRAC[0000] symlink from /bin/busybox to /usr/bin/xzcat  
TRAC[0000] symlink from /bin/busybox to /usr/bin/yes    
TRAC[0000] creating dir /usr/lib                        
TRAC[0000] symlink from ../../lib/libcrypto.so.42 to /usr/lib/libcrypto.so.42 
TRAC[0000] symlink from ../../lib/libcrypto.so.42.0.0 to /usr/lib/libcrypto.so.42.0.0 
TRAC[0000] symlink from ../../lib/libssl.so.44 to /usr/lib/libssl.so.44 
TRAC[0000] symlink from ../../lib/libssl.so.44.0.1 to /usr/lib/libssl.so.44.0.1 
TRAC[0000] symlink from ../../lib/libtls.so.16 to /usr/lib/libtls.so.16 
TRAC[0000] symlink from ../../lib/libtls.so.16.0.1 to /usr/lib/libtls.so.16.0.1 
TRAC[0000] creating dir /usr/local                      
TRAC[0000] creating dir /usr/local/bin                  
TRAC[0000] creating dir /usr/local/lib                  
TRAC[0000] creating dir /usr/local/share                
TRAC[0000] creating dir /usr/sbin                       
TRAC[0000] symlink from /bin/busybox to /usr/sbin/add-shell 
TRAC[0000] symlink from /bin/busybox to /usr/sbin/addgroup 
TRAC[0000] symlink from /bin/busybox to /usr/sbin/adduser 
TRAC[0000] symlink from /bin/busybox to /usr/sbin/arping 
TRAC[0000] symlink from /bin/busybox to /usr/sbin/brctl 
TRAC[0000] symlink from /bin/busybox to /usr/sbin/chpasswd 
TRAC[0000] symlink from /bin/busybox to /usr/sbin/chroot 
TRAC[0000] symlink from /bin/busybox to /usr/sbin/crond 
TRAC[0000] symlink from /bin/busybox to /usr/sbin/delgroup 
TRAC[0000] symlink from /bin/busybox to /usr/sbin/deluser 
TRAC[0000] symlink from /bin/busybox to /usr/sbin/ether-wake 
TRAC[0000] symlink from /bin/busybox to /usr/sbin/fbset 
TRAC[0000] symlink from /bin/busybox to /usr/sbin/fdformat 
TRAC[0000] symlink from /bin/busybox to /usr/sbin/killall5 
TRAC[0000] symlink from /bin/busybox to /usr/sbin/loadfont 
TRAC[0000] symlink from /bin/busybox to /usr/sbin/lspci 
TRAC[0000] symlink from /bin/busybox to /usr/sbin/nanddump 
TRAC[0000] symlink from /bin/busybox to /usr/sbin/nandwrite 
TRAC[0000] symlink from /bin/busybox to /usr/sbin/nbd-client 
TRAC[0000] symlink from /bin/busybox to /usr/sbin/ntpd  
TRAC[0000] symlink from /bin/busybox to /usr/sbin/partprobe 
TRAC[0000] symlink from /bin/busybox to /usr/sbin/powertop 
TRAC[0000] symlink from /bin/busybox to /usr/sbin/rdate 
TRAC[0000] symlink from /bin/busybox to /usr/sbin/rdev  
TRAC[0000] symlink from /bin/busybox to /usr/sbin/readahead 
TRAC[0000] symlink from /bin/busybox to /usr/sbin/readprofile 
TRAC[0000] symlink from /bin/busybox to /usr/sbin/remove-shell 
TRAC[0000] symlink from /bin/busybox to /usr/sbin/rfkill 
TRAC[0000] symlink from /bin/busybox to /usr/sbin/sendmail 
TRAC[0000] symlink from /bin/busybox to /usr/sbin/setfont 
TRAC[0000] symlink from /bin/busybox to /usr/sbin/setlogcons 
TRAC[0000] creating dir /usr/share                      
TRAC[0000] creating dir /usr/share/apk                  
TRAC[0000] creating dir /usr/share/apk/keys             
TRAC[0000] creating dir /usr/share/apk/keys/aarch64     
TRAC[0000] symlink from ../alpine-devel@lists.alpinelinux.org-58199dcc.rsa.pub to /usr/share/apk/keys/aarch64/alpine-devel@lists.alpinelinux.org-58199dcc.rsa.pub 
TRAC[0000] creating file /usr/share/apk/keys/alpine-devel@lists.alpinelinux.org-4a6a0840.rsa.pub 
TRAC[0000] creating file /usr/share/apk/keys/alpine-devel@lists.alpinelinux.org-5243ef4b.rsa.pub 
TRAC[0000] creating file /usr/share/apk/keys/alpine-devel@lists.alpinelinux.org-524d27bb.rsa.pub 
TRAC[0000] creating file /usr/share/apk/keys/alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub 
TRAC[0000] creating file /usr/share/apk/keys/alpine-devel@lists.alpinelinux.org-58199dcc.rsa.pub 
TRAC[0000] creating file /usr/share/apk/keys/alpine-devel@lists.alpinelinux.org-58cbb476.rsa.pub 
TRAC[0000] creating file /usr/share/apk/keys/alpine-devel@lists.alpinelinux.org-58e4f17d.rsa.pub 
TRAC[0000] creating dir /usr/share/apk/keys/armhf       
TRAC[0000] symlink from ../alpine-devel@lists.alpinelinux.org-524d27bb.rsa.pub to /usr/share/apk/keys/armhf/alpine-devel@lists.alpinelinux.org-524d27bb.rsa.pub 
TRAC[0000] creating dir /usr/share/apk/keys/ppc64le     
TRAC[0000] symlink from ../alpine-devel@lists.alpinelinux.org-58cbb476.rsa.pub to /usr/share/apk/keys/ppc64le/alpine-devel@lists.alpinelinux.org-58cbb476.rsa.pub 
TRAC[0000] creating dir /usr/share/apk/keys/s390x       
TRAC[0000] symlink from ../alpine-devel@lists.alpinelinux.org-58e4f17d.rsa.pub to /usr/share/apk/keys/s390x/alpine-devel@lists.alpinelinux.org-58e4f17d.rsa.pub 
TRAC[0000] creating dir /usr/share/apk/keys/x86         
TRAC[0000] symlink from ../alpine-devel@lists.alpinelinux.org-4a6a0840.rsa.pub to /usr/share/apk/keys/x86/alpine-devel@lists.alpinelinux.org-4a6a0840.rsa.pub 
TRAC[0000] symlink from ../alpine-devel@lists.alpinelinux.org-5243ef4b.rsa.pub to /usr/share/apk/keys/x86/alpine-devel@lists.alpinelinux.org-5243ef4b.rsa.pub 
TRAC[0000] creating dir /usr/share/apk/keys/x86_64      
TRAC[0000] symlink from ../alpine-devel@lists.alpinelinux.org-4a6a0840.rsa.pub to /usr/share/apk/keys/x86_64/alpine-devel@lists.alpinelinux.org-4a6a0840.rsa.pub 
TRAC[0000] symlink from ../alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub to /usr/share/apk/keys/x86_64/alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub 
TRAC[0000] creating dir /usr/share/man                  
TRAC[0000] creating dir /usr/share/misc                 
TRAC[0000] creating dir /var                            
TRAC[0000] creating dir /var/cache                      
TRAC[0000] creating dir /var/cache/apk                  
TRAC[0000] creating dir /var/cache/misc                 
TRAC[0000] creating dir /var/empty                      
TRAC[0000] creating dir /var/lib                        
TRAC[0000] creating dir /var/lib/apk                    
TRAC[0000] creating dir /var/lib/misc                   
TRAC[0000] creating dir /var/lib/udhcpd                 
TRAC[0000] creating dir /var/local                      
TRAC[0000] creating dir /var/lock                       
TRAC[0000] creating dir /var/lock/subsys                
TRAC[0000] creating dir /var/log                        
TRAC[0000] creating dir /var/opt                        
TRAC[0000] symlink from /run to /var/run                
error building image: error building stage: failed to get filesystem from image: error removing var/run to make way for new symlink: unlinkat /var/run/docker.sock: device or resource busy
ERROR
ERROR: build step 0 "gcr.io/kaniko-project/executor:debug" failed: exit status 1
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

ERROR: (gcloud.builds.submit) build 3bd229d3-567a-4fb7-808c-1afc416d4de1 completed with status "FAILURE"
tejaldesai@@integration (master)$ 
tejal29 commented 4 years ago

Thanks you folks, i have identified the issue and fix is coming in!

Meanwhile, you can try the following images.

gcr.io/kaniko-project/executor:debug-1002
gcr.io/kaniko-project/executor:1002
tejal29 commented 4 years ago

hey folks, PR in progress. #1025

Patch fix coming soon.

tejal29 commented 4 years ago

This is fixed in v0.17.1 release. https://github.com/GoogleContainerTools/kaniko/releases/tag/v0.17.1

raijinsetsu commented 4 years ago

Confirmed that v0.17.1 resolved this issue for me. Thanks for the quick turn-around.