Push event to branch odessa Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 656ceab6dd46d9fcc9651c810792a41d358b7590 Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17134165603184111135.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 67d2f908f88f8156fbe481f59f373e57362cafe7 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6563317918377776242.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 67d2f908f88f8156fbe481f59f373e57362cafe7 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-can/branches/odessa/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-can/branches/odessa/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17535614874693343737.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 67d2f908f88f8156fbe481f59f373e57362cafe7 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 67d2f908f88f8156fbe481f59f373e57362cafe7 # timeout=10 Commit message: "Merge pull request #476 from cherrycl/issue-475" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9467064354633425047.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-can/branches/odessa/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-can/branches/odessa/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16183660033367757642.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-can, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-can-settings PROJECT: device-can USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-can DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-773890 in /w/workspace/edgexfoundry_device-can_odessa [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-can.git > git init /w/workspace/edgexfoundry_device-can_odessa # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-can.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-can.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-can.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 656ceab6dd46d9fcc9651c810792a41d358b7590 (odessa) Commit message: "ci(lts-release): LTS release v4.0.1 @0dcd0b3" > git config core.sparsecheckout # timeout=10 > git checkout -f 656ceab6dd46d9fcc9651c810792a41d358b7590 # timeout=10 > git rev-list --no-walk 0dcd0b359bd416d3dfaff6ce0dab288149d11485 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:16:40 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:16:40 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:16:40 ========================================================= 05:16:40 EdgeX Global Pipelines Version Info 05:16:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:16:41 ------------------- 05:16:41 stable info: 05:16:41 ------------------- 05:16:41 Commited By: Cherry Wang cherry@iotechsys.com 05:16:41 Commit SHA: 67d2f908f88f8156fbe481f59f373e57362cafe7 05:16:41 Message: update stable to v1.0.278 05:16:42 ------------------- 05:16:42 experimental info: 05:16:42 ------------------- 05:16:42 Commited By: **** collab-it+edgex@linuxfoundation.org 05:16:42 Commit SHA: cefbf83a7544ec8ad1f65f559367c3ce5893bda8 05:16:42 Message: update experimental to v1.0.279 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:16:42 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-can-settings [Pipeline] echo 05:16:42 [edgeXSetupEnvironment]: set envvar PROJECT = device-can [Pipeline] echo 05:16:42 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:16:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:16:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:16:42 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 05:16:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 05:16:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:16:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:16:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-can [Pipeline] echo 05:16:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:16:42 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:16:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:16:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:16:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:16:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:16:42 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:16:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = odessa [Pipeline] echo 05:16:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = odessa [Pipeline] echo 05:16:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = odessa [Pipeline] echo 05:16:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 656ceab6dd46d9fcc9651c810792a41d358b7590 [Pipeline] echo 05:16:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 656ceab [Pipeline] echo 05:16:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:16:42 provisioning config files... 05:16:42 copy managed file [device-can-settings] to file:/w/workspace/edgexfoundry_device-can_odessa@tmp/config13465440722563772466tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:16:43 ---> ****-login.sh 05:16:43 nexus3.edgexfoundry.org:10001 05:16:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:16:43 05:16:43 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 05:16:43 Configure a credential helper to remove this warning. See 05:16:43 https://docs.****.com/go/credential-store/ 05:16:43 05:16:43 Login Succeeded 05:16:43 nexus3.edgexfoundry.org:10002 05:16:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:16:43 05:16:43 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 05:16:43 Configure a credential helper to remove this warning. See 05:16:43 https://docs.****.com/go/credential-store/ 05:16:43 05:16:43 Login Succeeded 05:16:43 nexus3.edgexfoundry.org:10003 05:16:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:16:43 05:16:43 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 05:16:43 Configure a credential helper to remove this warning. See 05:16:43 https://docs.****.com/go/credential-store/ 05:16:43 05:16:43 Login Succeeded 05:16:43 nexus3.edgexfoundry.org:10004 05:16:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:16:43 05:16:43 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 05:16:43 Configure a credential helper to remove this warning. See 05:16:43 https://docs.****.com/go/credential-store/ 05:16:43 05:16:43 Login Succeeded 05:16:43 ****.io 05:16:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:16:43 05:16:43 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 05:16:43 Configure a credential helper to remove this warning. See 05:16:43 https://docs.****.com/go/credential-store/ 05:16:43 05:16:43 Login Succeeded 05:16:43 ---> ****-login.sh ends [Pipeline] } 05:16:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 05:16:44 + git rev-list -1 --merges 656ceab6dd46d9fcc9651c810792a41d358b7590~1..656ceab6dd46d9fcc9651c810792a41d358b7590 [Pipeline] echo 05:16:44 -----------> git rev-list -1 --merges 656ceab6dd46d9fcc9651c810792a41d358b7590~1..656ceab6dd46d9fcc9651c810792a41d358b7590 656ceab6dd46d9fcc9651c810792a41d358b7590 [false] [Pipeline] sh 05:16:44 + git log --format=format:%s -1 656ceab6dd46d9fcc9651c810792a41d358b7590 [Pipeline] echo 05:16:44 ========================================================= 05:16:44 [isLTSReleaseBuild] No build required. isLTSRelease: [true] 05:16:44 ========================================================= [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] withEnv [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] echo 05:16:44 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] sh 05:16:45 + echo 0.0.0 [Pipeline] echo 05:16:45 [prepBaseBuildImage] Generating new image with name: device-can-builder-x86_64 [Pipeline] echo 05:16:45 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 05:16:45 ========================================================= 05:16:45 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-gcc-base:gcc-lts] 05:16:45 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:16:45 + docker build -t device-can-builder-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-gcc-base:gcc-lts . 05:16:46 #0 building with "default" instance using docker driver 05:16:46 05:16:46 #1 [internal] load build definition from Dockerfile.alpine-base 05:16:46 #1 transferring dockerfile: 1.88kB done 05:16:46 #1 DONE 0.0s 05:16:46 05:16:46 #2 [internal] load metadata for docker.io/library/alpine:3.16 05:16:46 #2 DONE 0.6s 05:16:46 05:16:46 #3 [internal] load .dockerignore 05:16:46 #3 transferring context: 2B done 05:16:46 #3 DONE 0.0s 05:16:46 05:16:46 #4 [internal] load build context 05:16:46 #4 transferring context: 23.10kB done 05:16:46 #4 DONE 0.0s 05:16:46 05:16:46 #5 [ 1/11] FROM docker.io/library/alpine:3.16@sha256:452e7292acee0ee16c332324d7de05fa2c99f9994ecc9f0779c602916a672ae4 05:16:46 #5 resolve docker.io/library/alpine:3.16@sha256:452e7292acee0ee16c332324d7de05fa2c99f9994ecc9f0779c602916a672ae4 0.0s done 05:16:46 #5 extracting sha256:a88dc8b54e91eb6b19695ef7e04865926d4df23004f414a3ee86978617492d4d 05:16:46 #5 extracting sha256:a88dc8b54e91eb6b19695ef7e04865926d4df23004f414a3ee86978617492d4d 0.1s done 05:16:46 #5 sha256:0db9d004361b106932f8c7632ae54d56e92c18281e2dd203127d77405020abf6 528B / 528B done 05:16:46 #5 sha256:d49a5025be10344cce77d178103a225cb5d7316861e5d8f106e7ff278ae51b62 1.47kB / 1.47kB done 05:16:46 #5 sha256:a88dc8b54e91eb6b19695ef7e04865926d4df23004f414a3ee86978617492d4d 2.81MB / 2.81MB 0.1s done 05:16:46 #5 sha256:452e7292acee0ee16c332324d7de05fa2c99f9994ecc9f0779c602916a672ae4 1.64kB / 1.64kB done 05:16:46 #5 DONE 0.3s 05:16:47 05:16:47 #6 [ 2/11] RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 05:16:47 #6 0.308 Connecting to iotech.jfrog.io (54.73.4.50:443) 05:16:47 #6 0.704 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 05:16:47 #6 0.704 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 05:16:47 #6 0.704 '/etc/apk/keys/alpine.dev.rsa.pub' saved 05:16:47 #6 DONE 0.8s 05:16:47 05:16:47 #7 [ 3/11] RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 05:16:47 #7 DONE 0.3s 05:16:48 05:16:48 #8 [ 4/11] RUN apk add --update --no-cache build-base git gcc cmake make linux-headers yaml-dev libmicrohttpd-dev curl-dev util-linux-dev ncurses-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev libcbor-dev iotech-iot-1.5-dev dumb-init libexecinfo-dev 05:16:48 #8 0.242 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:16:48 #8 0.327 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:16:48 #8 0.421 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 05:16:48 #8 0.832 WARNING: Ignoring https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main: No such file or directory 05:16:49 #8 0.912 ERROR: unable to select packages: 05:16:49 #8 0.941 iotech-iot-1.5-dev (no such package): 05:16:49 #8 0.941 required by: world[iotech-iot-1.5-dev] 05:16:49 #8 0.941 iotech-paho-mqtt-c-dev-1.3 (no such package): 05:16:49 #8 0.941 required by: world[iotech-paho-mqtt-c-dev-1.3] 05:16:49 #8 ERROR: process "/bin/sh -c apk add --update --no-cache build-base git gcc cmake make linux-headers yaml-dev libmicrohttpd-dev curl-dev util-linux-dev ncurses-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev libcbor-dev iotech-iot-1.5-dev dumb-init libexecinfo-dev" did not complete successfully: exit code: 2 05:16:49 ------ 05:16:49 > [ 4/11] RUN apk add --update --no-cache build-base git gcc cmake make linux-headers yaml-dev libmicrohttpd-dev curl-dev util-linux-dev ncurses-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev libcbor-dev iotech-iot-1.5-dev dumb-init libexecinfo-dev: 05:16:49 0.242 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:16:49 0.327 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:16:49 0.421 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 05:16:49 0.832 WARNING: Ignoring https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main: No such file or directory 05:16:49 0.912 ERROR: unable to select packages: 05:16:49 0.941 iotech-iot-1.5-dev (no such package): 05:16:49 0.941 required by: world[iotech-iot-1.5-dev] 05:16:49 0.941 iotech-paho-mqtt-c-dev-1.3 (no such package): 05:16:49 0.941 required by: world[iotech-paho-mqtt-c-dev-1.3] 05:16:49 ------ 05:16:49 Dockerfile.alpine-base:26 05:16:49 -------------------- 05:16:49 24 | RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 05:16:49 25 | 05:16:49 26 | >>> RUN apk add --update --no-cache build-base git gcc cmake make linux-headers yaml-dev libmicrohttpd-dev curl-dev util-linux-dev ncurses-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev libcbor-dev iotech-iot-1.5-dev dumb-init libexecinfo-dev 05:16:49 27 | # Ensure using latest versions of all installed packages to avoid any recent CVEs 05:16:49 28 | RUN apk --no-cache upgrade 05:16:49 -------------------- 05:16:49 ERROR: failed to solve: process "/bin/sh -c apk add --update --no-cache build-base git gcc cmake make linux-headers yaml-dev libmicrohttpd-dev curl-dev util-linux-dev ncurses-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev libcbor-dev iotech-iot-1.5-dev dumb-init libexecinfo-dev" did not complete successfully: exit code: 2 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:16:49 Failed in branch amd64 05:16:59 Still waiting to schedule task 05:16:59 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:18:31 Running on prd-ubuntu20.04-docker-arm64-4c-16g-773893 in /w/workspace/edgexfoundry_device-can_odessa [Pipeline] { [Pipeline] checkout 05:18:34 The recommended git tool is: NONE 05:18:39 using credential edgex-jenkins-ssh 05:18:39 Cloning the remote Git repository 05:18:39 Cloning repository git@github.com:edgexfoundry/device-can.git 05:18:39 > git init /w/workspace/edgexfoundry_device-can_odessa # timeout=10 05:18:39 Fetching upstream changes from git@github.com:edgexfoundry/device-can.git 05:18:39 > git --version # timeout=10 05:18:39 > git --version # 'git version 2.25.1' 05:18:39 using GIT_SSH to set credentials SSH Credentials for GitHub 05:18:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-can.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:18:42 > git config remote.origin.url git@github.com:edgexfoundry/device-can.git # timeout=10 05:18:42 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:18:43 Avoid second fetch 05:18:43 Checking out Revision 656ceab6dd46d9fcc9651c810792a41d358b7590 (odessa) 05:18:43 Commit message: "ci(lts-release): LTS release v4.0.1 @0dcd0b3" 05:18:43 > git config core.sparsecheckout # timeout=10 05:18:43 > git checkout -f 656ceab6dd46d9fcc9651c810792a41d358b7590 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:18:48 provisioning config files... 05:18:48 copy managed file [device-can-settings] to file:/w/workspace/edgexfoundry_device-can_odessa@tmp/config12759926605654785099tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:18:48 ---> ****-login.sh 05:18:48 nexus3.edgexfoundry.org:10001 05:18:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:18:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:18:49 Configure a credential helper to remove this warning. See 05:18:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:18:49 05:18:49 Login Succeeded 05:18:49 nexus3.edgexfoundry.org:10002 05:18:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:18:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:18:49 Configure a credential helper to remove this warning. See 05:18:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:18:49 05:18:49 Login Succeeded 05:18:49 nexus3.edgexfoundry.org:10003 05:18:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:18:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:18:49 Configure a credential helper to remove this warning. See 05:18:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:18:49 05:18:49 Login Succeeded 05:18:49 nexus3.edgexfoundry.org:10004 05:18:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:18:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:18:50 Configure a credential helper to remove this warning. See 05:18:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:18:50 05:18:50 Login Succeeded 05:18:50 ****.io 05:18:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:18:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:18:50 Configure a credential helper to remove this warning. See 05:18:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:18:50 05:18:50 Login Succeeded 05:18:50 ---> ****-login.sh ends [Pipeline] } 05:18:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:18:50 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] sh 05:18:51 + echo 0.0.0 [Pipeline] echo 05:18:51 [prepBaseBuildImage] Generating new image with name: device-can-builder-arm64 [Pipeline] echo 05:18:51 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 05:18:51 ========================================================= 05:18:51 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-gcc-base-arm64:gcc-lts] 05:18:51 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:51 + docker build -t device-can-builder-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-gcc-base-arm64:gcc-lts . 05:18:51 Sending build context to Docker daemon 213.5kB 05:18:51 Step 1/12 : ARG BASE_TEMPORARY=alpine:3.16 05:18:51 Step 2/12 : FROM ${BASE_TEMPORARY} 05:18:52 3.16: Pulling from library/alpine 05:18:52 550f8bf8502c: Pulling fs layer 05:18:52 550f8bf8502c: Verifying Checksum 05:18:55 550f8bf8502c: Pull complete 05:18:55 Digest: sha256:452e7292acee0ee16c332324d7de05fa2c99f9994ecc9f0779c602916a672ae4 05:18:55 Status: Downloaded newer image for alpine:3.16 05:18:55 ---> 4a74307a1e88 05:18:55 Step 3/12 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 05:18:55 ---> Running in e45e26afbc1a 05:18:56 Connecting to iotech.jfrog.io (34.247.22.236:443) 05:18:56 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 05:18:56 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 05:18:56 '/etc/apk/keys/alpine.dev.rsa.pub' saved 05:18:57 Removing intermediate container e45e26afbc1a 05:18:57 ---> 5b3b843c3424 05:18:57 Step 4/12 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 05:18:57 ---> Running in d32e8792b25d 05:18:59 Removing intermediate container d32e8792b25d 05:18:59 ---> f3c28546f0a1 05:18:59 Step 5/12 : RUN apk add --update --no-cache build-base git gcc cmake make linux-headers yaml-dev libmicrohttpd-dev curl-dev util-linux-dev ncurses-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev libcbor-dev iotech-iot-1.5-dev dumb-init libexecinfo-dev 05:18:59 ---> Running in 15bd351a766b 05:19:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:19:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:19:01 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz 05:19:01 WARNING: Ignoring https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main: No such file or directory 05:19:02 ERROR: unable to select packages: 05:19:02  iotech-iot-1.5-dev (no such package): 05:19:02 required by: world[iotech-iot-1.5-dev] 05:19:02 iotech-paho-mqtt-c-dev-1.3 (no such package): 05:19:02 required by: world[iotech-paho-mqtt-c-dev-1.3] 05:19:02 The command '/bin/sh -c apk add --update --no-cache build-base git gcc cmake make linux-headers yaml-dev libmicrohttpd-dev curl-dev util-linux-dev ncurses-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev libcbor-dev iotech-iot-1.5-dev dumb-init libexecinfo-dev' returned a non-zero code: 2 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 05:19:02 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) Stage "Build Check" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Semver Prep) Stage "Build Check" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build Check" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to earlier failure(s) [Pipeline] getContext Stage "arm64" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Prep) [Pipeline] stage [Pipeline] { (Prep) Stage "amd64" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } Stage "arm64" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Test) Stage "amd64" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } Stage "arm64" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] stage [Pipeline] { (Build) Stage "amd64" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } Stage "arm64" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] stage [Pipeline] { (Docker Push) Stage "amd64" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } Stage "arm64" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } 05:19:03 Failed in branch arm64 [Pipeline] stage [Pipeline] { (Snap) Stage "amd64" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } 05:19:03 Failed in branch amd64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Build Check" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Build Check" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Build Check" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:19:04 + [ -d /w/workspace/edgexfoundry_device-can_odessa/archives ] [Pipeline] libraryResource [Pipeline] sh 05:19:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:19:05 ---> package-listing.sh 05:19:05 ++ facter osfamily 05:19:05 ++ tr '[:upper:]' '[:lower:]' 05:19:05 + OS_FAMILY=debian 05:19:05 + workspace=/w/workspace/edgexfoundry_device-can_odessa 05:19:05 + START_PACKAGES=/tmp/packages_start.txt 05:19:05 + END_PACKAGES=/tmp/packages_end.txt 05:19:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:19:05 + PACKAGES=/tmp/packages_start.txt 05:19:05 + '[' /w/workspace/edgexfoundry_device-can_odessa ']' 05:19:05 + PACKAGES=/tmp/packages_end.txt 05:19:05 + case "${OS_FAMILY}" in 05:19:05 + dpkg -l 05:19:05 + grep '^ii' 05:19:05 + '[' -f /tmp/packages_start.txt ']' 05:19:05 + '[' -f /tmp/packages_end.txt ']' 05:19:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:19:05 + '[' /w/workspace/edgexfoundry_device-can_odessa ']' 05:19:05 + mkdir -p /w/workspace/edgexfoundry_device-can_odessa/archives/ 05:19:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-can_odessa/archives/ [Pipeline] echo 05:19:05 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-can_odessa/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:19:05 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:19:06 05:19:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:19:06 latest: Pulling from edgex-lftools-log-publisher 05:19:06 5eb5b503b376: Pulling fs layer 05:19:06 5c69ac0246d0: Pulling fs layer 05:19:06 ec43610c2a17: Pulling fs layer 05:19:06 3a2ae6a8a46f: Pulling fs layer 05:19:06 33b1e0a273af: Pulling fs layer 05:19:06 5d3b04190fa2: Pulling fs layer 05:19:06 2f39f015ded8: Pulling fs layer 05:19:06 33b1e0a273af: Waiting 05:19:06 5d3b04190fa2: Waiting 05:19:06 2f39f015ded8: Waiting 05:19:06 3a2ae6a8a46f: Waiting 05:19:06 5c69ac0246d0: Verifying Checksum 05:19:06 5c69ac0246d0: Download complete 05:19:06 3a2ae6a8a46f: Download complete 05:19:06 33b1e0a273af: Verifying Checksum 05:19:06 33b1e0a273af: Download complete 05:19:06 ec43610c2a17: Verifying Checksum 05:19:06 ec43610c2a17: Download complete 05:19:06 5d3b04190fa2: Download complete 05:19:06 5eb5b503b376: Verifying Checksum 05:19:06 5eb5b503b376: Download complete 05:19:07 2f39f015ded8: Verifying Checksum 05:19:07 2f39f015ded8: Download complete 05:19:08 5eb5b503b376: Pull complete 05:19:08 5c69ac0246d0: Pull complete 05:19:09 ec43610c2a17: Pull complete 05:19:09 3a2ae6a8a46f: Pull complete 05:19:09 33b1e0a273af: Pull complete 05:19:09 5d3b04190fa2: Pull complete 05:19:16 2f39f015ded8: Pull complete 05:19:16 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:19:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:19:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:19:16 prd-ubuntu20.04-docker-8c-8g-773890 does not seem to be running inside a container 05:19:16 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-can_odessa/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-can_odessa -v /w/workspace/edgexfoundry_device-can_odessa:/w/workspace/edgexfoundry_device-can_odessa:rw,z -v /w/workspace/edgexfoundry_device-can_odessa@tmp:/w/workspace/edgexfoundry_device-can_odessa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:19:18 $ docker top 8d461033d5f8ca7002441ba2edf89d0d0c3782a6fdcc0ef65e1c45c27825af9a -eo pid,comm [Pipeline] { [Pipeline] sh 05:19:18 + touch /tmp/pre-build-complete [Pipeline] sh 05:19:19 + mkdir -p /var/log/sysstat [Pipeline] sh 05:19:19 + ls /var/log/sa-host 05:19:19 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:19:19 provisioning config files... 05:19:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-can_odessa@tmp/config7684352343741295832tmp [Pipeline] { [Pipeline] echo 05:19:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:19:19 ---> create-netrc.sh [Pipeline] } 05:19:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:19:20 ---> python-tools-install.sh [Pipeline] echo 05:19:20 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:19:20 ---> sudo-logs.sh 05:19:20 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:19:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:19:20 ---> job-cost.sh 05:19:20 lf-activate-venv: SKIPPING 05:19:20 INFO: No Stack... 05:19:21 INFO: Retrieving Pricing Info for: v3-standard-8 05:19:21 INFO: Archiving Costs [Pipeline] echo 05:19:21 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:19:22 ---> logs-deploy.sh 05:19:22 lf-activate-venv: SKIPPING 05:19:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-can/odessa/3 05:19:22 INFO: archiving workspace using pattern(s): 05:19:22 Archives upload complete. 05:19:22 INFO: archiving logs to Nexus