Pull request #473 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of FelixTing for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 5802d189977772371b861644d75d70a84e724351+e4aa58a90e880d3b2fc448b9bdb101dfbcc44123 (3712ea3920bd5ff61b8675ca28ab7b6c736cb869) 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-ssh7730553052252321430.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh17355633942980136818.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-473/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-sdk-c/branches/PR-473/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12669785388528994921.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-sdk-c/branches/PR-473/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3881509230326399491.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh12223545455547299976.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-473/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-sdk-c/branches/PR-473/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12005369854050252395.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [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-sdk-c-settings PROJECT: device-sdk-c 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-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false 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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-2196’ Running on prd-ubuntu20.04-docker-8c-8g-2198 in /w/workspace/edgexfoundry_device-sdk-c_PR-473 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-473 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.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-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/473/head:refs/remotes/origin/PR-473 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e4aa58a90e880d3b2fc448b9bdb101dfbcc44123 into PR head commit 5802d189977772371b861644d75d70a84e724351 Merge succeeded, producing 5802d189977772371b861644d75d70a84e724351 Checking out Revision 5802d189977772371b861644d75d70a84e724351 (PR-473) > git config core.sparsecheckout # timeout=10 > git checkout -f 5802d189977772371b861644d75d70a84e724351 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge e4aa58a90e880d3b2fc448b9bdb101dfbcc44123 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5802d189977772371b861644d75d70a84e724351 # timeout=10 Commit message: "feat: Update examples to v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-07-26T09:25:57.129Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-07-26T09:25:57.301Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-07-26T09:25:57.403Z] ========================================================= [2023-07-26T09:25:57.403Z] EdgeX Global Pipelines Version Info [2023-07-26T09:25:57.403Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-07-26T09:25:58.158Z] ------------------- [2023-07-26T09:25:58.158Z] stable info: [2023-07-26T09:25:58.158Z] ------------------- [2023-07-26T09:25:58.158Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-07-26T09:25:58.158Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-26T09:25:58.158Z] Message: update stable to v1.0.250 [2023-07-26T09:25:58.732Z] ------------------- [2023-07-26T09:25:58.732Z] experimental info: [2023-07-26T09:25:58.732Z] ------------------- [2023-07-26T09:25:58.732Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-07-26T09:25:58.732Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-26T09:25:58.732Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-07-26T09:25:58.995Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-07-26T09:25:59.026Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-07-26T09:25:59.060Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-07-26T09:25:59.095Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-07-26T09:25:59.127Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-07-26T09:25:59.164Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-07-26T09:25:59.202Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-07-26T09:25:59.236Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-07-26T09:25:59.270Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-07-26T09:25:59.304Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-07-26T09:25:59.340Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-07-26T09:25:59.376Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-07-26T09:25:59.409Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-07-26T09:25:59.446Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-07-26T09:25:59.480Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-07-26T09:25:59.512Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-07-26T09:25:59.549Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-07-26T09:25:59.584Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-473 [Pipeline] echo [2023-07-26T09:25:59.618Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-473 [Pipeline] echo [2023-07-26T09:25:59.659Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-473 [Pipeline] echo [2023-07-26T09:25:59.695Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5802d189977772371b861644d75d70a84e724351 [Pipeline] echo [2023-07-26T09:25:59.733Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5802d18 [Pipeline] echo [2023-07-26T09:25:59.784Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-26T09:25:59.899Z] provisioning config files... [2023-07-26T09:25:59.915Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-473@tmp/config13691581859654241627tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-26T09:26:00.253Z] ---> docker-login.sh [2023-07-26T09:26:00.253Z] nexus3.edgexfoundry.org:10001 [2023-07-26T09:26:00.513Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T09:26:00.513Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T09:26:00.513Z] Configure a credential helper to remove this warning. See [2023-07-26T09:26:00.513Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T09:26:00.513Z] [2023-07-26T09:26:00.513Z] Login Succeeded [2023-07-26T09:26:00.513Z] nexus3.edgexfoundry.org:10002 [2023-07-26T09:26:00.513Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T09:26:00.513Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T09:26:00.513Z] Configure a credential helper to remove this warning. See [2023-07-26T09:26:00.513Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T09:26:00.513Z] [2023-07-26T09:26:00.513Z] Login Succeeded [2023-07-26T09:26:00.513Z] nexus3.edgexfoundry.org:10003 [2023-07-26T09:26:00.773Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T09:26:00.773Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T09:26:00.773Z] Configure a credential helper to remove this warning. See [2023-07-26T09:26:00.773Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T09:26:00.773Z] [2023-07-26T09:26:00.773Z] Login Succeeded [2023-07-26T09:26:00.773Z] nexus3.edgexfoundry.org:10004 [2023-07-26T09:26:00.773Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T09:26:00.773Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T09:26:00.773Z] Configure a credential helper to remove this warning. See [2023-07-26T09:26:00.773Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T09:26:00.773Z] [2023-07-26T09:26:00.773Z] Login Succeeded [2023-07-26T09:26:00.773Z] docker.io [2023-07-26T09:26:01.033Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T09:26:01.033Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T09:26:01.033Z] Configure a credential helper to remove this warning. See [2023-07-26T09:26:01.033Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T09:26:01.033Z] [2023-07-26T09:26:01.033Z] Login Succeeded [2023-07-26T09:26:01.033Z] ---> docker-login.sh ends [Pipeline] } [2023-07-26T09:26:01.060Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh [2023-07-26T09:26:01.690Z] + git rev-list -1 --merges 5802d189977772371b861644d75d70a84e724351~1..5802d189977772371b861644d75d70a84e724351 [Pipeline] echo [2023-07-26T09:26:01.772Z] -----------> git rev-list -1 --merges 5802d189977772371b861644d75d70a84e724351~1..5802d189977772371b861644d75d70a84e724351 5802d189977772371b861644d75d70a84e724351 [false] [Pipeline] sh [2023-07-26T09:26:02.085Z] + git log --format=format:%s -1 5802d189977772371b861644d75d70a84e724351 [Pipeline] echo [2023-07-26T09:26:02.120Z] ========================================================= [2023-07-26T09:26:02.120Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-26T09:26:02.120Z] ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-07-26T09:26:02.900Z] + git rev-list -1 --merges 5802d189977772371b861644d75d70a84e724351~1..5802d189977772371b861644d75d70a84e724351 [Pipeline] echo [2023-07-26T09:26:02.933Z] -----------> git rev-list -1 --merges 5802d189977772371b861644d75d70a84e724351~1..5802d189977772371b861644d75d70a84e724351 5802d189977772371b861644d75d70a84e724351 [false] [Pipeline] sh [2023-07-26T09:26:03.236Z] + git log --format=format:%s -1 5802d189977772371b861644d75d70a84e724351 [Pipeline] echo [2023-07-26T09:26:03.272Z] ========================================================= [2023-07-26T09:26:03.272Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-26T09:26:03.272Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-07-26T09:26:03.760Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-26T09:26:03.760Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-07-26T09:26:03.760Z] + [ -e /tmp/ssh_known_hosts ] [2023-07-26T09:26:03.760Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-07-26T09:26:03.760Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-07-26T09:26:03.760Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-07-26T09:26:03.760Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T09:26:04.248Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-26T09:26:04.248Z] [2023-07-26T09:26:04.248Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T09:26:04.639Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-26T09:26:04.639Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-07-26T09:26:04.639Z] b85a868b505f: Pulling fs layer [2023-07-26T09:26:04.639Z] e2be974225ed: Pulling fs layer [2023-07-26T09:26:04.639Z] 339a4e72a1f5: Pulling fs layer [2023-07-26T09:26:04.639Z] 988bab9f4d93: Pulling fs layer [2023-07-26T09:26:04.639Z] 1469e6f7b9e6: Pulling fs layer [2023-07-26T09:26:04.639Z] eaf3925da568: Pulling fs layer [2023-07-26T09:26:04.639Z] bab4dde63d76: Pulling fs layer [2023-07-26T09:26:04.639Z] bde34c3a00c8: Pulling fs layer [2023-07-26T09:26:04.639Z] b352a97aabf1: Pulling fs layer [2023-07-26T09:26:04.639Z] 4872d77fe225: Pulling fs layer [2023-07-26T09:26:04.639Z] 5851b861e8e6: Pulling fs layer [2023-07-26T09:26:04.639Z] bab4dde63d76: Waiting [2023-07-26T09:26:04.639Z] 1469e6f7b9e6: Waiting [2023-07-26T09:26:04.639Z] 988bab9f4d93: Waiting [2023-07-26T09:26:04.639Z] eaf3925da568: Waiting [2023-07-26T09:26:04.639Z] b352a97aabf1: Waiting [2023-07-26T09:26:04.639Z] 5851b861e8e6: Waiting [2023-07-26T09:26:04.639Z] 4872d77fe225: Waiting [2023-07-26T09:26:04.639Z] bde34c3a00c8: Waiting [2023-07-26T09:26:04.639Z] e2be974225ed: Download complete [2023-07-26T09:26:04.639Z] 988bab9f4d93: Verifying Checksum [2023-07-26T09:26:04.639Z] 988bab9f4d93: Download complete [2023-07-26T09:26:04.639Z] 1469e6f7b9e6: Verifying Checksum [2023-07-26T09:26:04.639Z] 1469e6f7b9e6: Download complete [2023-07-26T09:26:04.905Z] eaf3925da568: Verifying Checksum [2023-07-26T09:26:04.905Z] eaf3925da568: Download complete [2023-07-26T09:26:04.905Z] 339a4e72a1f5: Verifying Checksum [2023-07-26T09:26:04.905Z] 339a4e72a1f5: Download complete [2023-07-26T09:26:04.905Z] bde34c3a00c8: Verifying Checksum [2023-07-26T09:26:04.905Z] bde34c3a00c8: Download complete [2023-07-26T09:26:04.906Z] b352a97aabf1: Download complete [2023-07-26T09:26:04.906Z] 4872d77fe225: Verifying Checksum [2023-07-26T09:26:04.906Z] 4872d77fe225: Download complete [2023-07-26T09:26:04.906Z] 5851b861e8e6: Download complete [2023-07-26T09:26:04.906Z] b85a868b505f: Verifying Checksum [2023-07-26T09:26:04.906Z] b85a868b505f: Download complete [2023-07-26T09:26:05.166Z] bab4dde63d76: Download complete [2023-07-26T09:26:06.548Z] b85a868b505f: Pull complete [2023-07-26T09:26:06.548Z] e2be974225ed: Pull complete [2023-07-26T09:26:06.809Z] 339a4e72a1f5: Pull complete [2023-07-26T09:26:07.070Z] 988bab9f4d93: Pull complete [2023-07-26T09:26:07.331Z] 1469e6f7b9e6: Pull complete [2023-07-26T09:26:07.331Z] eaf3925da568: Pull complete [2023-07-26T09:26:09.232Z] bab4dde63d76: Pull complete [2023-07-26T09:26:09.232Z] bde34c3a00c8: Pull complete [2023-07-26T09:26:09.492Z] b352a97aabf1: Pull complete [2023-07-26T09:26:09.492Z] 4872d77fe225: Pull complete [2023-07-26T09:26:09.492Z] 5851b861e8e6: Pull complete [2023-07-26T09:26:09.492Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-07-26T09:26:09.492Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-26T09:26:09.492Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-26T09:26:09.729Z] prd-ubuntu20.04-docker-8c-8g-2198 does not seem to be running inside a container [2023-07-26T09:26:09.760Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-473 -v /w/workspace/edgexfoundry_device-sdk-c_PR-473:/w/workspace/edgexfoundry_device-sdk-c_PR-473:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-473@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-473@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-07-26T09:26:12.786Z] $ docker top dea254f36dd1f90b2952651dff2b4af3885617b5496d9eea36273786bab74307 -eo pid,comm [2023-07-26T09:26:12.843Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-07-26T09:26:12.843Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-26T09:26:12.958Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-26T09:26:12.958Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-26T09:26:13.063Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-26T09:26:13.064Z] $ docker exec dea254f36dd1f90b2952651dff2b4af3885617b5496d9eea36273786bab74307 ssh-agent [2023-07-26T09:26:13.168Z] SSH_AUTH_SOCK=/tmp/ssh-8zSriDLDLBU6/agent.34 [2023-07-26T09:26:13.168Z] SSH_AGENT_PID=40 [2023-07-26T09:26:13.174Z] Running ssh-add (command line suppressed) [2023-07-26T09:26:13.265Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-473@tmp/private_key_17180854798327908736.key (/w/workspace/edgexfoundry_device-sdk-c_PR-473@tmp/private_key_17180854798327908736.key) [2023-07-26T09:26:13.287Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-26T09:26:13.611Z] + git tag --points-at HEAD [Pipeline] } [2023-07-26T09:26:13.635Z] $ docker exec --env ******** --env ******** dea254f36dd1f90b2952651dff2b4af3885617b5496d9eea36273786bab74307 ssh-agent -k [2023-07-26T09:26:13.739Z] unset SSH_AUTH_SOCK; [2023-07-26T09:26:13.740Z] unset SSH_AGENT_PID; [2023-07-26T09:26:13.740Z] echo Agent pid 40 killed; [2023-07-26T09:26:13.747Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-07-26T09:26:13.834Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-26T09:26:13.834Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-26T09:26:13.944Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-26T09:26:13.946Z] $ docker exec dea254f36dd1f90b2952651dff2b4af3885617b5496d9eea36273786bab74307 ssh-agent [2023-07-26T09:26:14.066Z] SSH_AUTH_SOCK=/tmp/ssh-S1YjKTD1l8uT/agent.72 [2023-07-26T09:26:14.066Z] SSH_AGENT_PID=78 [2023-07-26T09:26:14.072Z] Running ssh-add (command line suppressed) [2023-07-26T09:26:14.174Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-473@tmp/private_key_16461187290415522231.key (/w/workspace/edgexfoundry_device-sdk-c_PR-473@tmp/private_key_16461187290415522231.key) [2023-07-26T09:26:14.188Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-26T09:26:14.516Z] + git semver init [2023-07-26T09:26:14.777Z] 2023-07-26 09:26:14,712 [run_init] DEBUG init version:0.0.0 force:False [2023-07-26T09:26:14.777Z] 2023-07-26 09:26:14,713 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-473/.semver [2023-07-26T09:26:14.777Z] 2023-07-26 09:26:14,714 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-473/.semver [2023-07-26T09:26:14.777Z] 2023-07-26 09:26:14,714 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-473/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-473, universal_newlines=False, shell=None, istream=None) [2023-07-26T09:26:15.715Z] 2023-07-26 09:26:15,693 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-473/.git/info/exclude [2023-07-26T09:26:15.715Z] 2023-07-26 09:26:15,693 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-473/.semver/PR-473 with force:False [2023-07-26T09:26:15.715Z] 2023-07-26 09:26:15,693 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-473/.semver/PR-473 [2023-07-26T09:26:15.715Z] 2023-07-26 09:26:15,698 [execute] INFO git cat-file --batch-check [2023-07-26T09:26:15.715Z] 2023-07-26 09:26:15,699 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-473/.semver, universal_newlines=False, shell=None, istream=) [2023-07-26T09:26:15.715Z] 2023-07-26 09:26:15,705 [execute] INFO git cat-file --batch [2023-07-26T09:26:15.715Z] 2023-07-26 09:26:15,705 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-473/.semver, universal_newlines=False, shell=None, istream=) [2023-07-26T09:26:15.715Z] 2023-07-26 09:26:15,710 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-473/.semver/PR-473 [2023-07-26T09:26:15.715Z] 0.0.0 [Pipeline] } [2023-07-26T09:26:15.987Z] $ docker exec --env ******** --env ******** dea254f36dd1f90b2952651dff2b4af3885617b5496d9eea36273786bab74307 ssh-agent -k [2023-07-26T09:26:16.106Z] unset SSH_AUTH_SOCK; [2023-07-26T09:26:16.107Z] unset SSH_AGENT_PID; [2023-07-26T09:26:16.107Z] echo Agent pid 78 killed; [2023-07-26T09:26:16.119Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-26T09:26:16.526Z] + git semver [Pipeline] } [2023-07-26T09:26:16.807Z] $ docker stop --time=1 dea254f36dd1f90b2952651dff2b4af3885617b5496d9eea36273786bab74307 [2023-07-26T09:26:18.149Z] $ docker rm -f --volumes dea254f36dd1f90b2952651dff2b4af3885617b5496d9eea36273786bab74307 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-26T09:26:18.549Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-07-26T09:26:18.809Z] Stashed 1 file(s) [Pipeline] echo [2023-07-26T09:26:18.830Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-26T09:26:19.270Z] provisioning config files... [2023-07-26T09:26:19.279Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-473@tmp/config11133473359817843933tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-26T09:26:19.631Z] ---> docker-login.sh [2023-07-26T09:26:19.632Z] nexus3.edgexfoundry.org:10001 [2023-07-26T09:26:19.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T09:26:19.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T09:26:19.632Z] Configure a credential helper to remove this warning. See [2023-07-26T09:26:19.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T09:26:19.632Z] [2023-07-26T09:26:19.632Z] Login Succeeded [2023-07-26T09:26:19.632Z] nexus3.edgexfoundry.org:10002 [2023-07-26T09:26:19.893Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T09:26:19.893Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T09:26:19.893Z] Configure a credential helper to remove this warning. See [2023-07-26T09:26:19.893Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T09:26:19.893Z] [2023-07-26T09:26:19.893Z] Login Succeeded [2023-07-26T09:26:19.893Z] nexus3.edgexfoundry.org:10003 [2023-07-26T09:26:19.893Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T09:26:19.893Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T09:26:19.893Z] Configure a credential helper to remove this warning. See [2023-07-26T09:26:19.893Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T09:26:19.893Z] [2023-07-26T09:26:19.893Z] Login Succeeded [2023-07-26T09:26:19.893Z] nexus3.edgexfoundry.org:10004 [2023-07-26T09:26:19.893Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T09:26:20.155Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T09:26:20.155Z] Configure a credential helper to remove this warning. See [2023-07-26T09:26:20.155Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T09:26:20.155Z] [2023-07-26T09:26:20.155Z] Login Succeeded [2023-07-26T09:26:20.155Z] docker.io [2023-07-26T09:26:20.155Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T09:26:20.414Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T09:26:20.414Z] Configure a credential helper to remove this warning. See [2023-07-26T09:26:20.414Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T09:26:20.414Z] [2023-07-26T09:26:20.414Z] Login Succeeded [2023-07-26T09:26:20.414Z] ---> docker-login.sh ends [Pipeline] } [2023-07-26T09:26:20.443Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-26T09:26:20.630Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-26T09:26:20.660Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-07-26T09:26:20.693Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-26T09:26:20.722Z] ========================================================= [2023-07-26T09:26:20.722Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-07-26T09:26:20.722Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T09:26:21.122Z] + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . [2023-07-26T09:26:21.122Z] Sending build context to Docker daemon 4.915MB [2023-07-26T09:26:21.122Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-07-26T09:26:21.122Z] Step 2/21 : FROM ${BASE} as builder [2023-07-26T09:26:21.122Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-07-26T09:26:21.122Z] 91d30c5bc195: Pulling fs layer [2023-07-26T09:26:21.122Z] 316e5a4585fb: Pulling fs layer [2023-07-26T09:26:21.382Z] 91d30c5bc195: Verifying Checksum [2023-07-26T09:26:21.382Z] 91d30c5bc195: Download complete [2023-07-26T09:26:21.382Z] 91d30c5bc195: Pull complete [2023-07-26T09:26:21.949Z] 316e5a4585fb: Verifying Checksum [2023-07-26T09:26:21.949Z] 316e5a4585fb: Download complete [2023-07-26T09:26:24.480Z] 316e5a4585fb: Pull complete [2023-07-26T09:26:24.480Z] Digest: sha256:46ce083f99ae49712d4f1141acdd2e69c9eb8e11ca29cc7d79d78bb0a10585c4 [2023-07-26T09:26:24.480Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-07-26T09:26:24.480Z] ---> e83ffa357ff4 [2023-07-26T09:26:24.480Z] Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-07-26T09:26:26.427Z] ---> Running in e7eb50a7815b [2023-07-26T09:26:26.427Z] Connecting to iotech.jfrog.io (52.213.19.111:443) [2023-07-26T09:26:26.995Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-26T09:26:26.995Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-26T09:26:26.995Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-26T09:26:27.254Z] Removing intermediate container e7eb50a7815b [2023-07-26T09:26:27.254Z] ---> 6c0ed50b4879 [2023-07-26T09:26:27.254Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-26T09:26:27.254Z] ---> Running in 68cf23ddfe5c [2023-07-26T09:26:27.821Z] Removing intermediate container 68cf23ddfe5c [2023-07-26T09:26:27.821Z] ---> 07f1bc97c876 [2023-07-26T09:26:27.821Z] Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2023-07-26T09:26:27.821Z] ---> Running in e2e08d176926 [2023-07-26T09:26:28.080Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-26T09:26:28.080Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-07-26T09:26:28.339Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-26T09:26:28.908Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-26T09:26:28.908Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-26T09:26:28.908Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-26T09:26:28.908Z] (3/16) Installing hiredis (1.0.2-r0) [2023-07-26T09:26:28.908Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-07-26T09:26:28.908Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-07-26T09:26:29.846Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-07-26T09:26:29.846Z] (7/16) Installing libcbor (0.9.0-r1) [2023-07-26T09:26:29.846Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-07-26T09:26:29.846Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-07-26T09:26:29.846Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-07-26T09:26:30.787Z] (11/16) Installing libblkid (2.38-r1) [2023-07-26T09:26:30.787Z] (12/16) Installing libuuid (2.38-r1) [2023-07-26T09:26:30.787Z] (13/16) Installing libfdisk (2.38-r1) [2023-07-26T09:26:30.787Z] (14/16) Installing libmount (2.38-r1) [2023-07-26T09:26:30.787Z] (15/16) Installing libsmartcols (2.38-r1) [2023-07-26T09:26:30.787Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-07-26T09:26:31.047Z] Executing busybox-1.35.0-r17.trigger [2023-07-26T09:26:31.047Z] OK: 280 MiB in 90 packages [2023-07-26T09:26:31.616Z] Removing intermediate container e2e08d176926 [2023-07-26T09:26:31.616Z] ---> e03254d30dfc [2023-07-26T09:26:31.616Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-07-26T09:26:31.616Z] ---> Running in 70c3050b1aad [2023-07-26T09:26:32.186Z] Removing intermediate container 70c3050b1aad [2023-07-26T09:26:32.186Z] ---> 1aa483132d6e [2023-07-26T09:26:32.186Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-07-26T09:26:32.449Z] ---> 5c5becafbe1b [2023-07-26T09:26:32.449Z] Step 8/21 : COPY src /tmp/sdk/src [2023-07-26T09:26:32.449Z] ---> bc7e26d658dd [2023-07-26T09:26:32.449Z] Step 9/21 : COPY include /tmp/sdk/include [2023-07-26T09:26:32.707Z] ---> e1f91494c31b [2023-07-26T09:26:32.707Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-07-26T09:26:32.707Z] ---> 09067139dd26 [2023-07-26T09:26:32.707Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-07-26T09:26:32.967Z] ---> a528d04893ea [2023-07-26T09:26:32.967Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-07-26T09:26:32.967Z] ---> 3ec525cf20b6 [2023-07-26T09:26:32.967Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-07-26T09:26:32.967Z] ---> Running in 88fd415492f1 [2023-07-26T09:26:33.227Z] + CPPCHECK=false [2023-07-26T09:26:33.227Z] + DOCGEN=false [2023-07-26T09:26:33.227Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-07-26T09:26:33.227Z] + '[' 0 -gt 0 ] [2023-07-26T09:26:33.227Z] + readlink -f ./scripts/build.sh [2023-07-26T09:26:33.227Z] + dirname /tmp/sdk/scripts/build.sh [2023-07-26T09:26:33.227Z] + dirname /tmp/sdk/scripts [2023-07-26T09:26:33.227Z] + ROOT=/tmp/sdk [2023-07-26T09:26:33.227Z] + cd /tmp/sdk [2023-07-26T09:26:33.227Z] + mkdir -p /tmp/sdk/build/release [2023-07-26T09:26:33.227Z] + cd /tmp/sdk/build/release [2023-07-26T09:26:33.227Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-07-26T09:26:33.487Z] -- The C compiler identification is GNU 11.2.1 [2023-07-26T09:26:33.487Z] -- Detecting C compiler ABI info [2023-07-26T09:26:33.487Z] -- Detecting C compiler ABI info - done [2023-07-26T09:26:33.487Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-07-26T09:26:33.487Z] -- Detecting C compile features [2023-07-26T09:26:33.487Z] -- Detecting C compile features - done [2023-07-26T09:26:33.487Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-07-26T09:26:33.487Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-07-26T09:26:33.487Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-07-26T09:26:33.487Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-07-26T09:26:33.487Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-07-26T09:26:33.487Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-07-26T09:26:33.487Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-07-26T09:26:33.487Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-07-26T09:26:33.487Z] -- /opt/iotech/iot/1.5/include [2023-07-26T09:26:33.487Z] -- C SDK 0.0.0 for Linux [2023-07-26T09:26:33.487Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-07-26T09:26:33.748Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-07-26T09:26:33.748Z] -- Found Curses: /usr/lib/libcurses.so [2023-07-26T09:26:33.748Z] -- Configuring done [2023-07-26T09:26:33.748Z] -- Generating done [2023-07-26T09:26:33.748Z] -- Build files have been written to: /tmp/sdk/build/release [2023-07-26T09:26:33.748Z] + make all package [2023-07-26T09:26:33.748Z] + tee release.log [2023-07-26T09:26:33.748Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-26T09:26:34.009Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-07-26T09:26:34.125Z] Still waiting to schedule task [2023-07-26T09:26:34.126Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-2197’ [2023-07-26T09:26:34.283Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-07-26T09:26:34.283Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-07-26T09:26:34.544Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-07-26T09:26:34.544Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-07-26T09:26:34.804Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-07-26T09:26:35.064Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-07-26T09:26:35.064Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-07-26T09:26:35.324Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-07-26T09:26:35.584Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-07-26T09:26:35.843Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-07-26T09:26:35.843Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-07-26T09:26:36.103Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-07-26T09:26:36.103Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-07-26T09:26:36.363Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-07-26T09:26:36.363Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-07-26T09:26:36.625Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-07-26T09:26:36.884Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-07-26T09:26:36.884Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-07-26T09:26:37.145Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-07-26T09:26:38.085Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-07-26T09:26:38.085Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-07-26T09:26:38.345Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-07-26T09:26:38.345Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-07-26T09:26:38.345Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-07-26T09:26:38.605Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-07-26T09:26:39.176Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-07-26T09:26:39.176Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-07-26T09:26:39.444Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-07-26T09:26:39.444Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-07-26T09:26:40.031Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-07-26T09:26:40.290Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-07-26T09:26:40.290Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-07-26T09:26:40.290Z] [ 68%] Linking C shared library libcsdk.so [2023-07-26T09:26:40.290Z] [ 68%] Built target csdk [2023-07-26T09:26:40.290Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-07-26T09:26:40.548Z] [ 72%] Linking C executable template [2023-07-26T09:26:40.548Z] [ 72%] Built target template [2023-07-26T09:26:40.548Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-07-26T09:26:40.807Z] [ 76%] Linking C executable device-counter [2023-07-26T09:26:40.807Z] [ 76%] Built target device-counter [2023-07-26T09:26:40.807Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-07-26T09:26:41.075Z] [ 80%] Linking C executable device-random [2023-07-26T09:26:41.075Z] [ 80%] Built target device-random [2023-07-26T09:26:41.075Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-07-26T09:26:41.075Z] [ 84%] Linking C executable device-gyro [2023-07-26T09:26:41.075Z] [ 84%] Built target device-gyro [2023-07-26T09:26:41.334Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-07-26T09:26:41.334Z] [ 88%] Linking C executable device-bitfields [2023-07-26T09:26:41.334Z] [ 88%] Built target device-bitfields [2023-07-26T09:26:41.334Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-07-26T09:26:41.592Z] [ 92%] Linking C executable template-discovery [2023-07-26T09:26:41.592Z] [ 92%] Built target template-discovery [2023-07-26T09:26:41.592Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-07-26T09:26:41.854Z] [ 96%] Linking C executable device-file [2023-07-26T09:26:41.854Z] [ 96%] Built target device-file [2023-07-26T09:26:41.854Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-07-26T09:26:42.112Z] [100%] Linking C executable device-terminal [2023-07-26T09:26:42.112Z] [100%] Built target device-terminal [2023-07-26T09:26:42.112Z] Run CPack packaging tool... [2023-07-26T09:26:42.112Z] CPack: Create package using TGZ [2023-07-26T09:26:42.112Z] CPack: Install projects [2023-07-26T09:26:42.112Z] CPack: - Run preinstall target for: Csdk [2023-07-26T09:26:42.378Z] CPack: - Install project: Csdk [] [2023-07-26T09:26:42.378Z] CPack: Create package [2023-07-26T09:26:42.378Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-07-26T09:26:42.378Z] + '[' false '=' true ] [2023-07-26T09:26:42.378Z] + '[' false '=' true ] [2023-07-26T09:26:42.378Z] + mkdir -p /tmp/sdk/build/debug [2023-07-26T09:26:42.378Z] + cd /tmp/sdk/build/debug [2023-07-26T09:26:42.378Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-07-26T09:26:42.378Z] -- The C compiler identification is GNU 11.2.1 [2023-07-26T09:26:42.378Z] -- Detecting C compiler ABI info [2023-07-26T09:26:42.637Z] -- Detecting C compiler ABI info - done [2023-07-26T09:26:42.638Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-07-26T09:26:42.638Z] -- Detecting C compile features [2023-07-26T09:26:42.638Z] -- Detecting C compile features - done [2023-07-26T09:26:42.638Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-07-26T09:26:42.638Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-07-26T09:26:42.638Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-07-26T09:26:42.638Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-07-26T09:26:42.638Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-07-26T09:26:42.638Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-07-26T09:26:42.638Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-07-26T09:26:42.638Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-07-26T09:26:42.638Z] -- /opt/iotech/iot/1.5/include [2023-07-26T09:26:42.638Z] -- C SDK 0.0.0 for Linux [2023-07-26T09:26:42.638Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-07-26T09:26:42.638Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-07-26T09:26:42.638Z] -- Found Curses: /usr/lib/libcurses.so [2023-07-26T09:26:42.896Z] -- Configuring done [2023-07-26T09:26:42.896Z] -- Generating done [2023-07-26T09:26:42.897Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-07-26T09:26:42.897Z] + make [2023-07-26T09:26:42.897Z] + tee debug.log [2023-07-26T09:26:42.897Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-26T09:26:42.897Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-07-26T09:26:42.897Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-07-26T09:26:43.155Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-07-26T09:26:43.155Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-07-26T09:26:43.155Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-07-26T09:26:43.414Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-07-26T09:26:43.414Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-07-26T09:26:43.414Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-07-26T09:26:43.673Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-07-26T09:26:43.673Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-07-26T09:26:43.932Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-07-26T09:26:43.932Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-07-26T09:26:43.932Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-07-26T09:26:44.190Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-07-26T09:26:44.190Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-07-26T09:26:44.190Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-07-26T09:26:44.448Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-07-26T09:26:44.448Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-07-26T09:26:44.448Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-07-26T09:26:44.707Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-07-26T09:26:44.966Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-07-26T09:26:44.966Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-07-26T09:26:44.966Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-07-26T09:26:44.966Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-07-26T09:26:45.225Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-07-26T09:26:45.225Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-07-26T09:26:45.485Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-07-26T09:26:45.485Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-07-26T09:26:45.744Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-07-26T09:26:45.744Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-07-26T09:26:46.002Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-07-26T09:26:46.002Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-07-26T09:26:46.002Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-07-26T09:26:46.002Z] [ 68%] Linking C shared library libcsdk.so [2023-07-26T09:26:46.260Z] [ 68%] Built target csdk [2023-07-26T09:26:46.260Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-07-26T09:26:46.260Z] [ 72%] Linking C executable template [2023-07-26T09:26:46.260Z] [ 72%] Built target template [2023-07-26T09:26:46.260Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-07-26T09:26:46.520Z] [ 76%] Linking C executable device-counter [2023-07-26T09:26:46.520Z] [ 76%] Built target device-counter [2023-07-26T09:26:46.520Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-07-26T09:26:46.520Z] [ 80%] Linking C executable device-random [2023-07-26T09:26:46.520Z] [ 80%] Built target device-random [2023-07-26T09:26:46.520Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-07-26T09:26:46.777Z] [ 84%] Linking C executable device-gyro [2023-07-26T09:26:46.777Z] [ 84%] Built target device-gyro [2023-07-26T09:26:46.777Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-07-26T09:26:46.777Z] [ 88%] Linking C executable device-bitfields [2023-07-26T09:26:46.777Z] [ 88%] Built target device-bitfields [2023-07-26T09:26:47.037Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-07-26T09:26:47.037Z] [ 92%] Linking C executable template-discovery [2023-07-26T09:26:47.037Z] [ 92%] Built target template-discovery [2023-07-26T09:26:47.037Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-07-26T09:26:47.037Z] [ 96%] Linking C executable device-file [2023-07-26T09:26:47.296Z] [ 96%] Built target device-file [2023-07-26T09:26:47.296Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-07-26T09:26:47.296Z] [100%] Linking C executable device-terminal [2023-07-26T09:26:47.296Z] [100%] Built target device-terminal [2023-07-26T09:26:47.296Z] make: Entering directory '/tmp/sdk/build/release' [2023-07-26T09:26:47.296Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-07-26T09:26:47.296Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-26T09:26:47.296Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-26T09:26:47.556Z] [ 68%] Built target csdk [2023-07-26T09:26:47.556Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-26T09:26:47.556Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-26T09:26:47.556Z] [ 72%] Built target template [2023-07-26T09:26:47.556Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-26T09:26:47.556Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-26T09:26:47.556Z] [ 76%] Built target device-counter [2023-07-26T09:26:47.556Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-26T09:26:47.556Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-26T09:26:47.556Z] [ 80%] Built target device-random [2023-07-26T09:26:47.556Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-26T09:26:47.556Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-26T09:26:47.556Z] [ 84%] Built target device-gyro [2023-07-26T09:26:47.556Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-26T09:26:47.556Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-26T09:26:47.556Z] [ 88%] Built target device-bitfields [2023-07-26T09:26:47.556Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-26T09:26:47.556Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-26T09:26:47.556Z] [ 92%] Built target template-discovery [2023-07-26T09:26:47.556Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-26T09:26:47.556Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-26T09:26:47.556Z] [ 96%] Built target device-file [2023-07-26T09:26:47.556Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-26T09:26:47.556Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-26T09:26:47.556Z] [100%] Built target device-terminal [2023-07-26T09:26:47.556Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-07-26T09:26:47.556Z] Install the project... [2023-07-26T09:26:47.556Z] -- Install configuration: "Release" [2023-07-26T09:26:47.556Z] -- Installing: /usr/local/lib/libcsdk.so [2023-07-26T09:26:47.556Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-07-26T09:26:47.556Z] -- Installing: /usr/local/include [2023-07-26T09:26:47.556Z] -- Installing: /usr/local/include/devsdk [2023-07-26T09:26:47.556Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-07-26T09:26:47.556Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-07-26T09:26:47.556Z] -- Installing: /usr/local/include/edgex [2023-07-26T09:26:47.556Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-07-26T09:26:47.556Z] -- Installing: /usr/local/include/edgex/devices.h [2023-07-26T09:26:47.556Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-07-26T09:26:47.556Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-07-26T09:26:47.556Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-07-26T09:26:47.556Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-07-26T09:26:47.556Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-07-26T09:26:47.556Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-07-26T09:26:47.556Z] make: Leaving directory '/tmp/sdk/build/release' [2023-07-26T09:26:48.122Z] Removing intermediate container 88fd415492f1 [2023-07-26T09:26:48.122Z] ---> 9b22919f7100 [2023-07-26T09:26:48.122Z] Step 14/21 : FROM ${BASE} [2023-07-26T09:26:48.122Z] ---> e83ffa357ff4 [2023-07-26T09:26:48.122Z] Step 15/21 : LABEL maintainer="IOTech " [2023-07-26T09:26:48.122Z] ---> Running in 561dfee227a4 [2023-07-26T09:26:48.381Z] Removing intermediate container 561dfee227a4 [2023-07-26T09:26:48.381Z] ---> e49e5a4aea13 [2023-07-26T09:26:48.381Z] Step 16/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-07-26T09:26:48.381Z] ---> Running in 9cb2ff1e0599 [2023-07-26T09:26:48.640Z] Connecting to iotech.jfrog.io (52.213.230.185:443) [2023-07-26T09:26:48.897Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-26T09:26:48.897Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-26T09:26:48.897Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-26T09:26:49.155Z] Removing intermediate container 9cb2ff1e0599 [2023-07-26T09:26:49.155Z] ---> 938d0f4b4ffa [2023-07-26T09:26:49.155Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-26T09:26:49.155Z] ---> Running in 5a5e2e2977f8 [2023-07-26T09:26:49.721Z] Removing intermediate container 5a5e2e2977f8 [2023-07-26T09:26:49.721Z] ---> bb896b379ecb [2023-07-26T09:26:49.722Z] Step 18/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 iotech-iot-1.4 hiredis-dev [2023-07-26T09:26:49.722Z] ---> Running in b4d22ff7f06d [2023-07-26T09:26:49.979Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-26T09:26:50.237Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-07-26T09:26:50.498Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-26T09:26:51.064Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-26T09:26:51.064Z] (1/7) Installing curl (8.2.1-r0) [2023-07-26T09:26:51.064Z] (2/7) Installing hiredis (1.0.2-r0) [2023-07-26T09:26:51.064Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-07-26T09:26:51.064Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-07-26T09:26:51.633Z] (5/7) Installing libcbor (0.9.0-r1) [2023-07-26T09:26:51.633Z] (6/7) Installing libuuid (2.38-r1) [2023-07-26T09:26:51.633Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-07-26T09:26:52.568Z] Executing busybox-1.35.0-r17.trigger [2023-07-26T09:26:52.568Z] OK: 276 MiB in 83 packages [2023-07-26T09:26:52.827Z] Removing intermediate container b4d22ff7f06d [2023-07-26T09:26:52.827Z] ---> 230b6f75633a [2023-07-26T09:26:52.827Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-07-26T09:26:53.085Z] ---> d13b63fd484d [2023-07-26T09:26:53.085Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-07-26T09:26:53.085Z] ---> 418e65bcf294 [2023-07-26T09:26:53.085Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-07-26T09:26:53.343Z] ---> a2339d6f1c3d [2023-07-26T09:26:53.343Z] Successfully built a2339d6f1c3d [2023-07-26T09:26:53.343Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T09:26:54.024Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-26T09:26:54.024Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-26T09:26:54.162Z] prd-ubuntu20.04-docker-8c-8g-2198 does not seem to be running inside a container [2023-07-26T09:26:54.195Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-473 -v /w/workspace/edgexfoundry_device-sdk-c_PR-473:/w/workspace/edgexfoundry_device-sdk-c_PR-473:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-473@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-473@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-07-26T09:26:54.511Z] $ docker top 25549d2484e9a918787f705c4e0982d9d977d783711c6f60f61c936d0360e50f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-26T09:26:54.902Z] + make test [2023-07-26T09:26:54.902Z] echo "make test" [2023-07-26T09:26:54.902Z] make test [Pipeline] } [2023-07-26T09:26:54.936Z] $ docker stop --time=1 25549d2484e9a918787f705c4e0982d9d977d783711c6f60f61c936d0360e50f [2023-07-26T09:26:56.169Z] $ docker rm -f --volumes 25549d2484e9a918787f705c4e0982d9d977d783711c6f60f61c936d0360e50f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-26T09:26:56.939Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-26T09:26:57.248Z] + ls -al . [2023-07-26T09:26:57.248Z] total 212 [2023-07-26T09:26:57.248Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 26 09:26 . [2023-07-26T09:26:57.248Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 26 09:25 .. [2023-07-26T09:26:57.248Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 26 09:26 .git [2023-07-26T09:26:57.248Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 26 09:25 .github [2023-07-26T09:26:57.248Z] -rw-rw-r-- 1 jenkins jenkins 176 Jul 26 09:25 .gitignore [2023-07-26T09:26:57.248Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 26 09:26 .semver [2023-07-26T09:26:57.248Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jul 26 09:25 Attribution.txt [2023-07-26T09:26:57.248Z] -rw-rw-r-- 1 jenkins jenkins 9268 Jul 26 09:25 CHANGES [2023-07-26T09:26:57.248Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jul 26 09:25 Doxyfile [2023-07-26T09:26:57.248Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 26 09:25 GOVERNANCE.md [2023-07-26T09:26:57.248Z] -rw-rw-r-- 1 jenkins jenkins 784 Jul 26 09:25 Jenkinsfile [2023-07-26T09:26:57.248Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jul 26 09:25 LICENSE [2023-07-26T09:26:57.248Z] -rw-rw-r-- 1 jenkins jenkins 444 Jul 26 09:25 Makefile [2023-07-26T09:26:57.248Z] -rw-rw-r-- 1 jenkins jenkins 618 Jul 26 09:25 OWNERS.md [2023-07-26T09:26:57.248Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jul 26 09:25 README.IOT.md [2023-07-26T09:26:57.248Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jul 26 09:25 README.md [2023-07-26T09:26:57.248Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jul 26 09:25 README.v3.md [2023-07-26T09:26:57.248Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 26 09:26 VERSION [2023-07-26T09:26:57.248Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 26 09:25 docs [2023-07-26T09:26:57.248Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 26 09:25 include [2023-07-26T09:26:57.248Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 26 09:25 scripts [2023-07-26T09:26:57.248Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 26 09:25 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T09:26:57.628Z] + docker build -t device-sdk -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=5802d189977772371b861644d75d70a84e724351 --label arch=amd64 --label version=0.0.0 . [2023-07-26T09:26:57.629Z] Sending build context to Docker daemon 4.915MB [2023-07-26T09:26:57.629Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-07-26T09:26:57.629Z] Step 2/17 : FROM ${BASE} [2023-07-26T09:26:57.629Z] ---> a2339d6f1c3d [2023-07-26T09:26:57.629Z] Step 3/17 : LABEL maintainer="IOTech " [2023-07-26T09:26:57.629Z] ---> Running in fd407ee9083d [2023-07-26T09:26:57.629Z] Removing intermediate container fd407ee9083d [2023-07-26T09:26:57.629Z] ---> d94a544109ff [2023-07-26T09:26:57.629Z] Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-07-26T09:26:57.890Z] ---> Running in 7d18937fcf46 [2023-07-26T09:26:57.890Z] Connecting to iotech.jfrog.io (52.213.230.185:443) [2023-07-26T09:26:58.458Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-26T09:26:58.458Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-26T09:26:58.458Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-26T09:26:58.716Z] Removing intermediate container 7d18937fcf46 [2023-07-26T09:26:58.716Z] ---> 42bf672df72a [2023-07-26T09:26:58.716Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-26T09:26:58.716Z] ---> Running in 155e97831a35 [2023-07-26T09:26:59.282Z] Removing intermediate container 155e97831a35 [2023-07-26T09:26:59.282Z] ---> d6c160619756 [2023-07-26T09:26:59.282Z] Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build [2023-07-26T09:26:59.282Z] ---> Running in 2aa600ec796f [2023-07-26T09:26:59.541Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-26T09:26:59.541Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-07-26T09:26:59.801Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-26T09:27:00.370Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-26T09:27:00.370Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-26T09:27:00.370Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-26T09:27:00.370Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-07-26T09:27:01.308Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-07-26T09:27:01.308Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-07-26T09:27:01.308Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-07-26T09:27:01.308Z] (7/11) Installing libblkid (2.38-r1) [2023-07-26T09:27:01.308Z] (8/11) Installing libfdisk (2.38-r1) [2023-07-26T09:27:01.308Z] (9/11) Installing libmount (2.38-r1) [2023-07-26T09:27:01.308Z] (10/11) Installing libsmartcols (2.38-r1) [2023-07-26T09:27:01.308Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-07-26T09:27:01.308Z] Executing busybox-1.35.0-r17.trigger [2023-07-26T09:27:01.308Z] OK: 281 MiB in 92 packages [2023-07-26T09:27:01.873Z] Removing intermediate container 2aa600ec796f [2023-07-26T09:27:01.873Z] ---> 462156fb387e [2023-07-26T09:27:01.873Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-07-26T09:27:01.873Z] ---> 390b87edaa2f [2023-07-26T09:27:01.873Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-07-26T09:27:02.132Z] ---> e800748cafef [2023-07-26T09:27:02.132Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-07-26T09:27:02.132Z] ---> 078b5de4a860 [2023-07-26T09:27:02.132Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-07-26T09:27:02.390Z] ---> c815a394d10f [2023-07-26T09:27:02.390Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-07-26T09:27:02.390Z] ---> a863775bc821 [2023-07-26T09:27:02.390Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-07-26T09:27:02.649Z] ---> fb792b59fd9e [2023-07-26T09:27:02.649Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-07-26T09:27:02.649Z] ---> Running in bbbd8ac30d42 [2023-07-26T09:27:02.649Z] Removing intermediate container bbbd8ac30d42 [2023-07-26T09:27:02.649Z] ---> 226ed7366433 [2023-07-26T09:27:02.649Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-07-26T09:27:02.649Z] ---> Running in 3d630841efdf [2023-07-26T09:27:02.649Z] Removing intermediate container 3d630841efdf [2023-07-26T09:27:02.649Z] ---> 834ec615e576 [2023-07-26T09:27:02.649Z] Step 15/17 : LABEL arch=amd64 [2023-07-26T09:27:02.649Z] ---> Running in 22b523518211 [2023-07-26T09:27:02.927Z] Removing intermediate container 22b523518211 [2023-07-26T09:27:02.927Z] ---> 4a311c7038ca [2023-07-26T09:27:02.927Z] Step 16/17 : LABEL git_sha=5802d189977772371b861644d75d70a84e724351 [2023-07-26T09:27:02.927Z] ---> Running in cc2be4cca5b7 [2023-07-26T09:27:02.927Z] Removing intermediate container cc2be4cca5b7 [2023-07-26T09:27:02.927Z] ---> 2d67f1dd097e [2023-07-26T09:27:02.927Z] Step 17/17 : LABEL version=0.0.0 [2023-07-26T09:27:02.927Z] ---> Running in b28b9ae86158 [2023-07-26T09:27:02.927Z] Removing intermediate container b28b9ae86158 [2023-07-26T09:27:02.927Z] ---> 03e722663f39 [2023-07-26T09:27:02.927Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-07-26T09:27:02.927Z] Successfully built 03e722663f39 [2023-07-26T09:27:03.186Z] Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T09:27:04.073Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-26T09:27:04.073Z] [2023-07-26T09:27:04.073Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T09:27:04.512Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-26T09:27:04.512Z] latest: Pulling from edgex-lftools-log-publisher [2023-07-26T09:27:04.512Z] 5eb5b503b376: Pulling fs layer [2023-07-26T09:27:04.512Z] 5c69ac0246d0: Pulling fs layer [2023-07-26T09:27:04.512Z] ec43610c2a17: Pulling fs layer [2023-07-26T09:27:04.512Z] 3a2ae6a8a46f: Pulling fs layer [2023-07-26T09:27:04.512Z] 33b1e0a273af: Pulling fs layer [2023-07-26T09:27:04.512Z] 5d3b04190fa2: Pulling fs layer [2023-07-26T09:27:04.512Z] 2f39f015ded8: Pulling fs layer [2023-07-26T09:27:04.512Z] 33b1e0a273af: Waiting [2023-07-26T09:27:04.512Z] 5d3b04190fa2: Waiting [2023-07-26T09:27:04.512Z] 2f39f015ded8: Waiting [2023-07-26T09:27:04.512Z] 3a2ae6a8a46f: Waiting [2023-07-26T09:27:04.512Z] 5c69ac0246d0: Verifying Checksum [2023-07-26T09:27:04.512Z] 5c69ac0246d0: Download complete [2023-07-26T09:27:04.512Z] 3a2ae6a8a46f: Verifying Checksum [2023-07-26T09:27:04.512Z] 3a2ae6a8a46f: Download complete [2023-07-26T09:27:04.512Z] 33b1e0a273af: Verifying Checksum [2023-07-26T09:27:04.512Z] 33b1e0a273af: Download complete [2023-07-26T09:27:04.512Z] ec43610c2a17: Verifying Checksum [2023-07-26T09:27:04.512Z] ec43610c2a17: Download complete [2023-07-26T09:27:04.512Z] 5d3b04190fa2: Verifying Checksum [2023-07-26T09:27:04.512Z] 5d3b04190fa2: Download complete [2023-07-26T09:27:04.772Z] 5eb5b503b376: Verifying Checksum [2023-07-26T09:27:04.772Z] 5eb5b503b376: Download complete [2023-07-26T09:27:05.339Z] 2f39f015ded8: Download complete [2023-07-26T09:27:05.906Z] 5eb5b503b376: Pull complete [2023-07-26T09:27:05.906Z] 5c69ac0246d0: Pull complete [2023-07-26T09:27:06.474Z] ec43610c2a17: Pull complete [2023-07-26T09:27:06.474Z] 3a2ae6a8a46f: Pull complete [2023-07-26T09:27:06.733Z] 33b1e0a273af: Pull complete [2023-07-26T09:27:06.733Z] 5d3b04190fa2: Pull complete [2023-07-26T09:27:12.002Z] 2f39f015ded8: Pull complete [2023-07-26T09:27:12.002Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-07-26T09:27:12.002Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-26T09:27:12.002Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-26T09:27:12.205Z] prd-ubuntu20.04-docker-8c-8g-2198 does not seem to be running inside a container [2023-07-26T09:27:12.242Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-473 -v /w/workspace/edgexfoundry_device-sdk-c_PR-473:/w/workspace/edgexfoundry_device-sdk-c_PR-473:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-473@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-473@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-26T09:27:17.340Z] $ docker top 8f169507df2c9f797ba79b41ae4e3788ba00e5ced8233e1cdae628ab45bd900e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-26T09:27:17.783Z] ---> job-cost.sh [2023-07-26T09:27:17.784Z] lf-activate-venv: SKIPPING [2023-07-26T09:27:17.784Z] INFO: No Stack... [2023-07-26T09:27:18.042Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-26T09:27:18.609Z] INFO: Archiving Costs [Pipeline] sh [2023-07-26T09:27:18.925Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-473/archives/cost.csv [2023-07-26T09:27:18.925Z] + cut -d, -f6 [Pipeline] lock [2023-07-26T09:27:18.966Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-473-1-stack-cost] [2023-07-26T09:27:18.973Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-473-1-stack-cost] did not exist. Created. [2023-07-26T09:27:18.973Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-473-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-26T09:27:19.356Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-07-26T09:27:19.421Z] Stashed 1 file(s) [Pipeline] } [2023-07-26T09:27:19.435Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-473-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-26T09:27:19.516Z] $ docker stop --time=1 8f169507df2c9f797ba79b41ae4e3788ba00e5ced8233e1cdae628ab45bd900e [2023-07-26T09:27:20.662Z] $ docker rm -f --volumes 8f169507df2c9f797ba79b41ae4e3788ba00e5ced8233e1cdae628ab45bd900e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-26T09:30:09.534Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2199 in /w/workspace/edgexfoundry_device-sdk-c_PR-473 [Pipeline] { [Pipeline] ws [2023-07-26T09:30:09.591Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2023-07-26T09:30:09.664Z] Selected Git installation does not exist. Using Default [2023-07-26T09:30:09.664Z] The recommended git tool is: NONE [2023-07-26T09:30:14.711Z] using credential edgex-jenkins-ssh [2023-07-26T09:30:14.725Z] Cloning the remote Git repository [2023-07-26T09:30:14.767Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-07-26T09:30:14.865Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2023-07-26T09:30:15.026Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-07-26T09:30:15.027Z] > git --version # timeout=10 [2023-07-26T09:30:15.051Z] > git --version # 'git version 2.25.1' [2023-07-26T09:30:15.054Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-26T09:30:15.202Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-26T09:30:16.370Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-07-26T09:30:16.391Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-26T09:30:17.967Z] Merging remotes/origin/main commit e4aa58a90e880d3b2fc448b9bdb101dfbcc44123 into PR head commit 5802d189977772371b861644d75d70a84e724351 [2023-07-26T09:30:18.299Z] Merge succeeded, producing 5802d189977772371b861644d75d70a84e724351 [2023-07-26T09:30:18.299Z] Checking out Revision 5802d189977772371b861644d75d70a84e724351 (PR-473) [2023-07-26T09:30:17.230Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-07-26T09:30:17.274Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-07-26T09:30:17.275Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-26T09:30:17.291Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/473/head:refs/remotes/origin/PR-473 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-07-26T09:30:17.985Z] > git config core.sparsecheckout # timeout=10 [2023-07-26T09:30:18.073Z] > git checkout -f 5802d189977772371b861644d75d70a84e724351 # timeout=10 [2023-07-26T09:30:18.202Z] > git remote # timeout=10 [2023-07-26T09:30:18.221Z] > git config --get remote.origin.url # timeout=10 [2023-07-26T09:30:18.237Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-26T09:30:18.252Z] > git merge e4aa58a90e880d3b2fc448b9bdb101dfbcc44123 # timeout=10 [2023-07-26T09:30:18.277Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-07-26T09:30:18.305Z] > git config core.sparsecheckout # timeout=10 [2023-07-26T09:30:18.322Z] > git checkout -f 5802d189977772371b861644d75d70a84e724351 # timeout=10 [2023-07-26T09:30:21.820Z] Commit message: "feat: Update examples to v3" [2023-07-26T09:30:21.867Z] > git --version # timeout=10 [2023-07-26T09:30:21.880Z] > git --version # 'git version 2.25.1' [2023-07-26T09:30:21.895Z] fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-26T09:30:22.941Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-07-26T09:30:22.941Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-26T09:30:22.941Z] Dload Upload Total Spent Left Speed [2023-07-26T09:30:22.941Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 103k 0 --:--:-- --:--:-- --:--:-- 103k [Pipeline] sh [2023-07-26T09:30:23.662Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-07-26T09:30:24.010Z] + sudo tee /etc/docker/daemon.new [2023-07-26T09:30:24.010Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-07-26T09:30:24.010Z] { [2023-07-26T09:30:24.010Z] "registry-mirrors": [ [2023-07-26T09:30:24.010Z] "https://nexus3.edgexfoundry.org:10001" [2023-07-26T09:30:24.010Z] ], [2023-07-26T09:30:24.010Z] "bip": "10.250.0.254/24", [2023-07-26T09:30:24.010Z] "hosts": [ [2023-07-26T09:30:24.010Z] "tcp://0.0.0.0:5555", [2023-07-26T09:30:24.010Z] "unix:///var/run/docker.sock" [2023-07-26T09:30:24.010Z] ], [2023-07-26T09:30:24.010Z] "mtu": 1458, [2023-07-26T09:30:24.010Z] "selinux-enabled": true, [2023-07-26T09:30:24.010Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-07-26T09:30:24.010Z] } [Pipeline] sh [2023-07-26T09:30:24.351Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-07-26T09:30:24.695Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-26T09:30:43.023Z] provisioning config files... [2023-07-26T09:30:43.050Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config6749342560098908335tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-26T09:30:43.442Z] ---> docker-login.sh [2023-07-26T09:30:43.443Z] nexus3.edgexfoundry.org:10001 [2023-07-26T09:30:43.711Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T09:30:43.984Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T09:30:43.984Z] Configure a credential helper to remove this warning. See [2023-07-26T09:30:43.984Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T09:30:43.984Z] [2023-07-26T09:30:43.984Z] Login Succeeded [2023-07-26T09:30:43.984Z] nexus3.edgexfoundry.org:10002 [2023-07-26T09:30:44.255Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T09:30:44.255Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T09:30:44.255Z] Configure a credential helper to remove this warning. See [2023-07-26T09:30:44.255Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T09:30:44.255Z] [2023-07-26T09:30:44.255Z] Login Succeeded [2023-07-26T09:30:44.255Z] nexus3.edgexfoundry.org:10003 [2023-07-26T09:30:44.525Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T09:30:44.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T09:30:44.797Z] Configure a credential helper to remove this warning. See [2023-07-26T09:30:44.797Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T09:30:44.797Z] [2023-07-26T09:30:44.797Z] Login Succeeded [2023-07-26T09:30:44.797Z] nexus3.edgexfoundry.org:10004 [2023-07-26T09:30:44.797Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T09:30:45.068Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T09:30:45.068Z] Configure a credential helper to remove this warning. See [2023-07-26T09:30:45.068Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T09:30:45.068Z] [2023-07-26T09:30:45.068Z] Login Succeeded [2023-07-26T09:30:45.068Z] docker.io [2023-07-26T09:30:45.337Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T09:30:45.608Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T09:30:45.608Z] Configure a credential helper to remove this warning. See [2023-07-26T09:30:45.608Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T09:30:45.608Z] [2023-07-26T09:30:45.608Z] Login Succeeded [2023-07-26T09:30:45.608Z] ---> docker-login.sh ends [Pipeline] } [2023-07-26T09:30:45.637Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-26T09:30:46.003Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-26T09:30:46.031Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-07-26T09:30:46.062Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-26T09:30:46.093Z] ========================================================= [2023-07-26T09:30:46.094Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-07-26T09:30:46.094Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T09:30:46.545Z] + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . [2023-07-26T09:30:47.772Z] Sending build context to Docker daemon 2.963MB [2023-07-26T09:30:47.772Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-07-26T09:30:47.772Z] Step 2/21 : FROM ${BASE} as builder [2023-07-26T09:30:48.045Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-07-26T09:30:48.045Z] 547446be3368: Pulling fs layer [2023-07-26T09:30:48.045Z] 76bd08e1cacc: Pulling fs layer [2023-07-26T09:30:48.045Z] 547446be3368: Download complete [2023-07-26T09:30:48.640Z] 547446be3368: Pull complete [2023-07-26T09:30:50.058Z] 76bd08e1cacc: Verifying Checksum [2023-07-26T09:30:50.058Z] 76bd08e1cacc: Download complete [2023-07-26T09:30:58.292Z] 76bd08e1cacc: Pull complete [2023-07-26T09:30:58.292Z] Digest: sha256:e2ae639067a511a7973e9e369d25ddd915310c8cf663528363fa06e26cb01fbe [2023-07-26T09:30:58.292Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-07-26T09:30:58.292Z] ---> 295cd00e64f4 [2023-07-26T09:30:58.292Z] Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-07-26T09:30:58.883Z] ---> Running in 400ebb5eedc4 [2023-07-26T09:30:59.846Z] Connecting to iotech.jfrog.io (52.213.230.185:443) [2023-07-26T09:31:00.431Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-26T09:31:00.431Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-26T09:31:00.431Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-26T09:31:01.396Z] Removing intermediate container 400ebb5eedc4 [2023-07-26T09:31:01.396Z] ---> eaedf0d72837 [2023-07-26T09:31:01.396Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-26T09:31:01.396Z] ---> Running in ff49859cc243 [2023-07-26T09:31:03.348Z] Removing intermediate container ff49859cc243 [2023-07-26T09:31:03.348Z] ---> 1de39104f012 [2023-07-26T09:31:03.348Z] Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2023-07-26T09:31:03.348Z] ---> Running in 6f070a40ffd4 [2023-07-26T09:31:03.951Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-26T09:31:04.218Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-07-26T09:31:04.802Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-26T09:31:05.758Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-26T09:31:05.758Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-26T09:31:05.758Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-26T09:31:05.758Z] (3/16) Installing hiredis (1.0.2-r0) [2023-07-26T09:31:05.758Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-07-26T09:31:05.758Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-07-26T09:31:06.715Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-07-26T09:31:06.715Z] (7/16) Installing libcbor (0.9.0-r1) [2023-07-26T09:31:06.715Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-07-26T09:31:06.715Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-07-26T09:31:06.981Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-07-26T09:31:07.939Z] (11/16) Installing libblkid (2.38-r1) [2023-07-26T09:31:07.939Z] (12/16) Installing libuuid (2.38-r1) [2023-07-26T09:31:07.939Z] (13/16) Installing libfdisk (2.38-r1) [2023-07-26T09:31:07.939Z] (14/16) Installing libmount (2.38-r1) [2023-07-26T09:31:07.939Z] (15/16) Installing libsmartcols (2.38-r1) [2023-07-26T09:31:07.939Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-07-26T09:31:08.209Z] Executing busybox-1.35.0-r17.trigger [2023-07-26T09:31:08.209Z] OK: 286 MiB in 90 packages [2023-07-26T09:31:09.618Z] Removing intermediate container 6f070a40ffd4 [2023-07-26T09:31:09.618Z] ---> a1a4f724fdc8 [2023-07-26T09:31:09.618Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-07-26T09:31:09.618Z] ---> Running in 783e00ab09d0 [2023-07-26T09:31:11.028Z] Removing intermediate container 783e00ab09d0 [2023-07-26T09:31:11.028Z] ---> cd409156fd8b [2023-07-26T09:31:11.028Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-07-26T09:31:15.276Z] ---> 74c896b9be0c [2023-07-26T09:31:15.276Z] Step 8/21 : COPY src /tmp/sdk/src [2023-07-26T09:31:15.542Z] ---> 51446fa4fe68 [2023-07-26T09:31:15.542Z] Step 9/21 : COPY include /tmp/sdk/include [2023-07-26T09:31:16.127Z] ---> d149b2c8243a [2023-07-26T09:31:16.127Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-07-26T09:31:16.394Z] ---> 65b542bb4a2e [2023-07-26T09:31:16.394Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-07-26T09:31:16.978Z] ---> df9f7d00923a [2023-07-26T09:31:16.979Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-07-26T09:31:17.563Z] ---> 527a35d53188 [2023-07-26T09:31:17.563Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-07-26T09:31:17.563Z] ---> Running in b3f47c8b5331 [2023-07-26T09:31:18.522Z] + CPPCHECK=false [2023-07-26T09:31:18.522Z] + DOCGEN=false [2023-07-26T09:31:18.522Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-07-26T09:31:18.522Z] + '[' 0 -gt 0 ] [2023-07-26T09:31:18.522Z] + readlink -f ./scripts/build.sh [2023-07-26T09:31:18.522Z] + dirname /tmp/sdk/scripts/build.sh [2023-07-26T09:31:18.522Z] + dirname /tmp/sdk/scripts [2023-07-26T09:31:18.522Z] + ROOT=/tmp/sdk [2023-07-26T09:31:18.522Z] + cd /tmp/sdk [2023-07-26T09:31:18.522Z] + mkdir -p /tmp/sdk/build/release [2023-07-26T09:31:18.522Z] + cd /tmp/sdk/build/release [2023-07-26T09:31:18.522Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-07-26T09:31:18.789Z] -- The C compiler identification is GNU 11.2.1 [2023-07-26T09:31:18.789Z] -- Detecting C compiler ABI info [2023-07-26T09:31:19.057Z] -- Detecting C compiler ABI info - done [2023-07-26T09:31:19.325Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-07-26T09:31:19.325Z] -- Detecting C compile features [2023-07-26T09:31:19.325Z] -- Detecting C compile features - done [2023-07-26T09:31:19.325Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-07-26T09:31:19.591Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-07-26T09:31:19.591Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-07-26T09:31:19.591Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-07-26T09:31:19.591Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-07-26T09:31:19.591Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-07-26T09:31:19.591Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-07-26T09:31:19.591Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-07-26T09:31:19.591Z] -- /opt/iotech/iot/1.5/include [2023-07-26T09:31:19.591Z] -- C SDK 0.0.0 for Linux [2023-07-26T09:31:19.591Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-07-26T09:31:19.860Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-07-26T09:31:20.125Z] -- Found Curses: /usr/lib/libcurses.so [2023-07-26T09:31:20.392Z] -- Configuring done [2023-07-26T09:31:20.660Z] -- Generating done [2023-07-26T09:31:20.660Z] -- Build files have been written to: /tmp/sdk/build/release [2023-07-26T09:31:20.660Z] + make all package [2023-07-26T09:31:20.660Z] + tee release.log [2023-07-26T09:31:20.660Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-26T09:31:21.617Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-07-26T09:31:22.574Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-07-26T09:31:23.542Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-07-26T09:31:24.133Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-07-26T09:31:25.093Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-07-26T09:31:27.679Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-07-26T09:31:28.636Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-07-26T09:31:28.636Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-07-26T09:31:30.043Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-07-26T09:31:31.979Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-07-26T09:31:32.937Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-07-26T09:31:33.895Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-07-26T09:31:34.479Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-07-26T09:31:35.061Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-07-26T09:31:36.463Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-07-26T09:31:36.463Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-07-26T09:31:39.041Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-07-26T09:31:39.307Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-07-26T09:31:40.267Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-07-26T09:31:41.670Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-07-26T09:31:48.307Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-07-26T09:31:48.307Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-07-26T09:31:48.572Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-07-26T09:31:49.157Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-07-26T09:31:49.424Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-07-26T09:31:51.363Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-07-26T09:31:53.943Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-07-26T09:31:54.210Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-07-26T09:31:55.169Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-07-26T09:31:56.127Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-07-26T09:31:59.457Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-07-26T09:32:00.037Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-07-26T09:32:00.305Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-07-26T09:32:00.887Z] [ 68%] Linking C shared library libcsdk.so [2023-07-26T09:32:01.154Z] [ 68%] Built target csdk [2023-07-26T09:32:01.154Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-07-26T09:32:02.111Z] [ 72%] Linking C executable template [2023-07-26T09:32:02.377Z] [ 72%] Built target template [2023-07-26T09:32:02.645Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-07-26T09:32:03.229Z] [ 76%] Linking C executable device-counter [2023-07-26T09:32:03.494Z] [ 76%] Built target device-counter [2023-07-26T09:32:03.494Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-07-26T09:32:04.077Z] [ 80%] Linking C executable device-random [2023-07-26T09:32:04.345Z] [ 80%] Built target device-random [2023-07-26T09:32:04.345Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-07-26T09:32:04.928Z] [ 84%] Linking C executable device-gyro [2023-07-26T09:32:05.193Z] [ 84%] Built target device-gyro [2023-07-26T09:32:05.193Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-07-26T09:32:05.773Z] [ 88%] Linking C executable device-bitfields [2023-07-26T09:32:06.041Z] [ 88%] Built target device-bitfields [2023-07-26T09:32:06.041Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-07-26T09:32:07.001Z] [ 92%] Linking C executable template-discovery [2023-07-26T09:32:07.267Z] [ 92%] Built target template-discovery [2023-07-26T09:32:07.267Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-07-26T09:32:08.222Z] [ 96%] Linking C executable device-file [2023-07-26T09:32:08.486Z] [ 96%] Built target device-file [2023-07-26T09:32:08.486Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-07-26T09:32:09.441Z] [100%] Linking C executable device-terminal [2023-07-26T09:32:09.706Z] [100%] Built target device-terminal [2023-07-26T09:32:09.706Z] Run CPack packaging tool... [2023-07-26T09:32:09.706Z] CPack: Create package using TGZ [2023-07-26T09:32:09.706Z] CPack: Install projects [2023-07-26T09:32:09.706Z] CPack: - Run preinstall target for: Csdk [2023-07-26T09:32:10.289Z] CPack: - Install project: Csdk [] [2023-07-26T09:32:10.289Z] CPack: Create package [2023-07-26T09:32:10.557Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-07-26T09:32:10.557Z] + '[' false '=' true ] [2023-07-26T09:32:10.557Z] + '[' false '=' true ] [2023-07-26T09:32:10.557Z] + mkdir -p /tmp/sdk/build/debug [2023-07-26T09:32:10.557Z] + cd /tmp/sdk/build/debug [2023-07-26T09:32:10.557Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-07-26T09:32:10.825Z] -- The C compiler identification is GNU 11.2.1 [2023-07-26T09:32:10.825Z] -- Detecting C compiler ABI info [2023-07-26T09:32:11.411Z] -- Detecting C compiler ABI info - done [2023-07-26T09:32:11.411Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-07-26T09:32:11.411Z] -- Detecting C compile features [2023-07-26T09:32:11.411Z] -- Detecting C compile features - done [2023-07-26T09:32:11.411Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-07-26T09:32:11.680Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-07-26T09:32:11.680Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-07-26T09:32:11.680Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-07-26T09:32:11.680Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-07-26T09:32:11.680Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-07-26T09:32:11.680Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-07-26T09:32:11.680Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-07-26T09:32:11.680Z] -- /opt/iotech/iot/1.5/include [2023-07-26T09:32:11.680Z] -- C SDK 0.0.0 for Linux [2023-07-26T09:32:11.680Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-07-26T09:32:11.949Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-07-26T09:32:12.217Z] -- Found Curses: /usr/lib/libcurses.so [2023-07-26T09:32:12.217Z] -- Configuring done [2023-07-26T09:32:12.485Z] -- Generating done [2023-07-26T09:32:12.485Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-07-26T09:32:12.485Z] + make [2023-07-26T09:32:12.485Z] + tee debug.log [2023-07-26T09:32:12.751Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-26T09:32:13.018Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-07-26T09:32:13.600Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-07-26T09:32:13.867Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-07-26T09:32:14.449Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-07-26T09:32:14.716Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-07-26T09:32:15.673Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-07-26T09:32:15.939Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-07-26T09:32:16.206Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-07-26T09:32:16.789Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-07-26T09:32:17.372Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-07-26T09:32:17.954Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-07-26T09:32:18.222Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-07-26T09:32:18.807Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-07-26T09:32:19.074Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-07-26T09:32:19.656Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-07-26T09:32:19.924Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-07-26T09:32:20.884Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-07-26T09:32:20.884Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-07-26T09:32:21.153Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-07-26T09:32:22.111Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-07-26T09:32:23.521Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-07-26T09:32:23.788Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-07-26T09:32:24.054Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-07-26T09:32:24.637Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-07-26T09:32:24.904Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-07-26T09:32:25.866Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-07-26T09:32:28.454Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-07-26T09:32:28.454Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-07-26T09:32:29.037Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-07-26T09:32:29.302Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-07-26T09:32:30.258Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-07-26T09:32:30.839Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-07-26T09:32:31.105Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-07-26T09:32:31.371Z] [ 68%] Linking C shared library libcsdk.so [2023-07-26T09:32:31.639Z] [ 68%] Built target csdk [2023-07-26T09:32:31.639Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-07-26T09:32:32.225Z] [ 72%] Linking C executable template [2023-07-26T09:32:32.493Z] [ 72%] Built target template [2023-07-26T09:32:32.493Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-07-26T09:32:33.076Z] [ 76%] Linking C executable device-counter [2023-07-26T09:32:33.076Z] [ 76%] Built target device-counter [2023-07-26T09:32:33.342Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-07-26T09:32:33.608Z] [ 80%] Linking C executable device-random [2023-07-26T09:32:33.877Z] [ 80%] Built target device-random [2023-07-26T09:32:33.877Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-07-26T09:32:34.144Z] [ 84%] Linking C executable device-gyro [2023-07-26T09:32:34.409Z] [ 84%] Built target device-gyro [2023-07-26T09:32:34.674Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-07-26T09:32:34.939Z] [ 88%] Linking C executable device-bitfields [2023-07-26T09:32:35.205Z] [ 88%] Built target device-bitfields [2023-07-26T09:32:35.206Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-07-26T09:32:35.786Z] [ 92%] Linking C executable template-discovery [2023-07-26T09:32:36.052Z] [ 92%] Built target template-discovery [2023-07-26T09:32:36.052Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-07-26T09:32:36.635Z] [ 96%] Linking C executable device-file [2023-07-26T09:32:36.635Z] [ 96%] Built target device-file [2023-07-26T09:32:36.900Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-07-26T09:32:37.167Z] [100%] Linking C executable device-terminal [2023-07-26T09:32:37.432Z] [100%] Built target device-terminal [2023-07-26T09:32:37.698Z] make: Entering directory '/tmp/sdk/build/release' [2023-07-26T09:32:37.698Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-07-26T09:32:37.698Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-26T09:32:37.698Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-26T09:32:37.698Z] [ 68%] Built target csdk [2023-07-26T09:32:37.698Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-26T09:32:37.698Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-26T09:32:37.698Z] [ 72%] Built target template [2023-07-26T09:32:37.698Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-26T09:32:37.698Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-26T09:32:37.698Z] [ 76%] Built target device-counter [2023-07-26T09:32:37.964Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-26T09:32:37.964Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-26T09:32:37.964Z] [ 80%] Built target device-random [2023-07-26T09:32:37.964Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-26T09:32:37.964Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-26T09:32:37.964Z] [ 84%] Built target device-gyro [2023-07-26T09:32:37.964Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-26T09:32:37.964Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-26T09:32:37.964Z] [ 88%] Built target device-bitfields [2023-07-26T09:32:37.964Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-26T09:32:37.964Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-26T09:32:37.964Z] [ 92%] Built target template-discovery [2023-07-26T09:32:37.964Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-26T09:32:37.964Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-26T09:32:37.964Z] [ 96%] Built target device-file [2023-07-26T09:32:37.964Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-26T09:32:38.228Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-26T09:32:38.228Z] [100%] Built target device-terminal [2023-07-26T09:32:38.228Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-07-26T09:32:38.228Z] Install the project... [2023-07-26T09:32:38.228Z] -- Install configuration: "Release" [2023-07-26T09:32:38.228Z] -- Installing: /usr/local/lib/libcsdk.so [2023-07-26T09:32:38.228Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-07-26T09:32:38.228Z] -- Installing: /usr/local/include [2023-07-26T09:32:38.228Z] -- Installing: /usr/local/include/devsdk [2023-07-26T09:32:38.228Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-07-26T09:32:38.228Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-07-26T09:32:38.228Z] -- Installing: /usr/local/include/edgex [2023-07-26T09:32:38.228Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-07-26T09:32:38.228Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-07-26T09:32:38.228Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-07-26T09:32:38.228Z] -- Installing: /usr/local/include/edgex/devices.h [2023-07-26T09:32:38.228Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-07-26T09:32:38.228Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-07-26T09:32:38.228Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-07-26T09:32:38.228Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-07-26T09:32:38.228Z] make: Leaving directory '/tmp/sdk/build/release' [2023-07-26T09:32:39.637Z] Removing intermediate container b3f47c8b5331 [2023-07-26T09:32:39.637Z] ---> b15b8f44b8b1 [2023-07-26T09:32:39.637Z] Step 14/21 : FROM ${BASE} [2023-07-26T09:32:39.637Z] ---> 295cd00e64f4 [2023-07-26T09:32:39.637Z] Step 15/21 : LABEL maintainer="IOTech " [2023-07-26T09:32:39.637Z] ---> Running in 6867cc7b2ec3 [2023-07-26T09:32:39.906Z] Removing intermediate container 6867cc7b2ec3 [2023-07-26T09:32:39.906Z] ---> 25addab8c856 [2023-07-26T09:32:39.906Z] Step 16/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-07-26T09:32:39.906Z] ---> Running in f34b9f6977c8 [2023-07-26T09:32:40.868Z] Connecting to iotech.jfrog.io (54.154.242.239:443) [2023-07-26T09:32:41.449Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-26T09:32:41.449Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-26T09:32:41.449Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-26T09:32:42.033Z] Removing intermediate container f34b9f6977c8 [2023-07-26T09:32:42.033Z] ---> 82209ca5a532 [2023-07-26T09:32:42.033Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-26T09:32:42.033Z] ---> Running in 1b1c83f717d6 [2023-07-26T09:32:43.975Z] Removing intermediate container 1b1c83f717d6 [2023-07-26T09:32:43.975Z] ---> bf40bc4e2c78 [2023-07-26T09:32:43.975Z] Step 18/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 iotech-iot-1.4 hiredis-dev [2023-07-26T09:32:43.975Z] ---> Running in 444af0c4047d [2023-07-26T09:32:44.932Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-26T09:32:45.200Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-07-26T09:32:45.467Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-26T09:32:46.422Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-26T09:32:46.422Z] (1/7) Installing curl (8.2.1-r0) [2023-07-26T09:32:46.422Z] (2/7) Installing hiredis (1.0.2-r0) [2023-07-26T09:32:46.422Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-07-26T09:32:46.422Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-07-26T09:32:47.380Z] (5/7) Installing libcbor (0.9.0-r1) [2023-07-26T09:32:47.380Z] (6/7) Installing libuuid (2.38-r1) [2023-07-26T09:32:47.380Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-07-26T09:32:48.340Z] Executing busybox-1.35.0-r17.trigger [2023-07-26T09:32:48.340Z] OK: 281 MiB in 83 packages [2023-07-26T09:32:49.301Z] Removing intermediate container 444af0c4047d [2023-07-26T09:32:49.301Z] ---> 0b1bc8100c9d [2023-07-26T09:32:49.301Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-07-26T09:32:49.885Z] ---> 568de3c7af9e [2023-07-26T09:32:49.885Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-07-26T09:32:50.470Z] ---> 236d23a4fd7d [2023-07-26T09:32:50.470Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-07-26T09:32:50.738Z] ---> 1c9a921d23e4 [2023-07-26T09:32:51.005Z] Successfully built 1c9a921d23e4 [2023-07-26T09:32:51.005Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T09:32:51.704Z] + docker inspect -f . ci-base-image-arm64 [2023-07-26T09:32:51.704Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-26T09:32:52.009Z] prd-ubuntu20.04-docker-arm64-4c-16g-2199 does not seem to be running inside a container [2023-07-26T09:32:52.079Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-07-26T09:32:53.401Z] $ docker top e6cb6966f9120c8e9ec0a10020a3e0c052ec8bfb5383eafd84c554bc36c0edb7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-26T09:32:54.354Z] + make test [2023-07-26T09:32:54.354Z] echo "make test" [2023-07-26T09:32:54.354Z] make test [Pipeline] } [2023-07-26T09:32:54.386Z] $ docker stop --time=1 e6cb6966f9120c8e9ec0a10020a3e0c052ec8bfb5383eafd84c554bc36c0edb7 [2023-07-26T09:32:56.061Z] $ docker rm -f --volumes e6cb6966f9120c8e9ec0a10020a3e0c052ec8bfb5383eafd84c554bc36c0edb7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-26T09:32:56.876Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-26T09:32:57.242Z] + ls -al . [2023-07-26T09:32:57.242Z] total 208 [2023-07-26T09:32:57.242Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 26 09:30 . [2023-07-26T09:32:57.242Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 26 09:30 .. [2023-07-26T09:32:57.242Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 26 09:30 .git [2023-07-26T09:32:57.242Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 26 09:30 .github [2023-07-26T09:32:57.242Z] -rw-rw-r-- 1 jenkins jenkins 176 Jul 26 09:30 .gitignore [2023-07-26T09:32:57.242Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jul 26 09:30 Attribution.txt [2023-07-26T09:32:57.242Z] -rw-rw-r-- 1 jenkins jenkins 9268 Jul 26 09:30 CHANGES [2023-07-26T09:32:57.242Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jul 26 09:30 Doxyfile [2023-07-26T09:32:57.242Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 26 09:30 GOVERNANCE.md [2023-07-26T09:32:57.242Z] -rw-rw-r-- 1 jenkins jenkins 784 Jul 26 09:30 Jenkinsfile [2023-07-26T09:32:57.242Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jul 26 09:30 LICENSE [2023-07-26T09:32:57.242Z] -rw-rw-r-- 1 jenkins jenkins 444 Jul 26 09:30 Makefile [2023-07-26T09:32:57.242Z] -rw-rw-r-- 1 jenkins jenkins 618 Jul 26 09:30 OWNERS.md [2023-07-26T09:32:57.242Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jul 26 09:30 README.IOT.md [2023-07-26T09:32:57.242Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jul 26 09:30 README.md [2023-07-26T09:32:57.242Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jul 26 09:30 README.v3.md [2023-07-26T09:32:57.242Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 26 09:26 VERSION [2023-07-26T09:32:57.242Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 26 09:30 docs [2023-07-26T09:32:57.242Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 26 09:30 include [2023-07-26T09:32:57.242Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 26 09:30 scripts [2023-07-26T09:32:57.242Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 26 09:30 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T09:32:57.672Z] + docker build -t device-sdk-arm64 -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=5802d189977772371b861644d75d70a84e724351 --label arch=arm64 --label version=0.0.0 . [2023-07-26T09:32:57.948Z] Sending build context to Docker daemon 2.963MB [2023-07-26T09:32:58.226Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-07-26T09:32:58.226Z] Step 2/17 : FROM ${BASE} [2023-07-26T09:32:58.226Z] ---> 1c9a921d23e4 [2023-07-26T09:32:58.226Z] Step 3/17 : LABEL maintainer="IOTech " [2023-07-26T09:32:58.226Z] ---> Running in 81047f9d3f3a [2023-07-26T09:32:58.510Z] Removing intermediate container 81047f9d3f3a [2023-07-26T09:32:58.510Z] ---> 39895093ef90 [2023-07-26T09:32:58.510Z] Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-07-26T09:32:58.789Z] ---> Running in 9025c2020634 [2023-07-26T09:32:59.774Z] Connecting to iotech.jfrog.io (34.242.89.201:443) [2023-07-26T09:33:00.356Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-26T09:33:00.356Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-26T09:33:00.356Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-26T09:33:00.942Z] Removing intermediate container 9025c2020634 [2023-07-26T09:33:00.942Z] ---> 7d645f2abb48 [2023-07-26T09:33:00.942Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-26T09:33:00.942Z] ---> Running in bae34ffb7e16 [2023-07-26T09:33:02.895Z] Removing intermediate container bae34ffb7e16 [2023-07-26T09:33:02.895Z] ---> ee86603abbc1 [2023-07-26T09:33:02.895Z] Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build [2023-07-26T09:33:02.895Z] ---> Running in 2d0bbc89e62d [2023-07-26T09:33:03.859Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-26T09:33:04.126Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-07-26T09:33:04.704Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-26T09:33:05.659Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-26T09:33:05.659Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-26T09:33:05.659Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-26T09:33:05.659Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-07-26T09:33:06.240Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-07-26T09:33:06.508Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-07-26T09:33:06.508Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-07-26T09:33:06.508Z] (7/11) Installing libblkid (2.38-r1) [2023-07-26T09:33:06.508Z] (8/11) Installing libfdisk (2.38-r1) [2023-07-26T09:33:06.508Z] (9/11) Installing libmount (2.38-r1) [2023-07-26T09:33:06.508Z] (10/11) Installing libsmartcols (2.38-r1) [2023-07-26T09:33:06.508Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-07-26T09:33:06.508Z] Executing busybox-1.35.0-r17.trigger [2023-07-26T09:33:06.508Z] OK: 287 MiB in 92 packages [2023-07-26T09:33:07.921Z] Removing intermediate container 2d0bbc89e62d [2023-07-26T09:33:07.921Z] ---> 8e66252c864e [2023-07-26T09:33:07.921Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-07-26T09:33:08.197Z] ---> ed2d7747c698 [2023-07-26T09:33:08.197Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-07-26T09:33:09.156Z] ---> 6b97b24ce0d5 [2023-07-26T09:33:09.156Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-07-26T09:33:09.422Z] ---> f66dd8873dd1 [2023-07-26T09:33:09.422Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-07-26T09:33:10.002Z] ---> 16f8612f4d97 [2023-07-26T09:33:10.002Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-07-26T09:33:10.588Z] ---> 7b29d3bac25b [2023-07-26T09:33:10.588Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-07-26T09:33:10.866Z] ---> 9b2c2854004d [2023-07-26T09:33:10.866Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-07-26T09:33:10.866Z] ---> Running in 89f915196d77 [2023-07-26T09:33:11.447Z] Removing intermediate container 89f915196d77 [2023-07-26T09:33:11.447Z] ---> 457aa3871c4a [2023-07-26T09:33:11.447Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-07-26T09:33:11.447Z] ---> Running in ba8861b4d39c [2023-07-26T09:33:11.715Z] Removing intermediate container ba8861b4d39c [2023-07-26T09:33:11.715Z] ---> 2dc8d409f550 [2023-07-26T09:33:11.715Z] Step 15/17 : LABEL arch=arm64 [2023-07-26T09:33:11.715Z] ---> Running in 993401efa26d [2023-07-26T09:33:11.983Z] Removing intermediate container 993401efa26d [2023-07-26T09:33:11.983Z] ---> dfa3566e1a1d [2023-07-26T09:33:11.983Z] Step 16/17 : LABEL git_sha=5802d189977772371b861644d75d70a84e724351 [2023-07-26T09:33:12.249Z] ---> Running in 372622437b61 [2023-07-26T09:33:12.515Z] Removing intermediate container 372622437b61 [2023-07-26T09:33:12.515Z] ---> 3014929d2f5b [2023-07-26T09:33:12.515Z] Step 17/17 : LABEL version=0.0.0 [2023-07-26T09:33:12.515Z] ---> Running in 094ff0153934 [2023-07-26T09:33:12.780Z] Removing intermediate container 094ff0153934 [2023-07-26T09:33:12.780Z] ---> ec76f55efcc6 [2023-07-26T09:33:12.780Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2023-07-26T09:33:12.780Z] Successfully built ec76f55efcc6 [2023-07-26T09:33:12.780Z] Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T09:33:13.534Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-26T09:33:13.534Z] [2023-07-26T09:33:13.534Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T09:33:13.922Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-26T09:33:14.189Z] arm64: Pulling from edgex-lftools-log-publisher [2023-07-26T09:33:14.189Z] 8998bd30e6a1: Pulling fs layer [2023-07-26T09:33:14.189Z] 04944245beec: Pulling fs layer [2023-07-26T09:33:14.189Z] 699f458cf7ca: Pulling fs layer [2023-07-26T09:33:14.189Z] 765212b225bb: Pulling fs layer [2023-07-26T09:33:14.189Z] f23df028b6ca: Pulling fs layer [2023-07-26T09:33:14.189Z] d65c8cfc05b1: Pulling fs layer [2023-07-26T09:33:14.189Z] 2437ff75d9bd: Pulling fs layer [2023-07-26T09:33:14.189Z] 765212b225bb: Waiting [2023-07-26T09:33:14.189Z] f23df028b6ca: Waiting [2023-07-26T09:33:14.189Z] 2437ff75d9bd: Waiting [2023-07-26T09:33:14.189Z] d65c8cfc05b1: Waiting [2023-07-26T09:33:14.189Z] 04944245beec: Verifying Checksum [2023-07-26T09:33:14.189Z] 04944245beec: Download complete [2023-07-26T09:33:14.189Z] 765212b225bb: Verifying Checksum [2023-07-26T09:33:14.189Z] 765212b225bb: Download complete [2023-07-26T09:33:14.189Z] f23df028b6ca: Verifying Checksum [2023-07-26T09:33:14.189Z] f23df028b6ca: Download complete [2023-07-26T09:33:14.189Z] d65c8cfc05b1: Verifying Checksum [2023-07-26T09:33:14.189Z] d65c8cfc05b1: Download complete [2023-07-26T09:33:14.456Z] 699f458cf7ca: Verifying Checksum [2023-07-26T09:33:14.456Z] 699f458cf7ca: Download complete [2023-07-26T09:33:14.723Z] 8998bd30e6a1: Verifying Checksum [2023-07-26T09:33:14.723Z] 8998bd30e6a1: Download complete [2023-07-26T09:33:16.673Z] 2437ff75d9bd: Verifying Checksum [2023-07-26T09:33:16.673Z] 2437ff75d9bd: Download complete [2023-07-26T09:33:18.613Z] 8998bd30e6a1: Pull complete [2023-07-26T09:33:18.880Z] 04944245beec: Pull complete [2023-07-26T09:33:20.286Z] 699f458cf7ca: Pull complete [2023-07-26T09:33:20.286Z] 765212b225bb: Pull complete [2023-07-26T09:33:21.260Z] f23df028b6ca: Pull complete [2023-07-26T09:33:21.260Z] d65c8cfc05b1: Pull complete [2023-07-26T09:33:34.533Z] 2437ff75d9bd: Pull complete [2023-07-26T09:33:34.533Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-07-26T09:33:34.533Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-26T09:33:34.533Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-26T09:33:34.836Z] prd-ubuntu20.04-docker-arm64-4c-16g-2199 does not seem to be running inside a container [2023-07-26T09:33:34.888Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-07-26T09:33:37.264Z] $ docker top e8f7c983d88482b3c4e5866fc5412e17a126228f459cdcc897e69afb8312e220 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-26T09:33:38.140Z] ---> job-cost.sh [2023-07-26T09:33:38.140Z] lf-activate-venv: SKIPPING [2023-07-26T09:33:38.140Z] INFO: No Stack... [2023-07-26T09:33:38.405Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-07-26T09:33:39.359Z] INFO: Archiving Costs [Pipeline] sh [2023-07-26T09:33:39.699Z] + cat /w/workspace/device-sdk-c/1/archives/cost.csv [2023-07-26T09:33:39.700Z] + cut -d, -f6 [Pipeline] lock [2023-07-26T09:33:40.043Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-473-1-stack-cost] [2023-07-26T09:33:40.047Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-473-1-stack-cost] did not exist. Created. [2023-07-26T09:33:40.047Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-473-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-26T09:33:40.451Z] /w/workspace/device-sdk-c/1@tmp/durable-07b5612c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-07-26T09:33:40.804Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-07-26T09:33:40.846Z] Warning: overwriting stash ‘stack-cost’ [2023-07-26T09:33:41.284Z] Stashed 1 file(s) [Pipeline] } [2023-07-26T09:33:41.300Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-473-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-26T09:33:41.372Z] $ docker stop --time=1 e8f7c983d88482b3c4e5866fc5412e17a126228f459cdcc897e69afb8312e220 [2023-07-26T09:33:42.820Z] $ docker rm -f --volumes e8f7c983d88482b3c4e5866fc5412e17a126228f459cdcc897e69afb8312e220 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-07-26T09:33:44.481Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-473/archives ] [2023-07-26T09:33:44.481Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-473/archives [2023-07-26T09:33:44.481Z] total 16 [2023-07-26T09:33:44.481Z] drwxr-xr-x 3 root root 4096 Jul 26 09:27 . [2023-07-26T09:33:44.481Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 26 09:27 .. [2023-07-26T09:33:44.481Z] drwxr-xr-x 2 root root 4096 Jul 26 09:27 cost [2023-07-26T09:33:44.481Z] -rw-r--r-- 1 root root 84 Jul 26 09:27 cost.csv [2023-07-26T09:33:44.481Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-473/archives [2023-07-26T09:33:44.481Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-473/archives [2023-07-26T09:33:44.481Z] total 16 [2023-07-26T09:33:44.481Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 26 09:27 . [2023-07-26T09:33:44.481Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 26 09:27 .. [2023-07-26T09:33:44.481Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 26 09:27 cost [2023-07-26T09:33:44.481Z] -rw-r--r-- 1 jenkins jenkins 84 Jul 26 09:27 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-07-26T09:33:44.807Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-26T09:33:45.690Z] ---> package-listing.sh [2023-07-26T09:33:45.690Z] ++ facter osfamily [2023-07-26T09:33:45.690Z] ++ tr '[:upper:]' '[:lower:]' [2023-07-26T09:33:45.949Z] + OS_FAMILY=debian [2023-07-26T09:33:45.949Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-473 [2023-07-26T09:33:45.949Z] + START_PACKAGES=/tmp/packages_start.txt [2023-07-26T09:33:45.949Z] + END_PACKAGES=/tmp/packages_end.txt [2023-07-26T09:33:45.949Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-07-26T09:33:45.949Z] + PACKAGES=/tmp/packages_start.txt [2023-07-26T09:33:45.949Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-473 ']' [2023-07-26T09:33:45.949Z] + PACKAGES=/tmp/packages_end.txt [2023-07-26T09:33:45.949Z] + case "${OS_FAMILY}" in [2023-07-26T09:33:45.949Z] + dpkg -l [2023-07-26T09:33:45.949Z] + grep '^ii' [2023-07-26T09:33:45.949Z] + '[' -f /tmp/packages_start.txt ']' [2023-07-26T09:33:45.949Z] + '[' -f /tmp/packages_end.txt ']' [2023-07-26T09:33:45.949Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-07-26T09:33:45.949Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-473 ']' [2023-07-26T09:33:45.949Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-473/archives/ [2023-07-26T09:33:45.949Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-473/archives/ [Pipeline] echo [2023-07-26T09:33:45.982Z] 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-sdk-c_PR-473/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-07-26T09:33:46.272Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T09:33:46.938Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-26T09:33:46.938Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-26T09:33:47.080Z] prd-ubuntu20.04-docker-8c-8g-2198 does not seem to be running inside a container [2023-07-26T09:33:47.120Z] $ 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-sdk-c_PR-473/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-sdk-c_PR-473 -v /w/workspace/edgexfoundry_device-sdk-c_PR-473:/w/workspace/edgexfoundry_device-sdk-c_PR-473:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-473@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-473@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-26T09:33:47.296Z] $ docker top b7540cc6f9bfed583433a536ab90501aabf73168d3680879f1af8652cfb5ef57 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-26T09:33:47.681Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-07-26T09:33:47.988Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-07-26T09:33:48.292Z] + ls /var/log/sa-host [2023-07-26T09:33:48.292Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-26T09:33:48.418Z] provisioning config files... [2023-07-26T09:33:48.426Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-473@tmp/config12043965570183292521tmp [Pipeline] { [Pipeline] echo [2023-07-26T09:33:48.472Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-26T09:33:48.786Z] ---> create-netrc.sh [Pipeline] } [2023-07-26T09:33:48.812Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-07-26T09:33:49.185Z] ---> python-tools-install.sh [Pipeline] echo [2023-07-26T09:33:49.218Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-26T09:33:49.526Z] ---> sudo-logs.sh [2023-07-26T09:33:49.526Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-07-26T09:33:49.608Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-26T09:33:49.915Z] ---> job-cost.sh [2023-07-26T09:33:49.915Z] lf-activate-venv: SKIPPING [2023-07-26T09:33:49.915Z] DEBUG: total: 0.2199999988079071 [2023-07-26T09:33:49.915Z] INFO: Retrieving Stack Cost... [2023-07-26T09:33:50.174Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-26T09:33:50.743Z] INFO: Archiving Costs [Pipeline] echo [2023-07-26T09:33:50.781Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-26T09:33:51.088Z] ---> logs-deploy.sh [2023-07-26T09:33:51.088Z] lf-activate-venv: SKIPPING [2023-07-26T09:33:51.088Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-473/1 [2023-07-26T09:33:51.088Z] INFO: archiving workspace using pattern(s): [2023-07-26T09:33:52.023Z] Archives upload complete. [2023-07-26T09:33:52.023Z] INFO: archiving logs to Nexus