Pull request #429 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 iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 0e053670bbfd2c899cec61a9fea14610f7dc3486+117e3ae82fbf81e148f12b1fc27328d4e4a70297 (faf3609251a2d93a2f5905c4c338ca213a9b980c) 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-ssh9853147202744231602.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh5624987470797137633.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-429/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-429/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15282062400257927822.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-429/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3984975374476140382.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh5916024736564464067.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-429/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-429/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7530111208199827499.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-24659 in /w/workspace/edgexfoundry_device-sdk-c_PR-429 [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-429 # 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/429/head:refs/remotes/origin/PR-429 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 117e3ae82fbf81e148f12b1fc27328d4e4a70297 into PR head commit 0e053670bbfd2c899cec61a9fea14610f7dc3486 Merge succeeded, producing 0e053670bbfd2c899cec61a9fea14610f7dc3486 Checking out Revision 0e053670bbfd2c899cec61a9fea14610f7dc3486 (PR-429) > git config core.sparsecheckout # timeout=10 > git checkout -f 0e053670bbfd2c899cec61a9fea14610f7dc3486 # 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 117e3ae82fbf81e148f12b1fc27328d4e4a70297 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0e053670bbfd2c899cec61a9fea14610f7dc3486 # timeout=10 Commit message: "feat: implement MaxEventSize configuration Fix #416" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-06T13:22:58.804Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-06T13:22:58.961Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-06T13:22:59.057Z] ========================================================= [2022-09-06T13:22:59.058Z] EdgeX Global Pipelines Version Info [2022-09-06T13:22:59.058Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-06T13:23:00.210Z] ------------------- [2022-09-06T13:23:00.210Z] stable info: [2022-09-06T13:23:00.210Z] ------------------- [2022-09-06T13:23:00.210Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-06T13:23:00.210Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-06T13:23:00.210Z] Message: update stable to v1.0.239 [2022-09-06T13:23:00.471Z] ------------------- [2022-09-06T13:23:00.471Z] experimental info: [2022-09-06T13:23:00.471Z] ------------------- [2022-09-06T13:23:00.471Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-06T13:23:00.471Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-06T13:23:00.471Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-06T13:23:00.831Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2022-09-06T13:23:00.871Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2022-09-06T13:23:00.907Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-06T13:23:00.945Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-06T13:23:00.979Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-06T13:23:01.015Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2022-09-06T13:23:01.050Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2022-09-06T13:23:01.086Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-06T13:23:01.128Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-06T13:23:01.164Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2022-09-06T13:23:01.200Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-06T13:23:01.235Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-06T13:23:01.276Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-06T13:23:01.315Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-09-06T13:23:01.353Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-06T13:23:01.390Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-06T13:23:01.432Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-06T13:23:01.472Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-429 [Pipeline] echo [2022-09-06T13:23:01.508Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-429 [Pipeline] echo [2022-09-06T13:23:01.543Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-429 [Pipeline] echo [2022-09-06T13:23:01.583Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0e053670bbfd2c899cec61a9fea14610f7dc3486 [Pipeline] echo [2022-09-06T13:23:01.623Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0e05367 [Pipeline] echo [2022-09-06T13:23:01.663Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-06T13:23:01.781Z] provisioning config files... [2022-09-06T13:23:01.795Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-429@tmp/config4869875051290687126tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-06T13:23:02.155Z] ---> docker-login.sh [2022-09-06T13:23:02.155Z] nexus3.edgexfoundry.org:10001 [2022-09-06T13:23:02.415Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-06T13:23:02.675Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-06T13:23:02.675Z] Configure a credential helper to remove this warning. See [2022-09-06T13:23:02.675Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-06T13:23:02.675Z] [2022-09-06T13:23:02.675Z] Login Succeeded [2022-09-06T13:23:02.675Z] nexus3.edgexfoundry.org:10002 [2022-09-06T13:23:02.675Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-06T13:23:02.936Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-06T13:23:02.936Z] Configure a credential helper to remove this warning. See [2022-09-06T13:23:02.936Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-06T13:23:02.936Z] [2022-09-06T13:23:02.936Z] Login Succeeded [2022-09-06T13:23:02.936Z] nexus3.edgexfoundry.org:10003 [2022-09-06T13:23:02.936Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-06T13:23:02.936Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-06T13:23:02.936Z] Configure a credential helper to remove this warning. See [2022-09-06T13:23:02.936Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-06T13:23:02.936Z] [2022-09-06T13:23:02.936Z] Login Succeeded [2022-09-06T13:23:02.936Z] nexus3.edgexfoundry.org:10004 [2022-09-06T13:23:02.936Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-06T13:23:03.197Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-06T13:23:03.197Z] Configure a credential helper to remove this warning. See [2022-09-06T13:23:03.197Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-06T13:23:03.197Z] [2022-09-06T13:23:03.197Z] Login Succeeded [2022-09-06T13:23:03.197Z] docker.io [2022-09-06T13:23:03.197Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-06T13:23:03.457Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-06T13:23:03.457Z] Configure a credential helper to remove this warning. See [2022-09-06T13:23:03.457Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-06T13:23:03.457Z] [2022-09-06T13:23:03.457Z] Login Succeeded [2022-09-06T13:23:03.457Z] ---> docker-login.sh ends [Pipeline] } [2022-09-06T13:23:03.482Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh [2022-09-06T13:23:04.069Z] + git rev-list -1 --merges 0e053670bbfd2c899cec61a9fea14610f7dc3486~1..0e053670bbfd2c899cec61a9fea14610f7dc3486 [Pipeline] echo [2022-09-06T13:23:04.116Z] -----------> git rev-list -1 --merges 0e053670bbfd2c899cec61a9fea14610f7dc3486~1..0e053670bbfd2c899cec61a9fea14610f7dc3486 0e053670bbfd2c899cec61a9fea14610f7dc3486 [false] [Pipeline] sh [2022-09-06T13:23:04.427Z] + git log --format=format:%s -1 0e053670bbfd2c899cec61a9fea14610f7dc3486 [Pipeline] echo [2022-09-06T13:23:04.463Z] ========================================================= [2022-09-06T13:23:04.463Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-06T13:23:04.463Z] ========================================================= 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 [2022-09-06T13:23:05.221Z] + git rev-list -1 --merges 0e053670bbfd2c899cec61a9fea14610f7dc3486~1..0e053670bbfd2c899cec61a9fea14610f7dc3486 [Pipeline] echo [2022-09-06T13:23:05.252Z] -----------> git rev-list -1 --merges 0e053670bbfd2c899cec61a9fea14610f7dc3486~1..0e053670bbfd2c899cec61a9fea14610f7dc3486 0e053670bbfd2c899cec61a9fea14610f7dc3486 [false] [Pipeline] sh [2022-09-06T13:23:05.560Z] + git log --format=format:%s -1 0e053670bbfd2c899cec61a9fea14610f7dc3486 [Pipeline] echo [2022-09-06T13:23:05.593Z] ========================================================= [2022-09-06T13:23:05.594Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-06T13:23:05.594Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2022-09-06T13:23:06.100Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-06T13:23:06.100Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-06T13:23:06.100Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-06T13:23:06.100Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-06T13:23:06.100Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-06T13:23:06.100Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-06T13:23:06.100Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T13:23:06.590Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-06T13:23:06.590Z] [2022-09-06T13:23:06.590Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T13:23:06.969Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-06T13:23:06.969Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-06T13:23:06.969Z] b85a868b505f: Pulling fs layer [2022-09-06T13:23:06.969Z] e2be974225ed: Pulling fs layer [2022-09-06T13:23:06.969Z] 339a4e72a1f5: Pulling fs layer [2022-09-06T13:23:06.969Z] 988bab9f4d93: Pulling fs layer [2022-09-06T13:23:06.969Z] 1469e6f7b9e6: Pulling fs layer [2022-09-06T13:23:06.969Z] eaf3925da568: Pulling fs layer [2022-09-06T13:23:06.969Z] bab4dde63d76: Pulling fs layer [2022-09-06T13:23:06.969Z] bde34c3a00c8: Pulling fs layer [2022-09-06T13:23:06.969Z] b352a97aabf1: Pulling fs layer [2022-09-06T13:23:06.969Z] 4872d77fe225: Pulling fs layer [2022-09-06T13:23:06.969Z] 5851b861e8e6: Pulling fs layer [2022-09-06T13:23:06.969Z] 988bab9f4d93: Waiting [2022-09-06T13:23:06.969Z] 1469e6f7b9e6: Waiting [2022-09-06T13:23:06.969Z] eaf3925da568: Waiting [2022-09-06T13:23:06.969Z] bab4dde63d76: Waiting [2022-09-06T13:23:06.969Z] 4872d77fe225: Waiting [2022-09-06T13:23:06.969Z] bde34c3a00c8: Waiting [2022-09-06T13:23:06.969Z] b352a97aabf1: Waiting [2022-09-06T13:23:06.969Z] e2be974225ed: Verifying Checksum [2022-09-06T13:23:06.969Z] e2be974225ed: Download complete [2022-09-06T13:23:06.969Z] 988bab9f4d93: Verifying Checksum [2022-09-06T13:23:06.969Z] 988bab9f4d93: Download complete [2022-09-06T13:23:07.230Z] 339a4e72a1f5: Verifying Checksum [2022-09-06T13:23:07.230Z] 339a4e72a1f5: Download complete [2022-09-06T13:23:07.230Z] eaf3925da568: Download complete [2022-09-06T13:23:07.230Z] 1469e6f7b9e6: Verifying Checksum [2022-09-06T13:23:07.230Z] 1469e6f7b9e6: Download complete [2022-09-06T13:23:07.230Z] bde34c3a00c8: Verifying Checksum [2022-09-06T13:23:07.230Z] bde34c3a00c8: Download complete [2022-09-06T13:23:07.230Z] b352a97aabf1: Download complete [2022-09-06T13:23:07.230Z] 4872d77fe225: Verifying Checksum [2022-09-06T13:23:07.230Z] 4872d77fe225: Download complete [2022-09-06T13:23:07.230Z] 5851b861e8e6: Download complete [2022-09-06T13:23:07.230Z] b85a868b505f: Verifying Checksum [2022-09-06T13:23:07.230Z] b85a868b505f: Download complete [2022-09-06T13:23:07.490Z] bab4dde63d76: Verifying Checksum [2022-09-06T13:23:07.490Z] bab4dde63d76: Download complete [2022-09-06T13:23:08.872Z] b85a868b505f: Pull complete [2022-09-06T13:23:08.872Z] e2be974225ed: Pull complete [2022-09-06T13:23:09.130Z] 339a4e72a1f5: Pull complete [2022-09-06T13:23:09.390Z] 988bab9f4d93: Pull complete [2022-09-06T13:23:09.650Z] 1469e6f7b9e6: Pull complete [2022-09-06T13:23:09.650Z] eaf3925da568: Pull complete [2022-09-06T13:23:11.554Z] bab4dde63d76: Pull complete [2022-09-06T13:23:11.554Z] bde34c3a00c8: Pull complete [2022-09-06T13:23:11.554Z] b352a97aabf1: Pull complete [2022-09-06T13:23:11.814Z] 4872d77fe225: Pull complete [2022-09-06T13:23:11.814Z] 5851b861e8e6: Pull complete [2022-09-06T13:23:11.814Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-06T13:23:11.814Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-06T13:23:11.814Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-06T13:23:12.039Z] prd-ubuntu20.04-docker-8c-8g-24659 does not seem to be running inside a container [2022-09-06T13:23:12.076Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-429 -v /w/workspace/edgexfoundry_device-sdk-c_PR-429:/w/workspace/edgexfoundry_device-sdk-c_PR-429:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-429@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-429@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 [2022-09-06T13:23:14.737Z] $ docker top 945448680df5c975d08bd7a65cac749ff6bacb26ad4f1311d8f0cb9df510104a -eo pid,comm [2022-09-06T13:23:14.800Z] 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). [2022-09-06T13:23:14.800Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-06T13:23:14.914Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-06T13:23:14.914Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-06T13:23:15.031Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-06T13:23:15.035Z] $ docker exec 945448680df5c975d08bd7a65cac749ff6bacb26ad4f1311d8f0cb9df510104a ssh-agent [2022-09-06T13:23:15.158Z] SSH_AUTH_SOCK=/tmp/ssh-TAWGKPliN8YC/agent.35 [2022-09-06T13:23:15.158Z] SSH_AGENT_PID=42 [2022-09-06T13:23:15.164Z] Running ssh-add (command line suppressed) [2022-09-06T13:23:15.276Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-429@tmp/private_key_1339240739368677116.key (/w/workspace/edgexfoundry_device-sdk-c_PR-429@tmp/private_key_1339240739368677116.key) [2022-09-06T13:23:15.288Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-06T13:23:15.608Z] + git tag --points-at HEAD [Pipeline] } [2022-09-06T13:23:15.638Z] $ docker exec --env ******** --env ******** 945448680df5c975d08bd7a65cac749ff6bacb26ad4f1311d8f0cb9df510104a ssh-agent -k [2022-09-06T13:23:15.746Z] unset SSH_AUTH_SOCK; [2022-09-06T13:23:15.747Z] unset SSH_AGENT_PID; [2022-09-06T13:23:15.747Z] echo Agent pid 42 killed; [2022-09-06T13:23:15.755Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-06T13:23:15.840Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-06T13:23:15.840Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-06T13:23:15.950Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-06T13:23:15.955Z] $ docker exec 945448680df5c975d08bd7a65cac749ff6bacb26ad4f1311d8f0cb9df510104a ssh-agent [2022-09-06T13:23:16.065Z] SSH_AUTH_SOCK=/tmp/ssh-ksFufVZrDmnu/agent.75 [2022-09-06T13:23:16.065Z] SSH_AGENT_PID=81 [2022-09-06T13:23:16.069Z] Running ssh-add (command line suppressed) [2022-09-06T13:23:16.180Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-429@tmp/private_key_2619079053208090546.key (/w/workspace/edgexfoundry_device-sdk-c_PR-429@tmp/private_key_2619079053208090546.key) [2022-09-06T13:23:16.191Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-06T13:23:16.521Z] + git semver init [2022-09-06T13:23:16.781Z] 2022-09-06 13:23:16,739 [run_init] DEBUG init version:0.0.0 force:False [2022-09-06T13:23:16.781Z] 2022-09-06 13:23:16,740 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-429/.semver [2022-09-06T13:23:16.781Z] 2022-09-06 13:23:16,741 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-429/.semver [2022-09-06T13:23:16.781Z] 2022-09-06 13:23:16,742 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-429/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-429, universal_newlines=False, shell=None, istream=None) [2022-09-06T13:23:17.723Z] 2022-09-06 13:23:17,657 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-429/.git/info/exclude [2022-09-06T13:23:17.723Z] 2022-09-06 13:23:17,658 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-429/.semver/PR-429 with force:False [2022-09-06T13:23:17.723Z] 2022-09-06 13:23:17,658 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-429/.semver/PR-429 [2022-09-06T13:23:17.723Z] 2022-09-06 13:23:17,663 [execute] INFO git cat-file --batch-check [2022-09-06T13:23:17.723Z] 2022-09-06 13:23:17,663 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-429/.semver, universal_newlines=False, shell=None, istream=) [2022-09-06T13:23:17.723Z] 2022-09-06 13:23:17,668 [execute] INFO git cat-file --batch [2022-09-06T13:23:17.723Z] 2022-09-06 13:23:17,668 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-429/.semver, universal_newlines=False, shell=None, istream=) [2022-09-06T13:23:17.723Z] 2022-09-06 13:23:17,674 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-429/.semver/PR-429 [2022-09-06T13:23:17.723Z] 0.0.0 [Pipeline] } [2022-09-06T13:23:17.750Z] $ docker exec --env ******** --env ******** 945448680df5c975d08bd7a65cac749ff6bacb26ad4f1311d8f0cb9df510104a ssh-agent -k [2022-09-06T13:23:17.875Z] unset SSH_AUTH_SOCK; [2022-09-06T13:23:17.875Z] unset SSH_AGENT_PID; [2022-09-06T13:23:17.875Z] echo Agent pid 81 killed; [2022-09-06T13:23:17.885Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-06T13:23:18.368Z] + git semver [Pipeline] } [2022-09-06T13:23:18.655Z] $ docker stop --time=1 945448680df5c975d08bd7a65cac749ff6bacb26ad4f1311d8f0cb9df510104a [2022-09-06T13:23:20.008Z] $ docker rm -f 945448680df5c975d08bd7a65cac749ff6bacb26ad4f1311d8f0cb9df510104a [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-06T13:23:20.412Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-06T13:23:20.701Z] Stashed 1 file(s) [Pipeline] echo [2022-09-06T13:23:20.718Z] [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 [2022-09-06T13:23:21.205Z] provisioning config files... [2022-09-06T13:23:21.214Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-429@tmp/config2097714373465829468tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-06T13:23:21.556Z] ---> docker-login.sh [2022-09-06T13:23:21.556Z] nexus3.edgexfoundry.org:10001 [2022-09-06T13:23:21.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-06T13:23:21.556Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-06T13:23:21.556Z] Configure a credential helper to remove this warning. See [2022-09-06T13:23:21.556Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-06T13:23:21.556Z] [2022-09-06T13:23:21.556Z] Login Succeeded [2022-09-06T13:23:21.556Z] nexus3.edgexfoundry.org:10002 [2022-09-06T13:23:21.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-06T13:23:21.829Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-06T13:23:21.829Z] Configure a credential helper to remove this warning. See [2022-09-06T13:23:21.829Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-06T13:23:21.829Z] [2022-09-06T13:23:21.829Z] Login Succeeded [2022-09-06T13:23:21.829Z] nexus3.edgexfoundry.org:10003 [2022-09-06T13:23:21.829Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-06T13:23:21.829Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-06T13:23:21.829Z] Configure a credential helper to remove this warning. See [2022-09-06T13:23:21.829Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-06T13:23:21.829Z] [2022-09-06T13:23:21.829Z] Login Succeeded [2022-09-06T13:23:21.829Z] nexus3.edgexfoundry.org:10004 [2022-09-06T13:23:22.090Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-06T13:23:22.090Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-06T13:23:22.090Z] Configure a credential helper to remove this warning. See [2022-09-06T13:23:22.090Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-06T13:23:22.090Z] [2022-09-06T13:23:22.090Z] Login Succeeded [2022-09-06T13:23:22.090Z] docker.io [2022-09-06T13:23:22.090Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-06T13:23:22.350Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-06T13:23:22.350Z] Configure a credential helper to remove this warning. See [2022-09-06T13:23:22.350Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-06T13:23:22.350Z] [2022-09-06T13:23:22.350Z] Login Succeeded [2022-09-06T13:23:22.350Z] ---> docker-login.sh ends [Pipeline] } [2022-09-06T13:23:22.378Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-06T13:23:22.558Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-06T13:23:22.588Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2022-09-06T13:23:22.619Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-06T13:23:22.651Z] ========================================================= [2022-09-06T13:23:22.651Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2022-09-06T13:23:22.651Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T13:23:23.050Z] + 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 . [2022-09-06T13:23:23.050Z] Sending build context to Docker daemon 4.694MB [2022-09-06T13:23:23.050Z] Step 1/22 : ARG BASE=alpine:3.15 [2022-09-06T13:23:23.050Z] Step 2/22 : FROM ${BASE} as builder [2022-09-06T13:23:23.310Z] latest: Pulling from edgex-devops/edgex-gcc-base [2022-09-06T13:23:23.310Z] df9b9388f04a: Pulling fs layer [2022-09-06T13:23:23.310Z] 62381f5d8449: Pulling fs layer [2022-09-06T13:23:23.310Z] df9b9388f04a: Verifying Checksum [2022-09-06T13:23:23.310Z] df9b9388f04a: Download complete [2022-09-06T13:23:23.310Z] df9b9388f04a: Pull complete [2022-09-06T13:23:23.911Z] 62381f5d8449: Verifying Checksum [2022-09-06T13:23:23.911Z] 62381f5d8449: Download complete [2022-09-06T13:23:27.206Z] 62381f5d8449: Pull complete [2022-09-06T13:23:27.206Z] Digest: sha256:1dc51ee6678f53bb3891c65c2ca5ccd72630339357978017b6e7ab3884123c19 [2022-09-06T13:23:27.206Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2022-09-06T13:23:27.206Z] ---> 547c565c9e89 [2022-09-06T13:23:27.206Z] Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2022-09-06T13:23:29.120Z] ---> Running in cb61801e8e23 [2022-09-06T13:23:29.120Z] Connecting to iotech.jfrog.io (34.251.108.128:443) [2022-09-06T13:23:29.691Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-09-06T13:23:29.691Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-09-06T13:23:29.691Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-09-06T13:23:29.951Z] Removing intermediate container cb61801e8e23 [2022-09-06T13:23:29.951Z] ---> 2474f3b6423f [2022-09-06T13:23:29.951Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-09-06T13:23:29.951Z] ---> Running in 0a2f4c8d7a5d [2022-09-06T13:23:30.523Z] Removing intermediate container 0a2f4c8d7a5d [2022-09-06T13:23:30.523Z] ---> a8003915d476 [2022-09-06T13:23:30.523Z] Step 5/22 : 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 [2022-09-06T13:23:30.523Z] ---> Running in 4e84a068c3d6 [2022-09-06T13:23:31.093Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-09-06T13:23:31.093Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-09-06T13:23:31.353Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-09-06T13:23:31.923Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-09-06T13:23:31.923Z] (1/33) Upgrading ncurses-terminfo-base (6.3_p20211120-r0 -> 6.3_p20211120-r1) [2022-09-06T13:23:31.923Z] (2/33) Upgrading ncurses-libs (6.3_p20211120-r0 -> 6.3_p20211120-r1) [2022-09-06T13:23:31.923Z] (3/33) Installing hiredis (1.0.2-r0) [2022-09-06T13:23:31.923Z] (4/33) Installing hiredis-dev (1.0.2-r0) [2022-09-06T13:23:31.923Z] (5/33) Installing libcbor (0.8.0-r0) [2022-09-06T13:23:31.923Z] (6/33) Installing libcbor-dev (0.8.0-r0) [2022-09-06T13:23:31.923Z] (7/33) Installing ncurses-dev (6.3_p20211120-r1) [2022-09-06T13:23:31.923Z] (8/33) Installing paho-mqtt-c-dev-1.3 (1.3.10-r0) [2022-09-06T13:23:32.862Z] (9/33) Installing util-linux (2.37.4-r0) [2022-09-06T13:23:32.863Z] (10/33) Installing libblkid (2.37.4-r0) [2022-09-06T13:23:32.863Z] (11/33) Installing libeconf (0.4.2-r0) [2022-09-06T13:23:32.863Z] (12/33) Installing libuuid (2.37.4-r0) [2022-09-06T13:23:32.863Z] (13/33) Installing libfdisk (2.37.4-r0) [2022-09-06T13:23:32.863Z] (14/33) Installing libmount (2.37.4-r0) [2022-09-06T13:23:32.863Z] (15/33) Installing libsmartcols (2.37.4-r0) [2022-09-06T13:23:32.863Z] (16/33) Installing util-linux-misc (2.37.4-r0) [2022-09-06T13:23:32.863Z] (17/33) Installing linux-pam (1.5.2-r0) [2022-09-06T13:23:32.863Z] (18/33) Installing runuser (2.37.4-r0) [2022-09-06T13:23:32.863Z] (19/33) Installing hexdump (2.37.4-r0) [2022-09-06T13:23:32.863Z] (20/33) Installing uuidgen (2.37.4-r0) [2022-09-06T13:23:32.863Z] (21/33) Installing blkid (2.37.4-r0) [2022-09-06T13:23:32.863Z] (22/33) Installing sfdisk (2.37.4-r0) [2022-09-06T13:23:32.863Z] (23/33) Installing mcookie (2.37.4-r0) [2022-09-06T13:23:32.863Z] (24/33) Installing wipefs (2.37.4-r0) [2022-09-06T13:23:32.863Z] (25/33) Installing cfdisk (2.37.4-r0) [2022-09-06T13:23:32.863Z] (26/33) Installing flock (2.37.4-r0) [2022-09-06T13:23:32.863Z] (27/33) Installing lsblk (2.37.4-r0) [2022-09-06T13:23:32.863Z] (28/33) Installing libcap-ng (0.8.2-r1) [2022-09-06T13:23:32.863Z] (29/33) Installing setpriv (2.37.4-r0) [2022-09-06T13:23:32.863Z] (30/33) Installing logger (2.37.4-r0) [2022-09-06T13:23:32.863Z] (31/33) Installing partx (2.37.4-r0) [2022-09-06T13:23:32.863Z] (32/33) Installing findmnt (2.37.4-r0) [2022-09-06T13:23:32.863Z] (33/33) Installing util-linux-dev (2.37.4-r0) [2022-09-06T13:23:32.863Z] Executing busybox-1.34.1-r5.trigger [2022-09-06T13:23:33.123Z] OK: 293 MiB in 108 packages [2022-09-06T13:23:34.062Z] Removing intermediate container 4e84a068c3d6 [2022-09-06T13:23:34.062Z] ---> b5a839feb548 [2022-09-06T13:23:34.062Z] Step 6/22 : RUN mkdir /tmp/sdk [2022-09-06T13:23:34.062Z] ---> Running in 4d241048585e [2022-09-06T13:23:34.637Z] Removing intermediate container 4d241048585e [2022-09-06T13:23:34.637Z] ---> 491c160c34b9 [2022-09-06T13:23:34.637Z] Step 7/22 : COPY VERSION /tmp/sdk [2022-09-06T13:23:34.637Z] ---> 162465cba943 [2022-09-06T13:23:34.637Z] Step 8/22 : COPY src /tmp/sdk/src [2022-09-06T13:23:34.896Z] ---> fe2ac5a95fcc [2022-09-06T13:23:34.896Z] Step 9/22 : COPY include /tmp/sdk/include [2022-09-06T13:23:34.896Z] ---> 17c9ff696aed [2022-09-06T13:23:34.896Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2022-09-06T13:23:35.156Z] ---> 5c160c0ed7c9 [2022-09-06T13:23:35.156Z] Step 11/22 : COPY LICENSE /tmp/sdk [2022-09-06T13:23:35.156Z] ---> 6ae497b45540 [2022-09-06T13:23:35.156Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2022-09-06T13:23:35.415Z] ---> ef91625317f3 [2022-09-06T13:23:35.415Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2022-09-06T13:23:35.415Z] ---> Running in 544e89079b60 [2022-09-06T13:23:35.675Z] + CPPCHECK=false [2022-09-06T13:23:35.675Z] + DOCGEN=false [2022-09-06T13:23:35.675Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2022-09-06T13:23:35.675Z] + TOMLVER=SDK-0.2 [2022-09-06T13:23:35.675Z] + CUTILVER=1.2.2 [2022-09-06T13:23:35.675Z] + '[' 0 -gt 0 ] [2022-09-06T13:23:35.675Z] + readlink -f ./scripts/build.sh [2022-09-06T13:23:35.675Z] + dirname /tmp/sdk/scripts/build.sh [2022-09-06T13:23:35.675Z] + dirname /tmp/sdk/scripts [2022-09-06T13:23:35.675Z] + ROOT=/tmp/sdk [2022-09-06T13:23:35.675Z] + cd /tmp/sdk [2022-09-06T13:23:35.675Z] + '[' '!' -d deps ] [2022-09-06T13:23:35.675Z] + mkdir deps [2022-09-06T13:23:35.675Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2022-09-06T13:23:35.675Z] + tar -C deps -z -x -f - [2022-09-06T13:23:35.675Z] Connecting to github.com (140.82.112.4:443) [2022-09-06T13:23:35.935Z] Connecting to codeload.github.com (140.82.113.9:443) [2022-09-06T13:23:36.045Z] Still waiting to schedule task [2022-09-06T13:23:36.045Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-09-06T13:23:36.194Z] writing to stdout [2022-09-06T13:23:36.194Z] - 100% |********************************| 16451 0:00:00 ETA [2022-09-06T13:23:36.194Z] written to stdout [2022-09-06T13:23:36.194Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2022-09-06T13:23:36.194Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2022-09-06T13:23:36.194Z] + tar -C deps -z -x -f - [2022-09-06T13:23:36.194Z] Connecting to github.com (140.82.112.4:443) [2022-09-06T13:23:36.454Z] Connecting to codeload.github.com (140.82.113.9:443) [2022-09-06T13:23:36.454Z] writing to stdout [2022-09-06T13:23:36.714Z] - 100% |********************************| 189k 0:00:00 ETA [2022-09-06T13:23:36.714Z] written to stdout [2022-09-06T13:23:36.714Z] + mkdir -p src/c/iot [2022-09-06T13:23:36.714Z] + cp deps/iotech-c-utils-1.2.2/src/c/base64.c deps/iotech-c-utils-1.2.2/src/c/component.c deps/iotech-c-utils-1.2.2/src/c/config.c deps/iotech-c-utils-1.2.2/src/c/container.c deps/iotech-c-utils-1.2.2/src/c/data.c deps/iotech-c-utils-1.2.2/src/c/hash.c deps/iotech-c-utils-1.2.2/src/c/iot.c deps/iotech-c-utils-1.2.2/src/c/json.c deps/iotech-c-utils-1.2.2/src/c/logger.c deps/iotech-c-utils-1.2.2/src/c/os.c deps/iotech-c-utils-1.2.2/src/c/scheduler.c deps/iotech-c-utils-1.2.2/src/c/thread.c deps/iotech-c-utils-1.2.2/src/c/threadpool.c deps/iotech-c-utils-1.2.2/src/c/time.c deps/iotech-c-utils-1.2.2/src/c/uuid.c deps/iotech-c-utils-1.2.2/src/c/yxml.c src/c/iot [2022-09-06T13:23:36.715Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2022-09-06T13:23:36.715Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2022-09-06T13:23:36.715Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2022-09-06T13:23:36.715Z] + mkdir -p include/iot [2022-09-06T13:23:36.715Z] + cp deps/iotech-c-utils-1.2.2/include/iot/base64.h deps/iotech-c-utils-1.2.2/include/iot/component.h deps/iotech-c-utils-1.2.2/include/iot/config.h deps/iotech-c-utils-1.2.2/include/iot/container.h deps/iotech-c-utils-1.2.2/include/iot/data.h deps/iotech-c-utils-1.2.2/include/iot/hash.h deps/iotech-c-utils-1.2.2/include/iot/iot.h deps/iotech-c-utils-1.2.2/include/iot/json.h deps/iotech-c-utils-1.2.2/include/iot/logger.h deps/iotech-c-utils-1.2.2/include/iot/os.h deps/iotech-c-utils-1.2.2/include/iot/scheduler.h deps/iotech-c-utils-1.2.2/include/iot/thread.h deps/iotech-c-utils-1.2.2/include/iot/threadpool.h deps/iotech-c-utils-1.2.2/include/iot/time.h deps/iotech-c-utils-1.2.2/include/iot/typecode.h deps/iotech-c-utils-1.2.2/include/iot/uuid.h include/iot [2022-09-06T13:23:36.715Z] + mkdir -p include/iot/os [2022-09-06T13:23:36.715Z] + cp deps/iotech-c-utils-1.2.2/include/iot/os/linux.h deps/iotech-c-utils-1.2.2/include/iot/os/macos.h deps/iotech-c-utils-1.2.2/include/iot/os/zephyr.h include/iot/os [2022-09-06T13:23:36.715Z] + mkdir -p /tmp/sdk/build/release [2022-09-06T13:23:36.715Z] + cd /tmp/sdk/build/release [2022-09-06T13:23:36.715Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2022-09-06T13:23:36.715Z] -- The C compiler identification is GNU 10.3.1 [2022-09-06T13:23:36.715Z] -- Detecting C compiler ABI info [2022-09-06T13:23:36.715Z] -- Detecting C compiler ABI info - done [2022-09-06T13:23:36.973Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-09-06T13:23:36.973Z] -- Detecting C compile features [2022-09-06T13:23:36.973Z] -- Detecting C compile features - done [2022-09-06T13:23:36.973Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-09-06T13:23:36.973Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-09-06T13:23:36.973Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-09-06T13:23:36.973Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-09-06T13:23:36.973Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-09-06T13:23:36.973Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-09-06T13:23:36.973Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-09-06T13:23:36.973Z] -- C SDK 0.0.0 for Linux [2022-09-06T13:23:36.974Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-09-06T13:23:36.974Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-09-06T13:23:36.974Z] -- Found Curses: /usr/lib/libcurses.so [2022-09-06T13:23:36.974Z] -- Configuring done [2022-09-06T13:23:36.974Z] -- Generating done [2022-09-06T13:23:36.974Z] -- Build files have been written to: /tmp/sdk/build/release [2022-09-06T13:23:36.974Z] + make all package [2022-09-06T13:23:36.974Z] + tee release.log [2022-09-06T13:23:37.234Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-09-06T13:23:37.234Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-09-06T13:23:37.493Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-09-06T13:23:37.752Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-09-06T13:23:38.012Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-09-06T13:23:38.012Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-09-06T13:23:38.274Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-09-06T13:23:38.274Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-09-06T13:23:38.274Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-09-06T13:23:38.535Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-09-06T13:23:38.798Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-09-06T13:23:39.060Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-09-06T13:23:39.060Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-09-06T13:23:39.320Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-09-06T13:23:39.320Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-09-06T13:23:39.320Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-09-06T13:23:39.582Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-09-06T13:23:40.152Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-09-06T13:23:40.152Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-09-06T13:23:40.152Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-09-06T13:23:40.414Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-09-06T13:23:40.414Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-09-06T13:23:40.414Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-09-06T13:23:40.414Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-09-06T13:23:40.414Z] 275 | const iot_component_factory_t * factory; [2022-09-06T13:23:40.414Z] | ^~~~~~~ [2022-09-06T13:23:40.675Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-09-06T13:23:41.245Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-09-06T13:23:41.506Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-09-06T13:23:41.506Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-09-06T13:23:41.506Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-09-06T13:23:41.766Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-09-06T13:23:41.766Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-09-06T13:23:42.026Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-09-06T13:23:42.026Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-09-06T13:23:42.286Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-09-06T13:23:42.286Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-09-06T13:23:42.286Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-09-06T13:23:42.859Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-09-06T13:23:42.859Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-09-06T13:23:43.120Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-09-06T13:23:43.120Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-09-06T13:23:44.062Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-09-06T13:23:44.062Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-09-06T13:23:44.062Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-09-06T13:23:44.323Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-09-06T13:23:44.586Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-09-06T13:23:44.870Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-09-06T13:23:44.870Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-09-06T13:23:45.143Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-09-06T13:23:45.143Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-09-06T13:23:45.777Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-09-06T13:23:46.375Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-09-06T13:23:46.375Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2022-09-06T13:23:46.635Z] [ 75%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-09-06T13:23:46.635Z] [ 76%] Linking C shared library libcsdk.so [2022-09-06T13:23:46.635Z] [ 76%] Built target csdk [2022-09-06T13:23:46.635Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-09-06T13:23:46.895Z] [ 79%] Linking C executable template [2022-09-06T13:23:46.895Z] [ 79%] Built target template [2022-09-06T13:23:46.895Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-09-06T13:23:47.157Z] [ 82%] Linking C executable device-counter [2022-09-06T13:23:47.157Z] [ 82%] Built target device-counter [2022-09-06T13:23:47.157Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-09-06T13:23:47.157Z] [ 85%] Linking C executable device-random [2022-09-06T13:23:47.417Z] [ 85%] Built target device-random [2022-09-06T13:23:47.417Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-09-06T13:23:47.417Z] [ 88%] Linking C executable device-gyro [2022-09-06T13:23:47.417Z] [ 88%] Built target device-gyro [2022-09-06T13:23:47.417Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-09-06T13:23:47.678Z] [ 91%] Linking C executable device-bitfields [2022-09-06T13:23:47.678Z] [ 91%] Built target device-bitfields [2022-09-06T13:23:47.678Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-09-06T13:23:47.938Z] [ 94%] Linking C executable template-discovery [2022-09-06T13:23:47.939Z] [ 94%] Built target template-discovery [2022-09-06T13:23:47.939Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-09-06T13:23:47.939Z] [ 97%] Linking C executable device-file [2022-09-06T13:23:48.199Z] [ 97%] Built target device-file [2022-09-06T13:23:48.199Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-09-06T13:23:48.199Z] [100%] Linking C executable device-terminal [2022-09-06T13:23:48.199Z] [100%] Built target device-terminal [2022-09-06T13:23:48.199Z] Run CPack packaging tool... [2022-09-06T13:23:48.459Z] CPack: Create package using TGZ [2022-09-06T13:23:48.459Z] CPack: Install projects [2022-09-06T13:23:48.459Z] CPack: - Run preinstall target for: Csdk [2022-09-06T13:23:48.459Z] CPack: - Install project: Csdk [] [2022-09-06T13:23:48.720Z] CPack: Create package [2022-09-06T13:23:48.720Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2022-09-06T13:23:48.720Z] + '[' false '=' true ] [2022-09-06T13:23:48.720Z] + '[' false '=' true ] [2022-09-06T13:23:48.720Z] + mkdir -p /tmp/sdk/build/debug [2022-09-06T13:23:48.720Z] + cd /tmp/sdk/build/debug [2022-09-06T13:23:48.720Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2022-09-06T13:23:48.720Z] -- The C compiler identification is GNU 10.3.1 [2022-09-06T13:23:48.720Z] -- Detecting C compiler ABI info [2022-09-06T13:23:48.720Z] -- Detecting C compiler ABI info - done [2022-09-06T13:23:48.720Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-09-06T13:23:48.720Z] -- Detecting C compile features [2022-09-06T13:23:48.720Z] -- Detecting C compile features - done [2022-09-06T13:23:48.720Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-09-06T13:23:48.980Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-09-06T13:23:48.980Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-09-06T13:23:48.980Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-09-06T13:23:48.980Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-09-06T13:23:48.980Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-09-06T13:23:48.980Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-09-06T13:23:48.980Z] -- C SDK 0.0.0 for Linux [2022-09-06T13:23:48.980Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-09-06T13:23:48.980Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-09-06T13:23:48.980Z] -- Found Curses: /usr/lib/libcurses.so [2022-09-06T13:23:48.980Z] -- Configuring done [2022-09-06T13:23:48.980Z] -- Generating done [2022-09-06T13:23:48.980Z] -- Build files have been written to: /tmp/sdk/build/debug [2022-09-06T13:23:48.980Z] + make [2022-09-06T13:23:48.980Z] + tee debug.log [2022-09-06T13:23:48.980Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-09-06T13:23:49.241Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-09-06T13:23:49.241Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-09-06T13:23:49.501Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-09-06T13:23:49.501Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-09-06T13:23:49.501Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-09-06T13:23:49.761Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-09-06T13:23:49.761Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-09-06T13:23:49.761Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-09-06T13:23:49.761Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-09-06T13:23:50.021Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-09-06T13:23:50.021Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-09-06T13:23:50.021Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-09-06T13:23:50.282Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-09-06T13:23:50.282Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-09-06T13:23:50.282Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-09-06T13:23:50.282Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-09-06T13:23:50.542Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-09-06T13:23:50.542Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-09-06T13:23:50.805Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-09-06T13:23:50.805Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-09-06T13:23:50.805Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-09-06T13:23:50.805Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-09-06T13:23:50.805Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-09-06T13:23:50.805Z] 275 | const iot_component_factory_t * factory; [2022-09-06T13:23:50.805Z] | ^~~~~~~ [2022-09-06T13:23:50.805Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-09-06T13:23:51.066Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-09-06T13:23:51.066Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-09-06T13:23:51.328Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-09-06T13:23:51.328Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-09-06T13:23:51.328Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-09-06T13:23:51.328Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-09-06T13:23:51.590Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-09-06T13:23:51.590Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-09-06T13:23:51.590Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-09-06T13:23:51.590Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-09-06T13:23:51.852Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-09-06T13:23:51.852Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-09-06T13:23:51.852Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-09-06T13:23:52.114Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-09-06T13:23:52.114Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-09-06T13:23:52.373Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-09-06T13:23:52.373Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-09-06T13:23:52.374Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-09-06T13:23:52.374Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-09-06T13:23:52.634Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-09-06T13:23:52.894Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-09-06T13:23:52.894Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-09-06T13:23:52.894Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-09-06T13:23:53.155Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-09-06T13:23:53.155Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-09-06T13:23:53.415Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-09-06T13:23:53.415Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2022-09-06T13:23:53.415Z] [ 75%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-09-06T13:23:53.677Z] [ 76%] Linking C shared library libcsdk.so [2022-09-06T13:23:53.677Z] [ 76%] Built target csdk [2022-09-06T13:23:53.677Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-09-06T13:23:53.677Z] [ 79%] Linking C executable template [2022-09-06T13:23:53.677Z] [ 79%] Built target template [2022-09-06T13:23:53.677Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-09-06T13:23:53.937Z] [ 82%] Linking C executable device-counter [2022-09-06T13:23:53.937Z] [ 82%] Built target device-counter [2022-09-06T13:23:53.937Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-09-06T13:23:53.937Z] [ 85%] Linking C executable device-random [2022-09-06T13:23:54.198Z] [ 85%] Built target device-random [2022-09-06T13:23:54.198Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-09-06T13:23:54.198Z] [ 88%] Linking C executable device-gyro [2022-09-06T13:23:54.198Z] [ 88%] Built target device-gyro [2022-09-06T13:23:54.198Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-09-06T13:23:54.198Z] [ 91%] Linking C executable device-bitfields [2022-09-06T13:23:54.460Z] [ 91%] Built target device-bitfields [2022-09-06T13:23:54.460Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-09-06T13:23:54.460Z] [ 94%] Linking C executable template-discovery [2022-09-06T13:23:54.460Z] [ 94%] Built target template-discovery [2022-09-06T13:23:54.460Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-09-06T13:23:54.720Z] [ 97%] Linking C executable device-file [2022-09-06T13:23:54.720Z] [ 97%] Built target device-file [2022-09-06T13:23:54.720Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-09-06T13:23:54.720Z] [100%] Linking C executable device-terminal [2022-09-06T13:23:54.980Z] [100%] Built target device-terminal [2022-09-06T13:23:54.980Z] make: Entering directory '/tmp/sdk/build/release' [2022-09-06T13:23:54.980Z] make[1]: Entering directory '/tmp/sdk/build/release' [2022-09-06T13:23:54.980Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-09-06T13:23:54.980Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-09-06T13:23:54.980Z] [ 76%] Built target csdk [2022-09-06T13:23:54.980Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-09-06T13:23:54.980Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-09-06T13:23:54.980Z] [ 79%] Built target template [2022-09-06T13:23:54.980Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-09-06T13:23:54.980Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-09-06T13:23:54.980Z] [ 82%] Built target device-counter [2022-09-06T13:23:54.980Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-09-06T13:23:54.980Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-09-06T13:23:54.980Z] [ 85%] Built target device-random [2022-09-06T13:23:54.980Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-09-06T13:23:54.980Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-09-06T13:23:54.980Z] [ 88%] Built target device-gyro [2022-09-06T13:23:54.980Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-09-06T13:23:54.980Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-09-06T13:23:54.980Z] [ 91%] Built target device-bitfields [2022-09-06T13:23:54.980Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-09-06T13:23:54.980Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-09-06T13:23:54.980Z] [ 94%] Built target template-discovery [2022-09-06T13:23:54.980Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-09-06T13:23:54.980Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-09-06T13:23:54.980Z] [ 97%] Built target device-file [2022-09-06T13:23:54.980Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-09-06T13:23:54.980Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-09-06T13:23:54.980Z] [100%] Built target device-terminal [2022-09-06T13:23:54.980Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2022-09-06T13:23:54.980Z] Install the project... [2022-09-06T13:23:54.980Z] -- Install configuration: "Release" [2022-09-06T13:23:54.980Z] -- Installing: /usr/local/lib/libcsdk.so [2022-09-06T13:23:54.980Z] -- Installing: /usr/local/include [2022-09-06T13:23:54.980Z] -- Installing: /usr/local/include/edgex [2022-09-06T13:23:54.980Z] -- Installing: /usr/local/include/edgex/profiles.h [2022-09-06T13:23:54.980Z] -- Installing: /usr/local/include/edgex/edgex.h [2022-09-06T13:23:54.980Z] -- Installing: /usr/local/include/edgex/rest-server.h [2022-09-06T13:23:54.980Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2022-09-06T13:23:54.980Z] -- Installing: /usr/local/include/edgex/devices.h [2022-09-06T13:23:54.980Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2022-09-06T13:23:54.980Z] -- Installing: /usr/local/include/devsdk [2022-09-06T13:23:54.980Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2022-09-06T13:23:54.980Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2022-09-06T13:23:54.980Z] -- Installing: /usr/local/include/iot [2022-09-06T13:23:54.980Z] -- Installing: /usr/local/include/iot/thread.h [2022-09-06T13:23:54.980Z] -- Installing: /usr/local/include/iot/hash.h [2022-09-06T13:23:54.980Z] -- Installing: /usr/local/include/iot/typecode.h [2022-09-06T13:23:54.980Z] -- Installing: /usr/local/include/iot/threadpool.h [2022-09-06T13:23:54.980Z] -- Installing: /usr/local/include/iot/uuid.h [2022-09-06T13:23:54.980Z] -- Installing: /usr/local/include/iot/logger.h [2022-09-06T13:23:54.980Z] -- Installing: /usr/local/include/iot/config.h [2022-09-06T13:23:54.980Z] -- Installing: /usr/local/include/iot/os.h [2022-09-06T13:23:54.980Z] -- Installing: /usr/local/include/iot/container.h [2022-09-06T13:23:54.980Z] -- Installing: /usr/local/include/iot/scheduler.h [2022-09-06T13:23:54.980Z] -- Installing: /usr/local/include/iot/defs.h [2022-09-06T13:23:54.980Z] -- Installing: /usr/local/include/iot/iot.h [2022-09-06T13:23:54.980Z] -- Installing: /usr/local/include/iot/component.h [2022-09-06T13:23:54.980Z] -- Installing: /usr/local/include/iot/os [2022-09-06T13:23:54.980Z] -- Installing: /usr/local/include/iot/os/linux.h [2022-09-06T13:23:54.980Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2022-09-06T13:23:54.980Z] -- Installing: /usr/local/include/iot/os/macos.h [2022-09-06T13:23:54.980Z] -- Installing: /usr/local/include/iot/base64.h [2022-09-06T13:23:54.980Z] -- Installing: /usr/local/include/iot/time.h [2022-09-06T13:23:54.980Z] -- Installing: /usr/local/include/iot/data.h [2022-09-06T13:23:54.980Z] -- Installing: /usr/local/include/iot/json.h [2022-09-06T13:23:54.980Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2022-09-06T13:23:54.980Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2022-09-06T13:23:54.980Z] make: Leaving directory '/tmp/sdk/build/release' [2022-09-06T13:23:55.919Z] Removing intermediate container 544e89079b60 [2022-09-06T13:23:55.919Z] ---> aa74e27c4ff9 [2022-09-06T13:23:55.919Z] Step 14/22 : FROM ${BASE} [2022-09-06T13:23:55.919Z] ---> 547c565c9e89 [2022-09-06T13:23:55.919Z] Step 15/22 : LABEL maintainer="IOTech " [2022-09-06T13:23:55.919Z] ---> Running in 4ea8763bf5b7 [2022-09-06T13:23:55.919Z] Removing intermediate container 4ea8763bf5b7 [2022-09-06T13:23:55.919Z] ---> 9237c0c2fb1d [2022-09-06T13:23:55.919Z] Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2022-09-06T13:23:55.919Z] ---> Running in 10bc3e488a56 [2022-09-06T13:23:56.181Z] Connecting to iotech.jfrog.io (3.248.77.230:443) [2022-09-06T13:23:57.119Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-09-06T13:23:57.119Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-09-06T13:23:57.119Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-09-06T13:23:57.119Z] Removing intermediate container 10bc3e488a56 [2022-09-06T13:23:57.119Z] ---> 713857c7cf35 [2022-09-06T13:23:57.119Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-09-06T13:23:57.119Z] ---> Running in ce1fc2075105 [2022-09-06T13:23:57.689Z] Removing intermediate container ce1fc2075105 [2022-09-06T13:23:57.689Z] ---> 0572611bc343 [2022-09-06T13:23:57.689Z] Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 hiredis-dev [2022-09-06T13:23:57.689Z] ---> Running in cce1f28301aa [2022-09-06T13:23:57.947Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-09-06T13:23:58.207Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-09-06T13:23:58.466Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-09-06T13:23:59.035Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-09-06T13:23:59.035Z] (1/6) Installing curl (7.80.0-r3) [2022-09-06T13:23:59.035Z] (2/6) Installing hiredis (1.0.2-r0) [2022-09-06T13:23:59.035Z] (3/6) Installing hiredis-dev (1.0.2-r0) [2022-09-06T13:23:59.035Z] (4/6) Installing libcbor (0.8.0-r0) [2022-09-06T13:23:59.035Z] (5/6) Installing libuuid (2.37.4-r0) [2022-09-06T13:23:59.035Z] (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.10-r0) [2022-09-06T13:23:59.604Z] Executing busybox-1.34.1-r5.trigger [2022-09-06T13:23:59.604Z] OK: 283 MiB in 83 packages [2022-09-06T13:23:59.865Z] Removing intermediate container cce1f28301aa [2022-09-06T13:23:59.865Z] ---> 1fa7afe18d10 [2022-09-06T13:23:59.865Z] Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2022-09-06T13:24:00.127Z] ---> 76329ac0c3f7 [2022-09-06T13:24:00.127Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2022-09-06T13:24:00.127Z] ---> abb4d73b7151 [2022-09-06T13:24:00.127Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2022-09-06T13:24:00.387Z] ---> 31eb1c7c6fc7 [2022-09-06T13:24:00.387Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2022-09-06T13:24:00.648Z] ---> 3e4020db18b7 [2022-09-06T13:24:00.648Z] Successfully built 3e4020db18b7 [2022-09-06T13:24:00.648Z] 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 [2022-09-06T13:24:01.308Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-06T13:24:01.308Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-06T13:24:01.472Z] prd-ubuntu20.04-docker-8c-8g-24659 does not seem to be running inside a container [2022-09-06T13:24:01.510Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-429 -v /w/workspace/edgexfoundry_device-sdk-c_PR-429:/w/workspace/edgexfoundry_device-sdk-c_PR-429:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-429@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-429@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 [2022-09-06T13:24:01.882Z] $ docker top 4c47d6bef64e0de4256f1c9e66d954040ad05c2bbbd234448c052427fe2f88dd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-06T13:24:02.290Z] + make test [2022-09-06T13:24:02.290Z] echo "make test" [2022-09-06T13:24:02.290Z] make test [Pipeline] } [2022-09-06T13:24:02.323Z] $ docker stop --time=1 4c47d6bef64e0de4256f1c9e66d954040ad05c2bbbd234448c052427fe2f88dd [2022-09-06T13:24:03.545Z] $ docker rm -f 4c47d6bef64e0de4256f1c9e66d954040ad05c2bbbd234448c052427fe2f88dd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-06T13:24:04.417Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-06T13:24:04.730Z] + ls -al . [2022-09-06T13:24:04.730Z] total 208 [2022-09-06T13:24:04.730Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 6 13:23 . [2022-09-06T13:24:04.730Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 13:22 .. [2022-09-06T13:24:04.730Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 6 13:23 .git [2022-09-06T13:24:04.730Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 6 13:22 .github [2022-09-06T13:24:04.730Z] -rw-rw-r-- 1 jenkins jenkins 176 Sep 6 13:22 .gitignore [2022-09-06T13:24:04.730Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 6 13:23 .semver [2022-09-06T13:24:04.730Z] -rw-rw-r-- 1 jenkins jenkins 3104 Sep 6 13:22 Attribution.txt [2022-09-06T13:24:04.730Z] -rw-rw-r-- 1 jenkins jenkins 8489 Sep 6 13:22 CHANGES [2022-09-06T13:24:04.730Z] -rw-rw-r-- 1 jenkins jenkins 108574 Sep 6 13:22 Doxyfile [2022-09-06T13:24:04.730Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 6 13:22 GOVERNANCE.md [2022-09-06T13:24:04.730Z] -rw-rw-r-- 1 jenkins jenkins 784 Sep 6 13:22 Jenkinsfile [2022-09-06T13:24:04.730Z] -rw-rw-r-- 1 jenkins jenkins 10174 Sep 6 13:22 LICENSE [2022-09-06T13:24:04.730Z] -rw-rw-r-- 1 jenkins jenkins 444 Sep 6 13:22 Makefile [2022-09-06T13:24:04.730Z] -rw-rw-r-- 1 jenkins jenkins 618 Sep 6 13:22 OWNERS.md [2022-09-06T13:24:04.730Z] -rw-rw-r-- 1 jenkins jenkins 4086 Sep 6 13:22 README.md [2022-09-06T13:24:04.730Z] -rw-rw-r-- 1 jenkins jenkins 7422 Sep 6 13:22 README.v2.md [2022-09-06T13:24:04.730Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 6 13:23 VERSION [2022-09-06T13:24:04.730Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 6 13:22 docs [2022-09-06T13:24:04.730Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 13:22 include [2022-09-06T13:24:04.730Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 6 13:22 scripts [2022-09-06T13:24:04.730Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 13:22 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T13:24:05.119Z] + 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=0e053670bbfd2c899cec61a9fea14610f7dc3486 --label arch=amd64 --label version=0.0.0 . [2022-09-06T13:24:05.119Z] Sending build context to Docker daemon 4.694MB [2022-09-06T13:24:05.119Z] Step 1/17 : ARG BASE=alpine:3.15 [2022-09-06T13:24:05.119Z] Step 2/17 : FROM ${BASE} [2022-09-06T13:24:05.119Z] ---> 3e4020db18b7 [2022-09-06T13:24:05.119Z] Step 3/17 : LABEL maintainer="IOTech " [2022-09-06T13:24:05.119Z] ---> Running in c5e9bbec9759 [2022-09-06T13:24:05.119Z] Removing intermediate container c5e9bbec9759 [2022-09-06T13:24:05.119Z] ---> add92b28c82f [2022-09-06T13:24:05.119Z] 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 [2022-09-06T13:24:05.379Z] ---> Running in ea8ec176c7c2 [2022-09-06T13:24:05.379Z] Connecting to iotech.jfrog.io (52.214.86.224:443) [2022-09-06T13:24:05.948Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-09-06T13:24:05.948Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-09-06T13:24:05.948Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-09-06T13:24:06.208Z] Removing intermediate container ea8ec176c7c2 [2022-09-06T13:24:06.208Z] ---> 318cb522ca99 [2022-09-06T13:24:06.208Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-09-06T13:24:06.208Z] ---> Running in 6b1cdb78f31b [2022-09-06T13:24:06.787Z] Removing intermediate container 6b1cdb78f31b [2022-09-06T13:24:06.787Z] ---> df1b8aeb964d [2022-09-06T13:24:06.787Z] 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 && mkdir -p /edgex-c-sdk/build [2022-09-06T13:24:06.787Z] ---> Running in 05af6f1f3405 [2022-09-06T13:24:07.048Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-09-06T13:24:07.048Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-09-06T13:24:07.309Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-09-06T13:24:07.569Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-09-06T13:24:07.569Z] (1/28) Upgrading ncurses-terminfo-base (6.3_p20211120-r0 -> 6.3_p20211120-r1) [2022-09-06T13:24:07.569Z] (2/28) Upgrading ncurses-libs (6.3_p20211120-r0 -> 6.3_p20211120-r1) [2022-09-06T13:24:07.829Z] (3/28) Installing libcbor-dev (0.8.0-r0) [2022-09-06T13:24:07.829Z] (4/28) Installing ncurses-dev (6.3_p20211120-r1) [2022-09-06T13:24:07.829Z] (5/28) Installing util-linux (2.37.4-r0) [2022-09-06T13:24:07.829Z] (6/28) Installing libblkid (2.37.4-r0) [2022-09-06T13:24:07.829Z] (7/28) Installing libeconf (0.4.2-r0) [2022-09-06T13:24:07.829Z] (8/28) Installing libfdisk (2.37.4-r0) [2022-09-06T13:24:07.829Z] (9/28) Installing libmount (2.37.4-r0) [2022-09-06T13:24:07.829Z] (10/28) Installing libsmartcols (2.37.4-r0) [2022-09-06T13:24:07.829Z] (11/28) Installing util-linux-misc (2.37.4-r0) [2022-09-06T13:24:07.829Z] (12/28) Installing linux-pam (1.5.2-r0) [2022-09-06T13:24:07.829Z] (13/28) Installing runuser (2.37.4-r0) [2022-09-06T13:24:07.829Z] (14/28) Installing hexdump (2.37.4-r0) [2022-09-06T13:24:07.829Z] (15/28) Installing uuidgen (2.37.4-r0) [2022-09-06T13:24:07.829Z] (16/28) Installing blkid (2.37.4-r0) [2022-09-06T13:24:07.829Z] (17/28) Installing sfdisk (2.37.4-r0) [2022-09-06T13:24:07.829Z] (18/28) Installing mcookie (2.37.4-r0) [2022-09-06T13:24:07.829Z] (19/28) Installing wipefs (2.37.4-r0) [2022-09-06T13:24:07.829Z] (20/28) Installing cfdisk (2.37.4-r0) [2022-09-06T13:24:07.829Z] (21/28) Installing flock (2.37.4-r0) [2022-09-06T13:24:07.829Z] (22/28) Installing lsblk (2.37.4-r0) [2022-09-06T13:24:07.829Z] (23/28) Installing libcap-ng (0.8.2-r1) [2022-09-06T13:24:07.829Z] (24/28) Installing setpriv (2.37.4-r0) [2022-09-06T13:24:07.829Z] (25/28) Installing logger (2.37.4-r0) [2022-09-06T13:24:07.829Z] (26/28) Installing partx (2.37.4-r0) [2022-09-06T13:24:07.829Z] (27/28) Installing findmnt (2.37.4-r0) [2022-09-06T13:24:07.829Z] (28/28) Installing util-linux-dev (2.37.4-r0) [2022-09-06T13:24:07.829Z] Executing busybox-1.34.1-r5.trigger [2022-09-06T13:24:07.829Z] OK: 294 MiB in 109 packages [2022-09-06T13:24:08.770Z] Removing intermediate container 05af6f1f3405 [2022-09-06T13:24:08.770Z] ---> d65484e3fa82 [2022-09-06T13:24:08.770Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2022-09-06T13:24:08.770Z] ---> 87f9775f4297 [2022-09-06T13:24:08.770Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2022-09-06T13:24:08.770Z] ---> becf349b792d [2022-09-06T13:24:08.770Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2022-09-06T13:24:09.031Z] ---> 1d5fe83a6d58 [2022-09-06T13:24:09.031Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2022-09-06T13:24:09.031Z] ---> 0507a1647885 [2022-09-06T13:24:09.031Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2022-09-06T13:24:09.290Z] ---> fc48bc7d6ed0 [2022-09-06T13:24:09.290Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2022-09-06T13:24:09.290Z] ---> 4a099894f12f [2022-09-06T13:24:09.290Z] Step 13/17 : WORKDIR /edgex-c-sdk [2022-09-06T13:24:09.290Z] ---> Running in 1cf320c77021 [2022-09-06T13:24:09.550Z] Removing intermediate container 1cf320c77021 [2022-09-06T13:24:09.550Z] ---> c39b9d9d7f43 [2022-09-06T13:24:09.550Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2022-09-06T13:24:09.550Z] ---> Running in de38e3e84f8d [2022-09-06T13:24:09.550Z] Removing intermediate container de38e3e84f8d [2022-09-06T13:24:09.550Z] ---> c94e7d6d3d1a [2022-09-06T13:24:09.550Z] Step 15/17 : LABEL arch=amd64 [2022-09-06T13:24:09.550Z] ---> Running in 2d3b9517606a [2022-09-06T13:24:09.550Z] Removing intermediate container 2d3b9517606a [2022-09-06T13:24:09.550Z] ---> 9dee56319b96 [2022-09-06T13:24:09.550Z] Step 16/17 : LABEL git_sha=0e053670bbfd2c899cec61a9fea14610f7dc3486 [2022-09-06T13:24:09.550Z] ---> Running in 2d2804abbabd [2022-09-06T13:24:09.809Z] Removing intermediate container 2d2804abbabd [2022-09-06T13:24:09.809Z] ---> dce1644ea69a [2022-09-06T13:24:09.809Z] Step 17/17 : LABEL version=0.0.0 [2022-09-06T13:24:09.809Z] ---> Running in 1186aec03a8c [2022-09-06T13:24:09.809Z] Removing intermediate container 1186aec03a8c [2022-09-06T13:24:09.809Z] ---> 538e9250bdf4 [2022-09-06T13:24:09.809Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2022-09-06T13:24:09.809Z] Successfully built 538e9250bdf4 [2022-09-06T13:24:09.809Z] 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 [2022-09-06T13:24:10.677Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-06T13:24:10.677Z] [2022-09-06T13:24:10.677Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T13:24:11.047Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-06T13:24:11.047Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-06T13:24:11.047Z] 5eb5b503b376: Pulling fs layer [2022-09-06T13:24:11.047Z] 5c69ac0246d0: Pulling fs layer [2022-09-06T13:24:11.047Z] ec43610c2a17: Pulling fs layer [2022-09-06T13:24:11.047Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-06T13:24:11.047Z] 33b1e0a273af: Pulling fs layer [2022-09-06T13:24:11.047Z] 5d3b04190fa2: Pulling fs layer [2022-09-06T13:24:11.047Z] 2f39f015ded8: Pulling fs layer [2022-09-06T13:24:11.047Z] 3a2ae6a8a46f: Waiting [2022-09-06T13:24:11.047Z] 33b1e0a273af: Waiting [2022-09-06T13:24:11.047Z] 5d3b04190fa2: Waiting [2022-09-06T13:24:11.047Z] 2f39f015ded8: Waiting [2022-09-06T13:24:11.047Z] 5c69ac0246d0: Verifying Checksum [2022-09-06T13:24:11.047Z] 5c69ac0246d0: Download complete [2022-09-06T13:24:11.047Z] 3a2ae6a8a46f: Download complete [2022-09-06T13:24:11.309Z] 33b1e0a273af: Verifying Checksum [2022-09-06T13:24:11.309Z] 33b1e0a273af: Download complete [2022-09-06T13:24:11.309Z] 5d3b04190fa2: Download complete [2022-09-06T13:24:11.309Z] ec43610c2a17: Verifying Checksum [2022-09-06T13:24:11.309Z] ec43610c2a17: Download complete [2022-09-06T13:24:11.309Z] 5eb5b503b376: Verifying Checksum [2022-09-06T13:24:11.309Z] 5eb5b503b376: Download complete [2022-09-06T13:24:11.876Z] 2f39f015ded8: Download complete [2022-09-06T13:24:12.443Z] 5eb5b503b376: Pull complete [2022-09-06T13:24:12.702Z] 5c69ac0246d0: Pull complete [2022-09-06T13:24:12.964Z] ec43610c2a17: Pull complete [2022-09-06T13:24:13.225Z] 3a2ae6a8a46f: Pull complete [2022-09-06T13:24:13.485Z] 33b1e0a273af: Pull complete [2022-09-06T13:24:13.485Z] 5d3b04190fa2: Pull complete [2022-09-06T13:24:17.678Z] 2f39f015ded8: Pull complete [2022-09-06T13:24:17.678Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-06T13:24:17.678Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-06T13:24:17.678Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-06T13:24:17.897Z] prd-ubuntu20.04-docker-8c-8g-24659 does not seem to be running inside a container [2022-09-06T13:24:17.932Z] $ 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-429 -v /w/workspace/edgexfoundry_device-sdk-c_PR-429:/w/workspace/edgexfoundry_device-sdk-c_PR-429:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-429@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-429@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 [2022-09-06T13:24:21.601Z] $ docker top a560db82a49f4b843c7ce463c15dd39a07aeb075ce57f00cf427e4849d82685f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-06T13:24:22.065Z] ---> job-cost.sh [2022-09-06T13:24:22.065Z] lf-activate-venv: SKIPPING [2022-09-06T13:24:22.065Z] INFO: No Stack... [2022-09-06T13:24:22.324Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-06T13:24:22.892Z] INFO: Archiving Costs [Pipeline] sh [2022-09-06T13:24:23.212Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-429/archives/cost.csv [2022-09-06T13:24:23.213Z] + cut -d, -f6 [Pipeline] lock [2022-09-06T13:24:23.252Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-429-1-stack-cost] [2022-09-06T13:24:23.257Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-429-1-stack-cost] did not exist. Created. [2022-09-06T13:24:23.257Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-429-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-06T13:24:23.641Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-06T13:24:23.706Z] Stashed 1 file(s) [Pipeline] } [2022-09-06T13:24:23.726Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-429-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-06T13:24:23.797Z] $ docker stop --time=1 a560db82a49f4b843c7ce463c15dd39a07aeb075ce57f00cf427e4849d82685f [2022-09-06T13:24:24.944Z] $ docker rm -f a560db82a49f4b843c7ce463c15dd39a07aeb075ce57f00cf427e4849d82685f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-06T13:25:21.620Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-24660 in /w/workspace/edgexfoundry_device-sdk-c_PR-429 [Pipeline] { [Pipeline] ws [2022-09-06T13:25:21.661Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2022-09-06T13:25:21.740Z] Selected Git installation does not exist. Using Default [2022-09-06T13:25:21.740Z] The recommended git tool is: NONE [2022-09-06T13:25:27.719Z] using credential edgex-jenkins-ssh [2022-09-06T13:25:27.738Z] Cloning the remote Git repository [2022-09-06T13:25:27.792Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2022-09-06T13:25:27.866Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2022-09-06T13:25:27.932Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2022-09-06T13:25:27.933Z] > git --version # timeout=10 [2022-09-06T13:25:27.956Z] > git --version # 'git version 2.25.1' [2022-09-06T13:25:27.958Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-06T13:25:28.038Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-06T13:25:29.290Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2022-09-06T13:25:29.310Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-06T13:25:29.340Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2022-09-06T13:25:29.383Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2022-09-06T13:25:29.384Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-06T13:25:29.399Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/429/head:refs/remotes/origin/PR-429 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-06T13:25:30.052Z] Merging remotes/origin/main commit 117e3ae82fbf81e148f12b1fc27328d4e4a70297 into PR head commit 0e053670bbfd2c899cec61a9fea14610f7dc3486 [2022-09-06T13:25:30.326Z] Merge succeeded, producing 0e053670bbfd2c899cec61a9fea14610f7dc3486 [2022-09-06T13:25:30.327Z] Checking out Revision 0e053670bbfd2c899cec61a9fea14610f7dc3486 (PR-429) [2022-09-06T13:25:30.072Z] > git config core.sparsecheckout # timeout=10 [2022-09-06T13:25:30.097Z] > git checkout -f 0e053670bbfd2c899cec61a9fea14610f7dc3486 # timeout=10 [2022-09-06T13:25:30.219Z] > git remote # timeout=10 [2022-09-06T13:25:30.243Z] > git config --get remote.origin.url # timeout=10 [2022-09-06T13:25:30.263Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-06T13:25:30.276Z] > git merge 117e3ae82fbf81e148f12b1fc27328d4e4a70297 # timeout=10 [2022-09-06T13:25:30.302Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-06T13:25:30.334Z] > git config core.sparsecheckout # timeout=10 [2022-09-06T13:25:30.353Z] > git checkout -f 0e053670bbfd2c899cec61a9fea14610f7dc3486 # timeout=10 [2022-09-06T13:25:34.621Z] Commit message: "feat: implement MaxEventSize configuration Fix #416" [2022-09-06T13:25:34.680Z] > git --version # timeout=10 [2022-09-06T13:25:34.690Z] > git --version # 'git version 2.25.1' [2022-09-06T13:25:34.707Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-06T13:25:35.850Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-06T13:25:35.850Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-06T13:25:35.850Z] Dload Upload Total Spent Left Speed [2022-09-06T13:25:35.850Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 90014 0 --:--:-- --:--:-- --:--:-- 90661 [Pipeline] sh [2022-09-06T13:25:36.780Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-06T13:25:37.159Z] + sudo tee /etc/docker/daemon.new [2022-09-06T13:25:37.159Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-06T13:25:37.159Z] { [2022-09-06T13:25:37.159Z] "registry-mirrors": [ [2022-09-06T13:25:37.159Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-06T13:25:37.159Z] ], [2022-09-06T13:25:37.159Z] "bip": "10.250.0.254/24", [2022-09-06T13:25:37.159Z] "hosts": [ [2022-09-06T13:25:37.159Z] "tcp://0.0.0.0:5555", [2022-09-06T13:25:37.159Z] "unix:///var/run/docker.sock" [2022-09-06T13:25:37.159Z] ], [2022-09-06T13:25:37.159Z] "mtu": 1458, [2022-09-06T13:25:37.159Z] "selinux-enabled": true, [2022-09-06T13:25:37.159Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-06T13:25:37.159Z] } [Pipeline] sh [2022-09-06T13:25:37.519Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-06T13:25:37.884Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-06T13:25:56.276Z] provisioning config files... [2022-09-06T13:25:56.300Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config1962380087177831785tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-06T13:25:56.698Z] ---> docker-login.sh [2022-09-06T13:25:56.698Z] nexus3.edgexfoundry.org:10001 [2022-09-06T13:25:57.291Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-06T13:25:57.563Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-06T13:25:57.563Z] Configure a credential helper to remove this warning. See [2022-09-06T13:25:57.563Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-06T13:25:57.563Z] [2022-09-06T13:25:57.563Z] Login Succeeded [2022-09-06T13:25:57.563Z] nexus3.edgexfoundry.org:10002 [2022-09-06T13:25:57.834Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-06T13:25:57.834Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-06T13:25:57.834Z] Configure a credential helper to remove this warning. See [2022-09-06T13:25:57.834Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-06T13:25:57.834Z] [2022-09-06T13:25:57.834Z] Login Succeeded [2022-09-06T13:25:57.834Z] nexus3.edgexfoundry.org:10003 [2022-09-06T13:25:58.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-06T13:25:58.433Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-06T13:25:58.433Z] Configure a credential helper to remove this warning. See [2022-09-06T13:25:58.433Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-06T13:25:58.433Z] [2022-09-06T13:25:58.433Z] Login Succeeded [2022-09-06T13:25:58.433Z] nexus3.edgexfoundry.org:10004 [2022-09-06T13:25:58.705Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-06T13:25:58.705Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-06T13:25:58.705Z] Configure a credential helper to remove this warning. See [2022-09-06T13:25:58.705Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-06T13:25:58.705Z] [2022-09-06T13:25:58.705Z] Login Succeeded [2022-09-06T13:25:58.705Z] docker.io [2022-09-06T13:25:59.298Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-06T13:25:59.571Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-06T13:25:59.571Z] Configure a credential helper to remove this warning. See [2022-09-06T13:25:59.571Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-06T13:25:59.571Z] [2022-09-06T13:25:59.571Z] Login Succeeded [2022-09-06T13:25:59.571Z] ---> docker-login.sh ends [Pipeline] } [2022-09-06T13:25:59.600Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-06T13:25:59.969Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-06T13:25:59.996Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2022-09-06T13:26:00.028Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-06T13:26:00.059Z] ========================================================= [2022-09-06T13:26:00.060Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2022-09-06T13:26:00.060Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T13:26:00.502Z] + 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 . [2022-09-06T13:26:00.785Z] Sending build context to Docker daemon 2.861MB [2022-09-06T13:26:01.058Z] Step 1/22 : ARG BASE=alpine:3.15 [2022-09-06T13:26:01.058Z] Step 2/22 : FROM ${BASE} as builder [2022-09-06T13:26:01.058Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2022-09-06T13:26:01.058Z] 9981e73032c8: Pulling fs layer [2022-09-06T13:26:01.058Z] 735ca4d71f2f: Pulling fs layer [2022-09-06T13:26:02.043Z] 9981e73032c8: Pull complete [2022-09-06T13:26:03.479Z] 735ca4d71f2f: Download complete [2022-09-06T13:26:11.771Z] 735ca4d71f2f: Pull complete [2022-09-06T13:26:11.771Z] Digest: sha256:64a8cfb6b63eb8334e03faf33c26f2878668258f25af41e1fb2a2cad40f91f89 [2022-09-06T13:26:11.771Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2022-09-06T13:26:11.771Z] ---> aede2dddcadd [2022-09-06T13:26:11.771Z] Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2022-09-06T13:26:12.760Z] ---> Running in 4aec3cdf0ce9 [2022-09-06T13:26:13.740Z] Connecting to iotech.jfrog.io (54.155.90.35:443) [2022-09-06T13:26:14.017Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-09-06T13:26:14.017Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-09-06T13:26:14.017Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-09-06T13:26:15.009Z] Removing intermediate container 4aec3cdf0ce9 [2022-09-06T13:26:15.009Z] ---> a7483156279d [2022-09-06T13:26:15.009Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-09-06T13:26:15.009Z] ---> Running in cb3753dba850 [2022-09-06T13:26:16.469Z] Removing intermediate container cb3753dba850 [2022-09-06T13:26:16.469Z] ---> 9dd6514195c5 [2022-09-06T13:26:16.469Z] Step 5/22 : 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 [2022-09-06T13:26:16.745Z] ---> Running in 92c8ad1a2d2a [2022-09-06T13:26:17.729Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-09-06T13:26:17.729Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-09-06T13:26:18.325Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-09-06T13:26:18.921Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-09-06T13:26:18.921Z] (1/33) Upgrading ncurses-terminfo-base (6.3_p20211120-r0 -> 6.3_p20211120-r1) [2022-09-06T13:26:18.921Z] (2/33) Upgrading ncurses-libs (6.3_p20211120-r0 -> 6.3_p20211120-r1) [2022-09-06T13:26:19.193Z] (3/33) Installing hiredis (1.0.2-r0) [2022-09-06T13:26:19.193Z] (4/33) Installing hiredis-dev (1.0.2-r0) [2022-09-06T13:26:19.193Z] (5/33) Installing libcbor (0.8.0-r0) [2022-09-06T13:26:19.193Z] (6/33) Installing libcbor-dev (0.8.0-r0) [2022-09-06T13:26:19.193Z] (7/33) Installing ncurses-dev (6.3_p20211120-r1) [2022-09-06T13:26:19.193Z] (8/33) Installing paho-mqtt-c-dev-1.3 (1.3.10-r0) [2022-09-06T13:26:20.176Z] (9/33) Installing util-linux (2.37.4-r0) [2022-09-06T13:26:20.176Z] (10/33) Installing libblkid (2.37.4-r0) [2022-09-06T13:26:20.176Z] (11/33) Installing libeconf (0.4.2-r0) [2022-09-06T13:26:20.176Z] (12/33) Installing libuuid (2.37.4-r0) [2022-09-06T13:26:20.176Z] (13/33) Installing libfdisk (2.37.4-r0) [2022-09-06T13:26:20.176Z] (14/33) Installing libmount (2.37.4-r0) [2022-09-06T13:26:20.176Z] (15/33) Installing libsmartcols (2.37.4-r0) [2022-09-06T13:26:20.176Z] (16/33) Installing util-linux-misc (2.37.4-r0) [2022-09-06T13:26:20.176Z] (17/33) Installing linux-pam (1.5.2-r0) [2022-09-06T13:26:20.176Z] (18/33) Installing runuser (2.37.4-r0) [2022-09-06T13:26:20.176Z] (19/33) Installing hexdump (2.37.4-r0) [2022-09-06T13:26:20.176Z] (20/33) Installing uuidgen (2.37.4-r0) [2022-09-06T13:26:20.176Z] (21/33) Installing blkid (2.37.4-r0) [2022-09-06T13:26:20.452Z] (22/33) Installing sfdisk (2.37.4-r0) [2022-09-06T13:26:20.452Z] (23/33) Installing mcookie (2.37.4-r0) [2022-09-06T13:26:20.452Z] (24/33) Installing wipefs (2.37.4-r0) [2022-09-06T13:26:20.452Z] (25/33) Installing cfdisk (2.37.4-r0) [2022-09-06T13:26:20.452Z] (26/33) Installing flock (2.37.4-r0) [2022-09-06T13:26:20.452Z] (27/33) Installing lsblk (2.37.4-r0) [2022-09-06T13:26:20.452Z] (28/33) Installing libcap-ng (0.8.2-r1) [2022-09-06T13:26:20.452Z] (29/33) Installing setpriv (2.37.4-r0) [2022-09-06T13:26:20.452Z] (30/33) Installing logger (2.37.4-r0) [2022-09-06T13:26:20.452Z] (31/33) Installing partx (2.37.4-r0) [2022-09-06T13:26:20.452Z] (32/33) Installing findmnt (2.37.4-r0) [2022-09-06T13:26:20.452Z] (33/33) Installing util-linux-dev (2.37.4-r0) [2022-09-06T13:26:20.452Z] Executing busybox-1.34.1-r5.trigger [2022-09-06T13:26:20.452Z] OK: 290 MiB in 108 packages [2022-09-06T13:26:21.892Z] Removing intermediate container 92c8ad1a2d2a [2022-09-06T13:26:21.892Z] ---> 848cbde66d9c [2022-09-06T13:26:21.892Z] Step 6/22 : RUN mkdir /tmp/sdk [2022-09-06T13:26:22.172Z] ---> Running in 5781d1c41dc9 [2022-09-06T13:26:23.622Z] Removing intermediate container 5781d1c41dc9 [2022-09-06T13:26:23.622Z] ---> a0bb682d3fd0 [2022-09-06T13:26:23.622Z] Step 7/22 : COPY VERSION /tmp/sdk [2022-09-06T13:26:24.227Z] ---> 9dddbfbe23d0 [2022-09-06T13:26:24.227Z] Step 8/22 : COPY src /tmp/sdk/src [2022-09-06T13:26:25.216Z] ---> 16590572bdde [2022-09-06T13:26:25.216Z] Step 9/22 : COPY include /tmp/sdk/include [2022-09-06T13:26:25.832Z] ---> 1c80115e3b52 [2022-09-06T13:26:25.832Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2022-09-06T13:26:26.455Z] ---> 16a586c24de4 [2022-09-06T13:26:26.455Z] Step 11/22 : COPY LICENSE /tmp/sdk [2022-09-06T13:26:27.895Z] ---> 381071051d41 [2022-09-06T13:26:27.895Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2022-09-06T13:26:28.501Z] ---> 17fd28786e5c [2022-09-06T13:26:28.501Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2022-09-06T13:26:28.501Z] ---> Running in 5374c8da3351 [2022-09-06T13:26:29.485Z] + CPPCHECK=false [2022-09-06T13:26:29.485Z] + DOCGEN=false [2022-09-06T13:26:29.485Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2022-09-06T13:26:29.485Z] + TOMLVER=SDK-0.2 [2022-09-06T13:26:29.485Z] + CUTILVER=1.2.2 [2022-09-06T13:26:29.485Z] + '[' 0 -gt 0 ] [2022-09-06T13:26:29.485Z] + readlink -f ./scripts/build.sh [2022-09-06T13:26:29.485Z] + dirname /tmp/sdk/scripts/build.sh [2022-09-06T13:26:29.485Z] + dirname /tmp/sdk/scripts [2022-09-06T13:26:29.485Z] + ROOT=/tmp/sdk [2022-09-06T13:26:29.485Z] + cd /tmp/sdk [2022-09-06T13:26:29.485Z] + '[' '!' -d deps ] [2022-09-06T13:26:29.485Z] + mkdir deps [2022-09-06T13:26:29.485Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2022-09-06T13:26:29.485Z] + tar -C deps -z -x -f - [2022-09-06T13:26:29.485Z] Connecting to github.com (140.82.114.4:443) [2022-09-06T13:26:29.758Z] Connecting to codeload.github.com (140.82.112.10:443) [2022-09-06T13:26:30.030Z] writing to stdout [2022-09-06T13:26:30.030Z] - 100% |********************************| 16451 0:00:00 ETA [2022-09-06T13:26:30.030Z] written to stdout [2022-09-06T13:26:30.030Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2022-09-06T13:26:30.030Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2022-09-06T13:26:30.030Z] + tar -C deps -z -x -f - [2022-09-06T13:26:30.030Z] Connecting to github.com (140.82.114.4:443) [2022-09-06T13:26:30.302Z] Connecting to codeload.github.com (140.82.112.10:443) [2022-09-06T13:26:30.578Z] writing to stdout [2022-09-06T13:26:30.578Z] - 100% |********************************| 189k 0:00:00 ETA [2022-09-06T13:26:30.578Z] written to stdout [2022-09-06T13:26:30.578Z] + mkdir -p src/c/iot [2022-09-06T13:26:30.578Z] + cp deps/iotech-c-utils-1.2.2/src/c/base64.c deps/iotech-c-utils-1.2.2/src/c/component.c deps/iotech-c-utils-1.2.2/src/c/config.c deps/iotech-c-utils-1.2.2/src/c/container.c deps/iotech-c-utils-1.2.2/src/c/data.c deps/iotech-c-utils-1.2.2/src/c/hash.c deps/iotech-c-utils-1.2.2/src/c/iot.c deps/iotech-c-utils-1.2.2/src/c/json.c deps/iotech-c-utils-1.2.2/src/c/logger.c deps/iotech-c-utils-1.2.2/src/c/os.c deps/iotech-c-utils-1.2.2/src/c/scheduler.c deps/iotech-c-utils-1.2.2/src/c/thread.c deps/iotech-c-utils-1.2.2/src/c/threadpool.c deps/iotech-c-utils-1.2.2/src/c/time.c deps/iotech-c-utils-1.2.2/src/c/uuid.c deps/iotech-c-utils-1.2.2/src/c/yxml.c src/c/iot [2022-09-06T13:26:30.578Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2022-09-06T13:26:30.578Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2022-09-06T13:26:30.578Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2022-09-06T13:26:30.578Z] + mkdir -p include/iot [2022-09-06T13:26:30.578Z] + cp deps/iotech-c-utils-1.2.2/include/iot/base64.h deps/iotech-c-utils-1.2.2/include/iot/component.h deps/iotech-c-utils-1.2.2/include/iot/config.h deps/iotech-c-utils-1.2.2/include/iot/container.h deps/iotech-c-utils-1.2.2/include/iot/data.h deps/iotech-c-utils-1.2.2/include/iot/hash.h deps/iotech-c-utils-1.2.2/include/iot/iot.h deps/iotech-c-utils-1.2.2/include/iot/json.h deps/iotech-c-utils-1.2.2/include/iot/logger.h deps/iotech-c-utils-1.2.2/include/iot/os.h deps/iotech-c-utils-1.2.2/include/iot/scheduler.h deps/iotech-c-utils-1.2.2/include/iot/thread.h deps/iotech-c-utils-1.2.2/include/iot/threadpool.h deps/iotech-c-utils-1.2.2/include/iot/time.h deps/iotech-c-utils-1.2.2/include/iot/typecode.h deps/iotech-c-utils-1.2.2/include/iot/uuid.h include/iot [2022-09-06T13:26:30.578Z] + mkdir -p include/iot/os [2022-09-06T13:26:30.578Z] + cp deps/iotech-c-utils-1.2.2/include/iot/os/linux.h deps/iotech-c-utils-1.2.2/include/iot/os/macos.h deps/iotech-c-utils-1.2.2/include/iot/os/zephyr.h include/iot/os [2022-09-06T13:26:30.578Z] + mkdir -p /tmp/sdk/build/release [2022-09-06T13:26:30.578Z] + cd /tmp/sdk/build/release [2022-09-06T13:26:30.578Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2022-09-06T13:26:30.851Z] -- The C compiler identification is GNU 10.3.1 [2022-09-06T13:26:31.134Z] -- Detecting C compiler ABI info [2022-09-06T13:26:31.408Z] -- Detecting C compiler ABI info - done [2022-09-06T13:26:31.408Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-09-06T13:26:31.408Z] -- Detecting C compile features [2022-09-06T13:26:31.408Z] -- Detecting C compile features - done [2022-09-06T13:26:31.408Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-09-06T13:26:31.685Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-09-06T13:26:31.685Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-09-06T13:26:31.685Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-09-06T13:26:31.685Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-09-06T13:26:31.685Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-09-06T13:26:31.685Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-09-06T13:26:31.685Z] -- C SDK 0.0.0 for Linux [2022-09-06T13:26:31.685Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-09-06T13:26:31.961Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-09-06T13:26:32.240Z] -- Found Curses: /usr/lib/libcurses.so [2022-09-06T13:26:32.240Z] -- Configuring done [2022-09-06T13:26:32.513Z] -- Generating done [2022-09-06T13:26:32.513Z] -- Build files have been written to: /tmp/sdk/build/release [2022-09-06T13:26:32.513Z] + make all package [2022-09-06T13:26:32.513Z] + tee release.log [2022-09-06T13:26:32.787Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-09-06T13:26:33.384Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-09-06T13:26:33.980Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-09-06T13:26:36.605Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-09-06T13:26:37.584Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-09-06T13:26:37.860Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-09-06T13:26:38.838Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-09-06T13:26:39.432Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-09-06T13:26:39.706Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-09-06T13:26:41.140Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-09-06T13:26:43.752Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-09-06T13:26:44.026Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-09-06T13:26:45.001Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-09-06T13:26:45.597Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-09-06T13:26:46.190Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-09-06T13:26:46.461Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-09-06T13:26:46.734Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-09-06T13:26:50.117Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-09-06T13:26:50.395Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-09-06T13:26:50.668Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-09-06T13:26:51.264Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-09-06T13:26:51.863Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-09-06T13:26:52.136Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-09-06T13:26:52.136Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-09-06T13:26:52.136Z] 275 | const iot_component_factory_t * factory; [2022-09-06T13:26:52.136Z] | ^~~~~~~ [2022-09-06T13:26:52.732Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-09-06T13:26:58.139Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-09-06T13:26:58.139Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-09-06T13:26:58.139Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-09-06T13:26:59.121Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-09-06T13:26:59.718Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-09-06T13:26:59.718Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-09-06T13:27:01.154Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-09-06T13:27:01.428Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-09-06T13:27:02.413Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-09-06T13:27:02.690Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-09-06T13:27:03.287Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-09-06T13:27:05.910Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-09-06T13:27:06.186Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-09-06T13:27:07.621Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-09-06T13:27:07.621Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-09-06T13:27:13.028Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-09-06T13:27:13.304Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-09-06T13:27:13.579Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-09-06T13:27:14.176Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-09-06T13:27:15.613Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-09-06T13:27:18.230Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-09-06T13:27:18.230Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-09-06T13:27:19.204Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-09-06T13:27:19.797Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-09-06T13:27:22.407Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-09-06T13:27:26.699Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-09-06T13:27:27.298Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2022-09-06T13:27:27.571Z] [ 75%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-09-06T13:27:28.170Z] [ 76%] Linking C shared library libcsdk.so [2022-09-06T13:27:28.444Z] [ 76%] Built target csdk [2022-09-06T13:27:28.444Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-09-06T13:27:29.419Z] [ 79%] Linking C executable template [2022-09-06T13:27:29.692Z] [ 79%] Built target template [2022-09-06T13:27:29.692Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-09-06T13:27:30.287Z] [ 82%] Linking C executable device-counter [2022-09-06T13:27:30.560Z] [ 82%] Built target device-counter [2022-09-06T13:27:30.560Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-09-06T13:27:31.155Z] [ 85%] Linking C executable device-random [2022-09-06T13:27:31.427Z] [ 85%] Built target device-random [2022-09-06T13:27:31.427Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-09-06T13:27:32.023Z] [ 88%] Linking C executable device-gyro [2022-09-06T13:27:32.298Z] [ 88%] Built target device-gyro [2022-09-06T13:27:32.298Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-09-06T13:27:32.893Z] [ 91%] Linking C executable device-bitfields [2022-09-06T13:27:33.166Z] [ 91%] Built target device-bitfields [2022-09-06T13:27:33.166Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-09-06T13:27:34.142Z] [ 94%] Linking C executable template-discovery [2022-09-06T13:27:34.142Z] [ 94%] Built target template-discovery [2022-09-06T13:27:34.142Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-09-06T13:27:35.120Z] [ 97%] Linking C executable device-file [2022-09-06T13:27:35.399Z] [ 97%] Built target device-file [2022-09-06T13:27:35.399Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-09-06T13:27:35.995Z] [100%] Linking C executable device-terminal [2022-09-06T13:27:36.269Z] [100%] Built target device-terminal [2022-09-06T13:27:36.269Z] Run CPack packaging tool... [2022-09-06T13:27:36.544Z] CPack: Create package using TGZ [2022-09-06T13:27:36.544Z] CPack: Install projects [2022-09-06T13:27:36.544Z] CPack: - Run preinstall target for: Csdk [2022-09-06T13:27:37.141Z] CPack: - Install project: Csdk [] [2022-09-06T13:27:37.414Z] CPack: Create package [2022-09-06T13:27:37.414Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2022-09-06T13:27:37.414Z] + '[' false '=' true ] [2022-09-06T13:27:37.414Z] + '[' false '=' true ] [2022-09-06T13:27:37.414Z] + mkdir -p /tmp/sdk/build/debug [2022-09-06T13:27:37.414Z] + cd /tmp/sdk/build/debug [2022-09-06T13:27:37.414Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2022-09-06T13:27:37.686Z] -- The C compiler identification is GNU 10.3.1 [2022-09-06T13:27:37.686Z] -- Detecting C compiler ABI info [2022-09-06T13:27:37.960Z] -- Detecting C compiler ABI info - done [2022-09-06T13:27:38.235Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-09-06T13:27:38.235Z] -- Detecting C compile features [2022-09-06T13:27:38.235Z] -- Detecting C compile features - done [2022-09-06T13:27:38.235Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-09-06T13:27:38.235Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-09-06T13:27:38.235Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-09-06T13:27:38.507Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-09-06T13:27:38.507Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-09-06T13:27:38.507Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-09-06T13:27:38.507Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-09-06T13:27:38.507Z] -- C SDK 0.0.0 for Linux [2022-09-06T13:27:38.507Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-09-06T13:27:38.783Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-09-06T13:27:38.783Z] -- Found Curses: /usr/lib/libcurses.so [2022-09-06T13:27:39.056Z] -- Configuring done [2022-09-06T13:27:39.330Z] -- Generating done [2022-09-06T13:27:39.330Z] -- Build files have been written to: /tmp/sdk/build/debug [2022-09-06T13:27:39.330Z] + + maketee [2022-09-06T13:27:39.330Z] debug.log [2022-09-06T13:27:39.330Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-09-06T13:27:39.926Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-09-06T13:27:40.201Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-09-06T13:27:40.798Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-09-06T13:27:41.395Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-09-06T13:27:41.395Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-09-06T13:27:41.991Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-09-06T13:27:42.265Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-09-06T13:27:42.541Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-09-06T13:27:43.141Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-09-06T13:27:43.757Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-09-06T13:27:44.032Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-09-06T13:27:44.628Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-09-06T13:27:44.902Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-09-06T13:27:45.176Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-09-06T13:27:45.448Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-09-06T13:27:45.721Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-09-06T13:27:46.698Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-09-06T13:27:46.698Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-09-06T13:27:46.971Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-09-06T13:27:47.244Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-09-06T13:27:47.517Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-09-06T13:27:47.790Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-09-06T13:27:47.790Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-09-06T13:27:47.790Z] 275 | const iot_component_factory_t * factory; [2022-09-06T13:27:47.790Z] | ^~~~~~~ [2022-09-06T13:27:48.064Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-09-06T13:27:49.495Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-09-06T13:27:49.495Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-09-06T13:27:49.495Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-09-06T13:27:49.769Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-09-06T13:27:50.367Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-09-06T13:27:50.367Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-09-06T13:27:50.640Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-09-06T13:27:50.932Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-09-06T13:27:51.207Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-09-06T13:27:51.480Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-09-06T13:27:51.753Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-09-06T13:27:52.350Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-09-06T13:27:52.350Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-09-06T13:27:52.946Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-09-06T13:27:53.221Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-09-06T13:27:54.654Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-09-06T13:27:54.926Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-09-06T13:27:55.202Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-09-06T13:27:55.474Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-09-06T13:27:56.070Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-09-06T13:27:57.507Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-09-06T13:27:57.780Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-09-06T13:27:58.056Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-09-06T13:27:58.653Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-09-06T13:27:59.251Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-09-06T13:28:00.231Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-09-06T13:28:00.505Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2022-09-06T13:28:00.780Z] [ 75%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-09-06T13:28:01.058Z] [ 76%] Linking C shared library libcsdk.so [2022-09-06T13:28:01.330Z] [ 76%] Built target csdk [2022-09-06T13:28:01.330Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-09-06T13:28:01.607Z] [ 79%] Linking C executable template [2022-09-06T13:28:01.880Z] [ 79%] Built target template [2022-09-06T13:28:02.155Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-09-06T13:28:02.431Z] [ 82%] Linking C executable device-counter [2022-09-06T13:28:02.707Z] [ 82%] Built target device-counter [2022-09-06T13:28:02.707Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-09-06T13:28:02.982Z] [ 85%] Linking C executable device-random [2022-09-06T13:28:03.255Z] [ 85%] Built target device-random [2022-09-06T13:28:03.255Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-09-06T13:28:03.529Z] [ 88%] Linking C executable device-gyro [2022-09-06T13:28:03.804Z] [ 88%] Built target device-gyro [2022-09-06T13:28:03.804Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-09-06T13:28:04.080Z] [ 91%] Linking C executable device-bitfields [2022-09-06T13:28:04.354Z] [ 91%] Built target device-bitfields [2022-09-06T13:28:04.628Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-09-06T13:28:04.902Z] [ 94%] Linking C executable template-discovery [2022-09-06T13:28:05.177Z] [ 94%] Built target template-discovery [2022-09-06T13:28:05.177Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-09-06T13:28:05.451Z] [ 97%] Linking C executable device-file [2022-09-06T13:28:05.725Z] [ 97%] Built target device-file [2022-09-06T13:28:05.725Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-09-06T13:28:06.322Z] [100%] Linking C executable device-terminal [2022-09-06T13:28:06.597Z] [100%] Built target device-terminal [2022-09-06T13:28:06.597Z] make: Entering directory '/tmp/sdk/build/release' [2022-09-06T13:28:06.597Z] make[1]: Entering directory '/tmp/sdk/build/release' [2022-09-06T13:28:06.597Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-09-06T13:28:06.597Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-09-06T13:28:06.871Z] [ 76%] Built target csdk [2022-09-06T13:28:06.871Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-09-06T13:28:06.871Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-09-06T13:28:06.871Z] [ 79%] Built target template [2022-09-06T13:28:06.871Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-09-06T13:28:06.871Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-09-06T13:28:06.871Z] [ 82%] Built target device-counter [2022-09-06T13:28:06.871Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-09-06T13:28:06.871Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-09-06T13:28:06.871Z] [ 85%] Built target device-random [2022-09-06T13:28:06.871Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-09-06T13:28:06.871Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-09-06T13:28:06.871Z] [ 88%] Built target device-gyro [2022-09-06T13:28:06.871Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-09-06T13:28:06.871Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-09-06T13:28:07.148Z] [ 91%] Built target device-bitfields [2022-09-06T13:28:07.148Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-09-06T13:28:07.148Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-09-06T13:28:07.148Z] [ 94%] Built target template-discovery [2022-09-06T13:28:07.148Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-09-06T13:28:07.148Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-09-06T13:28:07.148Z] [ 97%] Built target device-file [2022-09-06T13:28:07.148Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-09-06T13:28:07.148Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-09-06T13:28:07.148Z] [100%] Built target device-terminal [2022-09-06T13:28:07.148Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2022-09-06T13:28:07.148Z] Install the project... [2022-09-06T13:28:07.148Z] -- Install configuration: "Release" [2022-09-06T13:28:07.148Z] -- Installing: /usr/local/lib/libcsdk.so [2022-09-06T13:28:07.148Z] -- Installing: /usr/local/include [2022-09-06T13:28:07.148Z] -- Installing: /usr/local/include/devsdk [2022-09-06T13:28:07.148Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2022-09-06T13:28:07.148Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2022-09-06T13:28:07.148Z] -- Installing: /usr/local/include/edgex [2022-09-06T13:28:07.148Z] -- Installing: /usr/local/include/edgex/rest-server.h [2022-09-06T13:28:07.148Z] -- Installing: /usr/local/include/edgex/edgex.h [2022-09-06T13:28:07.148Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2022-09-06T13:28:07.148Z] -- Installing: /usr/local/include/edgex/devices.h [2022-09-06T13:28:07.148Z] -- Installing: /usr/local/include/edgex/profiles.h [2022-09-06T13:28:07.148Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2022-09-06T13:28:07.148Z] -- Installing: /usr/local/include/iot [2022-09-06T13:28:07.148Z] -- Installing: /usr/local/include/iot/threadpool.h [2022-09-06T13:28:07.148Z] -- Installing: /usr/local/include/iot/defs.h [2022-09-06T13:28:07.148Z] -- Installing: /usr/local/include/iot/time.h [2022-09-06T13:28:07.148Z] -- Installing: /usr/local/include/iot/base64.h [2022-09-06T13:28:07.148Z] -- Installing: /usr/local/include/iot/component.h [2022-09-06T13:28:07.148Z] -- Installing: /usr/local/include/iot/scheduler.h [2022-09-06T13:28:07.148Z] -- Installing: /usr/local/include/iot/config.h [2022-09-06T13:28:07.148Z] -- Installing: /usr/local/include/iot/container.h [2022-09-06T13:28:07.148Z] -- Installing: /usr/local/include/iot/uuid.h [2022-09-06T13:28:07.148Z] -- Installing: /usr/local/include/iot/os.h [2022-09-06T13:28:07.148Z] -- Installing: /usr/local/include/iot/thread.h [2022-09-06T13:28:07.148Z] -- Installing: /usr/local/include/iot/data.h [2022-09-06T13:28:07.148Z] -- Installing: /usr/local/include/iot/typecode.h [2022-09-06T13:28:07.148Z] -- Installing: /usr/local/include/iot/hash.h [2022-09-06T13:28:07.148Z] -- Installing: /usr/local/include/iot/logger.h [2022-09-06T13:28:07.148Z] -- Installing: /usr/local/include/iot/os [2022-09-06T13:28:07.148Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2022-09-06T13:28:07.148Z] -- Installing: /usr/local/include/iot/os/macos.h [2022-09-06T13:28:07.148Z] -- Installing: /usr/local/include/iot/os/linux.h [2022-09-06T13:28:07.148Z] -- Installing: /usr/local/include/iot/json.h [2022-09-06T13:28:07.425Z] -- Installing: /usr/local/include/iot/iot.h [2022-09-06T13:28:07.425Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2022-09-06T13:28:07.425Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2022-09-06T13:28:07.425Z] make: Leaving directory '/tmp/sdk/build/release' [2022-09-06T13:28:09.411Z] Removing intermediate container 5374c8da3351 [2022-09-06T13:28:09.411Z] ---> fcb88926c2df [2022-09-06T13:28:09.411Z] Step 14/22 : FROM ${BASE} [2022-09-06T13:28:09.411Z] ---> aede2dddcadd [2022-09-06T13:28:09.411Z] Step 15/22 : LABEL maintainer="IOTech " [2022-09-06T13:28:09.411Z] ---> Running in 30b7748c9334 [2022-09-06T13:28:09.411Z] Removing intermediate container 30b7748c9334 [2022-09-06T13:28:09.411Z] ---> 493b9015a338 [2022-09-06T13:28:09.411Z] Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2022-09-06T13:28:09.411Z] ---> Running in 7af2cb1e79db [2022-09-06T13:28:10.391Z] Connecting to iotech.jfrog.io (52.17.195.190:443) [2022-09-06T13:28:10.987Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-09-06T13:28:10.987Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-09-06T13:28:10.987Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-09-06T13:28:11.599Z] Removing intermediate container 7af2cb1e79db [2022-09-06T13:28:11.599Z] ---> 08604ca4c74a [2022-09-06T13:28:11.599Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-09-06T13:28:11.599Z] ---> Running in 8a396721abab [2022-09-06T13:28:13.578Z] Removing intermediate container 8a396721abab [2022-09-06T13:28:13.578Z] ---> 12434248a7de [2022-09-06T13:28:13.578Z] Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 hiredis-dev [2022-09-06T13:28:13.578Z] ---> Running in 031b3ae6ef8d [2022-09-06T13:28:14.179Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-09-06T13:28:14.453Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-09-06T13:28:15.048Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-09-06T13:28:15.644Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-09-06T13:28:15.644Z] (1/6) Installing curl (7.80.0-r3) [2022-09-06T13:28:15.644Z] (2/6) Installing hiredis (1.0.2-r0) [2022-09-06T13:28:15.644Z] (3/6) Installing hiredis-dev (1.0.2-r0) [2022-09-06T13:28:15.644Z] (4/6) Installing libcbor (0.8.0-r0) [2022-09-06T13:28:15.644Z] (5/6) Installing libuuid (2.37.4-r0) [2022-09-06T13:28:15.644Z] (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.10-r0) [2022-09-06T13:28:16.625Z] Executing busybox-1.34.1-r5.trigger [2022-09-06T13:28:16.625Z] OK: 278 MiB in 83 packages [2022-09-06T13:28:17.609Z] Removing intermediate container 031b3ae6ef8d [2022-09-06T13:28:17.609Z] ---> 03e3a2e6ff9f [2022-09-06T13:28:17.609Z] Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2022-09-06T13:28:18.204Z] ---> c540922526cc [2022-09-06T13:28:18.204Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2022-09-06T13:28:18.479Z] ---> a7c0a54babe5 [2022-09-06T13:28:18.479Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2022-09-06T13:28:19.073Z] ---> aa8731413f8a [2022-09-06T13:28:19.073Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2022-09-06T13:28:19.670Z] ---> 340946c0b86c [2022-09-06T13:28:19.670Z] Successfully built 340946c0b86c [2022-09-06T13:28:19.670Z] 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 [2022-09-06T13:28:20.412Z] + docker inspect -f . ci-base-image-arm64 [2022-09-06T13:28:20.413Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-06T13:28:20.734Z] prd-ubuntu20.04-docker-arm64-4c-16g-24660 does not seem to be running inside a container [2022-09-06T13:28:20.820Z] $ 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 [2022-09-06T13:28:22.073Z] $ docker top 9a79f7fba474705854b5aeeff6a5afbf77deba5ab97749e132fdbf87438c638f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-06T13:28:23.035Z] + make test [2022-09-06T13:28:23.035Z] echo "make test" [2022-09-06T13:28:23.035Z] make test [Pipeline] } [2022-09-06T13:28:23.071Z] $ docker stop --time=1 9a79f7fba474705854b5aeeff6a5afbf77deba5ab97749e132fdbf87438c638f [2022-09-06T13:28:24.678Z] $ docker rm -f 9a79f7fba474705854b5aeeff6a5afbf77deba5ab97749e132fdbf87438c638f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-06T13:28:25.528Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-06T13:28:25.880Z] + ls -al . [2022-09-06T13:28:25.880Z] total 204 [2022-09-06T13:28:25.880Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 6 13:25 . [2022-09-06T13:28:25.880Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 13:25 .. [2022-09-06T13:28:25.880Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 6 13:25 .git [2022-09-06T13:28:25.880Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 6 13:25 .github [2022-09-06T13:28:25.880Z] -rw-rw-r-- 1 jenkins jenkins 176 Sep 6 13:25 .gitignore [2022-09-06T13:28:25.880Z] -rw-rw-r-- 1 jenkins jenkins 3104 Sep 6 13:25 Attribution.txt [2022-09-06T13:28:25.880Z] -rw-rw-r-- 1 jenkins jenkins 8489 Sep 6 13:25 CHANGES [2022-09-06T13:28:25.880Z] -rw-rw-r-- 1 jenkins jenkins 108574 Sep 6 13:25 Doxyfile [2022-09-06T13:28:25.880Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 6 13:25 GOVERNANCE.md [2022-09-06T13:28:25.880Z] -rw-rw-r-- 1 jenkins jenkins 784 Sep 6 13:25 Jenkinsfile [2022-09-06T13:28:25.880Z] -rw-rw-r-- 1 jenkins jenkins 10174 Sep 6 13:25 LICENSE [2022-09-06T13:28:25.880Z] -rw-rw-r-- 1 jenkins jenkins 444 Sep 6 13:25 Makefile [2022-09-06T13:28:25.880Z] -rw-rw-r-- 1 jenkins jenkins 618 Sep 6 13:25 OWNERS.md [2022-09-06T13:28:25.880Z] -rw-rw-r-- 1 jenkins jenkins 4086 Sep 6 13:25 README.md [2022-09-06T13:28:25.880Z] -rw-rw-r-- 1 jenkins jenkins 7422 Sep 6 13:25 README.v2.md [2022-09-06T13:28:25.880Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 6 13:23 VERSION [2022-09-06T13:28:25.880Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 6 13:25 docs [2022-09-06T13:28:25.880Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 13:25 include [2022-09-06T13:28:25.880Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 6 13:25 scripts [2022-09-06T13:28:25.880Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 13:25 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T13:28:26.306Z] + 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=0e053670bbfd2c899cec61a9fea14610f7dc3486 --label arch=arm64 --label version=0.0.0 . [2022-09-06T13:28:26.904Z] Sending build context to Docker daemon 2.861MB [2022-09-06T13:28:26.904Z] Step 1/17 : ARG BASE=alpine:3.15 [2022-09-06T13:28:26.904Z] Step 2/17 : FROM ${BASE} [2022-09-06T13:28:26.904Z] ---> 340946c0b86c [2022-09-06T13:28:26.904Z] Step 3/17 : LABEL maintainer="IOTech " [2022-09-06T13:28:26.904Z] ---> Running in c5c1b7ce27ac [2022-09-06T13:28:27.179Z] Removing intermediate container c5c1b7ce27ac [2022-09-06T13:28:27.179Z] ---> 40f89e2f2f9b [2022-09-06T13:28:27.179Z] 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 [2022-09-06T13:28:27.179Z] ---> Running in cc40bef493f5 [2022-09-06T13:28:28.161Z] Connecting to iotech.jfrog.io (34.251.108.128:443) [2022-09-06T13:28:28.768Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-09-06T13:28:28.768Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-09-06T13:28:28.768Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-09-06T13:28:29.042Z] Removing intermediate container cc40bef493f5 [2022-09-06T13:28:29.042Z] ---> 32b62a01b1ed [2022-09-06T13:28:29.042Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-09-06T13:28:29.320Z] ---> Running in 62a0529b4836 [2022-09-06T13:28:30.754Z] Removing intermediate container 62a0529b4836 [2022-09-06T13:28:30.754Z] ---> d933e73c548c [2022-09-06T13:28:30.754Z] 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 && mkdir -p /edgex-c-sdk/build [2022-09-06T13:28:30.754Z] ---> Running in 6207851b21cf [2022-09-06T13:28:31.742Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-09-06T13:28:32.020Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-09-06T13:28:32.621Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-09-06T13:28:33.218Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-09-06T13:28:33.218Z] (1/28) Upgrading ncurses-terminfo-base (6.3_p20211120-r0 -> 6.3_p20211120-r1) [2022-09-06T13:28:33.218Z] (2/28) Upgrading ncurses-libs (6.3_p20211120-r0 -> 6.3_p20211120-r1) [2022-09-06T13:28:33.218Z] (3/28) Installing libcbor-dev (0.8.0-r0) [2022-09-06T13:28:33.218Z] (4/28) Installing ncurses-dev (6.3_p20211120-r1) [2022-09-06T13:28:33.218Z] (5/28) Installing util-linux (2.37.4-r0) [2022-09-06T13:28:33.218Z] (6/28) Installing libblkid (2.37.4-r0) [2022-09-06T13:28:33.218Z] (7/28) Installing libeconf (0.4.2-r0) [2022-09-06T13:28:33.218Z] (8/28) Installing libfdisk (2.37.4-r0) [2022-09-06T13:28:33.218Z] (9/28) Installing libmount (2.37.4-r0) [2022-09-06T13:28:33.218Z] (10/28) Installing libsmartcols (2.37.4-r0) [2022-09-06T13:28:33.218Z] (11/28) Installing util-linux-misc (2.37.4-r0) [2022-09-06T13:28:33.491Z] (12/28) Installing linux-pam (1.5.2-r0) [2022-09-06T13:28:33.491Z] (13/28) Installing runuser (2.37.4-r0) [2022-09-06T13:28:33.491Z] (14/28) Installing hexdump (2.37.4-r0) [2022-09-06T13:28:33.491Z] (15/28) Installing uuidgen (2.37.4-r0) [2022-09-06T13:28:33.491Z] (16/28) Installing blkid (2.37.4-r0) [2022-09-06T13:28:33.491Z] (17/28) Installing sfdisk (2.37.4-r0) [2022-09-06T13:28:33.491Z] (18/28) Installing mcookie (2.37.4-r0) [2022-09-06T13:28:33.491Z] (19/28) Installing wipefs (2.37.4-r0) [2022-09-06T13:28:33.491Z] (20/28) Installing cfdisk (2.37.4-r0) [2022-09-06T13:28:33.491Z] (21/28) Installing flock (2.37.4-r0) [2022-09-06T13:28:33.491Z] (22/28) Installing lsblk (2.37.4-r0) [2022-09-06T13:28:33.768Z] (23/28) Installing libcap-ng (0.8.2-r1) [2022-09-06T13:28:33.768Z] (24/28) Installing setpriv (2.37.4-r0) [2022-09-06T13:28:33.768Z] (25/28) Installing logger (2.37.4-r0) [2022-09-06T13:28:33.768Z] (26/28) Installing partx (2.37.4-r0) [2022-09-06T13:28:33.768Z] (27/28) Installing findmnt (2.37.4-r0) [2022-09-06T13:28:33.768Z] (28/28) Installing util-linux-dev (2.37.4-r0) [2022-09-06T13:28:33.768Z] Executing busybox-1.34.1-r5.trigger [2022-09-06T13:28:33.768Z] OK: 290 MiB in 109 packages [2022-09-06T13:28:35.203Z] Removing intermediate container 6207851b21cf [2022-09-06T13:28:35.203Z] ---> 300f1a6aaa03 [2022-09-06T13:28:35.203Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2022-09-06T13:28:35.485Z] ---> 56e55a4cf91b [2022-09-06T13:28:35.485Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2022-09-06T13:28:36.474Z] ---> 66e96569862b [2022-09-06T13:28:36.474Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2022-09-06T13:28:37.073Z] ---> a73e1f3e120f [2022-09-06T13:28:37.073Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2022-09-06T13:28:37.348Z] ---> 8627466497ba [2022-09-06T13:28:37.348Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2022-09-06T13:28:37.946Z] ---> b7f35e85c55c [2022-09-06T13:28:37.946Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2022-09-06T13:28:38.546Z] ---> 7ccb204bb9e8 [2022-09-06T13:28:38.547Z] Step 13/17 : WORKDIR /edgex-c-sdk [2022-09-06T13:28:38.547Z] ---> Running in b37c13d77d34 [2022-09-06T13:28:38.825Z] Removing intermediate container b37c13d77d34 [2022-09-06T13:28:38.825Z] ---> 3fd5159efcbd [2022-09-06T13:28:38.825Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2022-09-06T13:28:39.101Z] ---> Running in 8ec56f23bc7c [2022-09-06T13:28:39.377Z] Removing intermediate container 8ec56f23bc7c [2022-09-06T13:28:39.377Z] ---> 617fd118d7d2 [2022-09-06T13:28:39.377Z] Step 15/17 : LABEL arch=arm64 [2022-09-06T13:28:39.377Z] ---> Running in e08fc455c0cb [2022-09-06T13:28:39.653Z] Removing intermediate container e08fc455c0cb [2022-09-06T13:28:39.653Z] ---> 085d9a0d3ec3 [2022-09-06T13:28:39.653Z] Step 16/17 : LABEL git_sha=0e053670bbfd2c899cec61a9fea14610f7dc3486 [2022-09-06T13:28:39.653Z] ---> Running in f758e80809cc [2022-09-06T13:28:39.928Z] Removing intermediate container f758e80809cc [2022-09-06T13:28:39.928Z] ---> 6c1432357bc6 [2022-09-06T13:28:39.928Z] Step 17/17 : LABEL version=0.0.0 [2022-09-06T13:28:40.202Z] ---> Running in 6d4bcf670221 [2022-09-06T13:28:40.479Z] Removing intermediate container 6d4bcf670221 [2022-09-06T13:28:40.479Z] ---> 022f5e5e83d0 [2022-09-06T13:28:40.479Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2022-09-06T13:28:40.479Z] Successfully built 022f5e5e83d0 [2022-09-06T13:28:40.479Z] 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 [2022-09-06T13:28:41.266Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-06T13:28:41.266Z] [2022-09-06T13:28:41.266Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T13:28:41.675Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-06T13:28:41.950Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-06T13:28:41.950Z] 8998bd30e6a1: Pulling fs layer [2022-09-06T13:28:41.950Z] 04944245beec: Pulling fs layer [2022-09-06T13:28:41.950Z] 699f458cf7ca: Pulling fs layer [2022-09-06T13:28:41.950Z] 765212b225bb: Pulling fs layer [2022-09-06T13:28:41.950Z] f23df028b6ca: Pulling fs layer [2022-09-06T13:28:41.950Z] d65c8cfc05b1: Pulling fs layer [2022-09-06T13:28:41.950Z] 2437ff75d9bd: Pulling fs layer [2022-09-06T13:28:41.950Z] 765212b225bb: Waiting [2022-09-06T13:28:41.950Z] d65c8cfc05b1: Waiting [2022-09-06T13:28:41.950Z] f23df028b6ca: Waiting [2022-09-06T13:28:41.950Z] 2437ff75d9bd: Waiting [2022-09-06T13:28:41.950Z] 04944245beec: Verifying Checksum [2022-09-06T13:28:41.950Z] 04944245beec: Download complete [2022-09-06T13:28:42.226Z] 765212b225bb: Verifying Checksum [2022-09-06T13:28:42.226Z] 765212b225bb: Download complete [2022-09-06T13:28:42.226Z] f23df028b6ca: Verifying Checksum [2022-09-06T13:28:42.226Z] f23df028b6ca: Download complete [2022-09-06T13:28:42.226Z] d65c8cfc05b1: Verifying Checksum [2022-09-06T13:28:42.226Z] d65c8cfc05b1: Download complete [2022-09-06T13:28:42.226Z] 699f458cf7ca: Verifying Checksum [2022-09-06T13:28:42.226Z] 699f458cf7ca: Download complete [2022-09-06T13:28:42.832Z] 8998bd30e6a1: Verifying Checksum [2022-09-06T13:28:42.832Z] 8998bd30e6a1: Download complete [2022-09-06T13:28:44.823Z] 2437ff75d9bd: Verifying Checksum [2022-09-06T13:28:44.824Z] 2437ff75d9bd: Download complete [2022-09-06T13:28:46.806Z] 8998bd30e6a1: Pull complete [2022-09-06T13:28:47.403Z] 04944245beec: Pull complete [2022-09-06T13:28:48.842Z] 699f458cf7ca: Pull complete [2022-09-06T13:28:49.118Z] 765212b225bb: Pull complete [2022-09-06T13:28:50.102Z] f23df028b6ca: Pull complete [2022-09-06T13:28:50.102Z] d65c8cfc05b1: Pull complete [2022-09-06T13:29:05.266Z] 2437ff75d9bd: Pull complete [2022-09-06T13:29:05.266Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-06T13:29:05.266Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-06T13:29:05.266Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-06T13:29:05.706Z] prd-ubuntu20.04-docker-arm64-4c-16g-24660 does not seem to be running inside a container [2022-09-06T13:29:05.830Z] $ 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 [2022-09-06T13:29:08.322Z] $ docker top 63c3f11487ec4eec4f4ed9c319633b3ec61e7af2dd982e12b50df25228bc963a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-06T13:29:09.349Z] ---> job-cost.sh [2022-09-06T13:29:09.349Z] lf-activate-venv: SKIPPING [2022-09-06T13:29:09.349Z] INFO: No Stack... [2022-09-06T13:29:09.956Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-06T13:29:10.560Z] INFO: Archiving Costs [Pipeline] sh [2022-09-06T13:29:11.265Z] + cat /w/workspace/device-sdk-c/1/archives/cost.csv [2022-09-06T13:29:11.265Z] + cut -d, -f6 [Pipeline] lock [2022-09-06T13:29:11.378Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-429-1-stack-cost] [2022-09-06T13:29:11.382Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-429-1-stack-cost] did not exist. Created. [2022-09-06T13:29:11.383Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-429-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-06T13:29:12.148Z] /w/workspace/device-sdk-c/1@tmp/durable-2d0a9f9f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-06T13:29:12.880Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-06T13:29:12.912Z] Warning: overwriting stash ‘stack-cost’ [2022-09-06T13:29:13.392Z] Stashed 1 file(s) [Pipeline] } [2022-09-06T13:29:13.407Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-429-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-06T13:29:13.484Z] $ docker stop --time=1 63c3f11487ec4eec4f4ed9c319633b3ec61e7af2dd982e12b50df25228bc963a [2022-09-06T13:29:14.977Z] $ docker rm -f 63c3f11487ec4eec4f4ed9c319633b3ec61e7af2dd982e12b50df25228bc963a [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 [2022-09-06T13:29:16.735Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-429/archives ] [2022-09-06T13:29:16.735Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-429/archives [2022-09-06T13:29:16.735Z] total 16 [2022-09-06T13:29:16.735Z] drwxr-xr-x 3 root root 4096 Sep 6 13:24 . [2022-09-06T13:29:16.735Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 6 13:24 .. [2022-09-06T13:29:16.735Z] drwxr-xr-x 2 root root 4096 Sep 6 13:24 cost [2022-09-06T13:29:16.735Z] -rw-r--r-- 1 root root 84 Sep 6 13:24 cost.csv [2022-09-06T13:29:16.735Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-429/archives [2022-09-06T13:29:16.735Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-429/archives [2022-09-06T13:29:16.735Z] total 16 [2022-09-06T13:29:16.735Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 6 13:24 . [2022-09-06T13:29:16.735Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 6 13:24 .. [2022-09-06T13:29:16.735Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 6 13:24 cost [2022-09-06T13:29:16.735Z] -rw-r--r-- 1 jenkins jenkins 84 Sep 6 13:24 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-06T13:29:17.083Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-06T13:29:17.975Z] ---> package-listing.sh [2022-09-06T13:29:17.975Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-06T13:29:17.975Z] ++ facter osfamily [2022-09-06T13:29:18.236Z] + OS_FAMILY=debian [2022-09-06T13:29:18.236Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-429 [2022-09-06T13:29:18.236Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-06T13:29:18.236Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-06T13:29:18.236Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-06T13:29:18.236Z] + PACKAGES=/tmp/packages_start.txt [2022-09-06T13:29:18.236Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-429 ']' [2022-09-06T13:29:18.236Z] + PACKAGES=/tmp/packages_end.txt [2022-09-06T13:29:18.236Z] + case "${OS_FAMILY}" in [2022-09-06T13:29:18.236Z] + dpkg -l [2022-09-06T13:29:18.236Z] + grep '^ii' [2022-09-06T13:29:18.236Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-06T13:29:18.236Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-06T13:29:18.236Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-06T13:29:18.236Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-429 ']' [2022-09-06T13:29:18.236Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-429/archives/ [2022-09-06T13:29:18.236Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-429/archives/ [Pipeline] echo [2022-09-06T13:29:18.272Z] 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-429/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-06T13:29:18.574Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T13:29:19.216Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-06T13:29:19.216Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-06T13:29:19.358Z] prd-ubuntu20.04-docker-8c-8g-24659 does not seem to be running inside a container [2022-09-06T13:29:19.401Z] $ 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-429/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-429 -v /w/workspace/edgexfoundry_device-sdk-c_PR-429:/w/workspace/edgexfoundry_device-sdk-c_PR-429:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-429@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-429@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 [2022-09-06T13:29:19.814Z] $ docker top 39d6ea48f863a6316bf8995dd2856b16246676fd4d2a8d52ca31b0d5446cc98f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-06T13:29:20.229Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-06T13:29:20.540Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-06T13:29:20.857Z] + ls /var/log/sa-host [2022-09-06T13:29:20.857Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-06T13:29:21.052Z] provisioning config files... [2022-09-06T13:29:21.061Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-429@tmp/config2113976509699681283tmp [Pipeline] { [Pipeline] echo [2022-09-06T13:29:21.113Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-06T13:29:21.424Z] ---> create-netrc.sh [Pipeline] } [2022-09-06T13:29:21.449Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-06T13:29:21.847Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-06T13:29:21.882Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-06T13:29:22.193Z] ---> sudo-logs.sh [2022-09-06T13:29:22.193Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-06T13:29:22.267Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-06T13:29:22.593Z] ---> job-cost.sh [2022-09-06T13:29:22.593Z] lf-activate-venv: SKIPPING [2022-09-06T13:29:22.593Z] DEBUG: total: 0.2199999988079071 [2022-09-06T13:29:22.593Z] INFO: Retrieving Stack Cost... [2022-09-06T13:29:23.164Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-06T13:29:23.426Z] INFO: Archiving Costs [Pipeline] echo [2022-09-06T13:29:23.462Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-06T13:29:23.779Z] ---> logs-deploy.sh [2022-09-06T13:29:23.779Z] lf-activate-venv: SKIPPING [2022-09-06T13:29:23.779Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-429/1 [2022-09-06T13:29:23.779Z] INFO: archiving workspace using pattern(s): [2022-09-06T13:29:24.718Z] Archives upload complete. [2022-09-06T13:29:24.978Z] INFO: archiving logs to Nexus