Running: bash build-intel-device-plugins-image.sh intel-fpga-initcontainer jenkins/intel-fpga-initcontainer:rc-4.0-distroless-stable-build Sending build context to Docker daemon 10.58MB Step 1/23 : ARG CLEAR_LINUX_BASE=clearlinux/golang:latest Step 2/23 : FROM ${CLEAR_LINUX_BASE} as builder latest: Pulling from clearlinux/golang Digest: sha256:da0705867051e957c39e761a282a44c53471f9ddaeb5735b0f7a8e8641994b71 Status: Image is up to date for clearlinux/golang:latest ---> 14f5ef2562d9 Step 3/23 : ARG CLEAR_LINUX_VERSION= ---> Using cache ---> a7fb4994cb02 Step 4/23 : RUN swupd update --no-boot-update ${CLEAR_LINUX_VERSION} ---> Using cache ---> 3a19c44e4725 Step 5/23 : RUN mkdir /install_root && swupd os-install ${CLEAR_LINUX_VERSION} --path /install_root --statedir /swupd-state --bundles=os-core,rsync --no-boot-update && rm -rf /install_root/var/lib/swupd/* ---> Running in 2d036a50b8bb Installing OS version 33570 (latest) Downloading missing manifests... Downloading packs (15.88 MB) for: - os-core - rsync [ 1%] [ 2%] [ 3%] [ 4%] [ 5%] [ 6%] [ 7%] [ 8%] [ 9%] [ 10%] [ 11%] [ 12%] [ 13%] [ 14%] [ 15%] [ 16%] [ 17%] [ 18%] [ 19%] [ 20%] [ 21%] [ 22%] [ 23%] [ 24%] [ 25%] [ 26%] [ 27%] [ 28%] [ 29%] [ 30%] [ 31%] [ 32%] [ 33%] [ 34%] [ 35%] [ 36%] [ 37%] [ 38%] [ 39%] [ 40%] [ 41%] [ 42%] [ 43%] [ 44%] [ 45%] [ 46%] [ 47%] [ 48%] [ 49%] [ 50%] [ 51%] [ 52%] [ 53%] [ 54%] [ 55%] [ 56%] [ 57%] [ 58%] [ 59%] [ 60%] [ 61%] [ 62%] [ 63%] [ 64%] [ 65%] [ 66%] [ 67%] [ 68%] [ 69%] [ 70%] [ 71%] [ 72%] [ 73%] [ 74%] [ 75%] [ 76%] [ 77%] [ 78%] [ 79%] [ 80%] [ 81%] [ 82%] [ 83%] [ 84%] [ 85%] [ 86%] [ 87%] [ 88%] [ 89%] [ 90%] [ 91%] [ 92%] [ 93%] [ 94%] [ 95%] [ 96%] [ 97%] [ 98%] [ 99%] [100%] Finishing packs extraction... Warning: Linkname can't be converted from UTF-8 to current locale.  Checking for corrupt files [ 1%] [ 2%] [ 3%] [ 4%] [ 5%] [ 6%] [ 7%] [ 8%] [ 9%] [ 10%] [ 11%] [ 12%] [ 13%] [ 14%] [ 15%] [ 16%] [ 17%] [ 18%] [ 19%] [ 20%] [ 21%] [ 22%] [ 23%] [ 24%] [ 25%] [ 26%] [ 27%] [ 28%] [ 29%] [ 30%] [ 31%] [ 32%] [ 33%] [ 34%] [ 35%] [ 36%] [ 37%] [ 38%] [ 39%] [ 40%] [ 41%] [ 42%] [ 43%] [ 44%] [ 45%] [ 46%] [ 47%] [ 48%] [ 49%] [ 50%] [ 51%] [ 52%] [ 53%] [ 54%] [ 55%] [ 56%] [ 57%] [ 58%] [ 59%] [ 60%] [ 61%] [ 62%] [ 63%] [ 64%] [ 65%] [ 66%] [ 67%] [ 68%] [ 69%] [ 70%] [ 71%] [ 72%] [ 73%] [ 74%] [ 75%] [ 76%] [ 77%] [ 78%] [ 79%] [ 80%] [ 81%] [ 82%] [ 83%] [ 84%] [ 85%] [ 86%] [ 87%] [ 88%] [ 89%] [ 90%] [ 91%] [ 92%] [ 93%] [ 94%] [ 95%] [ 96%] [ 97%] [ 98%] [ 99%] [100%] Validate downloaded files [ 1%] [ 2%] [ 3%] [ 4%] [ 5%] [ 6%] [ 7%] [ 8%] [ 9%] [ 10%] [ 11%] [ 12%] [ 13%] [ 14%] [ 15%] [ 16%] [ 17%] [ 18%] [ 19%] [ 20%] [ 21%] [ 22%] [ 23%] [ 24%] [ 25%] [ 26%] [ 27%] [ 28%] [ 29%] [ 30%] [ 31%] [ 32%] [ 33%] [ 34%] [ 35%] [ 36%] [ 37%] [ 38%] [ 39%] [ 40%] [ 41%] [ 42%] [ 43%] [ 44%] [ 45%] [ 46%] [ 47%] [ 48%] [ 49%] [ 50%] [ 51%] [ 52%] [ 53%] [ 54%] [ 55%] [ 56%] [ 57%] [ 58%] [ 59%] [ 60%] [ 61%] [ 62%] [ 63%] [ 64%] [ 65%] [ 66%] [ 67%] [ 68%] [ 69%] [ 70%] [ 71%] [ 72%] [ 73%] [ 74%] [ 75%] [ 76%] [ 77%] [ 78%] [ 79%] [ 80%] [ 81%] [ 82%] [ 83%] [ 84%] [ 85%] [ 86%] [ 87%] [ 88%] [ 89%] [ 90%] [ 91%] [ 92%] [ 93%] [ 94%] [ 95%] [ 96%] [ 97%] [ 98%] [ 99%] [100%] No extra files need to be downloaded [100%] Installing base OS and selected bundles [ 1%] [ 2%] [ 3%] [ 4%] [ 5%] [ 6%] [ 7%] [ 8%] [ 9%] [ 10%] [ 11%] [ 12%] [ 13%] [ 14%] [ 15%] [ 16%] [ 17%] [ 18%] [ 19%] [ 20%] [ 21%] [ 22%] [ 23%] [ 24%] [ 25%] [ 26%] [ 27%] [ 28%] [ 29%] [ 30%] [ 31%] [ 32%] [ 33%] [ 34%] [ 35%] [ 36%] [ 37%] [ 38%] [ 39%] [ 40%] [ 41%] [ 42%] [ 43%] [ 44%] [ 45%] [ 46%] [ 47%] [ 48%] [ 49%] [ 50%] [ 51%] [ 52%] [ 53%] [ 54%] [ 55%] [ 56%] [ 57%] [ 58%] [ 59%] [ 60%] [ 61%] [ 62%] [ 63%] [ 64%] [ 65%] [ 66%] [ 67%] [ 68%] [ 69%] [ 70%] [ 71%] [ 72%] [ 73%] [ 74%] [ 75%] [ 76%] [ 77%] [ 78%] [ 79%] [ 80%] [ 81%] [ 82%] [ 83%] [ 84%] [ 85%] [ 86%] [ 87%] [ 88%] [ 89%] [ 90%] [ 91%] [ 92%] [ 93%] [ 94%] [ 95%] [ 96%] [ 97%] [ 98%] [ 99%] [100%] Inspected 2645 files 2586 files were missing 2586 of 2586 missing files were installed 0 of 2586 missing files were not installed Calling post-update helper scripts Warning: boot files update skipped due to --no-boot-update argument External command: Error: run_command /install_root//usr/bin/update-helper failed: 2 (No such file or directory) Installation successful Removing intermediate container 2d036a50b8bb ---> 00a4fb8b3a0a Step 6/23 : ARG DIR=/intel-device-plugins-for-kubernetes ---> Running in c91ec25a4aff Removing intermediate container c91ec25a4aff ---> a8b4f5606e57 Step 7/23 : WORKDIR $DIR ---> Running in d1381284e3b3 Removing intermediate container d1381284e3b3 ---> 4684c47d5f34 Step 8/23 : COPY . . ---> 985c58e04804 Step 9/23 : RUN cd $DIR/cmd/fpga_crihook && go install && chmod a+x /go/bin/fpga_crihook && cd $DIR/cmd/fpga_tool && go install && chmod a+x /go/bin/fpga_tool && install -D ${DIR}/LICENSE /install_root/usr/local/share/package-licenses/intel-device-plugins-for-kubernetes/LICENSE ---> Running in df9b9ebfb51d go: downloading k8s.io/utils v0.0.0-20190221042446-c2654d5206da go: downloading github.com/pkg/errors v0.8.0 go: downloading golang.org/x/sys v0.0.0-20190312061237-fead79001313 go: extracting github.com/pkg/errors v0.8.0 go: extracting k8s.io/utils v0.0.0-20190221042446-c2654d5206da go: extracting golang.org/x/sys v0.0.0-20190312061237-fead79001313 go: finding k8s.io/utils v0.0.0-20190221042446-c2654d5206da go: finding github.com/pkg/errors v0.8.0 go: finding golang.org/x/sys v0.0.0-20190312061237-fead79001313 Removing intermediate container df9b9ebfb51d ---> fd16fc91656f Step 10/23 : FROM scratch as final ---> Step 11/23 : COPY --from=builder /install_root / ---> 75d259029f96 Step 12/23 : ARG SRC_DIR=/usr/local/fpga-sw ---> Running in cf2325f8209e Removing intermediate container cf2325f8209e ---> 05a49455fecb Step 13/23 : ARG DST_DIR=/opt/intel/fpga-sw ---> Running in d7d1831d7faa Removing intermediate container d7d1831d7faa ---> bd87d14f6a7c Step 14/23 : ARG CRI_HOOK=intel-fpga-crihook ---> Running in 635af63547bf Removing intermediate container 635af63547bf ---> 3912e4cf4138 Step 15/23 : ARG FPGA_TOOL=fpgatool ---> Running in 4032d075a55e Removing intermediate container 4032d075a55e ---> cbeb57067692 Step 16/23 : ARG HOOK_CONF=$CRI_HOOK.json ---> Running in 217b7fb7835d Removing intermediate container 217b7fb7835d ---> 8dfde4600534 Step 17/23 : ARG HOOK_CONF_SRC=$SRC_DIR/$HOOK_CONF ---> Running in 656c699cdbb7 Removing intermediate container 656c699cdbb7 ---> aadaebd804f6 Step 18/23 : ARG HOOK_CONF_DST=$DST_DIR/$HOOK_CONF ---> Running in b21e9f562381 Removing intermediate container b21e9f562381 ---> a9fc7df72377 Step 19/23 : COPY --from=builder /go/bin/fpga_crihook $SRC_DIR/$CRI_HOOK ---> 273b15087b9a Step 20/23 : COPY --from=builder /go/bin/fpga_tool $SRC_DIR/$FPGA_TOOL ---> 52ad224ddc43 Step 21/23 : RUN echo -e "{\n \"hook\" : \"$DST_DIR/$CRI_HOOK\",\n \"stage\" : [ \"prestart\" ],\n \"annotation\": [ \"fpga.intel.com/region\" ]\n}\n">>$HOOK_CONF_SRC ---> Running in bad8a6a91b2b Removing intermediate container bad8a6a91b2b ---> b9a328165a69 Step 22/23 : RUN echo -e "#!/bin/sh\nrsync -a --delete $SRC_DIR/ $DST_DIR\nmkdir -p /etc/containers/oci/hooks.d\nln -sf $HOOK_CONF_DST /etc/containers/oci/hooks.d/$HOOK_CONF\nrm $DST_DIR/deploy.sh\n">> $SRC_DIR/deploy.sh && chmod +x $SRC_DIR/deploy.sh ---> Running in 72f1dd5dddcf Removing intermediate container 72f1dd5dddcf ---> 0c85f87024e1 Step 23/23 : ENTRYPOINT [ "/usr/local/fpga-sw/deploy.sh" ] ---> Running in 5a8d08ad12c5 Removing intermediate container 5a8d08ad12c5 ---> a916884c5b8f Successfully built a916884c5b8f Successfully tagged intel/intel-fpga-initcontainer:devel Untagged: intel/intel-fpga-initcontainer:devel