Pull request #388 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 edgego for edgexfoundry/device-sdk-c Loading trusted files from base branch main at 9c093d915178364b5ad4a5f89c558c84b05f4943 rather than 8f822df88842add76d792b0fcf38c18213008c44 Obtained Jenkinsfile from 9c093d915178364b5ad4a5f89c558c84b05f4943 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-ssh15549449826383047341.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 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-ssh4889256722005426030.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 32edd24ee733e309d05e35b1f887f14b07bde6d0 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-388/workspace@libs/edgex-global-pipelines # 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-388/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh13216214247267945576.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-388/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7743825436586534386.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 32edd24ee733e309d05e35b1f887f14b07bde6d0 # timeout=10 Commit message: "Merge pull request #369 from ernestojeda/revert-script-move" > 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 shared 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-ssh10285426321117149652.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 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-388/workspace@libs/lf-pipelines # 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-388/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh9040498233622142324.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 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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 32edd24ee733e309d05e35b1f887f14b07bde6d0 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared 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: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-594 in /w/workspace/edgexfoundry_device-sdk-c_PR-388 [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-388 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.24.4' 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 /w/workspace/edgexfoundry_device-sdk-c_PR-388@tmp/jenkins-gitclient-ssh2444986250634608518.key > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-388@tmp/jenkins-gitclient-ssh785761190668395624.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/388/head:refs/remotes/origin/PR-388 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 9c093d915178364b5ad4a5f89c558c84b05f4943 into PR head commit 8f822df88842add76d792b0fcf38c18213008c44 Merge succeeded, producing 7a7a8786c2530181062184d3cd6c6aebf1b77ee5 Checking out Revision 7a7a8786c2530181062184d3cd6c6aebf1b77ee5 (PR-388) > git config core.sparsecheckout # timeout=10 > git checkout -f 8f822df88842add76d792b0fcf38c18213008c44 # timeout=10 > git remote # timeout=10 > 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 /w/workspace/edgexfoundry_device-sdk-c_PR-388@tmp/jenkins-gitclient-ssh5763818953073288945.key > git merge 9c093d915178364b5ad4a5f89c558c84b05f4943 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7a7a8786c2530181062184d3cd6c6aebf1b77ee5 # timeout=10 Commit message: "Merge commit '9c093d915178364b5ad4a5f89c558c84b05f4943' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-12-10T05:43:01.504Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-12-10T05:43:01.652Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-12-10T05:43:01.754Z] ========================================================= [2021-12-10T05:43:01.754Z] EdgeX Global Pipelines Version Info [2021-12-10T05:43:01.754Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-12-10T05:43:02.918Z] ------------------- [2021-12-10T05:43:02.918Z] stable info: [2021-12-10T05:43:02.918Z] ------------------- [2021-12-10T05:43:02.918Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-12-10T05:43:02.918Z] Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2021-12-10T05:43:02.918Z] Message: update stable to v1.0.217 [2021-12-10T05:43:03.863Z] ------------------- [2021-12-10T05:43:03.863Z] experimental info: [2021-12-10T05:43:03.863Z] ------------------- [2021-12-10T05:43:03.863Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-12-10T05:43:03.863Z] Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2021-12-10T05:43:03.863Z] Message: update experimental to v1.0.217 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-12-10T05:43:04.089Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2021-12-10T05:43:04.129Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2021-12-10T05:43:04.169Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-12-10T05:43:04.209Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-12-10T05:43:04.250Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-12-10T05:43:04.290Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2021-12-10T05:43:04.331Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2021-12-10T05:43:04.371Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-12-10T05:43:04.412Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-12-10T05:43:04.447Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2021-12-10T05:43:04.484Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-12-10T05:43:04.521Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-12-10T05:43:04.560Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-12-10T05:43:04.601Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-12-10T05:43:04.641Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-12-10T05:43:04.677Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-12-10T05:43:04.716Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-12-10T05:43:04.753Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-388 [Pipeline] echo [2021-12-10T05:43:04.789Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-388 [Pipeline] echo [2021-12-10T05:43:04.824Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-388 [Pipeline] echo [2021-12-10T05:43:04.861Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7a7a8786c2530181062184d3cd6c6aebf1b77ee5 [Pipeline] echo [2021-12-10T05:43:04.897Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7a7a878 [Pipeline] echo [2021-12-10T05:43:04.937Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-10T05:43:05.030Z] provisioning config files... [2021-12-10T05:43:05.046Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-388@tmp/config4876529241984974044tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-10T05:43:05.385Z] ---> docker-login.sh [2021-12-10T05:43:05.385Z] nexus3.edgexfoundry.org:10001 [2021-12-10T05:43:05.385Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-10T05:43:05.385Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-10T05:43:05.385Z] Configure a credential helper to remove this warning. See [2021-12-10T05:43:05.385Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-10T05:43:05.385Z] [2021-12-10T05:43:05.385Z] Login Succeeded [2021-12-10T05:43:05.385Z] nexus3.edgexfoundry.org:10002 [2021-12-10T05:43:05.648Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-10T05:43:05.648Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-10T05:43:05.648Z] Configure a credential helper to remove this warning. See [2021-12-10T05:43:05.648Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-10T05:43:05.648Z] [2021-12-10T05:43:05.648Z] Login Succeeded [2021-12-10T05:43:05.648Z] nexus3.edgexfoundry.org:10003 [2021-12-10T05:43:05.648Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-10T05:43:05.648Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-10T05:43:05.648Z] Configure a credential helper to remove this warning. See [2021-12-10T05:43:05.648Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-10T05:43:05.648Z] [2021-12-10T05:43:05.648Z] Login Succeeded [2021-12-10T05:43:05.648Z] nexus3.edgexfoundry.org:10004 [2021-12-10T05:43:05.920Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-10T05:43:05.920Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-10T05:43:05.920Z] Configure a credential helper to remove this warning. See [2021-12-10T05:43:05.920Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-10T05:43:05.920Z] [2021-12-10T05:43:05.920Z] Login Succeeded [2021-12-10T05:43:05.920Z] docker.io [2021-12-10T05:43:05.920Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-10T05:43:06.182Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-10T05:43:06.182Z] Configure a credential helper to remove this warning. See [2021-12-10T05:43:06.182Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-10T05:43:06.182Z] [2021-12-10T05:43:06.182Z] Login Succeeded [2021-12-10T05:43:06.182Z] ---> docker-login.sh ends [Pipeline] } [2021-12-10T05:43:06.204Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh [2021-12-10T05:43:06.807Z] + git rev-list -1 --merges 7a7a8786c2530181062184d3cd6c6aebf1b77ee5~1..7a7a8786c2530181062184d3cd6c6aebf1b77ee5 [Pipeline] echo [2021-12-10T05:43:06.853Z] -----------> git rev-list -1 --merges 7a7a8786c2530181062184d3cd6c6aebf1b77ee5~1..7a7a8786c2530181062184d3cd6c6aebf1b77ee5 7a7a8786c2530181062184d3cd6c6aebf1b77ee5 [2021-12-10T05:43:06.853Z] 7a7a8786c2530181062184d3cd6c6aebf1b77ee5 [false] [Pipeline] sh [2021-12-10T05:43:07.170Z] + git log --format=format:%s -1 7a7a8786c2530181062184d3cd6c6aebf1b77ee5 [Pipeline] echo [2021-12-10T05:43:07.213Z] ========================================================= [2021-12-10T05:43:07.214Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-12-10T05:43:07.214Z] ========================================================= 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 [2021-12-10T05:43:08.070Z] + git rev-list -1 --merges 7a7a8786c2530181062184d3cd6c6aebf1b77ee5~1..7a7a8786c2530181062184d3cd6c6aebf1b77ee5 [Pipeline] echo [2021-12-10T05:43:08.100Z] -----------> git rev-list -1 --merges 7a7a8786c2530181062184d3cd6c6aebf1b77ee5~1..7a7a8786c2530181062184d3cd6c6aebf1b77ee5 7a7a8786c2530181062184d3cd6c6aebf1b77ee5 [2021-12-10T05:43:08.100Z] 7a7a8786c2530181062184d3cd6c6aebf1b77ee5 [false] [Pipeline] sh [2021-12-10T05:43:08.416Z] + git log --format=format:%s -1 7a7a8786c2530181062184d3cd6c6aebf1b77ee5 [Pipeline] echo [2021-12-10T05:43:08.447Z] ========================================================= [2021-12-10T05:43:08.447Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-12-10T05:43:08.447Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2021-12-10T05:43:08.909Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2021-12-10T05:43:08.909Z] + grep -v github /etc/ssh/ssh_known_hosts [2021-12-10T05:43:08.909Z] + '[' -e /tmp/ssh_known_hosts ']' [2021-12-10T05:43:08.909Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2021-12-10T05:43:08.909Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2021-12-10T05:43:08.909Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2021-12-10T05:43:08.909Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2021-12-10T05:43:09.284Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-10T05:43:09.285Z] [2021-12-10T05:43:09.285Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-12-10T05:43:09.625Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-10T05:43:09.625Z] latest: Pulling from edgex-devops/git-semver [2021-12-10T05:43:09.625Z] a0d0a0d46f8b: Pulling fs layer [2021-12-10T05:43:09.625Z] 3e5f54012d9b: Pulling fs layer [2021-12-10T05:43:09.625Z] 4c7163046ea9: Pulling fs layer [2021-12-10T05:43:09.625Z] 0c2d73faf560: Pulling fs layer [2021-12-10T05:43:09.625Z] 0c2d73faf560: Waiting [2021-12-10T05:43:09.625Z] 3e5f54012d9b: Verifying Checksum [2021-12-10T05:43:09.625Z] 3e5f54012d9b: Download complete [2021-12-10T05:43:09.625Z] a0d0a0d46f8b: Verifying Checksum [2021-12-10T05:43:09.625Z] a0d0a0d46f8b: Download complete [2021-12-10T05:43:09.625Z] 4c7163046ea9: Verifying Checksum [2021-12-10T05:43:09.625Z] 4c7163046ea9: Download complete [2021-12-10T05:43:09.625Z] 0c2d73faf560: Verifying Checksum [2021-12-10T05:43:09.625Z] 0c2d73faf560: Download complete [2021-12-10T05:43:09.889Z] a0d0a0d46f8b: Pull complete [2021-12-10T05:43:09.889Z] 3e5f54012d9b: Pull complete [2021-12-10T05:43:10.153Z] 4c7163046ea9: Pull complete [2021-12-10T05:43:10.416Z] 0c2d73faf560: Pull complete [2021-12-10T05:43:10.416Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-12-10T05:43:10.416Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-10T05:43:10.416Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-12-10T05:43:10.508Z] prd-centos7-docker-4c-2g-594 does not seem to be running inside a container [2021-12-10T05:43:10.550Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-388 -v /w/workspace/edgexfoundry_device-sdk-c_PR-388:/w/workspace/edgexfoundry_device-sdk-c_PR-388:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-388@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-388@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-12-10T05:43:11.131Z] $ docker top 443a06d3de2881da1f788d1b05eca058d7b9fbdbf85813b2e29c827c1794fd61 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-12-10T05:43:11.306Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-10T05:43:11.306Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-10T05:43:11.412Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-10T05:43:11.420Z] $ docker exec 443a06d3de2881da1f788d1b05eca058d7b9fbdbf85813b2e29c827c1794fd61 ssh-agent [2021-12-10T05:43:11.529Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFOljdM/agent.15 [2021-12-10T05:43:11.529Z] SSH_AGENT_PID=22 [2021-12-10T05:43:11.543Z] Running ssh-add (command line suppressed) [2021-12-10T05:43:11.634Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-388@tmp/private_key_6057870888607872568.key (/w/workspace/edgexfoundry_device-sdk-c_PR-388@tmp/private_key_6057870888607872568.key) [2021-12-10T05:43:11.646Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-10T05:43:11.968Z] + git tag --points-at HEAD [Pipeline] } [2021-12-10T05:43:11.994Z] $ docker exec --env ******** --env ******** 443a06d3de2881da1f788d1b05eca058d7b9fbdbf85813b2e29c827c1794fd61 ssh-agent -k [2021-12-10T05:43:12.079Z] unset SSH_AUTH_SOCK; [2021-12-10T05:43:12.080Z] unset SSH_AGENT_PID; [2021-12-10T05:43:12.080Z] echo Agent pid 22 killed; [2021-12-10T05:43:12.088Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-12-10T05:43:12.165Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-10T05:43:12.165Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-10T05:43:12.261Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-10T05:43:12.264Z] $ docker exec 443a06d3de2881da1f788d1b05eca058d7b9fbdbf85813b2e29c827c1794fd61 ssh-agent [2021-12-10T05:43:12.365Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXoDAlbD/agent.54 [2021-12-10T05:43:12.365Z] SSH_AGENT_PID=61 [2021-12-10T05:43:12.370Z] Running ssh-add (command line suppressed) [2021-12-10T05:43:12.481Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-388@tmp/private_key_2414952262322974665.key (/w/workspace/edgexfoundry_device-sdk-c_PR-388@tmp/private_key_2414952262322974665.key) [2021-12-10T05:43:12.493Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-10T05:43:12.830Z] + git semver init [2021-12-10T05:43:12.830Z] # -> Open(): unable to determine branch for HEAD [2021-12-10T05:43:12.830Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-388/.git [2021-12-10T05:43:12.830Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-388 [2021-12-10T05:43:12.830Z] # $SEMVER_REMOTE_NAME = origin [2021-12-10T05:43:12.830Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-12-10T05:43:12.830Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-12-10T05:43:12.830Z] # $SEMVER_BRANCH = PR-388 [2021-12-10T05:43:12.830Z] # $SEMVER_TEMP = /tmp/semver-921238084 [2021-12-10T05:43:12.830Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2021-12-10T05:43:13.790Z] # '/tmp/semver-921238084' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-388/.semver' [2021-12-10T05:43:13.790Z] # -> Force: false [2021-12-10T05:43:13.790Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-388/.semver [Pipeline] } [2021-12-10T05:43:13.814Z] $ docker exec --env ******** --env ******** 443a06d3de2881da1f788d1b05eca058d7b9fbdbf85813b2e29c827c1794fd61 ssh-agent -k [2021-12-10T05:43:13.903Z] unset SSH_AUTH_SOCK; [2021-12-10T05:43:13.904Z] unset SSH_AGENT_PID; [2021-12-10T05:43:13.904Z] echo Agent pid 61 killed; [2021-12-10T05:43:13.911Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-12-10T05:43:14.300Z] + git semver [Pipeline] } [2021-12-10T05:43:14.330Z] $ docker stop --time=1 443a06d3de2881da1f788d1b05eca058d7b9fbdbf85813b2e29c827c1794fd61 [2021-12-10T05:43:15.574Z] $ docker rm -f 443a06d3de2881da1f788d1b05eca058d7b9fbdbf85813b2e29c827c1794fd61 [Pipeline] // withDockerContainer [Pipeline] sh [2021-12-10T05:43:15.984Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-12-10T05:43:16.274Z] Stashed 1 file(s) [Pipeline] echo [2021-12-10T05:43:16.294Z] [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] node [Pipeline] node [2021-12-10T05:43:31.620Z] Still waiting to schedule task [2021-12-10T05:43:31.620Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-12-10T05:43:31.642Z] Still waiting to schedule task [2021-12-10T05:43:31.642Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-592’ is offline [2021-12-10T05:44:58.158Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-595 in /w/workspace/edgexfoundry_device-sdk-c_PR-388 [Pipeline] { [Pipeline] ws [2021-12-10T05:44:58.200Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2021-12-10T05:44:58.418Z] Selected Git installation does not exist. Using Default [2021-12-10T05:44:58.418Z] The recommended git tool is: NONE [2021-12-10T05:45:02.849Z] using credential edgex-jenkins-ssh [2021-12-10T05:45:02.864Z] Cloning the remote Git repository [2021-12-10T05:45:02.927Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-12-10T05:45:03.008Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2021-12-10T05:45:03.110Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-12-10T05:45:03.111Z] > git --version # timeout=10 [2021-12-10T05:45:03.131Z] > git --version # 'git version 2.17.1' [2021-12-10T05:45:03.132Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-10T05:45:03.206Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-10T05:45:04.526Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-12-10T05:45:04.544Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-10T05:45:04.569Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-12-10T05:45:04.610Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-12-10T05:45:04.610Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-10T05:45:04.627Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/388/head:refs/remotes/origin/PR-388 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-12-10T05:45:07.011Z] Merging remotes/origin/main commit 9c093d915178364b5ad4a5f89c558c84b05f4943 into PR head commit 8f822df88842add76d792b0fcf38c18213008c44 [2021-12-10T05:45:07.032Z] > git config core.sparsecheckout # timeout=10 [2021-12-10T05:45:07.058Z] > git checkout -f 8f822df88842add76d792b0fcf38c18213008c44 # timeout=10 [2021-12-10T05:45:07.348Z] Merge succeeded, producing df0388ef8e2b3b2e2c6474dc461b23ab33c7132d [2021-12-10T05:45:07.348Z] Checking out Revision df0388ef8e2b3b2e2c6474dc461b23ab33c7132d (PR-388) [2021-12-10T05:45:07.168Z] > git remote # timeout=10 [2021-12-10T05:45:07.192Z] > git config --get remote.origin.url # timeout=10 [2021-12-10T05:45:07.203Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-10T05:45:07.222Z] > git merge 9c093d915178364b5ad4a5f89c558c84b05f4943 # timeout=10 [2021-12-10T05:45:07.335Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-12-10T05:45:07.358Z] > git config core.sparsecheckout # timeout=10 [2021-12-10T05:45:07.369Z] > git checkout -f df0388ef8e2b3b2e2c6474dc461b23ab33c7132d # timeout=10 [2021-12-10T05:45:11.465Z] Commit message: "Merge commit '9c093d915178364b5ad4a5f89c558c84b05f4943' into HEAD" [2021-12-10T05:45:11.465Z] First time build. Skipping changelog. [2021-12-10T05:45:11.519Z] > git --version # timeout=10 [2021-12-10T05:45:11.530Z] > git --version # 'git version 2.17.1' [2021-12-10T05:45:11.544Z] fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-12-10T05:45:12.649Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-12-10T05:45:12.649Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-12-10T05:45:12.649Z] Dload Upload Total Spent Left Speed [2021-12-10T05:45:12.649Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 80435 0 --:--:-- --:--:-- --:--:-- 80435 [Pipeline] sh [2021-12-10T05:45:13.199Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-12-10T05:45:13.559Z] + + sudosudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-12-10T05:45:13.559Z] tee /etc/docker/daemon.new [2021-12-10T05:45:13.559Z] { [2021-12-10T05:45:13.559Z] "registry-mirrors": [ [2021-12-10T05:45:13.559Z] "https://nexus3.edgexfoundry.org:10001" [2021-12-10T05:45:13.559Z] ], [2021-12-10T05:45:13.559Z] "bip": "10.250.0.254/24", [2021-12-10T05:45:13.559Z] "hosts": [ [2021-12-10T05:45:13.559Z] "tcp://0.0.0.0:5555", [2021-12-10T05:45:13.559Z] "unix:///var/run/docker.sock" [2021-12-10T05:45:13.559Z] ], [2021-12-10T05:45:13.559Z] "mtu": 1458, [2021-12-10T05:45:13.559Z] "selinux-enabled": true, [2021-12-10T05:45:13.559Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-12-10T05:45:13.559Z] } [Pipeline] sh [2021-12-10T05:45:13.981Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-12-10T05:45:14.345Z] + sudo service docker restart [2021-12-10T05:45:14.620Z] Running on prd-centos7-docker-4c-2g-596 in /w/workspace/edgexfoundry_device-sdk-c_PR-388 [Pipeline] { [Pipeline] ws [2021-12-10T05:45:14.661Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2021-12-10T05:45:14.778Z] Selected Git installation does not exist. Using Default [2021-12-10T05:45:14.778Z] The recommended git tool is: NONE [2021-12-10T05:45:16.420Z] using credential edgex-jenkins-ssh [2021-12-10T05:45:16.430Z] Cloning the remote Git repository [2021-12-10T05:45:16.090Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-12-10T05:45:16.126Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2021-12-10T05:45:16.214Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-12-10T05:45:16.214Z] > git --version # timeout=10 [2021-12-10T05:45:16.224Z] > git --version # 'git version 2.24.4' [2021-12-10T05:45:16.225Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-10T05:45:16.246Z] [INFO] Currently running in a labeled security context [2021-12-10T05:45:16.246Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-12-10T05:45:16.246Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh652927471392794248.key [2021-12-10T05:45:16.275Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-10T05:45:17.029Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-12-10T05:45:17.040Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-10T05:45:17.054Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-12-10T05:45:17.073Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-12-10T05:45:17.074Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-10T05:45:17.075Z] [INFO] Currently running in a labeled security context [2021-12-10T05:45:17.075Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-12-10T05:45:17.075Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh2545413911749821303.key [2021-12-10T05:45:17.094Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/388/head:refs/remotes/origin/PR-388 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-12-10T05:45:19.093Z] Merging remotes/origin/main commit 9c093d915178364b5ad4a5f89c558c84b05f4943 into PR head commit 8f822df88842add76d792b0fcf38c18213008c44 [2021-12-10T05:45:19.226Z] Merge succeeded, producing 2b4be219498341359bae912f9fb3d80bce239cca [2021-12-10T05:45:19.227Z] Checking out Revision 2b4be219498341359bae912f9fb3d80bce239cca (PR-388) [2021-12-10T05:45:18.735Z] > git config core.sparsecheckout # timeout=10 [2021-12-10T05:45:18.741Z] > git checkout -f 8f822df88842add76d792b0fcf38c18213008c44 # timeout=10 [2021-12-10T05:45:18.789Z] > git remote # timeout=10 [2021-12-10T05:45:18.801Z] > git config --get remote.origin.url # timeout=10 [2021-12-10T05:45:18.807Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-10T05:45:18.810Z] [INFO] Currently running in a labeled security context [2021-12-10T05:45:18.810Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-12-10T05:45:18.810Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh7926142118168219922.key [2021-12-10T05:45:18.817Z] > git merge 9c093d915178364b5ad4a5f89c558c84b05f4943 # timeout=10 [2021-12-10T05:45:18.843Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-12-10T05:45:18.859Z] > git config core.sparsecheckout # timeout=10 [2021-12-10T05:45:18.870Z] > git checkout -f 2b4be219498341359bae912f9fb3d80bce239cca # timeout=10 [2021-12-10T05:45:22.807Z] Commit message: "Merge commit '9c093d915178364b5ad4a5f89c558c84b05f4943' into HEAD" [2021-12-10T05:45:22.807Z] First time build. Skipping changelog. [2021-12-10T05:45:22.466Z] > git --version # timeout=10 [2021-12-10T05:45:22.475Z] > git --version # 'git version 2.24.4' [2021-12-10T05:45:22.485Z] fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-10T05:45:24.152Z] provisioning config files... [2021-12-10T05:45:24.168Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config7784803238712535187tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-10T05:45:24.593Z] ---> docker-login.sh [2021-12-10T05:45:24.593Z] nexus3.edgexfoundry.org:10001 [2021-12-10T05:45:24.593Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-10T05:45:24.593Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-10T05:45:24.593Z] Configure a credential helper to remove this warning. See [2021-12-10T05:45:24.593Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-10T05:45:24.593Z] [2021-12-10T05:45:24.593Z] Login Succeeded [2021-12-10T05:45:24.593Z] nexus3.edgexfoundry.org:10002 [2021-12-10T05:45:24.858Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-10T05:45:24.858Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-10T05:45:24.858Z] Configure a credential helper to remove this warning. See [2021-12-10T05:45:24.858Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-10T05:45:24.858Z] [2021-12-10T05:45:24.858Z] Login Succeeded [2021-12-10T05:45:24.858Z] nexus3.edgexfoundry.org:10003 [2021-12-10T05:45:24.858Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-10T05:45:24.858Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-10T05:45:24.858Z] Configure a credential helper to remove this warning. See [2021-12-10T05:45:24.858Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-10T05:45:24.858Z] [2021-12-10T05:45:24.858Z] Login Succeeded [2021-12-10T05:45:24.858Z] nexus3.edgexfoundry.org:10004 [2021-12-10T05:45:25.119Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-10T05:45:25.119Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-10T05:45:25.119Z] Configure a credential helper to remove this warning. See [2021-12-10T05:45:25.119Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-10T05:45:25.119Z] [2021-12-10T05:45:25.119Z] Login Succeeded [2021-12-10T05:45:25.119Z] docker.io [2021-12-10T05:45:25.119Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-10T05:45:25.692Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-10T05:45:25.692Z] Configure a credential helper to remove this warning. See [2021-12-10T05:45:25.692Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-10T05:45:25.692Z] [2021-12-10T05:45:25.692Z] Login Succeeded [2021-12-10T05:45:25.692Z] ---> docker-login.sh ends [Pipeline] } [2021-12-10T05:45:25.799Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-12-10T05:45:26.030Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-12-10T05:45:26.060Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2021-12-10T05:45:26.095Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-12-10T05:45:26.132Z] ========================================================= [2021-12-10T05:45:26.132Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2021-12-10T05:45:26.132Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-12-10T05:45:26.495Z] + 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 . [2021-12-10T05:45:26.495Z] Sending build context to Docker daemon 17.94MB [2021-12-10T05:45:26.495Z] Step 1/24 : ARG BASE=alpine:3.14 [2021-12-10T05:45:26.495Z] Step 2/24 : FROM ${BASE} as builder [2021-12-10T05:45:26.764Z] latest: Pulling from edgex-devops/edgex-gcc-base [2021-12-10T05:45:26.764Z] a0d0a0d46f8b: Pulling fs layer [2021-12-10T05:45:26.764Z] 39017ce70367: Pulling fs layer [2021-12-10T05:45:26.764Z] dcf9283bb20a: Pulling fs layer [2021-12-10T05:45:26.764Z] 39017ce70367: Verifying Checksum [2021-12-10T05:45:26.764Z] 39017ce70367: Download complete [2021-12-10T05:45:26.764Z] a0d0a0d46f8b: Verifying Checksum [2021-12-10T05:45:26.764Z] a0d0a0d46f8b: Download complete [2021-12-10T05:45:27.041Z] a0d0a0d46f8b: Pull complete [2021-12-10T05:45:27.041Z] 39017ce70367: Pull complete [2021-12-10T05:45:27.303Z] dcf9283bb20a: Verifying Checksum [2021-12-10T05:45:27.303Z] dcf9283bb20a: Download complete [2021-12-10T05:45:30.629Z] dcf9283bb20a: Pull complete [2021-12-10T05:45:30.629Z] Digest: sha256:2a2af42e0978abc69143d34e5140e0e2b13385d9fcf9e2292ee97f6b0c1f1d72 [2021-12-10T05:45:30.629Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2021-12-10T05:45:30.629Z] ---> a4e04833b611 [2021-12-10T05:45:30.629Z] Step 3/24 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2021-12-10T05:45:31.209Z] ---> Running in 9f62069cd624 [2021-12-10T05:45:31.786Z] Connecting to iotech.jfrog.io (54.170.66.44:443) [2021-12-10T05:45:32.049Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2021-12-10T05:45:32.049Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2021-12-10T05:45:32.049Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2021-12-10T05:45:32.313Z] Removing intermediate container 9f62069cd624 [2021-12-10T05:45:32.313Z] ---> 5b13b80fcec4 [2021-12-10T05:45:32.313Z] Step 4/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2021-12-10T05:45:32.313Z] ---> Running in eab365c91dec [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-10T05:45:32.726Z] provisioning config files... [2021-12-10T05:45:32.752Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config4187836405291059097tmp [2021-12-10T05:45:32.889Z] Removing intermediate container eab365c91dec [2021-12-10T05:45:32.890Z] ---> bb0b9d47d589 [2021-12-10T05:45:32.890Z] Step 5/24 : RUN apk add --update --no-cache build-base bash wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev-1.3 hiredis-dev [2021-12-10T05:45:32.890Z] ---> Running in 2a8f1041878d [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-10T05:45:33.149Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-12-10T05:45:33.323Z] ---> docker-login.sh [2021-12-10T05:45:33.323Z] nexus3.edgexfoundry.org:10001 [2021-12-10T05:45:33.720Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-12-10T05:45:33.918Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-10T05:45:34.192Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-10T05:45:34.192Z] Configure a credential helper to remove this warning. See [2021-12-10T05:45:34.192Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-10T05:45:34.192Z] [2021-12-10T05:45:34.192Z] Login Succeeded [2021-12-10T05:45:34.192Z] nexus3.edgexfoundry.org:10002 [2021-12-10T05:45:34.296Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz [2021-12-10T05:45:34.468Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-10T05:45:34.468Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-10T05:45:34.469Z] Configure a credential helper to remove this warning. See [2021-12-10T05:45:34.469Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-10T05:45:34.469Z] [2021-12-10T05:45:34.469Z] Login Succeeded [2021-12-10T05:45:34.469Z] nexus3.edgexfoundry.org:10003 [2021-12-10T05:45:34.561Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2021-12-10T05:45:34.561Z] (1/29) Installing readline (8.1.0-r0) [2021-12-10T05:45:34.561Z] (2/29) Installing bash (5.1.4-r0) [2021-12-10T05:45:34.742Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-10T05:45:34.822Z] Executing bash-5.1.4-r0.post-install [2021-12-10T05:45:34.822Z] (3/29) Installing hiredis (1.0.0-r0) [2021-12-10T05:45:34.822Z] (4/29) Installing hiredis-dev (1.0.0-r0) [2021-12-10T05:45:34.822Z] (5/29) Installing ncurses-dev (6.2_p20210612-r0) [2021-12-10T05:45:35.018Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-10T05:45:35.018Z] Configure a credential helper to remove this warning. See [2021-12-10T05:45:35.018Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-10T05:45:35.018Z] [2021-12-10T05:45:35.018Z] Login Succeeded [2021-12-10T05:45:35.018Z] nexus3.edgexfoundry.org:10004 [2021-12-10T05:45:35.086Z] (6/29) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2021-12-10T05:45:35.294Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-10T05:45:35.294Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-10T05:45:35.294Z] Configure a credential helper to remove this warning. See [2021-12-10T05:45:35.294Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-10T05:45:35.294Z] [2021-12-10T05:45:35.294Z] Login Succeeded [2021-12-10T05:45:35.294Z] docker.io [2021-12-10T05:45:35.889Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-10T05:45:36.031Z] (7/29) Installing libblkid (2.37.2-r0) [2021-12-10T05:45:36.031Z] (8/29) Installing blkid (2.37.2-r0) [2021-12-10T05:45:36.031Z] (9/29) Installing libcap-ng (0.8.2-r0) [2021-12-10T05:45:36.031Z] (10/29) Installing setpriv (2.37.2-r0) [2021-12-10T05:45:36.031Z] (11/29) Installing libmount (2.37.2-r0) [2021-12-10T05:45:36.164Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-10T05:45:36.164Z] Configure a credential helper to remove this warning. See [2021-12-10T05:45:36.164Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-10T05:45:36.164Z] [2021-12-10T05:45:36.164Z] Login Succeeded [2021-12-10T05:45:36.164Z] ---> docker-login.sh ends [Pipeline] } [2021-12-10T05:45:36.201Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-12-10T05:45:36.292Z] (12/29) Installing libsmartcols (2.37.2-r0) [2021-12-10T05:45:36.292Z] (13/29) Installing findmnt (2.37.2-r0) [2021-12-10T05:45:36.292Z] (14/29) Installing mcookie (2.37.2-r0) [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-12-10T05:45:36.553Z] (15/29) Installing hexdump (2.37.2-r0) [2021-12-10T05:45:36.553Z] (16/29) Installing lsblk (2.37.2-r0) [2021-12-10T05:45:36.553Z] (17/29) Installing libuuid (2.37.2-r0) [2021-12-10T05:45:36.555Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-12-10T05:45:36.598Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2021-12-10T05:45:36.628Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-12-10T05:45:36.663Z] ========================================================= [2021-12-10T05:45:36.663Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2021-12-10T05:45:36.663Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-12-10T05:45:36.814Z] (18/29) Installing libfdisk (2.37.2-r0) [2021-12-10T05:45:36.814Z] (19/29) Installing sfdisk (2.37.2-r0) [2021-12-10T05:45:36.814Z] (20/29) Installing cfdisk (2.37.2-r0) [2021-12-10T05:45:37.046Z] + 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 . [2021-12-10T05:45:37.078Z] (21/29) Installing partx (2.37.2-r0) [2021-12-10T05:45:37.078Z] (22/29) Installing flock (2.37.2-r0) [2021-12-10T05:45:37.078Z] (23/29) Installing logger (2.37.2-r0) [2021-12-10T05:45:37.340Z] (24/29) Installing uuidgen (2.37.2-r0) [2021-12-10T05:45:37.340Z] (25/29) Installing libeconf (0.3.8-r1) [2021-12-10T05:45:37.340Z] (26/29) Installing util-linux (2.37.2-r0) [2021-12-10T05:45:37.601Z] (27/29) Installing util-linux-dev (2.37.2-r0) [2021-12-10T05:45:37.646Z] Sending build context to Docker daemon 17.94MB [2021-12-10T05:45:37.646Z] Step 1/24 : ARG BASE=alpine:3.14 [2021-12-10T05:45:37.646Z] Step 2/24 : FROM ${BASE} as builder [2021-12-10T05:45:37.865Z] (28/29) Installing libidn2 (2.3.1-r0) [2021-12-10T05:45:37.865Z] (29/29) Installing wget (1.21.1-r1) [2021-12-10T05:45:37.865Z] Executing busybox-1.33.1-r3.trigger [2021-12-10T05:45:37.924Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2021-12-10T05:45:37.924Z] 552d1f2373af: Pulling fs layer [2021-12-10T05:45:37.924Z] f2be2b6548c6: Pulling fs layer [2021-12-10T05:45:37.924Z] ee4ac2fe028c: Pulling fs layer [2021-12-10T05:45:37.924Z] f2be2b6548c6: Verifying Checksum [2021-12-10T05:45:37.924Z] f2be2b6548c6: Download complete [2021-12-10T05:45:37.924Z] 552d1f2373af: Verifying Checksum [2021-12-10T05:45:37.924Z] 552d1f2373af: Download complete [2021-12-10T05:45:38.129Z] OK: 292 MiB in 106 packages [2021-12-10T05:45:38.397Z] Removing intermediate container 2a8f1041878d [2021-12-10T05:45:38.397Z] ---> 58ec66894738 [2021-12-10T05:45:38.397Z] Step 6/24 : ENV CBOR_VERSION=0.5.0 [2021-12-10T05:45:38.397Z] ---> Running in c87e3f3f716d [2021-12-10T05:45:38.530Z] 552d1f2373af: Pull complete [2021-12-10T05:45:38.660Z] Removing intermediate container c87e3f3f716d [2021-12-10T05:45:38.660Z] ---> 250272ab53ce [2021-12-10T05:45:38.660Z] Step 7/24 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install [2021-12-10T05:45:38.660Z] ---> Running in 8a69835b88c4 [2021-12-10T05:45:38.804Z] f2be2b6548c6: Pull complete [2021-12-10T05:45:38.925Z] --2021-12-10 05:45:38-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-12-10T05:45:38.925Z] Resolving github.com (github.com)... 140.82.112.3 [2021-12-10T05:45:38.925Z] Connecting to github.com (github.com)|140.82.112.3|:443... connected. [2021-12-10T05:45:38.925Z] HTTP request sent, awaiting response... 302 Found [2021-12-10T05:45:38.925Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-12-10T05:45:38.925Z] --2021-12-10 05:45:38-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-12-10T05:45:39.189Z] Resolving codeload.github.com (codeload.github.com)... 140.82.114.10 [2021-12-10T05:45:39.189Z] Connecting to codeload.github.com (codeload.github.com)|140.82.114.10|:443... connected. [2021-12-10T05:45:39.189Z] HTTP request sent, awaiting response... 200 OK [2021-12-10T05:45:39.189Z] Length: unspecified [application/x-gzip] [2021-12-10T05:45:39.189Z] Saving to: 'STDOUT' [2021-12-10T05:45:39.189Z]  [2021-12-10T05:45:39.189Z] 0K .......... .......... .......... .......... .......... 1.23M [2021-12-10T05:45:39.189Z] 50K .......... .......... .......... .......... .......... 2.45M [2021-12-10T05:45:39.189Z] 100K .......... .......... .......... .......... .......... 47.5M [2021-12-10T05:45:39.189Z] 150K .......... .......... .......... .......... .......... 33.0M [2021-12-10T05:45:39.189Z] 200K .......... .......... .......... .......... .......... 2.60M [2021-12-10T05:45:39.189Z] 250K .......... .......... .......... .......... .......... 7.98M [2021-12-10T05:45:39.456Z] 300K .......... .......... .......... .......... .......... 10.8M [2021-12-10T05:45:39.456Z] 350K .......... .......... .......... .......... .......... 15.4M [2021-12-10T05:45:39.456Z] 400K .......... .......... .......... .......... .......... 8.92M [2021-12-10T05:45:39.456Z] 450K .......... .......... .......... .......... .......... 10.2M [2021-12-10T05:45:39.456Z] 500K .......... .......... .......... .......... .......... 42.4M [2021-12-10T05:45:39.456Z] 550K .......... .......... .......... .......... .......... 9.76M [2021-12-10T05:45:39.456Z] 600K .......... .......... .......... .......... .......... 4.12M [2021-12-10T05:45:39.456Z] 650K .......... .......... .......... .......... .......... 6.39M [2021-12-10T05:45:39.456Z] 700K .. 45.3M=0.1s [2021-12-10T05:45:39.456Z] [2021-12-10T05:45:39.456Z] 2021-12-10 05:45:39 (5.25 MB/s) - written to stdout [719348] [2021-12-10T05:45:39.456Z] [2021-12-10T05:45:39.456Z] -- The C compiler identification is GNU 10.3.1 [2021-12-10T05:45:39.456Z] -- The CXX compiler identification is GNU 10.3.1 [2021-12-10T05:45:39.456Z] -- Detecting C compiler ABI info [2021-12-10T05:45:39.719Z] -- Detecting C compiler ABI info - done [2021-12-10T05:45:39.719Z] -- Check for working C compiler: /usr/bin/cc - skipped [2021-12-10T05:45:39.719Z] -- Detecting C compile features [2021-12-10T05:45:39.719Z] -- Detecting C compile features - done [2021-12-10T05:45:39.719Z] -- Detecting CXX compiler ABI info [2021-12-10T05:45:39.719Z] -- Detecting CXX compiler ABI info - done [2021-12-10T05:45:39.719Z] -- Check for working CXX compiler: /usr/bin/c++ - skipped [2021-12-10T05:45:39.719Z] -- Detecting CXX compile features [2021-12-10T05:45:39.719Z] -- Detecting CXX compile features - done [2021-12-10T05:45:39.719Z] -- Looking for include file endian.h [2021-12-10T05:45:39.719Z] -- Looking for include file endian.h - found [2021-12-10T05:45:39.719Z] -- Looking for sys/types.h [2021-12-10T05:45:39.782Z] ee4ac2fe028c: Download complete [2021-12-10T05:45:39.980Z] -- Looking for sys/types.h - found [2021-12-10T05:45:39.980Z] -- Looking for stdint.h [2021-12-10T05:45:39.980Z] -- Looking for stdint.h - found [2021-12-10T05:45:39.980Z] -- Looking for stddef.h [2021-12-10T05:45:39.980Z] -- Looking for stddef.h - found [2021-12-10T05:45:39.980Z] -- Check size of size_t [2021-12-10T05:45:40.244Z] -- Check size of size_t - done [2021-12-10T05:45:40.244Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-12-10T05:45:40.244Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-12-10T05:45:40.244Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-12-10T05:45:40.244Z] CMake did not find one. [2021-12-10T05:45:40.244Z] [2021-12-10T05:45:40.244Z] Could not find a package configuration file provided by "cJSON" with any of [2021-12-10T05:45:40.244Z] the following names: [2021-12-10T05:45:40.244Z] [2021-12-10T05:45:40.244Z] cJSONConfig.cmake [2021-12-10T05:45:40.244Z] cjson-config.cmake [2021-12-10T05:45:40.244Z] [2021-12-10T05:45:40.244Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-12-10T05:45:40.244Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-12-10T05:45:40.244Z] provides a separate development package or SDK, be sure it has been [2021-12-10T05:45:40.244Z] installed. [2021-12-10T05:45:40.244Z] [2021-12-10T05:45:40.244Z] [2021-12-10T05:45:40.244Z] -- Configuring done [2021-12-10T05:45:40.244Z] -- Generating done [2021-12-10T05:45:40.244Z] -- Build files have been written to: /tmp/cbor [2021-12-10T05:45:40.244Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-12-10T05:45:40.508Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-12-10T05:45:40.508Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-12-10T05:45:40.508Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-12-10T05:45:40.767Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-12-10T05:45:40.767Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-12-10T05:45:40.767Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-12-10T05:45:41.028Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-12-10T05:45:41.028Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-12-10T05:45:41.028Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-12-10T05:45:41.289Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-12-10T05:45:41.289Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-12-10T05:45:41.289Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-12-10T05:45:41.552Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-12-10T05:45:41.552Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-12-10T05:45:41.552Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-12-10T05:45:41.552Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-12-10T05:45:41.812Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-12-10T05:45:41.812Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-12-10T05:45:41.812Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-12-10T05:45:41.812Z] [ 40%] Linking C shared library libcbor.so [2021-12-10T05:45:41.812Z] [ 40%] Built target cbor_shared [2021-12-10T05:45:42.073Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-12-10T05:45:42.073Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-12-10T05:45:42.335Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-12-10T05:45:42.335Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-12-10T05:45:42.613Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-12-10T05:45:42.613Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-12-10T05:45:42.886Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-12-10T05:45:42.886Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-12-10T05:45:42.886Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-12-10T05:45:42.886Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-12-10T05:45:43.154Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-12-10T05:45:43.154Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-12-10T05:45:43.424Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-12-10T05:45:43.424Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-12-10T05:45:43.424Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-12-10T05:45:43.690Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-12-10T05:45:43.690Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-12-10T05:45:43.690Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-12-10T05:45:43.690Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-12-10T05:45:43.962Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-12-10T05:45:43.962Z] [ 80%] Linking C static library libcbor.a [2021-12-10T05:45:43.962Z] [ 80%] Built target cbor [2021-12-10T05:45:43.962Z] [ 82%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-12-10T05:45:43.962Z] [ 84%] Linking C executable readfile [2021-12-10T05:45:43.962Z] [ 84%] Built target readfile [2021-12-10T05:45:43.962Z] [ 86%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-12-10T05:45:44.224Z] [ 88%] Linking C executable create_items [2021-12-10T05:45:44.224Z] [ 88%] Built target create_items [2021-12-10T05:45:44.224Z] [ 90%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-12-10T05:45:44.224Z] [ 92%] Linking C executable sort [2021-12-10T05:45:44.224Z] [ 92%] Built target sort [2021-12-10T05:45:44.224Z] [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-12-10T05:45:44.224Z] [ 96%] Linking C executable hello [2021-12-10T05:45:44.224Z] [ 96%] Built target hello [2021-12-10T05:45:44.224Z] [ 98%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-12-10T05:45:44.492Z] [100%] Linking C executable streaming_parser [2021-12-10T05:45:44.492Z] [100%] Built target streaming_parser [2021-12-10T05:45:44.492Z] Install the project... [2021-12-10T05:45:44.492Z] -- Install configuration: "Release" [2021-12-10T05:45:44.492Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-12-10T05:45:44.492Z] -- Installing: /usr/local/lib/libcbor.a [2021-12-10T05:45:44.492Z] -- Installing: /usr/local/lib/libcbor.so.0.0.0 [2021-12-10T05:45:44.492Z] -- Installing: /usr/local/lib/libcbor.so.0 [2021-12-10T05:45:44.492Z] -- Installing: /usr/local/lib/libcbor.so [2021-12-10T05:45:44.492Z] -- Up-to-date: /usr/local/include/cbor [2021-12-10T05:45:44.492Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-12-10T05:45:44.492Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-12-10T05:45:44.492Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-12-10T05:45:44.492Z] -- Installing: /usr/local/include/cbor/common.h [2021-12-10T05:45:44.492Z] -- Installing: /usr/local/include/cbor/data.h [2021-12-10T05:45:44.492Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-12-10T05:45:44.492Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-12-10T05:45:44.492Z] -- Installing: /usr/local/include/cbor/internal [2021-12-10T05:45:44.492Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-12-10T05:45:44.492Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-12-10T05:45:44.492Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-12-10T05:45:44.492Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-12-10T05:45:44.492Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-12-10T05:45:44.492Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-12-10T05:45:44.492Z] -- Installing: /usr/local/include/cbor/ints.h [2021-12-10T05:45:44.492Z] -- Installing: /usr/local/include/cbor/maps.h [2021-12-10T05:45:44.492Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-12-10T05:45:44.492Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-12-10T05:45:44.492Z] -- Installing: /usr/local/include/cbor/strings.h [2021-12-10T05:45:44.492Z] -- Installing: /usr/local/include/cbor/tags.h [2021-12-10T05:45:44.492Z] -- Installing: /usr/local/include/cbor.h [2021-12-10T05:45:44.492Z] -- Installing: /usr/local/lib/pkgconfig/libcbor.pc [2021-12-10T05:45:45.070Z] Removing intermediate container 8a69835b88c4 [2021-12-10T05:45:45.070Z] ---> 37bed3c52428 [2021-12-10T05:45:45.070Z] Step 8/24 : RUN mkdir /tmp/sdk [2021-12-10T05:45:45.070Z] ---> Running in 686f2785f025 [2021-12-10T05:45:45.644Z] Removing intermediate container 686f2785f025 [2021-12-10T05:45:45.644Z] ---> 62f75d8425f0 [2021-12-10T05:45:45.644Z] Step 9/24 : COPY VERSION /tmp/sdk [2021-12-10T05:45:45.908Z] ---> a9f1deb6aa4a [2021-12-10T05:45:45.908Z] Step 10/24 : COPY src /tmp/sdk/src [2021-12-10T05:45:46.170Z] ---> d4c577b12044 [2021-12-10T05:45:46.170Z] Step 11/24 : COPY include /tmp/sdk/include [2021-12-10T05:45:46.170Z] ---> f5f8411698ea [2021-12-10T05:45:46.170Z] Step 12/24 : COPY scripts /tmp/sdk/scripts [2021-12-10T05:45:46.437Z] ---> ece337c7b48d [2021-12-10T05:45:46.437Z] Step 13/24 : COPY LICENSE /tmp/sdk [2021-12-10T05:45:46.437Z] ---> d9f8fa8d9f2d [2021-12-10T05:45:46.437Z] Step 14/24 : COPY Attribution.txt /tmp/sdk [2021-12-10T05:45:46.701Z] ---> c35b327ccb24 [2021-12-10T05:45:46.701Z] Step 15/24 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-12-10T05:45:46.701Z] ---> Running in c44ce7f77f37 [2021-12-10T05:45:46.963Z] + CPPCHECK=false [2021-12-10T05:45:46.963Z] + DOCGEN=false [2021-12-10T05:45:46.963Z] + TOMLVER=SDK-0.2 [2021-12-10T05:45:46.963Z] + CUTILVER=1.2.2 [2021-12-10T05:45:46.963Z] + '[' 0 -gt 0 ] [2021-12-10T05:45:46.963Z] + readlink -f ./scripts/build.sh [2021-12-10T05:45:46.963Z] + dirname /tmp/sdk/scripts/build.sh [2021-12-10T05:45:46.963Z] + dirname /tmp/sdk/scripts [2021-12-10T05:45:46.963Z] + ROOT=/tmp/sdk [2021-12-10T05:45:46.963Z] + cd /tmp/sdk [2021-12-10T05:45:46.963Z] + '[' '!' -d deps ] [2021-12-10T05:45:46.963Z] + mkdir deps [2021-12-10T05:45:46.963Z] + wget -O+ -tar https://github.com.cnpmjs.org/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz -C deps [2021-12-10T05:45:46.963Z] -z -x -f - [2021-12-10T05:45:46.963Z] --2021-12-10 05:45:46-- https://github.com.cnpmjs.org/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-12-10T05:45:48.063Z] ee4ac2fe028c: Pull complete [2021-12-10T05:45:48.063Z] Digest: sha256:4c85ded81933cf54d6808eb239bc3fea8e3bb42c9130537b51c88bfc6b01a02b [2021-12-10T05:45:48.063Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2021-12-10T05:45:48.063Z] ---> b6d714ea7bf2 [2021-12-10T05:45:48.063Z] Step 3/24 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2021-12-10T05:45:48.063Z] ---> Running in 4a27ef112f38 [2021-12-10T05:45:48.355Z] Resolving github.com.cnpmjs.org (github.com.cnpmjs.org)... 47.241.4.205 [2021-12-10T05:45:48.617Z] Connecting to github.com.cnpmjs.org (github.com.cnpmjs.org)|47.241.4.205|:443... connected. [2021-12-10T05:45:49.052Z] Connecting to iotech.jfrog.io (54.229.110.245:443) [2021-12-10T05:45:49.647Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2021-12-10T05:45:49.647Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2021-12-10T05:45:49.647Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2021-12-10T05:45:49.763Z] HTTP request sent, awaiting response... 302 Found [2021-12-10T05:45:49.764Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-12-10T05:45:49.764Z] --2021-12-10 05:45:49-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-12-10T05:45:49.764Z] Resolving codeload.github.com (codeload.github.com)... 140.82.114.10 [2021-12-10T05:45:49.764Z] Connecting to codeload.github.com (codeload.github.com)|140.82.114.10|:443... connected. [2021-12-10T05:45:50.024Z] HTTP request sent, awaiting response... 200 OK [2021-12-10T05:45:50.024Z] Length: unspecified [application/x-gzip] [2021-12-10T05:45:50.024Z] Saving to: 'STDOUT' [2021-12-10T05:45:50.024Z] [2021-12-10T05:45:50.024Z] 0K .......... ......  852K=0.02s [2021-12-10T05:45:50.024Z] [2021-12-10T05:45:50.024Z] 2021-12-10 05:45:49 (852 KB/s) - written to stdout [16451] [2021-12-10T05:45:50.024Z] [2021-12-10T05:45:50.024Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-12-10T05:45:50.024Z] + wget -O - https://github.com.cnpmjs.org/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2021-12-10T05:45:50.024Z] + tar -C deps -z -x -f - [2021-12-10T05:45:50.024Z] --2021-12-10 05:45:49-- https://github.com.cnpmjs.org/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2021-12-10T05:45:50.024Z] Resolving github.com.cnpmjs.org (github.com.cnpmjs.org)... 47.241.4.205 [2021-12-10T05:45:50.248Z] Removing intermediate container 4a27ef112f38 [2021-12-10T05:45:50.248Z] ---> 444b0d62e711 [2021-12-10T05:45:50.248Z] Step 4/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2021-12-10T05:45:50.287Z] Connecting to github.com.cnpmjs.org (github.com.cnpmjs.org)|47.241.4.205|:443... connected. [2021-12-10T05:45:50.526Z] ---> Running in 99f13de7d134 [2021-12-10T05:45:51.430Z] HTTP request sent, awaiting response... 302 Found [2021-12-10T05:45:51.430Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [following] [2021-12-10T05:45:51.430Z] --2021-12-10 05:45:51-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [2021-12-10T05:45:51.430Z] Resolving codeload.github.com (codeload.github.com)... 140.82.114.10 [2021-12-10T05:45:51.430Z] Connecting to codeload.github.com (codeload.github.com)|140.82.114.10|:443... connected. [2021-12-10T05:45:51.692Z] HTTP request sent, awaiting response... 200 OK [2021-12-10T05:45:51.692Z] Length: unspecified [application/x-gzip] [2021-12-10T05:45:51.692Z] Saving to: 'STDOUT' [2021-12-10T05:45:51.692Z] [2021-12-10T05:45:51.692Z] 0K .......... .......... .......... .......... .......... 1.26M [2021-12-10T05:45:51.692Z] 50K .......... .......... .......... .......... .......... 2.46M [2021-12-10T05:45:51.692Z] 100K .......... .......... .......... .......... .......... 27.2M [2021-12-10T05:45:51.953Z] Removing intermediate container 99f13de7d134 [2021-12-10T05:45:51.953Z] ---> 31a1afabd4cc [2021-12-10T05:45:51.953Z] Step 5/24 : RUN apk add --update --no-cache build-base bash wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev-1.3 hiredis-dev [2021-12-10T05:45:52.226Z] ---> Running in 3df67e3c7f69 [2021-12-10T05:45:52.276Z] 150K .......... .......... .......... ......... 4.60M=0.07s [2021-12-10T05:45:52.276Z] [2021-12-10T05:45:52.276Z] 2021-12-10 05:45:52 (2.69 MB/s) - written to stdout [193961] [2021-12-10T05:45:52.276Z] [2021-12-10T05:45:52.276Z] + mkdir -p src/c/iot [2021-12-10T05:45:52.276Z] + 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 [2021-12-10T05:45:52.276Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2021-12-10T05:45:52.276Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2021-12-10T05:45:52.276Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2021-12-10T05:45:52.276Z] + mkdir -p include/iot [2021-12-10T05:45:52.276Z] + 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 [2021-12-10T05:45:52.276Z] + mkdir -p include/iot/os [2021-12-10T05:45:52.276Z] + 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 [2021-12-10T05:45:52.276Z] + wget -O - https://github.com.cnpmjs.org/edgego/prometheus-client-c/archive/refs/tags/v0.1.3.1.tar.gz [2021-12-10T05:45:52.276Z] + tar -C deps -z -x -f - [2021-12-10T05:45:52.276Z] --2021-12-10 05:45:52-- https://github.com.cnpmjs.org/edgego/prometheus-client-c/archive/refs/tags/v0.1.3.1.tar.gz [2021-12-10T05:45:52.276Z] Resolving github.com.cnpmjs.org (github.com.cnpmjs.org)... 47.241.4.205 [2021-12-10T05:45:52.537Z] Connecting to github.com.cnpmjs.org (github.com.cnpmjs.org)|47.241.4.205|:443... connected. [2021-12-10T05:45:53.203Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-12-10T05:45:53.682Z] HTTP request sent, awaiting response... 302 Found [2021-12-10T05:45:53.682Z] Location: https://codeload.github.com/edgego/prometheus-client-c/tar.gz/refs/tags/v0.1.3.1 [following] [2021-12-10T05:45:53.682Z] --2021-12-10 05:45:53-- https://codeload.github.com/edgego/prometheus-client-c/tar.gz/refs/tags/v0.1.3.1 [2021-12-10T05:45:53.682Z] Resolving codeload.github.com (codeload.github.com)... 140.82.114.10 [2021-12-10T05:45:53.682Z] Connecting to codeload.github.com (codeload.github.com)|140.82.114.10|:443... connected. [2021-12-10T05:45:53.682Z] HTTP request sent, awaiting response... 200 OK [2021-12-10T05:45:53.682Z] Length: unspecified [application/x-gzip] [2021-12-10T05:45:53.682Z] Saving to: 'STDOUT' [2021-12-10T05:45:53.682Z] [2021-12-10T05:45:53.682Z] 0K .......... .......... .......... .......... .......... 1.25M [2021-12-10T05:45:53.945Z] 50K .......... .......... .......... .......... .......... 2.51M [2021-12-10T05:45:53.945Z] 100K .......... .......... .......... .......... .......... 72.9M [2021-12-10T05:45:53.945Z] 150K .......... .......... .......... .......... .......... 2.59M [2021-12-10T05:45:53.945Z] 200K .......... .......... .......... .......... .......... 64.1M [2021-12-10T05:45:53.945Z] 250K .......... .......... .......... .......... .......... 11.9M [2021-12-10T05:45:53.945Z] 300K .......... .......... .......... .......... .......... 3.23M [2021-12-10T05:45:53.945Z] 350K .......... .......... .......... .......... .......... 37.0M [2021-12-10T05:45:53.945Z] 400K .......... .......... .......... .......... .......... 11.0M [2021-12-10T05:45:53.945Z] 450K .......... .......... .......... .......... .......... 35.6M [2021-12-10T05:45:53.945Z] 500K .......... .......... .......... .......... .......... 14.2M [2021-12-10T05:45:53.945Z] 550K .......... .......... .......... .......... .......... 17.3M [2021-12-10T05:45:53.945Z] 600K .......... .......... .......... .......... .......... 8.27M [2021-12-10T05:45:53.945Z] 650K .......... .......... .......... .......... .......... 54.6M [2021-12-10T05:45:53.945Z] 700K .......... .......... .......... .......... .......... 14.5M [2021-12-10T05:45:53.945Z] 750K .......... .......... .......... .......... .......... 3.54M [2021-12-10T05:45:53.945Z] 800K .......... .......... .......... .......... .......... 11.3M [2021-12-10T05:45:53.945Z] 850K .......... .......... .......... .......... .......... 44.5M [2021-12-10T05:45:53.945Z] 900K .......... .......... .......... .......... .......... 43.8M [2021-12-10T05:45:53.945Z] 950K .......... .......... .......... .......... .......... 7.96M [2021-12-10T05:45:53.945Z] 1000K ...... 2.15M=0.2s [2021-12-10T05:45:53.945Z] [2021-12-10T05:45:53.945Z] 2021-12-10 05:45:53 (6.51 MB/s) - written to stdout [1030327] [2021-12-10T05:45:53.945Z] [2021-12-10T05:45:53.945Z] + cd ./deps/prometheus-client-c-0.1.3.1 [2021-12-10T05:45:53.945Z] + /bin/bash ./auto build [2021-12-10T05:45:53.945Z]  [2021-12-10T05:45:53.945Z] ######################################################################## [2021-12-10T05:45:53.945Z] > Executing build [2021-12-10T05:45:53.945Z] ######################################################################## [2021-12-10T05:45:53.945Z] [2021-12-10T05:45:53.945Z]  [2021-12-10T05:45:53.945Z] ######################################################################## [2021-12-10T05:45:53.945Z] > prom: CMake Build Stage [2021-12-10T05:45:53.945Z] ######################################################################## [2021-12-10T05:45:53.945Z] [2021-12-10T05:45:53.945Z] -- The C compiler identification is GNU 10.3.1 [2021-12-10T05:45:53.945Z] -- Detecting C compiler ABI info [2021-12-10T05:45:54.177Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-12-10T05:45:54.211Z] -- Detecting C compiler ABI info - done [2021-12-10T05:45:54.211Z] -- Check for working C compiler: /usr/bin/gcc - skipped [2021-12-10T05:45:54.211Z] -- Detecting C compile features [2021-12-10T05:45:54.211Z] -- Detecting C compile features - done [2021-12-10T05:45:54.211Z] -- Looking for pthread.h [2021-12-10T05:45:54.211Z] -- Looking for pthread.h - found [2021-12-10T05:45:54.211Z] -- Performing Test CMAKE_HAVE_LIBC_PTHREAD [2021-12-10T05:45:54.211Z] -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success [2021-12-10T05:45:54.211Z] -- Found Threads: TRUE [2021-12-10T05:45:54.211Z] -- Configuring done [2021-12-10T05:45:54.211Z] -- Generating done [2021-12-10T05:45:54.211Z] -- Build files have been written to: /tmp/sdk/deps/prometheus-client-c-0.1.3.1/prom/build [2021-12-10T05:45:54.211Z]  [2021-12-10T05:45:54.211Z] ######################################################################## [2021-12-10T05:45:54.211Z] > prom: Make Build Stage [2021-12-10T05:45:54.211Z] ######################################################################## [2021-12-10T05:45:54.211Z] [2021-12-10T05:45:54.447Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz [2021-12-10T05:45:54.474Z] [ 5%] Building C object CMakeFiles/prom.dir/src/prom_collector.c.o [2021-12-10T05:45:54.474Z] [ 11%] Building C object CMakeFiles/prom.dir/src/prom_collector_registry.c.o [2021-12-10T05:45:54.474Z] [ 16%] Building C object CMakeFiles/prom.dir/src/prom_counter.c.o [2021-12-10T05:45:54.474Z] [ 22%] Building C object CMakeFiles/prom.dir/src/prom_gauge.c.o [2021-12-10T05:45:54.474Z] [ 27%] Building C object CMakeFiles/prom.dir/src/prom_histogram.c.o [2021-12-10T05:45:54.736Z] [ 33%] Building C object CMakeFiles/prom.dir/src/prom_histogram_buckets.c.o [2021-12-10T05:45:54.736Z] [ 38%] Building C object CMakeFiles/prom.dir/src/prom_linked_list.c.o [2021-12-10T05:45:54.736Z] [ 44%] Building C object CMakeFiles/prom.dir/src/prom_map.c.o [2021-12-10T05:45:54.736Z] [ 50%] Building C object CMakeFiles/prom.dir/src/prom_metric.c.o [2021-12-10T05:45:54.736Z] [ 55%] Building C object CMakeFiles/prom.dir/src/prom_metric_formatter.c.o [2021-12-10T05:45:54.998Z] [ 61%] Building C object CMakeFiles/prom.dir/src/prom_metric_sample.c.o [2021-12-10T05:45:54.998Z] [ 66%] Building C object CMakeFiles/prom.dir/src/prom_metric_sample_histogram.c.o [2021-12-10T05:45:54.998Z] [ 72%] Building C object CMakeFiles/prom.dir/src/prom_process_fds.c.o [2021-12-10T05:45:54.998Z] [ 77%] Building C object CMakeFiles/prom.dir/src/prom_process_limits.c.o [2021-12-10T05:45:55.035Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2021-12-10T05:45:55.035Z] (1/29) Installing readline (8.1.0-r0) [2021-12-10T05:45:55.035Z] (2/29) Installing bash (5.1.4-r0) [2021-12-10T05:45:55.262Z] [ 83%] Building C object CMakeFiles/prom.dir/src/prom_process_stat.c.o [2021-12-10T05:45:55.262Z] [ 88%] Building C object CMakeFiles/prom.dir/src/prom_procfs.c.o [2021-12-10T05:45:55.262Z] [ 94%] Building C object CMakeFiles/prom.dir/src/prom_string_builder.c.o [2021-12-10T05:45:55.262Z] [100%] Linking C shared library libprom.so [2021-12-10T05:45:55.262Z] [100%] Built target prom [2021-12-10T05:45:55.305Z] Executing bash-5.1.4-r0.post-install [2021-12-10T05:45:55.305Z] (3/29) Installing hiredis (1.0.0-r0) [2021-12-10T05:45:55.522Z]  [2021-12-10T05:45:55.522Z] ######################################################################## [2021-12-10T05:45:55.522Z] > promhttp: CMake Build Stage [2021-12-10T05:45:55.522Z] ######################################################################## [2021-12-10T05:45:55.522Z] [2021-12-10T05:45:55.522Z] -- The C compiler identification is GNU 10.3.1 [2021-12-10T05:45:55.522Z] -- Detecting C compiler ABI info [2021-12-10T05:45:55.522Z] -- Detecting C compiler ABI info - done [2021-12-10T05:45:55.522Z] -- Check for working C compiler: /usr/bin/gcc - skipped [2021-12-10T05:45:55.522Z] -- Detecting C compile features [2021-12-10T05:45:55.522Z] -- Detecting C compile features - done [2021-12-10T05:45:55.522Z] -- Looking for pthread.h [2021-12-10T05:45:55.575Z] (4/29) Installing hiredis-dev (1.0.0-r0) [2021-12-10T05:45:55.575Z] (5/29) Installing ncurses-dev (6.2_p20210612-r0) [2021-12-10T05:45:55.575Z] (6/29) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2021-12-10T05:45:55.787Z] -- Looking for pthread.h - found [2021-12-10T05:45:55.787Z] -- Performing Test CMAKE_HAVE_LIBC_PTHREAD [2021-12-10T05:45:55.787Z] -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success [2021-12-10T05:45:55.787Z] -- Found Threads: TRUE [2021-12-10T05:45:55.787Z] -- Configuring done [2021-12-10T05:45:55.787Z] -- Generating done [2021-12-10T05:45:55.787Z] -- Build files have been written to: /tmp/sdk/deps/prometheus-client-c-0.1.3.1/promhttp/build [2021-12-10T05:45:55.787Z]  [2021-12-10T05:45:55.787Z] ######################################################################## [2021-12-10T05:45:55.787Z] > promhttp: Make Build Stage [2021-12-10T05:45:55.787Z] ######################################################################## [2021-12-10T05:45:55.787Z] [2021-12-10T05:45:55.787Z] [ 50%] Building C object CMakeFiles/promhttp.dir/src/promhttp.c.o [2021-12-10T05:45:55.787Z] [100%] Linking C shared library libpromhttp.so [2021-12-10T05:45:55.787Z] [100%] Built target promhttp [2021-12-10T05:45:55.787Z] SUCCESS: Build Complete [2021-12-10T05:45:55.787Z] + /bin/bash ./auto package [2021-12-10T05:45:55.787Z]  [2021-12-10T05:45:55.787Z] ######################################################################## [2021-12-10T05:45:55.787Z] > Executing package [2021-12-10T05:45:55.787Z] ######################################################################## [2021-12-10T05:45:55.787Z] [2021-12-10T05:45:56.049Z] CPack: Create package using TGZ [2021-12-10T05:45:56.049Z] CPack: Install projects [2021-12-10T05:45:56.049Z] CPack: - Run preinstall target for: libprom [2021-12-10T05:45:56.049Z] CPack: - Install project: libprom [] [2021-12-10T05:45:56.049Z] CPack: Create package [2021-12-10T05:45:56.049Z] CPack: - package: /tmp/sdk/deps/prometheus-client-c-0.1.3.1/prom/libprom-dev-0.1.3-Linux.tar.gz generated. [2021-12-10T05:45:56.049Z] CPack: Create package using DEB [2021-12-10T05:45:56.049Z] CPack: Install projects [2021-12-10T05:45:56.049Z] CPack: - Run preinstall target for: libprom [2021-12-10T05:45:56.049Z] CPack: - Install project: libprom [] [2021-12-10T05:45:56.049Z] CPack: Create package [2021-12-10T05:45:56.049Z] -- CPackDeb: Can not find dpkg in your path, default to i386. [2021-12-10T05:45:56.049Z] -- CPACK_DEBIAN_PACKAGE_DEPENDS not set, the package will have no dependencies. [2021-12-10T05:45:56.049Z] CPack: - package: /tmp/sdk/deps/prometheus-client-c-0.1.3.1/prom/libprom-dev-0.1.3-Linux.deb generated. [2021-12-10T05:45:56.049Z] CPack: Create package using TGZ [2021-12-10T05:45:56.049Z] CPack: Install projects [2021-12-10T05:45:56.049Z] CPack: - Run preinstall target for: libpromhttp [2021-12-10T05:45:56.049Z] CPack: - Install project: libpromhttp [] [2021-12-10T05:45:56.049Z] CPack: Create package [2021-12-10T05:45:56.049Z] CPack: - package: /tmp/sdk/deps/prometheus-client-c-0.1.3.1/promhttp/libpromhttp-dev-0.1.3-Linux.tar.gz generated. [2021-12-10T05:45:56.049Z] CPack: Create package using DEB [2021-12-10T05:45:56.049Z] CPack: Install projects [2021-12-10T05:45:56.049Z] CPack: - Run preinstall target for: libpromhttp [2021-12-10T05:45:56.319Z] CPack: - Install project: libpromhttp [] [2021-12-10T05:45:56.319Z] CPack: Create package [2021-12-10T05:45:56.319Z] -- CPackDeb: Can not find dpkg in your path, default to i386. [2021-12-10T05:45:56.319Z] CPack: - package: /tmp/sdk/deps/prometheus-client-c-0.1.3.1/promhttp/libpromhttp-dev-0.1.3-Linux.deb generated. [2021-12-10T05:45:56.319Z] SUCCESS: Package build success [2021-12-10T05:45:56.319Z] + mkdir temp [2021-12-10T05:45:56.319Z] + cp ./prom/libprom-dev-0.1.3-Linux.tar.gz ./promhttp/libpromhttp-dev-0.1.3-Linux.tar.gz temp [2021-12-10T05:45:56.319Z] + cd temp [2021-12-10T05:45:56.319Z] + tar -xf libprom-dev-0.1.3-Linux.tar.gz [2021-12-10T05:45:56.319Z] + cp ./libprom-dev-0.1.3-Linux/include/prom.h ./libprom-dev-0.1.3-Linux/include/prom_alloc.h ./libprom-dev-0.1.3-Linux/include/prom_collector.h ./libprom-dev-0.1.3-Linux/include/prom_collector_registry.h ./libprom-dev-0.1.3-Linux/include/prom_counter.h ./libprom-dev-0.1.3-Linux/include/prom_gauge.h ./libprom-dev-0.1.3-Linux/include/prom_histogram.h ./libprom-dev-0.1.3-Linux/include/prom_histogram_buckets.h ./libprom-dev-0.1.3-Linux/include/prom_linked_list.h ./libprom-dev-0.1.3-Linux/include/prom_map.h ./libprom-dev-0.1.3-Linux/include/prom_metric.h ./libprom-dev-0.1.3-Linux/include/prom_metric_sample.h ./libprom-dev-0.1.3-Linux/include/prom_metric_sample_histogram.h /usr/include [2021-12-10T05:45:56.319Z] + cp './libprom-dev-0.1.3-Linux/lib64/*' /usr/lib [2021-12-10T05:45:56.319Z] cp: can't stat './libprom-dev-0.1.3-Linux/lib64/*': No such file or directory [2021-12-10T05:45:56.319Z] The command '/bin/sh -c cd /tmp/sdk && ./scripts/build.sh && make -C build/release install' returned a non-zero code: 1 [Pipeline] } [Pipeline] // script [Pipeline] } [2021-12-10T05:45:56.546Z] (7/29) Installing libblkid (2.37.2-r0) [2021-12-10T05:45:56.546Z] (8/29) Installing blkid (2.37.2-r0) [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-12-10T05:45:56.820Z] (9/29) Installing libcap-ng (0.8.2-r0) [2021-12-10T05:45:56.820Z] (10/29) Installing setpriv (2.37.2-r0) [2021-12-10T05:45:56.820Z] (11/29) Installing libmount (2.37.2-r0) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [2021-12-10T05:45:57.092Z] (12/29) Installing libsmartcols (2.37.2-r0) [2021-12-10T05:45:57.092Z] (13/29) Installing findmnt (2.37.2-r0) [2021-12-10T05:45:57.092Z] (14/29) Installing mcookie (2.37.2-r0) [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [2021-12-10T05:45:57.362Z] (15/29) Installing hexdump (2.37.2-r0) [2021-12-10T05:45:57.362Z] (16/29) Installing lsblk (2.37.2-r0) [2021-12-10T05:45:57.362Z] (17/29) Installing libuuid (2.37.2-r0) [Pipeline] sh [2021-12-10T05:45:57.633Z] (18/29) Installing libfdisk (2.37.2-r0) [2021-12-10T05:45:57.633Z] (19/29) Installing sfdisk (2.37.2-r0) [2021-12-10T05:45:57.633Z] (20/29) Installing cfdisk (2.37.2-r0) [2021-12-10T05:45:57.655Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-10T05:45:57.655Z] [2021-12-10T05:45:57.655Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-12-10T05:45:57.903Z] (21/29) Installing partx (2.37.2-r0) [2021-12-10T05:45:57.903Z] (22/29) Installing flock (2.37.2-r0) [2021-12-10T05:45:57.903Z] (23/29) Installing logger (2.37.2-r0) [2021-12-10T05:45:58.006Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-10T05:45:58.006Z] latest: Pulling from edgex-lftools-log-publisher [2021-12-10T05:45:58.006Z] b4d181a07f80: Pulling fs layer [2021-12-10T05:45:58.006Z] a1111a8f2ec3: Pulling fs layer [2021-12-10T05:45:58.006Z] ed53099fbce6: Pulling fs layer [2021-12-10T05:45:58.006Z] dc539afda2c1: Pulling fs layer [2021-12-10T05:45:58.006Z] 77bc0d833cb6: Pulling fs layer [2021-12-10T05:45:58.006Z] 9065ff56babe: Pulling fs layer [2021-12-10T05:45:58.006Z] d287ab97295c: Pulling fs layer [2021-12-10T05:45:58.006Z] dc539afda2c1: Waiting [2021-12-10T05:45:58.006Z] 77bc0d833cb6: Waiting [2021-12-10T05:45:58.006Z] 9065ff56babe: Waiting [2021-12-10T05:45:58.006Z] d287ab97295c: Waiting [2021-12-10T05:45:58.006Z] a1111a8f2ec3: Verifying Checksum [2021-12-10T05:45:58.006Z] a1111a8f2ec3: Download complete [2021-12-10T05:45:58.006Z] dc539afda2c1: Verifying Checksum [2021-12-10T05:45:58.006Z] dc539afda2c1: Download complete [2021-12-10T05:45:58.006Z] ed53099fbce6: Verifying Checksum [2021-12-10T05:45:58.006Z] ed53099fbce6: Download complete [2021-12-10T05:45:58.172Z] (24/29) Installing uuidgen (2.37.2-r0) [2021-12-10T05:45:58.172Z] (25/29) Installing libeconf (0.3.8-r1) [2021-12-10T05:45:58.172Z] (26/29) Installing util-linux (2.37.2-r0) [2021-12-10T05:45:58.268Z] 9065ff56babe: Verifying Checksum [2021-12-10T05:45:58.268Z] 9065ff56babe: Download complete [2021-12-10T05:45:58.268Z] 77bc0d833cb6: Verifying Checksum [2021-12-10T05:45:58.268Z] 77bc0d833cb6: Download complete [2021-12-10T05:45:58.268Z] b4d181a07f80: Verifying Checksum [2021-12-10T05:45:58.268Z] b4d181a07f80: Download complete [2021-12-10T05:45:58.762Z] (27/29) Installing util-linux-dev (2.37.2-r0) [2021-12-10T05:45:58.762Z] (28/29) Installing libidn2 (2.3.1-r0) [2021-12-10T05:45:58.762Z] (29/29) Installing wget (1.21.1-r1) [2021-12-10T05:45:58.844Z] d287ab97295c: Verifying Checksum [2021-12-10T05:45:58.844Z] d287ab97295c: Download complete [2021-12-10T05:45:59.034Z] Executing busybox-1.33.1-r3.trigger [2021-12-10T05:45:59.034Z] OK: 288 MiB in 106 packages [2021-12-10T05:45:59.806Z] b4d181a07f80: Pull complete [2021-12-10T05:46:00.068Z] a1111a8f2ec3: Pull complete [2021-12-10T05:46:00.464Z] Removing intermediate container 3df67e3c7f69 [2021-12-10T05:46:00.464Z] ---> e5f5b955209b [2021-12-10T05:46:00.464Z] Step 6/24 : ENV CBOR_VERSION=0.5.0 [2021-12-10T05:46:00.464Z] ---> Running in 1f28b0a0e2db [2021-12-10T05:46:00.670Z] ed53099fbce6: Pull complete [2021-12-10T05:46:00.670Z] dc539afda2c1: Pull complete [2021-12-10T05:46:00.735Z] Removing intermediate container 1f28b0a0e2db [2021-12-10T05:46:00.735Z] ---> 2961c5d36259 [2021-12-10T05:46:00.735Z] Step 7/24 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install [2021-12-10T05:46:00.938Z] 77bc0d833cb6: Pull complete [2021-12-10T05:46:00.938Z] 9065ff56babe: Pull complete [2021-12-10T05:46:01.014Z] ---> Running in 2ff8d1a191ed [2021-12-10T05:46:01.993Z] --2021-12-10 05:46:01-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-12-10T05:46:01.993Z] Resolving github.com (github.com)... 140.82.112.3 [2021-12-10T05:46:01.993Z] Connecting to github.com (github.com)|140.82.112.3|:443... connected. [2021-12-10T05:46:01.993Z] HTTP request sent, awaiting response... 302 Found [2021-12-10T05:46:01.993Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-12-10T05:46:01.993Z] --2021-12-10 05:46:01-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-12-10T05:46:01.993Z] Resolving codeload.github.com (codeload.github.com)... 140.82.114.10 [2021-12-10T05:46:01.993Z] Connecting to codeload.github.com (codeload.github.com)|140.82.114.10|:443... connected. [2021-12-10T05:46:02.267Z] HTTP request sent, awaiting response... 200 OK [2021-12-10T05:46:02.267Z] Length: unspecified [application/x-gzip] [2021-12-10T05:46:02.267Z] Saving to: 'STDOUT' [2021-12-10T05:46:02.267Z]  [2021-12-10T05:46:02.267Z] 0K .......... .......... .......... .......... .......... 1.23M [2021-12-10T05:46:02.267Z] 50K .......... .......... .......... .......... .......... 2.42M [2021-12-10T05:46:02.267Z] 100K .......... .......... .......... .......... .......... 15.2M [2021-12-10T05:46:02.267Z] 150K .......... .......... .......... .......... .......... 2.91M [2021-12-10T05:46:02.267Z] 200K .......... .......... .......... .......... .......... 4.63M [2021-12-10T05:46:02.267Z] 250K .......... .......... .......... .......... .......... 5.15M [2021-12-10T05:46:02.267Z] 300K .......... .......... .......... .......... .......... 5.73M [2021-12-10T05:46:02.267Z] 350K .......... .......... .......... .......... .......... 5.07M [2021-12-10T05:46:02.267Z] 400K .......... .......... .......... .......... .......... 3.56M [2021-12-10T05:46:02.267Z] 450K .......... .......... .......... .......... .......... 3.31M [2021-12-10T05:46:02.267Z] 500K .......... .......... .......... .......... .......... 9.59M [2021-12-10T05:46:02.267Z] 550K .......... .......... .......... .......... .......... 2.73M [2021-12-10T05:46:02.267Z] 600K .......... .......... .......... .......... .......... 879K [2021-12-10T05:46:02.267Z] 650K .......... .......... .......... .......... .......... 2.85M [2021-12-10T05:46:02.267Z] 700K ..      3.49M=0.2s [2021-12-10T05:46:02.267Z] [2021-12-10T05:46:02.267Z] 2021-12-10 05:46:02 (2.81 MB/s) - written to stdout [719348] [2021-12-10T05:46:02.267Z] [2021-12-10T05:46:02.859Z] -- The C compiler identification is GNU 10.3.1 [2021-12-10T05:46:02.859Z] -- The CXX compiler identification is GNU 10.3.1 [2021-12-10T05:46:03.134Z] -- Detecting C compiler ABI info [2021-12-10T05:46:03.407Z] -- Detecting C compiler ABI info - done [2021-12-10T05:46:03.407Z] -- Check for working C compiler: /usr/bin/cc - skipped [2021-12-10T05:46:03.407Z] -- Detecting C compile features [2021-12-10T05:46:03.407Z] -- Detecting C compile features - done [2021-12-10T05:46:03.407Z] -- Detecting CXX compiler ABI info [2021-12-10T05:46:03.681Z] -- Detecting CXX compiler ABI info - done [2021-12-10T05:46:03.681Z] -- Check for working CXX compiler: /usr/bin/c++ - skipped [2021-12-10T05:46:03.681Z] -- Detecting CXX compile features [2021-12-10T05:46:03.681Z] -- Detecting CXX compile features - done [2021-12-10T05:46:03.681Z] -- Looking for include file endian.h [2021-12-10T05:46:03.955Z] -- Looking for include file endian.h - found [2021-12-10T05:46:03.955Z] -- Looking for sys/types.h [2021-12-10T05:46:04.228Z] -- Looking for sys/types.h - found [2021-12-10T05:46:04.228Z] -- Looking for stdint.h [2021-12-10T05:46:04.499Z] -- Looking for stdint.h - found [2021-12-10T05:46:04.499Z] -- Looking for stddef.h [2021-12-10T05:46:04.771Z] -- Looking for stddef.h - found [2021-12-10T05:46:04.771Z] -- Check size of size_t [2021-12-10T05:46:05.044Z] -- Check size of size_t - done [2021-12-10T05:46:05.044Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-12-10T05:46:05.044Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-12-10T05:46:05.044Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-12-10T05:46:05.044Z] CMake did not find one. [2021-12-10T05:46:05.044Z] [2021-12-10T05:46:05.044Z] Could not find a package configuration file provided by "cJSON" with any of [2021-12-10T05:46:05.044Z] the following names: [2021-12-10T05:46:05.044Z] [2021-12-10T05:46:05.044Z] cJSONConfig.cmake [2021-12-10T05:46:05.044Z] cjson-config.cmake [2021-12-10T05:46:05.044Z] [2021-12-10T05:46:05.044Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-12-10T05:46:05.044Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-12-10T05:46:05.044Z] provides a separate development package or SDK, be sure it has been [2021-12-10T05:46:05.044Z] installed. [2021-12-10T05:46:05.044Z] [2021-12-10T05:46:05.044Z] [2021-12-10T05:46:05.044Z] -- Configuring done [2021-12-10T05:46:05.320Z] -- Generating done [2021-12-10T05:46:05.320Z] -- Build files have been written to: /tmp/cbor [2021-12-10T05:46:05.591Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-12-10T05:46:06.566Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-12-10T05:46:07.157Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-12-10T05:46:07.431Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-12-10T05:46:07.557Z] d287ab97295c: Pull complete [2021-12-10T05:46:07.557Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-12-10T05:46:07.557Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-10T05:46:07.557Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-12-10T05:46:07.661Z] prd-centos7-docker-4c-2g-596 does not seem to be running inside a container [2021-12-10T05:46:07.702Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-12-10T05:46:08.022Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-12-10T05:46:08.295Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-12-10T05:46:08.564Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-12-10T05:46:08.835Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-12-10T05:46:09.108Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-12-10T05:46:09.380Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-12-10T05:46:09.960Z] $ docker top 63b915b6d77661ac33bd9570b399f93023213954f9532faa16e18ce7fb8b134b -eo pid,comm [2021-12-10T05:46:09.972Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-10T05:46:10.491Z] ---> job-cost.sh [2021-12-10T05:46:10.491Z] lf-activate-venv: SKIPPING [2021-12-10T05:46:10.491Z] INFO: No Stack... [2021-12-10T05:46:10.564Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-12-10T05:46:10.755Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-12-10T05:46:10.837Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-12-10T05:46:11.015Z] INFO: Archiving Costs [Pipeline] sh [2021-12-10T05:46:11.327Z] + cat /w/workspace/device-sdk-c/1/archives/cost.csv [2021-12-10T05:46:11.327Z] + cut -d, -f6 [Pipeline] lock [2021-12-10T05:46:11.386Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-388-1-stack-cost] [2021-12-10T05:46:11.390Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-388-1-stack-cost] did not exist. Created. [2021-12-10T05:46:11.390Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-388-1-stack-cost] [Pipeline] { [2021-12-10T05:46:11.432Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [Pipeline] unstash [Pipeline] sh [2021-12-10T05:46:11.706Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-12-10T05:46:11.786Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-12-10T05:46:11.977Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-12-10T05:46:11.998Z] Stashed 1 file(s) [Pipeline] } [2021-12-10T05:46:12.013Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-388-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-12-10T05:46:12.088Z] $ docker stop --time=1 63b915b6d77661ac33bd9570b399f93023213954f9532faa16e18ce7fb8b134b [2021-12-10T05:46:12.253Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-12-10T05:46:12.526Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-12-10T05:46:12.798Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-12-10T05:46:13.068Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-12-10T05:46:13.244Z] $ docker rm -f 63b915b6d77661ac33bd9570b399f93023213954f9532faa16e18ce7fb8b134b [2021-12-10T05:46:13.343Z] [ 40%] Linking C shared library libcbor.so [2021-12-10T05:46:13.343Z] [ 40%] Built target cbor_shared [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2021-12-10T05:46:13.620Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-12-10T05:46:13.875Z] Failed in branch amd64 [2021-12-10T05:46:14.589Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-12-10T05:46:15.179Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-12-10T05:46:15.449Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-12-10T05:46:17.415Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-12-10T05:46:17.689Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-12-10T05:46:17.962Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-12-10T05:46:18.235Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-12-10T05:46:18.522Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-12-10T05:46:18.794Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-12-10T05:46:19.766Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-12-10T05:46:20.039Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-12-10T05:46:20.630Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-12-10T05:46:20.902Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-12-10T05:46:21.495Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-12-10T05:46:21.495Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-12-10T05:46:22.087Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-12-10T05:46:22.361Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-12-10T05:46:22.633Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-12-10T05:46:22.903Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-12-10T05:46:23.176Z] [ 80%] Linking C static library libcbor.a [2021-12-10T05:46:23.176Z] [ 80%] Built target cbor [2021-12-10T05:46:23.176Z] [ 82%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-12-10T05:46:23.448Z] [ 84%] Linking C executable readfile [2021-12-10T05:46:23.720Z] [ 84%] Built target readfile [2021-12-10T05:46:23.720Z] [ 86%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-12-10T05:46:23.990Z] [ 88%] Linking C executable create_items [2021-12-10T05:46:23.990Z] [ 88%] Built target create_items [2021-12-10T05:46:23.990Z] [ 90%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-12-10T05:46:24.261Z] [ 92%] Linking C executable sort [2021-12-10T05:46:24.261Z] [ 92%] Built target sort [2021-12-10T05:46:24.261Z] [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-12-10T05:46:24.532Z] [ 96%] Linking C executable hello [2021-12-10T05:46:24.532Z] [ 96%] Built target hello [2021-12-10T05:46:24.807Z] [ 98%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-12-10T05:46:25.077Z] [100%] Linking C executable streaming_parser [2021-12-10T05:46:25.077Z] [100%] Built target streaming_parser [2021-12-10T05:46:25.077Z] Install the project... [2021-12-10T05:46:25.077Z] -- Install configuration: "Release" [2021-12-10T05:46:25.077Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-12-10T05:46:25.077Z] -- Installing: /usr/local/lib/libcbor.a [2021-12-10T05:46:25.077Z] -- Installing: /usr/local/lib/libcbor.so.0.0.0 [2021-12-10T05:46:25.077Z] -- Installing: /usr/local/lib/libcbor.so.0 [2021-12-10T05:46:25.077Z] -- Installing: /usr/local/lib/libcbor.so [2021-12-10T05:46:25.077Z] -- Up-to-date: /usr/local/include/cbor [2021-12-10T05:46:25.077Z] -- Installing: /usr/local/include/cbor/data.h [2021-12-10T05:46:25.077Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-12-10T05:46:25.077Z] -- Installing: /usr/local/include/cbor/ints.h [2021-12-10T05:46:25.077Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-12-10T05:46:25.077Z] -- Installing: /usr/local/include/cbor/maps.h [2021-12-10T05:46:25.077Z] -- Installing: /usr/local/include/cbor/tags.h [2021-12-10T05:46:25.077Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-12-10T05:46:25.077Z] -- Installing: /usr/local/include/cbor/common.h [2021-12-10T05:46:25.077Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-12-10T05:46:25.077Z] -- Installing: /usr/local/include/cbor/internal [2021-12-10T05:46:25.077Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-12-10T05:46:25.077Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-12-10T05:46:25.077Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-12-10T05:46:25.077Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-12-10T05:46:25.077Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-12-10T05:46:25.077Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-12-10T05:46:25.077Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-12-10T05:46:25.077Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-12-10T05:46:25.077Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-12-10T05:46:25.077Z] -- Installing: /usr/local/include/cbor/strings.h [2021-12-10T05:46:25.077Z] -- Installing: /usr/local/include/cbor.h [2021-12-10T05:46:25.077Z] -- Installing: /usr/local/lib/pkgconfig/libcbor.pc [2021-12-10T05:46:27.045Z] Removing intermediate container 2ff8d1a191ed [2021-12-10T05:46:27.045Z] ---> d3e9ca3b6db6 [2021-12-10T05:46:27.045Z] Step 8/24 : RUN mkdir /tmp/sdk [2021-12-10T05:46:27.045Z] ---> Running in 2453fc7797a5 [2021-12-10T05:46:29.016Z] Removing intermediate container 2453fc7797a5 [2021-12-10T05:46:29.016Z] ---> ccd55ab42074 [2021-12-10T05:46:29.016Z] Step 9/24 : COPY VERSION /tmp/sdk [2021-12-10T05:46:29.290Z] ---> 2f473c2257a5 [2021-12-10T05:46:29.290Z] Step 10/24 : COPY src /tmp/sdk/src [2021-12-10T05:46:30.276Z] ---> 1e8aa7f4c1c4 [2021-12-10T05:46:30.276Z] Step 11/24 : COPY include /tmp/sdk/include [2021-12-10T05:46:30.877Z] ---> 77b6584f0ba8 [2021-12-10T05:46:30.877Z] Step 12/24 : COPY scripts /tmp/sdk/scripts [2021-12-10T05:46:31.469Z] ---> ff4c56100a61 [2021-12-10T05:46:31.469Z] Step 13/24 : COPY LICENSE /tmp/sdk [2021-12-10T05:46:32.064Z] ---> 8a36bdeb5419 [2021-12-10T05:46:32.064Z] Step 14/24 : COPY Attribution.txt /tmp/sdk [2021-12-10T05:46:32.657Z] ---> d4842c9f84c0 [2021-12-10T05:46:32.657Z] Step 15/24 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-12-10T05:46:32.657Z] ---> Running in 1d69091938c3 [2021-12-10T05:46:33.632Z] + CPPCHECK=false [2021-12-10T05:46:33.632Z] + DOCGEN=false [2021-12-10T05:46:33.632Z] + TOMLVER=SDK-0.2 [2021-12-10T05:46:33.632Z] + CUTILVER=1.2.2 [2021-12-10T05:46:33.632Z] + '[' 0 -gt 0 ] [2021-12-10T05:46:33.632Z] + readlink -f ./scripts/build.sh [2021-12-10T05:46:33.632Z] + dirname /tmp/sdk/scripts/build.sh [2021-12-10T05:46:33.632Z] + dirname /tmp/sdk/scripts [2021-12-10T05:46:33.632Z] + ROOT=/tmp/sdk [2021-12-10T05:46:33.632Z] + cd /tmp/sdk [2021-12-10T05:46:33.632Z] + '[' '!' -d deps ] [2021-12-10T05:46:33.632Z] + mkdir deps [2021-12-10T05:46:33.632Z] + wget -O - https://github.com.cnpmjs.org/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-12-10T05:46:33.632Z] + tar -C deps -z -x -f - [2021-12-10T05:46:33.632Z] --2021-12-10 05:46:33-- https://github.com.cnpmjs.org/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-12-10T05:46:33.632Z] Resolving github.com.cnpmjs.org (github.com.cnpmjs.org)... 47.241.4.205 [2021-12-10T05:46:33.902Z] Connecting to github.com.cnpmjs.org (github.com.cnpmjs.org)|47.241.4.205|:443... connected. [2021-12-10T05:46:34.758Z] HTTP request sent, awaiting response... 302 Found [2021-12-10T05:46:34.758Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-12-10T05:46:34.758Z] --2021-12-10 05:46:34-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-12-10T05:46:34.758Z] Resolving codeload.github.com (codeload.github.com)... 140.82.114.10 [2021-12-10T05:46:34.758Z] Connecting to codeload.github.com (codeload.github.com)|140.82.114.10|:443... connected. [2021-12-10T05:46:34.758Z] HTTP request sent, awaiting response... 200 OK [2021-12-10T05:46:34.758Z] Length: unspecified [application/x-gzip] [2021-12-10T05:46:34.758Z] Saving to: 'STDOUT' [2021-12-10T05:46:34.758Z]  [2021-12-10T05:46:34.758Z] 0K .......... ......  850K=0.02s [2021-12-10T05:46:34.758Z] [2021-12-10T05:46:34.758Z] 2021-12-10 05:46:34 (850 KB/s) - written to stdout [16451] [2021-12-10T05:46:34.758Z] [2021-12-10T05:46:34.758Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-12-10T05:46:34.758Z] + wget -O - https://github.com.cnpmjs.org/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2021-12-10T05:46:34.758Z] + tar -C deps -z -x -f - [2021-12-10T05:46:34.758Z] --2021-12-10 05:46:34-- https://github.com.cnpmjs.org/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2021-12-10T05:46:34.758Z] Resolving github.com.cnpmjs.org (github.com.cnpmjs.org)... 47.241.4.205 [2021-12-10T05:46:35.345Z] Connecting to github.com.cnpmjs.org (github.com.cnpmjs.org)|47.241.4.205|:443... connected. [2021-12-10T05:46:36.207Z] HTTP request sent, awaiting response... 302 Found [2021-12-10T05:46:36.207Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [following] [2021-12-10T05:46:36.207Z] --2021-12-10 05:46:35-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [2021-12-10T05:46:36.207Z] Resolving codeload.github.com (codeload.github.com)... 140.82.114.10 [2021-12-10T05:46:36.207Z] Connecting to codeload.github.com (codeload.github.com)|140.82.114.10|:443... connected. [2021-12-10T05:46:36.207Z] HTTP request sent, awaiting response... 200 OK [2021-12-10T05:46:36.207Z] Length: unspecified [application/x-gzip] [2021-12-10T05:46:36.207Z] Saving to: 'STDOUT' [2021-12-10T05:46:36.207Z] [2021-12-10T05:46:36.207Z] 0K .......... .......... .......... .......... .......... 1.27M [2021-12-10T05:46:36.207Z] 50K .......... .......... .......... .......... .......... 2.50M [2021-12-10T05:46:36.207Z] 100K .......... .......... .......... .......... .......... 5.75M [2021-12-10T05:46:36.207Z] 150K .......... .......... .......... ......... 2.61M=0.08s [2021-12-10T05:46:36.207Z] [2021-12-10T05:46:36.207Z] 2021-12-10 05:46:36 (2.28 MB/s) - written to stdout [193961] [2021-12-10T05:46:36.207Z] [2021-12-10T05:46:36.207Z] + mkdir -p src/c/iot [2021-12-10T05:46:36.207Z] + 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 [2021-12-10T05:46:36.207Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2021-12-10T05:46:36.207Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2021-12-10T05:46:36.207Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2021-12-10T05:46:36.207Z] + mkdir -p include/iot [2021-12-10T05:46:36.207Z] + 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 [2021-12-10T05:46:36.207Z] + mkdir -p include/iot/os [2021-12-10T05:46:36.207Z] + 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 [2021-12-10T05:46:36.207Z] + wget -O - https://github.com.cnpmjs.org/edgego/prometheus-client-c/archive/refs/tags/v0.1.3.1.tar.gz [2021-12-10T05:46:36.207Z] + tar -C deps -z -x -f - [2021-12-10T05:46:36.207Z] --2021-12-10 05:46:36-- https://github.com.cnpmjs.org/edgego/prometheus-client-c/archive/refs/tags/v0.1.3.1.tar.gz [2021-12-10T05:46:36.479Z] Resolving github.com.cnpmjs.org (github.com.cnpmjs.org)... 47.241.4.205 [2021-12-10T05:46:36.479Z] Connecting to github.com.cnpmjs.org (github.com.cnpmjs.org)|47.241.4.205|:443... connected. [2021-12-10T05:46:37.339Z] HTTP request sent, awaiting response... 302 Found [2021-12-10T05:46:37.339Z] Location: https://codeload.github.com/edgego/prometheus-client-c/tar.gz/refs/tags/v0.1.3.1 [following] [2021-12-10T05:46:37.339Z] --2021-12-10 05:46:37-- https://codeload.github.com/edgego/prometheus-client-c/tar.gz/refs/tags/v0.1.3.1 [2021-12-10T05:46:37.339Z] Resolving codeload.github.com (codeload.github.com)... 140.82.114.10 [2021-12-10T05:46:37.339Z] Connecting to codeload.github.com (codeload.github.com)|140.82.114.10|:443... connected. [2021-12-10T05:46:37.611Z] HTTP request sent, awaiting response... 200 OK [2021-12-10T05:46:37.611Z] Length: unspecified [application/x-gzip] [2021-12-10T05:46:37.611Z] Saving to: 'STDOUT' [2021-12-10T05:46:37.611Z]  [2021-12-10T05:46:37.611Z] 0K .......... .......... .......... .......... .......... 1.24M [2021-12-10T05:46:37.611Z] 50K .......... .......... .......... .......... .......... 2.48M [2021-12-10T05:46:37.611Z] 100K .......... .......... .......... .......... .......... 16.6M [2021-12-10T05:46:37.611Z] 150K .......... .......... .......... .......... .......... 3.10M [2021-12-10T05:46:37.611Z] 200K .......... .......... .......... .......... .......... 11.7M [2021-12-10T05:46:37.611Z] 250K .......... .......... .......... .......... .......... 11.4M [2021-12-10T05:46:37.611Z] 300K .......... .......... .......... .......... .......... 9.14M [2021-12-10T05:46:37.611Z] 350K .......... .......... .......... .......... .......... 8.83M [2021-12-10T05:46:37.611Z] 400K .......... .......... .......... .......... .......... 10.9M [2021-12-10T05:46:37.611Z] 450K .......... .......... .......... .......... .......... 9.74M [2021-12-10T05:46:37.611Z] 500K .......... .......... .......... .......... .......... 10.5M [2021-12-10T05:46:37.611Z] 550K .......... .......... .......... .......... .......... 5.71M [2021-12-10T05:46:37.611Z] 600K .......... .......... .......... .......... .......... 10.6M [2021-12-10T05:46:37.611Z] 650K .......... .......... .......... .......... .......... 8.41M [2021-12-10T05:46:37.611Z] 700K .......... .......... .......... .......... .......... 6.29M [2021-12-10T05:46:37.611Z] 750K .......... .......... .......... .......... .......... 794K [2021-12-10T05:46:37.611Z] 800K .......... .......... .......... .......... .......... 3.94M [2021-12-10T05:46:37.611Z] 850K .......... .......... .......... .......... .......... 15.8M [2021-12-10T05:46:37.612Z] 900K .......... .......... .......... .......... .......... 9.40M [2021-12-10T05:46:37.882Z] 950K .......... .......... .......... .......... .......... 1.29M [2021-12-10T05:46:37.882Z] 1000K ......   6.99M=0.3s [2021-12-10T05:46:37.882Z] [2021-12-10T05:46:37.882Z] 2021-12-10 05:46:37 (3.78 MB/s) - written to stdout [1030327] [2021-12-10T05:46:37.882Z] [2021-12-10T05:46:37.882Z] + cd ./deps/prometheus-client-c-0.1.3.1 [2021-12-10T05:46:37.882Z] + /bin/bash ./auto build [2021-12-10T05:46:37.882Z]  [2021-12-10T05:46:37.882Z] ######################################################################## [2021-12-10T05:46:37.882Z] > Executing build [2021-12-10T05:46:37.882Z] ######################################################################## [2021-12-10T05:46:37.882Z] [2021-12-10T05:46:37.882Z]  [2021-12-10T05:46:37.882Z] ######################################################################## [2021-12-10T05:46:37.882Z] > prom: CMake Build Stage [2021-12-10T05:46:37.882Z] ######################################################################## [2021-12-10T05:46:37.882Z] [2021-12-10T05:46:38.153Z] -- The C compiler identification is GNU 10.3.1 [2021-12-10T05:46:38.153Z] -- Detecting C compiler ABI info [2021-12-10T05:46:38.423Z] -- Detecting C compiler ABI info - done [2021-12-10T05:46:38.423Z] -- Check for working C compiler: /usr/bin/gcc - skipped [2021-12-10T05:46:38.423Z] -- Detecting C compile features [2021-12-10T05:46:38.423Z] -- Detecting C compile features - done [2021-12-10T05:46:38.423Z] -- Looking for pthread.h [2021-12-10T05:46:38.695Z] -- Looking for pthread.h - found [2021-12-10T05:46:38.695Z] -- Performing Test CMAKE_HAVE_LIBC_PTHREAD [2021-12-10T05:46:38.970Z] -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success [2021-12-10T05:46:38.970Z] -- Found Threads: TRUE [2021-12-10T05:46:39.241Z] -- Configuring done [2021-12-10T05:46:39.241Z] -- Generating done [2021-12-10T05:46:39.241Z] -- Build files have been written to: /tmp/sdk/deps/prometheus-client-c-0.1.3.1/prom/build [2021-12-10T05:46:39.241Z]  [2021-12-10T05:46:39.241Z] ######################################################################## [2021-12-10T05:46:39.241Z] > prom: Make Build Stage [2021-12-10T05:46:39.241Z] ######################################################################## [2021-12-10T05:46:39.241Z] [2021-12-10T05:46:39.241Z] [ 5%] Building C object CMakeFiles/prom.dir/src/prom_collector.c.o [2021-12-10T05:46:39.514Z] [ 11%] Building C object CMakeFiles/prom.dir/src/prom_collector_registry.c.o [2021-12-10T05:46:39.786Z] [ 16%] Building C object CMakeFiles/prom.dir/src/prom_counter.c.o [2021-12-10T05:46:40.057Z] [ 22%] Building C object CMakeFiles/prom.dir/src/prom_gauge.c.o [2021-12-10T05:46:40.329Z] [ 27%] Building C object CMakeFiles/prom.dir/src/prom_histogram.c.o [2021-12-10T05:46:40.329Z] [ 33%] Building C object CMakeFiles/prom.dir/src/prom_histogram_buckets.c.o [2021-12-10T05:46:40.602Z] [ 38%] Building C object CMakeFiles/prom.dir/src/prom_linked_list.c.o [2021-12-10T05:46:40.874Z] [ 44%] Building C object CMakeFiles/prom.dir/src/prom_map.c.o [2021-12-10T05:46:41.145Z] [ 50%] Building C object CMakeFiles/prom.dir/src/prom_metric.c.o [2021-12-10T05:46:41.417Z] [ 55%] Building C object CMakeFiles/prom.dir/src/prom_metric_formatter.c.o [2021-12-10T05:46:41.688Z] [ 61%] Building C object CMakeFiles/prom.dir/src/prom_metric_sample.c.o [2021-12-10T05:46:41.960Z] [ 66%] Building C object CMakeFiles/prom.dir/src/prom_metric_sample_histogram.c.o [2021-12-10T05:46:42.233Z] [ 72%] Building C object CMakeFiles/prom.dir/src/prom_process_fds.c.o [2021-12-10T05:46:42.505Z] [ 77%] Building C object CMakeFiles/prom.dir/src/prom_process_limits.c.o [2021-12-10T05:46:42.777Z] [ 83%] Building C object CMakeFiles/prom.dir/src/prom_process_stat.c.o [2021-12-10T05:46:43.049Z] [ 88%] Building C object CMakeFiles/prom.dir/src/prom_procfs.c.o [2021-12-10T05:46:43.049Z] [ 94%] Building C object CMakeFiles/prom.dir/src/prom_string_builder.c.o [2021-12-10T05:46:43.323Z] [100%] Linking C shared library libprom.so [2021-12-10T05:46:43.595Z] [100%] Built target prom [2021-12-10T05:46:43.595Z]  [2021-12-10T05:46:43.595Z] ######################################################################## [2021-12-10T05:46:43.595Z] > promhttp: CMake Build Stage [2021-12-10T05:46:43.595Z] ######################################################################## [2021-12-10T05:46:43.595Z] [2021-12-10T05:46:43.868Z] -- The C compiler identification is GNU 10.3.1 [2021-12-10T05:46:43.868Z] -- Detecting C compiler ABI info [2021-12-10T05:46:44.142Z] -- Detecting C compiler ABI info - done [2021-12-10T05:46:44.142Z] -- Check for working C compiler: /usr/bin/gcc - skipped [2021-12-10T05:46:44.142Z] -- Detecting C compile features [2021-12-10T05:46:44.142Z] -- Detecting C compile features - done [2021-12-10T05:46:44.142Z] -- Looking for pthread.h [2021-12-10T05:46:44.414Z] -- Looking for pthread.h - found [2021-12-10T05:46:44.414Z] -- Performing Test CMAKE_HAVE_LIBC_PTHREAD [2021-12-10T05:46:44.705Z] -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success [2021-12-10T05:46:44.705Z] -- Found Threads: TRUE [2021-12-10T05:46:44.978Z] -- Configuring done [2021-12-10T05:46:44.978Z] -- Generating done [2021-12-10T05:46:44.978Z] -- Build files have been written to: /tmp/sdk/deps/prometheus-client-c-0.1.3.1/promhttp/build [2021-12-10T05:46:44.978Z]  [2021-12-10T05:46:44.978Z] ######################################################################## [2021-12-10T05:46:44.978Z] > promhttp: Make Build Stage [2021-12-10T05:46:44.978Z] ######################################################################## [2021-12-10T05:46:44.978Z] [2021-12-10T05:46:44.978Z] [ 50%] Building C object CMakeFiles/promhttp.dir/src/promhttp.c.o [2021-12-10T05:46:45.251Z] [100%] Linking C shared library libpromhttp.so [2021-12-10T05:46:45.251Z] [100%] Built target promhttp [2021-12-10T05:46:45.523Z] SUCCESS: Build Complete [2021-12-10T05:46:45.523Z] + /bin/bash ./auto package [2021-12-10T05:46:45.523Z]  [2021-12-10T05:46:45.523Z] ######################################################################## [2021-12-10T05:46:45.523Z] > Executing package [2021-12-10T05:46:45.523Z] ######################################################################## [2021-12-10T05:46:45.523Z] [2021-12-10T05:46:45.523Z] CPack: Create package using TGZ [2021-12-10T05:46:45.523Z] CPack: Install projects [2021-12-10T05:46:45.523Z] CPack: - Run preinstall target for: libprom [2021-12-10T05:46:45.798Z] CPack: - Install project: libprom [] [2021-12-10T05:46:45.798Z] CPack: Create package [2021-12-10T05:46:45.798Z] CPack: - package: /tmp/sdk/deps/prometheus-client-c-0.1.3.1/prom/libprom-dev-0.1.3-Linux.tar.gz generated. [2021-12-10T05:46:45.798Z] CPack: Create package using DEB [2021-12-10T05:46:45.798Z] CPack: Install projects [2021-12-10T05:46:45.798Z] CPack: - Run preinstall target for: libprom [2021-12-10T05:46:45.798Z] CPack: - Install project: libprom [] [2021-12-10T05:46:46.071Z] CPack: Create package [2021-12-10T05:46:46.071Z] -- CPackDeb: Can not find dpkg in your path, default to i386. [2021-12-10T05:46:46.071Z] -- CPACK_DEBIAN_PACKAGE_DEPENDS not set, the package will have no dependencies. [2021-12-10T05:46:46.071Z] CPack: - package: /tmp/sdk/deps/prometheus-client-c-0.1.3.1/prom/libprom-dev-0.1.3-Linux.deb generated. [2021-12-10T05:46:46.071Z] CPack: Create package using TGZ [2021-12-10T05:46:46.071Z] CPack: Install projects [2021-12-10T05:46:46.071Z] CPack: - Run preinstall target for: libpromhttp [2021-12-10T05:46:46.071Z] CPack: - Install project: libpromhttp [] [2021-12-10T05:46:46.344Z] CPack: Create package [2021-12-10T05:46:46.344Z] CPack: - package: /tmp/sdk/deps/prometheus-client-c-0.1.3.1/promhttp/libpromhttp-dev-0.1.3-Linux.tar.gz generated. [2021-12-10T05:46:46.344Z] CPack: Create package using DEB [2021-12-10T05:46:46.344Z] CPack: Install projects [2021-12-10T05:46:46.344Z] CPack: - Run preinstall target for: libpromhttp [2021-12-10T05:46:46.344Z] CPack: - Install project: libpromhttp [] [2021-12-10T05:46:46.344Z] CPack: Create package [2021-12-10T05:46:46.344Z] -- CPackDeb: Can not find dpkg in your path, default to i386. [2021-12-10T05:46:46.344Z] CPack: - package: /tmp/sdk/deps/prometheus-client-c-0.1.3.1/promhttp/libpromhttp-dev-0.1.3-Linux.deb generated. [2021-12-10T05:46:46.344Z] SUCCESS: Package build success [2021-12-10T05:46:46.344Z] + mkdir temp [2021-12-10T05:46:46.344Z] + cp ./prom/libprom-dev-0.1.3-Linux.tar.gz ./promhttp/libpromhttp-dev-0.1.3-Linux.tar.gz temp [2021-12-10T05:46:46.344Z] + cd temp [2021-12-10T05:46:46.344Z] + tar -xf libprom-dev-0.1.3-Linux.tar.gz [2021-12-10T05:46:46.345Z] + cp ./libprom-dev-0.1.3-Linux/include/prom.h ./libprom-dev-0.1.3-Linux/include/prom_alloc.h ./libprom-dev-0.1.3-Linux/include/prom_collector.h ./libprom-dev-0.1.3-Linux/include/prom_collector_registry.h ./libprom-dev-0.1.3-Linux/include/prom_counter.h ./libprom-dev-0.1.3-Linux/include/prom_gauge.h ./libprom-dev-0.1.3-Linux/include/prom_histogram.h ./libprom-dev-0.1.3-Linux/include/prom_histogram_buckets.h ./libprom-dev-0.1.3-Linux/include/prom_linked_list.h ./libprom-dev-0.1.3-Linux/include/prom_map.h ./libprom-dev-0.1.3-Linux/include/prom_metric.h ./libprom-dev-0.1.3-Linux/include/prom_metric_sample.h ./libprom-dev-0.1.3-Linux/include/prom_metric_sample_histogram.h /usr/include [2021-12-10T05:46:46.345Z] + cp './libprom-dev-0.1.3-Linux/lib64/*' /usr/lib [2021-12-10T05:46:46.345Z] cp: can't stat './libprom-dev-0.1.3-Linux/lib64/*': No such file or directory [2021-12-10T05:46:46.944Z] The command '/bin/sh -c cd /tmp/sdk && ./scripts/build.sh && make -C build/release install' returned a non-zero code: 1 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-10T05:46:48.142Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-12-10T05:46:48.142Z] [2021-12-10T05:46:48.142Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-12-10T05:46:48.515Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-12-10T05:46:48.792Z] arm64: Pulling from edgex-lftools-log-publisher [2021-12-10T05:46:48.792Z] 448f6bf000e3: Pulling fs layer [2021-12-10T05:46:48.792Z] f757da607395: Pulling fs layer [2021-12-10T05:46:48.792Z] 05883995daec: Pulling fs layer [2021-12-10T05:46:48.792Z] 8603b9c90790: Pulling fs layer [2021-12-10T05:46:48.792Z] 1560dd03e051: Pulling fs layer [2021-12-10T05:46:48.792Z] 27f5ce0e4adf: Pulling fs layer [2021-12-10T05:46:48.792Z] c2d8d7efcc4b: Pulling fs layer [2021-12-10T05:46:48.792Z] 8603b9c90790: Waiting [2021-12-10T05:46:48.792Z] 1560dd03e051: Waiting [2021-12-10T05:46:48.792Z] 27f5ce0e4adf: Waiting [2021-12-10T05:46:48.792Z] c2d8d7efcc4b: Waiting [2021-12-10T05:46:48.792Z] f757da607395: Verifying Checksum [2021-12-10T05:46:48.792Z] f757da607395: Download complete [2021-12-10T05:46:48.792Z] 8603b9c90790: Verifying Checksum [2021-12-10T05:46:48.792Z] 8603b9c90790: Download complete [2021-12-10T05:46:48.792Z] 1560dd03e051: Verifying Checksum [2021-12-10T05:46:48.792Z] 1560dd03e051: Download complete [2021-12-10T05:46:49.070Z] 27f5ce0e4adf: Download complete [2021-12-10T05:46:49.070Z] 05883995daec: Verifying Checksum [2021-12-10T05:46:49.070Z] 05883995daec: Download complete [2021-12-10T05:46:49.343Z] 448f6bf000e3: Verifying Checksum [2021-12-10T05:46:49.343Z] 448f6bf000e3: Download complete [2021-12-10T05:46:51.966Z] c2d8d7efcc4b: Verifying Checksum [2021-12-10T05:46:51.966Z] c2d8d7efcc4b: Download complete [2021-12-10T05:46:52.941Z] 448f6bf000e3: Pull complete [2021-12-10T05:46:53.538Z] f757da607395: Pull complete [2021-12-10T05:46:54.977Z] 05883995daec: Pull complete [2021-12-10T05:46:55.250Z] 8603b9c90790: Pull complete [2021-12-10T05:46:56.225Z] 1560dd03e051: Pull complete [2021-12-10T05:46:56.225Z] 27f5ce0e4adf: Pull complete [2021-12-10T05:47:14.749Z] c2d8d7efcc4b: Pull complete [2021-12-10T05:47:14.749Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-12-10T05:47:14.749Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-12-10T05:47:14.749Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-12-10T05:47:14.996Z] prd-ubuntu18.04-docker-arm64-4c-16g-595 does not seem to be running inside a container [2021-12-10T05:47:15.071Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-12-10T05:47:17.750Z] $ docker top 5c49d03f232790cd507bf1a3542f299216838d1bb57bff3162cab5b284fdff3f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-10T05:47:18.721Z] ---> job-cost.sh [2021-12-10T05:47:18.721Z] lf-activate-venv: SKIPPING [2021-12-10T05:47:18.721Z] INFO: No Stack... [2021-12-10T05:47:18.994Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-12-10T05:47:19.264Z] INFO: Archiving Costs [Pipeline] sh [2021-12-10T05:47:19.933Z] + + cutcat -d, /w/workspace/device-sdk-c/1/archives/cost.csv -f6 [2021-12-10T05:47:19.933Z] [Pipeline] lock [2021-12-10T05:47:20.018Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-388-1-stack-cost] [2021-12-10T05:47:20.023Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-388-1-stack-cost] did not exist. Created. [2021-12-10T05:47:20.024Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-388-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-12-10T05:47:20.756Z] /w/workspace/device-sdk-c/1@tmp/durable-91a02db2/script.sh: 1: /w/workspace/device-sdk-c/1@tmp/durable-91a02db2/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-12-10T05:47:21.444Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-12-10T05:47:21.481Z] Warning: overwriting stash ‘stack-cost’ [2021-12-10T05:47:21.895Z] Stashed 1 file(s) [Pipeline] } [2021-12-10T05:47:21.911Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-388-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-12-10T05:47:21.983Z] $ docker stop --time=1 5c49d03f232790cd507bf1a3542f299216838d1bb57bff3162cab5b284fdff3f [2021-12-10T05:47:23.470Z] $ docker rm -f 5c49d03f232790cd507bf1a3542f299216838d1bb57bff3162cab5b284fdff3f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-12-10T05:47:24.144Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-12-10T05:47:25.384Z] + '[' -d /w/workspace/edgexfoundry_device-sdk-c_PR-388/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-12-10T05:47:25.713Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-10T05:47:26.300Z] ---> package-listing.sh [2021-12-10T05:47:26.300Z] ++ facter osfamily [2021-12-10T05:47:26.300Z] ++ tr '[:upper:]' '[:lower:]' [2021-12-10T05:47:26.563Z] + OS_FAMILY=redhat [2021-12-10T05:47:26.563Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-388 [2021-12-10T05:47:26.563Z] + START_PACKAGES=/tmp/packages_start.txt [2021-12-10T05:47:26.563Z] + END_PACKAGES=/tmp/packages_end.txt [2021-12-10T05:47:26.563Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-12-10T05:47:26.563Z] + PACKAGES=/tmp/packages_start.txt [2021-12-10T05:47:26.563Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-388 ']' [2021-12-10T05:47:26.563Z] + PACKAGES=/tmp/packages_end.txt [2021-12-10T05:47:26.563Z] + case "${OS_FAMILY}" in [2021-12-10T05:47:26.563Z] + rpm -qa [2021-12-10T05:47:26.563Z] + sort [2021-12-10T05:47:27.148Z] + '[' -f /tmp/packages_start.txt ']' [2021-12-10T05:47:27.148Z] + '[' -f /tmp/packages_end.txt ']' [2021-12-10T05:47:27.148Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-12-10T05:47:27.148Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-388 ']' [2021-12-10T05:47:27.148Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-388/archives/ [2021-12-10T05:47:27.148Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-388/archives/ [Pipeline] echo [2021-12-10T05:47:27.185Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-388/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-12-10T05:47:27.483Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-12-10T05:47:28.069Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-10T05:47:28.070Z] [2021-12-10T05:47:28.070Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-12-10T05:47:28.406Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-10T05:47:28.406Z] latest: Pulling from edgex-lftools-log-publisher [2021-12-10T05:47:28.406Z] b4d181a07f80: Pulling fs layer [2021-12-10T05:47:28.406Z] a1111a8f2ec3: Pulling fs layer [2021-12-10T05:47:28.406Z] ed53099fbce6: Pulling fs layer [2021-12-10T05:47:28.406Z] dc539afda2c1: Pulling fs layer [2021-12-10T05:47:28.406Z] 77bc0d833cb6: Pulling fs layer [2021-12-10T05:47:28.406Z] 9065ff56babe: Pulling fs layer [2021-12-10T05:47:28.406Z] d287ab97295c: Pulling fs layer [2021-12-10T05:47:28.406Z] dc539afda2c1: Waiting [2021-12-10T05:47:28.406Z] 77bc0d833cb6: Waiting [2021-12-10T05:47:28.406Z] 9065ff56babe: Waiting [2021-12-10T05:47:28.406Z] d287ab97295c: Waiting [2021-12-10T05:47:28.406Z] a1111a8f2ec3: Verifying Checksum [2021-12-10T05:47:28.406Z] a1111a8f2ec3: Download complete [2021-12-10T05:47:28.406Z] dc539afda2c1: Verifying Checksum [2021-12-10T05:47:28.406Z] dc539afda2c1: Download complete [2021-12-10T05:47:28.668Z] 77bc0d833cb6: Verifying Checksum [2021-12-10T05:47:28.668Z] 77bc0d833cb6: Download complete [2021-12-10T05:47:28.668Z] ed53099fbce6: Verifying Checksum [2021-12-10T05:47:28.668Z] ed53099fbce6: Download complete [2021-12-10T05:47:28.668Z] 9065ff56babe: Verifying Checksum [2021-12-10T05:47:28.668Z] 9065ff56babe: Download complete [2021-12-10T05:47:28.668Z] b4d181a07f80: Verifying Checksum [2021-12-10T05:47:28.668Z] b4d181a07f80: Download complete [2021-12-10T05:47:29.254Z] d287ab97295c: Verifying Checksum [2021-12-10T05:47:29.254Z] d287ab97295c: Download complete [2021-12-10T05:47:30.211Z] b4d181a07f80: Pull complete [2021-12-10T05:47:30.471Z] a1111a8f2ec3: Pull complete [2021-12-10T05:47:31.044Z] ed53099fbce6: Pull complete [2021-12-10T05:47:31.044Z] dc539afda2c1: Pull complete [2021-12-10T05:47:31.307Z] 77bc0d833cb6: Pull complete [2021-12-10T05:47:31.569Z] 9065ff56babe: Pull complete [2021-12-10T05:47:36.898Z] d287ab97295c: Pull complete [2021-12-10T05:47:36.898Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-12-10T05:47:36.898Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-10T05:47:36.898Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-12-10T05:47:36.990Z] prd-centos7-docker-4c-2g-594 does not seem to be running inside a container [2021-12-10T05:47:37.025Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-388/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-388 -v /w/workspace/edgexfoundry_device-sdk-c_PR-388:/w/workspace/edgexfoundry_device-sdk-c_PR-388:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-388@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-388@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-lftools-log-publisher:latest cat [2021-12-10T05:47:39.132Z] $ docker top 3c6dcf8b1429e88cfb899456d3f3f063e605373c1b8fc83ba679395d365915a0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-12-10T05:47:39.548Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-12-10T05:47:39.852Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-12-10T05:47:40.169Z] + ls /var/log/sa-host [2021-12-10T05:47:40.169Z] + sadf -c /var/log/sa-host/sa10 [2021-12-10T05:47:40.169Z] file_magic: OK [2021-12-10T05:47:40.169Z] HZ: Using current value: 100 [2021-12-10T05:47:40.169Z] file_header: OK [2021-12-10T05:47:40.169Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-12-10T05:47:40.169Z] Statistics: [2021-12-10T05:47:40.169Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-12-10T05:47:40.169Z] File successfully converted to sysstat format version 12.0.3 [2021-12-10T05:47:40.169Z] + sadf -c /var/log/sa-host/sa17 [2021-12-10T05:47:40.169Z] file_magic: OK [2021-12-10T05:47:40.169Z] HZ: Using current value: 100 [2021-12-10T05:47:40.169Z] file_header: OK [2021-12-10T05:47:40.169Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-12-10T05:47:40.169Z] Statistics: [2021-12-10T05:47:40.169Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-12-10T05:47:40.169Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-10T05:47:40.308Z] provisioning config files... [2021-12-10T05:47:40.323Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-388@tmp/config936256140938231578tmp [Pipeline] { [Pipeline] echo [2021-12-10T05:47:40.363Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-10T05:47:40.678Z] ---> create-netrc.sh [Pipeline] } [2021-12-10T05:47:40.698Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-12-10T05:47:41.093Z] ---> python-tools-install.sh [Pipeline] echo [2021-12-10T05:47:41.117Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-10T05:47:41.430Z] ---> sudo-logs.sh [2021-12-10T05:47:41.430Z] Archiving 'sudo' log.. [2021-12-10T05:47:41.430Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-594.novalocal: Name or service not known [2021-12-10T05:47:41.430Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-594.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-12-10T05:47:41.501Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-10T05:47:41.828Z] ---> job-cost.sh [2021-12-10T05:47:41.828Z] lf-activate-venv: SKIPPING [2021-12-10T05:47:41.828Z] DEBUG: total: 0.10999999940395355 [2021-12-10T05:47:41.828Z] INFO: Retrieving Stack Cost... [2021-12-10T05:47:42.088Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-12-10T05:47:42.349Z] INFO: Archiving Costs [Pipeline] echo [2021-12-10T05:47:42.383Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-10T05:47:42.703Z] ---> logs-deploy.sh [2021-12-10T05:47:42.703Z] lf-activate-venv: SKIPPING [2021-12-10T05:47:42.703Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-388/1 [2021-12-10T05:47:42.703Z] INFO: archiving workspace using pattern(s): [2021-12-10T05:47:43.276Z] Archives upload complete. [2021-12-10T05:47:43.536Z] INFO: archiving logs to Nexus