Branch indexing 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 8c74ffe4fc698c219175e751f1cca4a77f9c9083 rather than 8f822df88842add76d792b0fcf38c18213008c44 Obtained Jenkinsfile from 8c74ffe4fc698c219175e751f1cca4a77f9c9083 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-ssh16110287571900885226.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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-ssh13320021899559458417.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 efdbc04638cc485a1a2a98c60e49a0e43cac6f53 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-388/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-388/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh11346672131451380289.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f efdbc04638cc485a1a2a98c60e49a0e43cac6f53 # timeout=10 Commit message: "Merge pull request #376 from ernestojeda/add-ireland-release-stream" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh12672835818806959670.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-388/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-388/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh9135347672410218801.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 ‘prd-centos7-docker-4c-2g-4393’ Running on prd-centos7-docker-4c-2g-4395 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-ssh5494589929575204714.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-ssh8176822702881009132.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 8c74ffe4fc698c219175e751f1cca4a77f9c9083 into PR head commit 8f822df88842add76d792b0fcf38c18213008c44 Merge succeeded, producing a936d09e99b3177751841564b8f6a226eef4d40d Checking out Revision a936d09e99b3177751841564b8f6a226eef4d40d (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-ssh1115348971642913519.key > git merge 8c74ffe4fc698c219175e751f1cca4a77f9c9083 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a936d09e99b3177751841564b8f6a226eef4d40d # timeout=10 Commit message: "Merge commit '8c74ffe4fc698c219175e751f1cca4a77f9c9083' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:57:01 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:57:01 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:57:01 ========================================================= 22:57:01 EdgeX Global Pipelines Version Info 22:57:01 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 9832a346578748b6b9b91f5148c7bb47aefb4e80 # timeout=10 22:57:02 ------------------- 22:57:02 stable info: 22:57:02 ------------------- 22:57:02 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:57:02 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 22:57:02 Message: update stable to v1.0.220 22:57:03 ------------------- 22:57:03 experimental info: 22:57:03 ------------------- 22:57:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:57:03 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 22:57:03 Message: update experimental to v1.0.220 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:57:03 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 22:57:03 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 22:57:03 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:57:03 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:57:03 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:57:03 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 22:57:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 22:57:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:57:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:57:03 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 22:57:03 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:57:03 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:57:03 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:57:03 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 22:57:03 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:57:03 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:57:03 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:57:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-388 [Pipeline] echo 22:57:03 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-388 [Pipeline] echo 22:57:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-388 [Pipeline] echo 22:57:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a936d09e99b3177751841564b8f6a226eef4d40d [Pipeline] echo 22:57:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a936d09 [Pipeline] echo 22:57:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:57:03 provisioning config files... 22:57:03 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-388@tmp/config7657370709541217228tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:57:03 ---> docker-login.sh 22:57:03 nexus3.edgexfoundry.org:10001 22:57:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:57:03 Configure a credential helper to remove this warning. See 22:57:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:57:03 22:57:03 Login Succeeded 22:57:03 nexus3.edgexfoundry.org:10002 22:57:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:57:04 Configure a credential helper to remove this warning. See 22:57:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:57:04 22:57:04 Login Succeeded 22:57:04 nexus3.edgexfoundry.org:10003 22:57:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:57:04 Configure a credential helper to remove this warning. See 22:57:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:57:04 22:57:04 Login Succeeded 22:57:04 nexus3.edgexfoundry.org:10004 22:57:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:57:04 Configure a credential helper to remove this warning. See 22:57:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:57:04 22:57:04 Login Succeeded 22:57:04 docker.io 22:57:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:57:04 Configure a credential helper to remove this warning. See 22:57:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:57:04 22:57:04 Login Succeeded 22:57:04 ---> docker-login.sh ends [Pipeline] } 22:57:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 22:57:05 + git rev-list -1 --merges a936d09e99b3177751841564b8f6a226eef4d40d~1..a936d09e99b3177751841564b8f6a226eef4d40d [Pipeline] echo 22:57:05 -----------> git rev-list -1 --merges a936d09e99b3177751841564b8f6a226eef4d40d~1..a936d09e99b3177751841564b8f6a226eef4d40d a936d09e99b3177751841564b8f6a226eef4d40d 22:57:05 a936d09e99b3177751841564b8f6a226eef4d40d [false] [Pipeline] sh 22:57:05 + git log --format=format:%s -1 a936d09e99b3177751841564b8f6a226eef4d40d [Pipeline] echo 22:57:05 ========================================================= 22:57:05 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:57:05 ========================================================= 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 22:57:05 + git rev-list -1 --merges a936d09e99b3177751841564b8f6a226eef4d40d~1..a936d09e99b3177751841564b8f6a226eef4d40d [Pipeline] echo 22:57:05 -----------> git rev-list -1 --merges a936d09e99b3177751841564b8f6a226eef4d40d~1..a936d09e99b3177751841564b8f6a226eef4d40d a936d09e99b3177751841564b8f6a226eef4d40d 22:57:05 a936d09e99b3177751841564b8f6a226eef4d40d [false] [Pipeline] sh 22:57:06 + git log --format=format:%s -1 a936d09e99b3177751841564b8f6a226eef4d40d [Pipeline] echo 22:57:06 ========================================================= 22:57:06 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:57:06 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 22:57:06 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 22:57:06 + grep -v github /etc/ssh/ssh_known_hosts 22:57:06 + '[' -e /tmp/ssh_known_hosts ']' 22:57:06 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:57:06 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 22:57:06 + sudo tee -a /etc/ssh/ssh_known_hosts 22:57:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 22:57:06 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:57:06 22:57:06 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:57:07 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:57:07 latest: Pulling from edgex-devops/git-semver 22:57:07 a0d0a0d46f8b: Pulling fs layer 22:57:07 3e5f54012d9b: Pulling fs layer 22:57:07 4c7163046ea9: Pulling fs layer 22:57:07 0c2d73faf560: Pulling fs layer 22:57:07 0c2d73faf560: Waiting 22:57:07 3e5f54012d9b: Verifying Checksum 22:57:07 3e5f54012d9b: Download complete 22:57:07 a0d0a0d46f8b: Verifying Checksum 22:57:07 a0d0a0d46f8b: Download complete 22:57:07 0c2d73faf560: Verifying Checksum 22:57:07 0c2d73faf560: Download complete 22:57:07 4c7163046ea9: Verifying Checksum 22:57:07 4c7163046ea9: Download complete 22:57:07 a0d0a0d46f8b: Pull complete 22:57:07 3e5f54012d9b: Pull complete 22:57:07 4c7163046ea9: Pull complete 22:57:08 0c2d73faf560: Pull complete 22:57:08 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 22:57:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:57:08 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:57:08 prd-centos7-docker-4c-2g-4395 does not seem to be running inside a container 22:57:07 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 22:57:08 $ docker top c09abc7e792d855681e8d239ae9c9f35c64f96c00d469f109e3054ad4f9f3f05 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:57:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:57:08 [ssh-agent] Looking for ssh-agent implementation... 22:57:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:57:08 $ docker exec c09abc7e792d855681e8d239ae9c9f35c64f96c00d469f109e3054ad4f9f3f05 ssh-agent 22:57:08 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXIHNKNl/agent.14 22:57:08 SSH_AGENT_PID=20 22:57:08 Running ssh-add (command line suppressed) 22:57:08 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-388@tmp/private_key_6716232788776938927.key (/w/workspace/edgexfoundry_device-sdk-c_PR-388@tmp/private_key_6716232788776938927.key) 22:57:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:57:09 + git tag --points-at HEAD [Pipeline] } 22:57:09 $ docker exec --env ******** --env ******** c09abc7e792d855681e8d239ae9c9f35c64f96c00d469f109e3054ad4f9f3f05 ssh-agent -k 22:57:09 unset SSH_AUTH_SOCK; 22:57:09 unset SSH_AGENT_PID; 22:57:09 echo Agent pid 20 killed; 22:57:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:57:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:57:09 [ssh-agent] Looking for ssh-agent implementation... 22:57:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:57:09 $ docker exec c09abc7e792d855681e8d239ae9c9f35c64f96c00d469f109e3054ad4f9f3f05 ssh-agent 22:57:09 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXnkmeiI/agent.54 22:57:09 SSH_AGENT_PID=60 22:57:09 Running ssh-add (command line suppressed) 22:57:09 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-388@tmp/private_key_5473530845631093465.key (/w/workspace/edgexfoundry_device-sdk-c_PR-388@tmp/private_key_5473530845631093465.key) 22:57:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:57:10 + git semver init 22:57:10 # -> Open(): unable to determine branch for HEAD 22:57:10 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-388/.git 22:57:10 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-388 22:57:10 # $SEMVER_REMOTE_NAME = origin 22:57:10 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:57:10 # $SEMVER_USER_NAME = edgex-jenkins 22:57:10 # $SEMVER_BRANCH = PR-388 22:57:10 # $SEMVER_TEMP = /tmp/semver-317884213 22:57:10 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 22:57:11 # '/tmp/semver-317884213' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-388/.semver' 22:57:11 # -> Force: false 22:57:11 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-388/.semver [Pipeline] } 22:57:10 $ docker exec --env ******** --env ******** c09abc7e792d855681e8d239ae9c9f35c64f96c00d469f109e3054ad4f9f3f05 ssh-agent -k 22:57:11 unset SSH_AUTH_SOCK; 22:57:11 unset SSH_AGENT_PID; 22:57:11 echo Agent pid 60 killed; 22:57:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:57:11 + git semver [Pipeline] } 22:57:11 $ docker stop --time=1 c09abc7e792d855681e8d239ae9c9f35c64f96c00d469f109e3054ad4f9f3f05 22:57:12 $ docker rm -f c09abc7e792d855681e8d239ae9c9f35c64f96c00d469f109e3054ad4f9f3f05 [Pipeline] // withDockerContainer [Pipeline] sh 22:57:12 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:57:13 Stashed 1 file(s) [Pipeline] echo 22:57:13 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:57:13 provisioning config files... 22:57:13 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-388@tmp/config21126458659288393tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:57:13 ---> docker-login.sh 22:57:13 nexus3.edgexfoundry.org:10001 22:57:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:57:13 Configure a credential helper to remove this warning. See 22:57:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:57:13 22:57:13 Login Succeeded 22:57:13 nexus3.edgexfoundry.org:10002 22:57:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:57:13 Configure a credential helper to remove this warning. See 22:57:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:57:13 22:57:13 Login Succeeded 22:57:13 nexus3.edgexfoundry.org:10003 22:57:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:57:13 Configure a credential helper to remove this warning. See 22:57:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:57:13 22:57:13 Login Succeeded 22:57:13 nexus3.edgexfoundry.org:10004 22:57:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:57:13 Configure a credential helper to remove this warning. See 22:57:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:57:13 22:57:13 Login Succeeded 22:57:13 docker.io 22:57:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:57:14 Configure a credential helper to remove this warning. See 22:57:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:57:14 22:57:14 Login Succeeded 22:57:14 ---> docker-login.sh ends [Pipeline] } 22:57:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:57:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:57:14 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 22:57:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:57:14 ========================================================= 22:57:14 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 22:57:14 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 22:57:14 + 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 . 22:57:14 Sending build context to Docker daemon 19.71MB 22:57:14 Step 1/24 : ARG BASE=alpine:3.14 22:57:14 Step 2/24 : FROM ${BASE} as builder 22:57:15 latest: Pulling from edgex-devops/edgex-gcc-base 22:57:15 a0d0a0d46f8b: Already exists 22:57:15 39017ce70367: Pulling fs layer 22:57:15 dcf9283bb20a: Pulling fs layer 22:57:15 39017ce70367: Verifying Checksum 22:57:15 39017ce70367: Download complete 22:57:15 39017ce70367: Pull complete 22:57:15 dcf9283bb20a: Verifying Checksum 22:57:15 dcf9283bb20a: Download complete 22:57:19 dcf9283bb20a: Pull complete 22:57:19 Digest: sha256:2a2af42e0978abc69143d34e5140e0e2b13385d9fcf9e2292ee97f6b0c1f1d72 22:57:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 22:57:19 ---> a4e04833b611 22:57:19 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 22:57:19 ---> Running in bd9031299571 22:57:19 Connecting to iotech.jfrog.io (54.170.66.44:443) 22:57:19 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 22:57:19 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 22:57:19 '/etc/apk/keys/alpine.dev.rsa.pub' saved 22:57:20 Removing intermediate container bd9031299571 22:57:20 ---> 9115c661270e 22:57:20 Step 4/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 22:57:20 ---> Running in a35f637587a9 22:57:20 Removing intermediate container a35f637587a9 22:57:20 ---> e48e7483d76c 22:57:20 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 22:57:20 ---> Running in c94378050d59 22:57:20 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 22:57:21 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 22:57:21 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz 22:57:22 WARNING: This apk-tools is OLD! Some packages might not function properly. 22:57:22 (1/29) Installing readline (8.1.0-r0) 22:57:22 (2/29) Installing bash (5.1.4-r0) 22:57:22 Executing bash-5.1.4-r0.post-install 22:57:22 (3/29) Installing hiredis (1.0.0-r0) 22:57:22 (4/29) Installing hiredis-dev (1.0.0-r0) 22:57:22 (5/29) Installing ncurses-dev (6.2_p20210612-r0) 22:57:22 (6/29) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 22:57:23 (7/29) Installing libblkid (2.37.2-r0) 22:57:23 (8/29) Installing blkid (2.37.2-r0) 22:57:23 (9/29) Installing libcap-ng (0.8.2-r0) 22:57:23 (10/29) Installing setpriv (2.37.2-r0) 22:57:23 (11/29) Installing libmount (2.37.2-r0) 22:57:23 (12/29) Installing libsmartcols (2.37.2-r0) 22:57:24 (13/29) Installing findmnt (2.37.2-r0) 22:57:24 (14/29) Installing mcookie (2.37.2-r0) 22:57:24 (15/29) Installing hexdump (2.37.2-r0) 22:57:24 (16/29) Installing lsblk (2.37.2-r0) 22:57:24 (17/29) Installing libuuid (2.37.2-r0) 22:57:24 (18/29) Installing libfdisk (2.37.2-r0) 22:57:24 (19/29) Installing sfdisk (2.37.2-r0) 22:57:24 (20/29) Installing cfdisk (2.37.2-r0) 22:57:24 (21/29) Installing partx (2.37.2-r0) 22:57:24 (22/29) Installing flock (2.37.2-r0) 22:57:24 (23/29) Installing logger (2.37.2-r0) 22:57:24 (24/29) Installing uuidgen (2.37.2-r0) 22:57:24 (25/29) Installing libeconf (0.3.8-r1) 22:57:25 (26/29) Installing util-linux (2.37.2-r0) 22:57:25 (27/29) Installing util-linux-dev (2.37.2-r0) 22:57:25 (28/29) Installing libidn2 (2.3.1-r0) 22:57:25 (29/29) Installing wget (1.21.1-r1) 22:57:25 Executing busybox-1.33.1-r3.trigger 22:57:25 OK: 292 MiB in 106 packages 22:57:26 Removing intermediate container c94378050d59 22:57:26 ---> a7b12a2b8bc2 22:57:26 Step 6/24 : ENV CBOR_VERSION=0.5.0 22:57:26 ---> Running in 6b8b5a56a31f 22:57:26 Removing intermediate container 6b8b5a56a31f 22:57:26 ---> bdad939fff60 22:57:26 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 22:57:26 ---> Running in f36558e146c6 22:57:26 --2022-02-01 22:57:26-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 22:57:26 Resolving github.com (github.com)... 140.82.114.4 22:57:26 Connecting to github.com (github.com)|140.82.114.4|:443... connected. 22:57:26 HTTP request sent, awaiting response... 302 Found 22:57:26 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 22:57:26 --2022-02-01 22:57:26-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 22:57:26 Resolving codeload.github.com (codeload.github.com)... 140.82.112.9 22:57:26 Connecting to codeload.github.com (codeload.github.com)|140.82.112.9|:443... connected. 22:57:26 HTTP request sent, awaiting response... 200 OK 22:57:26 Length: 719348 (702K) [application/x-gzip] 22:57:26 Saving to: 'STDOUT' 22:57:26 22:57:26 0K .......... .......... .......... .......... .......... 7% 1.28M 0s 22:57:26 50K .......... .......... .......... .......... .......... 14% 2.54M 0s 22:57:26 100K .......... .......... .......... .......... .......... 21% 63.1M 0s 22:57:26 150K .......... .......... .......... .......... .......... 28% 27.4M 0s 22:57:26 200K .......... .......... .......... .......... .......... 35% 2.73M 0s 22:57:26 250K .......... .......... .......... .......... .......... 42% 6.61M 0s 22:57:26 300K .......... .......... .......... .......... .......... 49% 4.47M 0s 22:57:26 350K .......... .......... .......... .......... .......... 56% 50.6M 0s 22:57:26 400K .......... .......... .......... .......... .......... 64% 23.0M 0s 22:57:26 450K .......... .......... .......... .......... .......... 71% 11.5M 0s 22:57:26 500K .......... .......... .......... .......... .......... 78% 12.4M 0s 22:57:26 550K .......... .......... .......... .......... .......... 85% 14.8M 0s 22:57:27 600K .......... .......... .......... .......... .......... 92% 4.08M 0s 22:57:27 650K .......... .......... .......... .......... .......... 99% 8.01M 0s 22:57:27 700K .. 100% 4.63T=0.1s 22:57:27 22:57:27 2022-02-01 22:57:26 (5.32 MB/s) - written to stdout [719348/719348] 22:57:27 22:57:27 -- The C compiler identification is GNU 10.3.1 22:57:27 -- The CXX compiler identification is GNU 10.3.1 22:57:27 -- Detecting C compiler ABI info 22:57:27 -- Detecting C compiler ABI info - done 22:57:27 -- Check for working C compiler: /usr/bin/cc - skipped 22:57:27 -- Detecting C compile features 22:57:27 -- Detecting C compile features - done 22:57:27 -- Detecting CXX compiler ABI info 22:57:27 -- Detecting CXX compiler ABI info - done 22:57:27 -- Check for working CXX compiler: /usr/bin/c++ - skipped 22:57:27 -- Detecting CXX compile features 22:57:27 -- Detecting CXX compile features - done 22:57:27 -- Looking for include file endian.h 22:57:27 -- Looking for include file endian.h - found 22:57:27 -- Looking for sys/types.h 22:57:27 -- Looking for sys/types.h - found 22:57:27 -- Looking for stdint.h 22:57:27 -- Looking for stdint.h - found 22:57:27 -- Looking for stddef.h 22:57:27 -- Looking for stddef.h - found 22:57:27 -- Check size of size_t 22:57:27 -- Check size of size_t - done 22:57:27 CMake Warning at examples/CMakeLists.txt:16 (find_package): 22:57:27 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 22:57:27 asked CMake to find a package configuration file provided by "cJSON", but 22:57:27 CMake did not find one. 22:57:27 22:57:27 Could not find a package configuration file provided by "cJSON" with any of 22:57:27 the following names: 22:57:27 22:57:27 cJSONConfig.cmake 22:57:27 cjson-config.cmake 22:57:27 22:57:27 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 22:57:27 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 22:57:27 provides a separate development package or SDK, be sure it has been 22:57:27 installed. 22:57:27 22:57:27 22:57:27 -- Configuring done 22:57:27 -- Generating done 22:57:27 -- Build files have been written to: /tmp/cbor 22:57:27 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 22:57:27 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 22:57:27 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 22:57:28 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 22:57:28 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 22:57:28 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 22:57:28 Still waiting to schedule task 22:57:28 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-4394’ 22:57:28 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 22:57:28 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 22:57:28 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 22:57:28 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 22:57:28 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 22:57:28 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 22:57:28 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 22:57:28 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 22:57:28 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 22:57:28 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 22:57:28 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 22:57:29 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 22:57:29 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 22:57:29 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 22:57:29 [ 40%] Linking C shared library libcbor.so 22:57:29 [ 40%] Built target cbor_shared 22:57:29 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 22:57:29 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 22:57:29 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 22:57:29 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 22:57:29 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 22:57:29 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 22:57:29 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 22:57:29 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 22:57:30 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 22:57:30 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 22:57:30 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 22:57:30 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 22:57:30 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 22:57:30 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 22:57:30 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 22:57:30 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 22:57:30 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 22:57:30 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 22:57:30 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 22:57:30 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 22:57:30 [ 80%] Linking C static library libcbor.a 22:57:30 [ 80%] Built target cbor 22:57:30 [ 82%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 22:57:31 [ 84%] Linking C executable readfile 22:57:31 [ 84%] Built target readfile 22:57:31 [ 86%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 22:57:31 [ 88%] Linking C executable create_items 22:57:31 [ 88%] Built target create_items 22:57:31 [ 90%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 22:57:31 [ 92%] Linking C executable sort 22:57:31 [ 92%] Built target sort 22:57:31 [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 22:57:31 [ 96%] Linking C executable hello 22:57:31 [ 96%] Built target hello 22:57:31 [ 98%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 22:57:31 [100%] Linking C executable streaming_parser 22:57:31 [100%] Built target streaming_parser 22:57:31 Install the project... 22:57:31 -- Install configuration: "Release" 22:57:31 -- Installing: /usr/local/include/cbor/configuration.h 22:57:31 -- Installing: /usr/local/lib/libcbor.a 22:57:31 -- Installing: /usr/local/lib/libcbor.so.0.0.0 22:57:31 -- Installing: /usr/local/lib/libcbor.so.0 22:57:31 -- Installing: /usr/local/lib/libcbor.so 22:57:31 -- Up-to-date: /usr/local/include/cbor 22:57:31 -- Installing: /usr/local/include/cbor/arrays.h 22:57:31 -- Installing: /usr/local/include/cbor/bytestrings.h 22:57:31 -- Installing: /usr/local/include/cbor/callbacks.h 22:57:31 -- Installing: /usr/local/include/cbor/common.h 22:57:31 -- Installing: /usr/local/include/cbor/data.h 22:57:31 -- Installing: /usr/local/include/cbor/encoding.h 22:57:31 -- Installing: /usr/local/include/cbor/floats_ctrls.h 22:57:31 -- Installing: /usr/local/include/cbor/internal 22:57:31 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 22:57:31 -- Installing: /usr/local/include/cbor/internal/encoders.h 22:57:31 -- Installing: /usr/local/include/cbor/internal/loaders.h 22:57:31 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 22:57:31 -- Installing: /usr/local/include/cbor/internal/stack.h 22:57:31 -- Installing: /usr/local/include/cbor/internal/unicode.h 22:57:31 -- Installing: /usr/local/include/cbor/ints.h 22:57:31 -- Installing: /usr/local/include/cbor/maps.h 22:57:31 -- Installing: /usr/local/include/cbor/serialization.h 22:57:31 -- Installing: /usr/local/include/cbor/streaming.h 22:57:31 -- Installing: /usr/local/include/cbor/strings.h 22:57:31 -- Installing: /usr/local/include/cbor/tags.h 22:57:31 -- Installing: /usr/local/include/cbor.h 22:57:31 -- Installing: /usr/local/lib/pkgconfig/libcbor.pc 22:57:32 Removing intermediate container f36558e146c6 22:57:32 ---> c8b7454dfeee 22:57:32 Step 8/24 : RUN mkdir /tmp/sdk 22:57:32 ---> Running in 769347aae99f 22:57:32 Removing intermediate container 769347aae99f 22:57:32 ---> 1bffd6274ee0 22:57:32 Step 9/24 : COPY VERSION /tmp/sdk 22:57:32 ---> 84997acacda8 22:57:32 Step 10/24 : COPY src /tmp/sdk/src 22:57:32 ---> 15dc57357252 22:57:32 Step 11/24 : COPY include /tmp/sdk/include 22:57:32 ---> 087d59469040 22:57:32 Step 12/24 : COPY scripts /tmp/sdk/scripts 22:57:33 ---> 9b7c0420e069 22:57:33 Step 13/24 : COPY LICENSE /tmp/sdk 22:57:33 ---> ab0de36c9ba4 22:57:33 Step 14/24 : COPY Attribution.txt /tmp/sdk 22:57:33 ---> 20eb81c6cce2 22:57:33 Step 15/24 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 22:57:33 ---> Running in 7a0c8ecd724a 22:57:33 + CPPCHECK=false 22:57:33 + DOCGEN=false 22:57:33 + TOMLVER=SDK-0.2 22:57:33 + CUTILVER=1.2.2 22:57:33 + '[' 0 -gt 0 ] 22:57:33 + readlink -f ./scripts/build.sh 22:57:33 + dirname /tmp/sdk/scripts/build.sh 22:57:33 + dirname /tmp/sdk/scripts 22:57:33 + ROOT=/tmp/sdk 22:57:33 + cd /tmp/sdk 22:57:33 + '[' '!' -d deps ] 22:57:33 + mkdir deps 22:57:33 + wget -O - https://github.com.cnpmjs.org/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 22:57:33 --2022-02-01 22:57:33-- https://github.com.cnpmjs.org/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 22:57:33 + tar -C deps -z -x -f - 22:57:34 Resolving github.com.cnpmjs.org (github.com.cnpmjs.org)... 47.241.4.205 22:57:34 Connecting to github.com.cnpmjs.org (github.com.cnpmjs.org)|47.241.4.205|:443... connected. 22:57:35 HTTP request sent, awaiting response... 302 Found 22:57:35 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 22:57:35 --2022-02-01 22:57:35-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 22:57:35 Resolving codeload.github.com (codeload.github.com)... 140.82.112.9 22:57:35 Connecting to codeload.github.com (codeload.github.com)|140.82.112.9|:443... connected. 22:57:35 HTTP request sent, awaiting response... 200 OK 22:57:35 Length: 16451 (16K) [application/x-gzip] 22:57:35 Saving to: 'STDOUT' 22:57:35  22:57:35 0K .......... ...... 100% 844K=0.02s 22:57:35 22:57:35 2022-02-01 22:57:35 (844 KB/s) - written to stdout [16451/16451] 22:57:35 22:57:35 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 22:57:35 + wget -O - https://github.com.cnpmjs.org/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 22:57:35 + tar -C deps -z -x -f - 22:57:35 --2022-02-01 22:57:35-- https://github.com.cnpmjs.org/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 22:57:35 Resolving github.com.cnpmjs.org (github.com.cnpmjs.org)... 47.241.4.205 22:57:35 Connecting to github.com.cnpmjs.org (github.com.cnpmjs.org)|47.241.4.205|:443... connected. 22:57:37 HTTP request sent, awaiting response... 302 Found 22:57:37 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [following] 22:57:37 --2022-02-01 22:57:36-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 22:57:37 Resolving codeload.github.com (codeload.github.com)... 140.82.112.9 22:57:37 Connecting to codeload.github.com (codeload.github.com)|140.82.112.9|:443... connected. 22:57:37 HTTP request sent, awaiting response... 200 OK 22:57:37 Length: 193961 (189K) [application/x-gzip] 22:57:37 Saving to: 'STDOUT' 22:57:37 22:57:37 0K .......... .......... .......... .......... .......... 26% 1.27M 0s 22:57:37 50K .......... .......... .......... .......... .......... 52% 2.51M 0s 22:57:37 100K .......... .......... .......... .......... .......... 79% 21.8M 0s 22:57:37 150K .......... .......... .......... ......... 100% 3.64M=0.07s 22:57:37 22:57:37 2022-02-01 22:57:37 (2.61 MB/s) - written to stdout [193961/193961] 22:57:37 22:57:37 + mkdir -p src/c/iot 22:57:37 + 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 22:57:37 + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot 22:57:37 + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot 22:57:37 + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot 22:57:37 + mkdir -p include/iot 22:57:37 + 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 22:57:37 + mkdir -p include/iot/os 22:57:37 + 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 22:57:37 + wget -O - https://github.com.cnpmjs.org/edgego/prometheus-client-c/archive/refs/tags/v0.1.3.1.tar.gz 22:57:37 + tar -C deps -z -x -f - 22:57:37 --2022-02-01 22:57:37-- https://github.com.cnpmjs.org/edgego/prometheus-client-c/archive/refs/tags/v0.1.3.1.tar.gz 22:57:37 Resolving github.com.cnpmjs.org (github.com.cnpmjs.org)... 47.241.4.205 22:57:37 Connecting to github.com.cnpmjs.org (github.com.cnpmjs.org)|47.241.4.205|:443... connected. 22:57:38 HTTP request sent, awaiting response... 302 Found 22:57:38 Location: https://codeload.github.com/edgego/prometheus-client-c/tar.gz/refs/tags/v0.1.3.1 [following] 22:57:38 --2022-02-01 22:57:38-- https://codeload.github.com/edgego/prometheus-client-c/tar.gz/refs/tags/v0.1.3.1 22:57:38 Resolving codeload.github.com (codeload.github.com)... 140.82.112.9 22:57:38 Connecting to codeload.github.com (codeload.github.com)|140.82.112.9|:443... connected. 22:57:38 HTTP request sent, awaiting response... 200 OK 22:57:38 Length: unspecified [application/x-gzip] 22:57:38 Saving to: 'STDOUT' 22:57:38  22:57:38 0K .......... .......... .......... .......... .......... 1.29M 22:57:38 50K .......... .......... .......... .......... .......... 2.46M 22:57:38 100K .......... .......... .......... .......... .......... 14.7M 22:57:38 150K .......... .......... .......... .......... .......... 3.20M 22:57:38 200K .......... .......... .......... .......... .......... 23.3M 22:57:38 250K .......... .......... .......... .......... .......... 2.87M 22:57:38 300K .......... .......... .......... .......... .......... 275M 22:57:38 350K .......... .......... .......... .......... .......... 25.3M 22:57:38 400K .......... .......... .......... .......... .......... 27.2M 22:57:38 450K .......... .......... .......... .......... .......... 26.2M 22:57:38 500K .......... .......... .......... .......... .......... 26.7M 22:57:38 550K .......... .......... .......... .......... .......... 4.19M 22:57:38 600K .......... .......... .......... .......... .......... 106M 22:57:38 650K .......... .......... .......... .......... .......... 57.1M 22:57:38 700K .......... .......... .......... .......... .......... 10.7M 22:57:38 750K .......... .......... .......... .......... .......... 3.82M 22:57:38 800K .......... .......... .......... .......... .......... 12.7M 22:57:38 850K .......... .......... .......... .......... .......... 35.0M 22:57:38 900K .......... .......... .......... .......... .......... 80.5M 22:57:38 950K .......... .......... .......... .......... .......... 8.80M 22:57:38 1000K ...... 1.96M=0.1s 22:57:38 22:57:38 2022-02-01 22:57:38 (6.64 MB/s) - written to stdout [1030327] 22:57:38 22:57:38 + cd ./deps/prometheus-client-c-0.1.3.1 22:57:38 + /bin/bash ./auto build 22:57:38  22:57:38 ######################################################################## 22:57:38 > Executing build 22:57:38 ######################################################################## 22:57:38 22:57:38  22:57:38 ######################################################################## 22:57:38 > prom: CMake Build Stage 22:57:38 ######################################################################## 22:57:38 22:57:38 -- The C compiler identification is GNU 10.3.1 22:57:38 -- Detecting C compiler ABI info 22:57:38 -- Detecting C compiler ABI info - done 22:57:38 -- Check for working C compiler: /usr/bin/gcc - skipped 22:57:38 -- Detecting C compile features 22:57:38 -- Detecting C compile features - done 22:57:38 -- Looking for pthread.h 22:57:39 -- Looking for pthread.h - found 22:57:39 -- Performing Test CMAKE_HAVE_LIBC_PTHREAD 22:57:39 -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success 22:57:39 -- Found Threads: TRUE 22:57:39 -- Configuring done 22:57:39 -- Generating done 22:57:39 -- Build files have been written to: /tmp/sdk/deps/prometheus-client-c-0.1.3.1/prom/build 22:57:39  22:57:39 ######################################################################## 22:57:39 > prom: Make Build Stage 22:57:39 ######################################################################## 22:57:39 22:57:39 [ 5%] Building C object CMakeFiles/prom.dir/src/prom_collector.c.o 22:57:39 [ 11%] Building C object CMakeFiles/prom.dir/src/prom_collector_registry.c.o 22:57:39 [ 16%] Building C object CMakeFiles/prom.dir/src/prom_counter.c.o 22:57:39 [ 22%] Building C object CMakeFiles/prom.dir/src/prom_gauge.c.o 22:57:39 [ 27%] Building C object CMakeFiles/prom.dir/src/prom_histogram.c.o 22:57:39 [ 33%] Building C object CMakeFiles/prom.dir/src/prom_histogram_buckets.c.o 22:57:39 [ 38%] Building C object CMakeFiles/prom.dir/src/prom_linked_list.c.o 22:57:39 [ 44%] Building C object CMakeFiles/prom.dir/src/prom_map.c.o 22:57:39 [ 50%] Building C object CMakeFiles/prom.dir/src/prom_metric.c.o 22:57:39 [ 55%] Building C object CMakeFiles/prom.dir/src/prom_metric_formatter.c.o 22:57:39 [ 61%] Building C object CMakeFiles/prom.dir/src/prom_metric_sample.c.o 22:57:39 [ 66%] Building C object CMakeFiles/prom.dir/src/prom_metric_sample_histogram.c.o 22:57:39 [ 72%] Building C object CMakeFiles/prom.dir/src/prom_process_fds.c.o 22:57:40 [ 77%] Building C object CMakeFiles/prom.dir/src/prom_process_limits.c.o 22:57:40 [ 83%] Building C object CMakeFiles/prom.dir/src/prom_process_stat.c.o 22:57:40 [ 88%] Building C object CMakeFiles/prom.dir/src/prom_procfs.c.o 22:57:40 [ 94%] Building C object CMakeFiles/prom.dir/src/prom_string_builder.c.o 22:57:40 [100%] Linking C shared library libprom.so 22:57:40 [100%] Built target prom 22:57:40  22:57:40 ######################################################################## 22:57:40 > promhttp: CMake Build Stage 22:57:40 ######################################################################## 22:57:40 22:57:40 -- The C compiler identification is GNU 10.3.1 22:57:40 -- Detecting C compiler ABI info 22:57:40 -- Detecting C compiler ABI info - done 22:57:40 -- Check for working C compiler: /usr/bin/gcc - skipped 22:57:40 -- Detecting C compile features 22:57:40 -- Detecting C compile features - done 22:57:40 -- Looking for pthread.h 22:57:40 -- Looking for pthread.h - found 22:57:40 -- Performing Test CMAKE_HAVE_LIBC_PTHREAD 22:57:40 -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success 22:57:40 -- Found Threads: TRUE 22:57:40 -- Configuring done 22:57:40 -- Generating done 22:57:40 -- Build files have been written to: /tmp/sdk/deps/prometheus-client-c-0.1.3.1/promhttp/build 22:57:40  22:57:40 ######################################################################## 22:57:40 > promhttp: Make Build Stage 22:57:40 ######################################################################## 22:57:40 22:57:40 [ 50%] Building C object CMakeFiles/promhttp.dir/src/promhttp.c.o 22:57:40 [100%] Linking C shared library libpromhttp.so 22:57:40 [100%] Built target promhttp 22:57:40 SUCCESS: Build Complete 22:57:40 + /bin/bash ./auto package 22:57:40  22:57:40 ######################################################################## 22:57:40 > Executing package 22:57:40 ######################################################################## 22:57:40 22:57:40 CPack: Create package using TGZ 22:57:40 CPack: Install projects 22:57:40 CPack: - Run preinstall target for: libprom 22:57:40 CPack: - Install project: libprom [] 22:57:40 CPack: Create package 22:57:40 CPack: - package: /tmp/sdk/deps/prometheus-client-c-0.1.3.1/prom/libprom-dev-0.1.3-Linux.tar.gz generated. 22:57:40 CPack: Create package using DEB 22:57:40 CPack: Install projects 22:57:40 CPack: - Run preinstall target for: libprom 22:57:40 CPack: - Install project: libprom [] 22:57:40 CPack: Create package 22:57:40 -- CPackDeb: Can not find dpkg in your path, default to i386. 22:57:40 -- CPACK_DEBIAN_PACKAGE_DEPENDS not set, the package will have no dependencies. 22:57:40 CPack: - package: /tmp/sdk/deps/prometheus-client-c-0.1.3.1/prom/libprom-dev-0.1.3-Linux.deb generated. 22:57:40 CPack: Create package using TGZ 22:57:40 CPack: Install projects 22:57:40 CPack: - Run preinstall target for: libpromhttp 22:57:40 CPack: - Install project: libpromhttp [] 22:57:40 CPack: Create package 22:57:40 CPack: - package: /tmp/sdk/deps/prometheus-client-c-0.1.3.1/promhttp/libpromhttp-dev-0.1.3-Linux.tar.gz generated. 22:57:40 CPack: Create package using DEB 22:57:40 CPack: Install projects 22:57:40 CPack: - Run preinstall target for: libpromhttp 22:57:40 CPack: - Install project: libpromhttp [] 22:57:40 CPack: Create package 22:57:40 -- CPackDeb: Can not find dpkg in your path, default to i386. 22:57:40 CPack: - package: /tmp/sdk/deps/prometheus-client-c-0.1.3.1/promhttp/libpromhttp-dev-0.1.3-Linux.deb generated. 22:57:40 SUCCESS: Package build success 22:57:40 + mkdir temp 22:57:40 + cp ./prom/libprom-dev-0.1.3-Linux.tar.gz ./promhttp/libpromhttp-dev-0.1.3-Linux.tar.gz temp 22:57:40 + cd temp 22:57:40 + tar -xf libprom-dev-0.1.3-Linux.tar.gz 22:57:40 + 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 22:57:40 + cp './libprom-dev-0.1.3-Linux/lib64/*' /usr/lib 22:57:40 cp: can't stat './libprom-dev-0.1.3-Linux/lib64/*': No such file or directory 22:57:41 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 [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:57:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:57:41 22:57:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 22:57:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:57:41 latest: Pulling from edgex-lftools-log-publisher 22:57:41 b4d181a07f80: Pulling fs layer 22:57:41 a1111a8f2ec3: Pulling fs layer 22:57:41 ed53099fbce6: Pulling fs layer 22:57:41 dc539afda2c1: Pulling fs layer 22:57:41 77bc0d833cb6: Pulling fs layer 22:57:41 9065ff56babe: Pulling fs layer 22:57:41 d287ab97295c: Pulling fs layer 22:57:41 dc539afda2c1: Waiting 22:57:41 77bc0d833cb6: Waiting 22:57:41 9065ff56babe: Waiting 22:57:41 d287ab97295c: Waiting 22:57:41 a1111a8f2ec3: Verifying Checksum 22:57:41 a1111a8f2ec3: Download complete 22:57:41 dc539afda2c1: Verifying Checksum 22:57:41 dc539afda2c1: Download complete 22:57:41 ed53099fbce6: Verifying Checksum 22:57:41 ed53099fbce6: Download complete 22:57:41 77bc0d833cb6: Verifying Checksum 22:57:41 77bc0d833cb6: Download complete 22:57:41 9065ff56babe: Verifying Checksum 22:57:41 9065ff56babe: Download complete 22:57:42 b4d181a07f80: Verifying Checksum 22:57:42 b4d181a07f80: Download complete 22:57:42 d287ab97295c: Verifying Checksum 22:57:42 d287ab97295c: Download complete 22:57:43 b4d181a07f80: Pull complete 22:57:43 a1111a8f2ec3: Pull complete 22:57:44 ed53099fbce6: Pull complete 22:57:44 dc539afda2c1: Pull complete 22:57:44 77bc0d833cb6: Pull complete 22:57:44 9065ff56babe: Pull complete 22:57:49 d287ab97295c: Pull complete 22:57:49 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 22:57:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:57:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 22:57:49 prd-centos7-docker-4c-2g-4395 does not seem to be running inside a container 22:57:49 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:57:52 $ docker top ff9fc61b353eabd3d988bd2b72087bd4b485b3bede50f4270c8052567a1a1a7b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:57:52 ---> job-cost.sh 22:57:52 lf-activate-venv: SKIPPING 22:57:52 INFO: No Stack... 22:57:52 INFO: Retrieving Pricing Info for: v3-standard-2 22:57:53 INFO: Archiving Costs [Pipeline] sh 22:57:53 + cat /w/workspace/edgexfoundry_device-sdk-c_PR-388/archives/cost.csv 22:57:53 + cut -d, -f6 [Pipeline] lock 22:57:53 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-388-3-stack-cost] 22:57:53 Resource [jenkins-edgexfoundry-device-sdk-c-PR-388-3-stack-cost] did not exist. Created. 22:57:53 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-388-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:57:54 + echo total: 0.05999999865889549 [Pipeline] stash 22:57:54 Stashed 1 file(s) [Pipeline] } 22:57:54 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-388-3-stack-cost] [Pipeline] // lock [Pipeline] } 22:57:54 $ docker stop --time=1 ff9fc61b353eabd3d988bd2b72087bd4b485b3bede50f4270c8052567a1a1a7b 22:57:55 $ docker rm -f ff9fc61b353eabd3d988bd2b72087bd4b485b3bede50f4270c8052567a1a1a7b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:57:55 Failed in branch amd64 22:59:43 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4396 in /w/workspace/edgexfoundry_device-sdk-c_PR-388 [Pipeline] { [Pipeline] ws 22:59:44 Running in /w/workspace/device-sdk-c/3 [Pipeline] { [Pipeline] checkout 22:59:44 Selected Git installation does not exist. Using Default 22:59:44 The recommended git tool is: NONE 22:59:48 using credential edgex-jenkins-ssh 22:59:48 Cloning the remote Git repository 22:59:48 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 22:59:48 > git init /w/workspace/device-sdk-c/3 # timeout=10 22:59:48 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 22:59:48 > git --version # timeout=10 22:59:48 > git --version # 'git version 2.17.1' 22:59:48 using GIT_SSH to set credentials SSH Credentials for GitHub 22:59:48 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:59:49 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 22:59:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:59:49 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 22:59:49 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 22:59:49 using GIT_SSH to set credentials SSH Credentials for GitHub 22:59:49 > 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 22:59:51 Merging remotes/origin/main commit 8c74ffe4fc698c219175e751f1cca4a77f9c9083 into PR head commit 8f822df88842add76d792b0fcf38c18213008c44 22:59:52 Merge succeeded, producing 19880ddffa88aba3f13a4bea8c5c8f31c49a6605 22:59:52 Checking out Revision 19880ddffa88aba3f13a4bea8c5c8f31c49a6605 (PR-388) 22:59:51 > git config core.sparsecheckout # timeout=10 22:59:51 > git checkout -f 8f822df88842add76d792b0fcf38c18213008c44 # timeout=10 22:59:52 > git remote # timeout=10 22:59:52 > git config --get remote.origin.url # timeout=10 22:59:52 using GIT_SSH to set credentials SSH Credentials for GitHub 22:59:52 > git merge 8c74ffe4fc698c219175e751f1cca4a77f9c9083 # timeout=10 22:59:52 > git rev-parse HEAD^{commit} # timeout=10 22:59:52 > git config core.sparsecheckout # timeout=10 22:59:52 > git checkout -f 19880ddffa88aba3f13a4bea8c5c8f31c49a6605 # timeout=10 22:59:56 Commit message: "Merge commit '8c74ffe4fc698c219175e751f1cca4a77f9c9083' into HEAD" 22:59:56 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:59:56 > git rev-list --no-walk 9832a346578748b6b9b91f5148c7bb47aefb4e80 # timeout=10 22:59:57 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:59:57 % Total % Received % Xferd Average Speed Time Time Time Current 22:59:57 Dload Upload Total Spent Left Speed 22:59:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 89 11843 89 10502 0 0 84693 0 --:--:-- --:--:-- --:--:-- 84693 100 11843 100 11843 0 0 94744 0 --:--:-- --:--:-- --:--:-- 93992 [Pipeline] sh 22:59:57 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:59:58 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:59:58 + sudo tee /etc/docker/daemon.new 22:59:58 { 22:59:58 "registry-mirrors": [ 22:59:58 "https://nexus3.edgexfoundry.org:10001" 22:59:58 ], 22:59:58 "bip": "10.250.0.254/24", 22:59:58 "hosts": [ 22:59:58 "tcp://0.0.0.0:5555", 22:59:58 "unix:///var/run/docker.sock" 22:59:58 ], 22:59:58 "mtu": 1458, 22:59:58 "selinux-enabled": true, 22:59:58 "seccomp-profile": "/etc/docker/seccomp.json" 22:59:58 } [Pipeline] sh 22:59:58 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:59:59 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:00:17 provisioning config files... 23:00:17 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/3@tmp/config1076245110547060130tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:00:17 ---> docker-login.sh 23:00:17 nexus3.edgexfoundry.org:10001 23:00:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:00:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:00:18 Configure a credential helper to remove this warning. See 23:00:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:00:18 23:00:18 Login Succeeded 23:00:18 nexus3.edgexfoundry.org:10002 23:00:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:00:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:00:18 Configure a credential helper to remove this warning. See 23:00:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:00:18 23:00:18 Login Succeeded 23:00:18 nexus3.edgexfoundry.org:10003 23:00:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:00:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:00:19 Configure a credential helper to remove this warning. See 23:00:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:00:19 23:00:19 Login Succeeded 23:00:19 nexus3.edgexfoundry.org:10004 23:00:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:00:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:00:19 Configure a credential helper to remove this warning. See 23:00:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:00:19 23:00:19 Login Succeeded 23:00:19 docker.io 23:00:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:00:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:00:20 Configure a credential helper to remove this warning. See 23:00:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:00:20 23:00:20 Login Succeeded 23:00:20 ---> docker-login.sh ends [Pipeline] } 23:00:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:00:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:00:21 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 23:00:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:00:21 ========================================================= 23:00:21 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 23:00:21 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 23:00:21 + 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 . 23:00:22 Sending build context to Docker daemon 17.96MB 23:00:22 Step 1/24 : ARG BASE=alpine:3.14 23:00:22 Step 2/24 : FROM ${BASE} as builder 23:00:22 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 23:00:22 552d1f2373af: Pulling fs layer 23:00:22 f2be2b6548c6: Pulling fs layer 23:00:22 ee4ac2fe028c: Pulling fs layer 23:00:22 f2be2b6548c6: Verifying Checksum 23:00:22 f2be2b6548c6: Download complete 23:00:22 552d1f2373af: Verifying Checksum 23:00:22 552d1f2373af: Download complete 23:00:22 552d1f2373af: Pull complete 23:00:23 f2be2b6548c6: Pull complete 23:00:24 ee4ac2fe028c: Verifying Checksum 23:00:24 ee4ac2fe028c: Download complete 23:00:32 ee4ac2fe028c: Pull complete 23:00:32 Digest: sha256:4c85ded81933cf54d6808eb239bc3fea8e3bb42c9130537b51c88bfc6b01a02b 23:00:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 23:00:32 ---> b6d714ea7bf2 23:00:32 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 23:00:32 ---> Running in 2c6710c3e1c2 23:00:34 Connecting to iotech.jfrog.io (34.243.182.113:443) 23:00:34 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 23:00:34 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 23:00:34 '/etc/apk/keys/alpine.dev.rsa.pub' saved 23:00:35 Removing intermediate container 2c6710c3e1c2 23:00:35 ---> 644ab1a58003 23:00:35 Step 4/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 23:00:35 ---> Running in 7dc223106962 23:00:36 Removing intermediate container 7dc223106962 23:00:36 ---> 0261804106e4 23:00:36 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 23:00:37 ---> Running in 42ffa0cafde7 23:00:37 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 23:00:38 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 23:00:39 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz 23:00:39 WARNING: This apk-tools is OLD! Some packages might not function properly. 23:00:39 (1/29) Installing readline (8.1.0-r0) 23:00:40 (2/29) Installing bash (5.1.4-r0) 23:00:40 Executing bash-5.1.4-r0.post-install 23:00:40 (3/29) Installing hiredis (1.0.0-r0) 23:00:40 (4/29) Installing hiredis-dev (1.0.0-r0) 23:00:40 (5/29) Installing ncurses-dev (6.2_p20210612-r0) 23:00:40 (6/29) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 23:00:41 (7/29) Installing libblkid (2.37.2-r0) 23:00:41 (8/29) Installing blkid (2.37.2-r0) 23:00:41 (9/29) Installing libcap-ng (0.8.2-r0) 23:00:41 (10/29) Installing setpriv (2.37.2-r0) 23:00:41 (11/29) Installing libmount (2.37.2-r0) 23:00:41 (12/29) Installing libsmartcols (2.37.2-r0) 23:00:41 (13/29) Installing findmnt (2.37.2-r0) 23:00:41 (14/29) Installing mcookie (2.37.2-r0) 23:00:42 (15/29) Installing hexdump (2.37.2-r0) 23:00:42 (16/29) Installing lsblk (2.37.2-r0) 23:00:42 (17/29) Installing libuuid (2.37.2-r0) 23:00:42 (18/29) Installing libfdisk (2.37.2-r0) 23:00:42 (19/29) Installing sfdisk (2.37.2-r0) 23:00:42 (20/29) Installing cfdisk (2.37.2-r0) 23:00:42 (21/29) Installing partx (2.37.2-r0) 23:00:42 (22/29) Installing flock (2.37.2-r0) 23:00:42 (23/29) Installing logger (2.37.2-r0) 23:00:42 (24/29) Installing uuidgen (2.37.2-r0) 23:00:42 (25/29) Installing libeconf (0.3.8-r1) 23:00:42 (26/29) Installing util-linux (2.37.2-r0) 23:00:43 (27/29) Installing util-linux-dev (2.37.2-r0) 23:00:43 (28/29) Installing libidn2 (2.3.1-r0) 23:00:43 (29/29) Installing wget (1.21.1-r1) 23:00:43 Executing busybox-1.33.1-r3.trigger 23:00:43 OK: 288 MiB in 106 packages 23:00:45 Removing intermediate container 42ffa0cafde7 23:00:45 ---> 5aa49c2e827b 23:00:45 Step 6/24 : ENV CBOR_VERSION=0.5.0 23:00:45 ---> Running in 2b0a477286fa 23:00:45 Removing intermediate container 2b0a477286fa 23:00:45 ---> ff537c03c468 23:00:45 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 23:00:45 ---> Running in 2fa1081c330b 23:00:46 --2022-02-01 23:00:46-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 23:00:46 Resolving github.com (github.com)... 140.82.113.3 23:00:46 Connecting to github.com (github.com)|140.82.113.3|:443... connected. 23:00:46 HTTP request sent, awaiting response... 302 Found 23:00:46 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 23:00:46 --2022-02-01 23:00:46-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 23:00:46 Resolving codeload.github.com (codeload.github.com)... 140.82.112.10 23:00:46 Connecting to codeload.github.com (codeload.github.com)|140.82.112.10|:443... connected. 23:00:46 HTTP request sent, awaiting response... 200 OK 23:00:46 Length: 719348 (702K) [application/x-gzip] 23:00:46 Saving to: 'STDOUT' 23:00:46 23:00:46 0K .......... .......... .......... .......... .......... 7% 1.27M 1s 23:00:46 50K .......... .......... .......... .......... .......... 14% 2.50M 0s 23:00:46 100K .......... .......... .......... .......... .......... 21% 36.7M 0s 23:00:46 150K .......... .......... .......... .......... .......... 28% 2.49M 0s 23:00:46 200K .......... .......... .......... .......... .......... 35% 33.1M 0s 23:00:46 250K .......... .......... .......... .......... .......... 42% 3.99M 0s 23:00:46 300K .......... .......... .......... .......... .......... 49% 7.17M 0s 23:00:46 350K .......... .......... .......... .......... .......... 56% 5.51M 0s 23:00:46 400K .......... .......... .......... .......... .......... 64% 3.99M 0s 23:00:46 450K .......... .......... .......... .......... .......... 71% 5.88M 0s 23:00:46 500K .......... .......... .......... .......... .......... 78% 4.91M 0s 23:00:46 550K .......... .......... .......... .......... .......... 85% 6.70M 0s 23:00:46 600K .......... .......... .......... .......... .......... 92% 1.08M 0s 23:00:46 650K .......... .......... .......... .......... .......... 99% 1.22M 0s 23:00:46 700K ..                    100% 4.63T=0.2s 23:00:46 23:00:46 2022-02-01 23:00:46 (2.96 MB/s) - written to stdout [719348/719348] 23:00:46 23:00:47 -- The C compiler identification is GNU 10.3.1 23:00:47 -- The CXX compiler identification is GNU 10.3.1 23:00:47 -- Detecting C compiler ABI info 23:00:48 -- Detecting C compiler ABI info - done 23:00:48 -- Check for working C compiler: /usr/bin/cc - skipped 23:00:48 -- Detecting C compile features 23:00:48 -- Detecting C compile features - done 23:00:48 -- Detecting CXX compiler ABI info 23:00:48 -- Detecting CXX compiler ABI info - done 23:00:48 -- Check for working CXX compiler: /usr/bin/c++ - skipped 23:00:48 -- Detecting CXX compile features 23:00:48 -- Detecting CXX compile features - done 23:00:48 -- Looking for include file endian.h 23:00:48 -- Looking for include file endian.h - found 23:00:48 -- Looking for sys/types.h 23:00:49 -- Looking for sys/types.h - found 23:00:49 -- Looking for stdint.h 23:00:49 -- Looking for stdint.h - found 23:00:49 -- Looking for stddef.h 23:00:49 -- Looking for stddef.h - found 23:00:49 -- Check size of size_t 23:00:49 -- Check size of size_t - done 23:00:49 CMake Warning at examples/CMakeLists.txt:16 (find_package): 23:00:49 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 23:00:49 asked CMake to find a package configuration file provided by "cJSON", but 23:00:49 CMake did not find one. 23:00:49 23:00:49 Could not find a package configuration file provided by "cJSON" with any of 23:00:49 the following names: 23:00:49 23:00:49 cJSONConfig.cmake 23:00:49 cjson-config.cmake 23:00:49 23:00:49 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 23:00:49 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 23:00:49 provides a separate development package or SDK, be sure it has been 23:00:49 installed. 23:00:49 23:00:49 23:00:49 -- Configuring done 23:00:50 -- Generating done 23:00:50 -- Build files have been written to: /tmp/cbor 23:00:50 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 23:00:51 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 23:00:51 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 23:00:52 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 23:00:53 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 23:00:53 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 23:00:53 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 23:00:53 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 23:00:54 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 23:00:54 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 23:00:54 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 23:00:55 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 23:00:55 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 23:00:56 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 23:00:56 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 23:00:56 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 23:00:57 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 23:00:57 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 23:00:57 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 23:00:57 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 23:00:58 [ 40%] Linking C shared library libcbor.so 23:00:58 [ 40%] Built target cbor_shared 23:00:58 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 23:00:59 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 23:01:00 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 23:01:00 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 23:01:02 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 23:01:02 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 23:01:02 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 23:01:03 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 23:01:03 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 23:01:03 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 23:01:04 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 23:01:04 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 23:01:05 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 23:01:05 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 23:01:06 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 23:01:06 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 23:01:06 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 23:01:07 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 23:01:07 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 23:01:07 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 23:01:08 [ 80%] Linking C static library libcbor.a 23:01:08 [ 80%] Built target cbor 23:01:08 [ 82%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 23:01:08 [ 84%] Linking C executable readfile 23:01:08 [ 84%] Built target readfile 23:01:08 [ 86%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 23:01:08 [ 88%] Linking C executable create_items 23:01:08 [ 88%] Built target create_items 23:01:08 [ 90%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 23:01:09 [ 92%] Linking C executable sort 23:01:09 [ 92%] Built target sort 23:01:09 [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 23:01:09 [ 96%] Linking C executable hello 23:01:09 [ 96%] Built target hello 23:01:09 [ 98%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 23:01:09 [100%] Linking C executable streaming_parser 23:01:10 [100%] Built target streaming_parser 23:01:10 Install the project... 23:01:10 -- Install configuration: "Release" 23:01:10 -- Installing: /usr/local/include/cbor/configuration.h 23:01:10 -- Installing: /usr/local/lib/libcbor.a 23:01:10 -- Installing: /usr/local/lib/libcbor.so.0.0.0 23:01:10 -- Installing: /usr/local/lib/libcbor.so.0 23:01:10 -- Installing: /usr/local/lib/libcbor.so 23:01:10 -- Up-to-date: /usr/local/include/cbor 23:01:10 -- Installing: /usr/local/include/cbor/data.h 23:01:10 -- Installing: /usr/local/include/cbor/callbacks.h 23:01:10 -- Installing: /usr/local/include/cbor/ints.h 23:01:10 -- Installing: /usr/local/include/cbor/arrays.h 23:01:10 -- Installing: /usr/local/include/cbor/maps.h 23:01:10 -- Installing: /usr/local/include/cbor/tags.h 23:01:10 -- Installing: /usr/local/include/cbor/serialization.h 23:01:10 -- Installing: /usr/local/include/cbor/common.h 23:01:10 -- Installing: /usr/local/include/cbor/floats_ctrls.h 23:01:10 -- Installing: /usr/local/include/cbor/internal 23:01:10 -- Installing: /usr/local/include/cbor/internal/encoders.h 23:01:10 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 23:01:10 -- Installing: /usr/local/include/cbor/internal/stack.h 23:01:10 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 23:01:10 -- Installing: /usr/local/include/cbor/internal/unicode.h 23:01:10 -- Installing: /usr/local/include/cbor/internal/loaders.h 23:01:10 -- Installing: /usr/local/include/cbor/bytestrings.h 23:01:10 -- Installing: /usr/local/include/cbor/encoding.h 23:01:10 -- Installing: /usr/local/include/cbor/streaming.h 23:01:10 -- Installing: /usr/local/include/cbor/strings.h 23:01:10 -- Installing: /usr/local/include/cbor.h 23:01:10 -- Installing: /usr/local/lib/pkgconfig/libcbor.pc 23:01:11 Removing intermediate container 2fa1081c330b 23:01:11 ---> 76120352eee5 23:01:11 Step 8/24 : RUN mkdir /tmp/sdk 23:01:11 ---> Running in 8fccc187148a 23:01:13 Removing intermediate container 8fccc187148a 23:01:13 ---> 02de54ec105b 23:01:13 Step 9/24 : COPY VERSION /tmp/sdk 23:01:14 ---> 6ec9629dd899 23:01:14 Step 10/24 : COPY src /tmp/sdk/src 23:01:14 ---> 61ed26815899 23:01:14 Step 11/24 : COPY include /tmp/sdk/include 23:01:15 ---> b52f2df02866 23:01:15 Step 12/24 : COPY scripts /tmp/sdk/scripts 23:01:15 ---> 2dc7d516a3df 23:01:15 Step 13/24 : COPY LICENSE /tmp/sdk 23:01:16 ---> 80b2331b8d1f 23:01:16 Step 14/24 : COPY Attribution.txt /tmp/sdk 23:01:16 ---> b1d476831b10 23:01:17 Step 15/24 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 23:01:17 ---> Running in fe07a684d313 23:01:17 + CPPCHECK=false 23:01:17 + DOCGEN=false 23:01:17 + TOMLVER=SDK-0.2 23:01:17 + CUTILVER=1.2.2 23:01:17 + '[' 0 -gt 0 ] 23:01:17 + readlink -f ./scripts/build.sh 23:01:17 + dirname /tmp/sdk/scripts/build.sh 23:01:17 + dirname /tmp/sdk/scripts 23:01:17 + ROOT=/tmp/sdk 23:01:17 + cd /tmp/sdk 23:01:17 + '[' '!' -d deps ] 23:01:17 + mkdir deps 23:01:17 + wget -O - https://github.com.cnpmjs.org/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 23:01:17 + tar -C deps -z -x -f - 23:01:17 --2022-02-01 23:01:17-- https://github.com.cnpmjs.org/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 23:01:18 Resolving github.com.cnpmjs.org (github.com.cnpmjs.org)... 47.241.4.205 23:01:18 Connecting to github.com.cnpmjs.org (github.com.cnpmjs.org)|47.241.4.205|:443... connected. 23:01:19 HTTP request sent, awaiting response... 302 Found 23:01:19 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 23:01:19 --2022-02-01 23:01:19-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 23:01:19 Resolving codeload.github.com (codeload.github.com)... 140.82.112.10 23:01:19 Connecting to codeload.github.com (codeload.github.com)|140.82.112.10|:443... connected. 23:01:19 HTTP request sent, awaiting response... 200 OK 23:01:19 Length: 16451 (16K) [application/x-gzip] 23:01:19 Saving to: 'STDOUT' 23:01:19  23:01:19 0K .......... ......  100% 881K=0.02s 23:01:19 23:01:19 2022-02-01 23:01:19 (881 KB/s) - written to stdout [16451/16451] 23:01:19 23:01:19 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 23:01:19 + wget -O - https://github.com.cnpmjs.org/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 23:01:19 + tar -C deps -z -x -f - 23:01:19 --2022-02-01 23:01:19-- https://github.com.cnpmjs.org/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 23:01:19 Resolving github.com.cnpmjs.org (github.com.cnpmjs.org)... 47.241.4.205 23:01:20 Connecting to github.com.cnpmjs.org (github.com.cnpmjs.org)|47.241.4.205|:443... connected. 23:01:21 HTTP request sent, awaiting response... 302 Found 23:01:21 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [following] 23:01:21 --2022-02-01 23:01:21-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 23:01:21 Resolving codeload.github.com (codeload.github.com)... 140.82.112.10 23:01:21 Connecting to codeload.github.com (codeload.github.com)|140.82.112.10|:443... connected. 23:01:21 HTTP request sent, awaiting response... 200 OK 23:01:21 Length: 193961 (189K) [application/x-gzip] 23:01:21 Saving to: 'STDOUT' 23:01:21 23:01:21 0K .......... .......... .......... .......... .......... 26% 1.26M 0s 23:01:21 50K .......... .......... .......... .......... .......... 52% 2.24M 0s 23:01:21 100K .......... .......... .......... .......... .......... 79% 9.34M 0s 23:01:21 150K .......... .......... .......... ......... 100% 2.12M=0.08s 23:01:21 23:01:21 2022-02-01 23:01:21 (2.21 MB/s) - written to stdout [193961/193961] 23:01:21 23:01:21 + mkdir -p src/c/iot 23:01:21 + 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 23:01:21 + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot 23:01:21 + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot 23:01:21 + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot 23:01:21 + mkdir -p include/iot 23:01:21 + 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 23:01:21 + mkdir -p include/iot/os 23:01:21 + 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 23:01:21 + wget -O - https://github.com.cnpmjs.org/edgego/prometheus-client-c/archive/refs/tags/v0.1.3.1.tar.gz 23:01:21 + tar -C deps -z -x -f - 23:01:21 --2022-02-01 23:01:21-- https://github.com.cnpmjs.org/edgego/prometheus-client-c/archive/refs/tags/v0.1.3.1.tar.gz 23:01:21 Resolving github.com.cnpmjs.org (github.com.cnpmjs.org)... 47.241.4.205 23:01:21 Connecting to github.com.cnpmjs.org (github.com.cnpmjs.org)|47.241.4.205|:443... connected. 23:01:22 HTTP request sent, awaiting response... 302 Found 23:01:22 Location: https://codeload.github.com/edgego/prometheus-client-c/tar.gz/refs/tags/v0.1.3.1 [following] 23:01:22 --2022-02-01 23:01:22-- https://codeload.github.com/edgego/prometheus-client-c/tar.gz/refs/tags/v0.1.3.1 23:01:22 Resolving codeload.github.com (codeload.github.com)... 140.82.112.10 23:01:23 Connecting to codeload.github.com (codeload.github.com)|140.82.112.10|:443... connected. 23:01:23 HTTP request sent, awaiting response... 200 OK 23:01:23 Length: unspecified [application/x-gzip] 23:01:23 Saving to: 'STDOUT' 23:01:23  23:01:23 0K .......... .......... .......... .......... .......... 1.26M 23:01:23 50K .......... .......... .......... .......... .......... 2.43M 23:01:23 100K .......... .......... .......... .......... .......... 12.4M 23:01:23 150K .......... .......... .......... .......... .......... 2.85M 23:01:23 200K .......... .......... .......... .......... .......... 14.6M 23:01:23 250K .......... .......... .......... .......... .......... 8.83M 23:01:23 300K .......... .......... .......... .......... .......... 4.71M 23:01:23 350K .......... .......... .......... .......... .......... 10.1M 23:01:23 400K .......... .......... .......... .......... .......... 39.2M 23:01:23 450K .......... .......... .......... .......... .......... 8.62M 23:01:23 500K .......... .......... .......... .......... .......... 8.87M 23:01:23 550K .......... .......... .......... .......... .......... 5.08M 23:01:23 600K .......... .......... .......... .......... .......... 8.98M 23:01:23 650K .......... .......... .......... .......... .......... 14.0M 23:01:23 700K .......... .......... .......... .......... .......... 4.46M 23:01:23 750K .......... .......... .......... .......... .......... 885K 23:01:23 800K .......... .......... .......... .......... .......... 2.70M 23:01:23 850K .......... .......... .......... .......... .......... 17.6M 23:01:23 900K .......... .......... .......... .......... .......... 23.0M 23:01:23 950K .......... .......... .......... .......... .......... 1.74M 23:01:23 1000K ......       515K=0.3s 23:01:23 23:01:23 2022-02-01 23:01:23 (3.70 MB/s) - written to stdout [1030327] 23:01:23 23:01:23 + cd ./deps/prometheus-client-c-0.1.3.1 23:01:23 + /bin/bash ./auto build 23:01:23  23:01:23 ######################################################################## 23:01:23 > Executing build 23:01:23 ######################################################################## 23:01:23 23:01:23  23:01:23 ######################################################################## 23:01:23 > prom: CMake Build Stage 23:01:23 ######################################################################## 23:01:23 23:01:23 -- The C compiler identification is GNU 10.3.1 23:01:23 -- Detecting C compiler ABI info 23:01:23 -- Detecting C compiler ABI info - done 23:01:24 -- Check for working C compiler: /usr/bin/gcc - skipped 23:01:24 -- Detecting C compile features 23:01:24 -- Detecting C compile features - done 23:01:24 -- Looking for pthread.h 23:01:24 -- Looking for pthread.h - found 23:01:24 -- Performing Test CMAKE_HAVE_LIBC_PTHREAD 23:01:24 -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success 23:01:24 -- Found Threads: TRUE 23:01:24 -- Configuring done 23:01:24 -- Generating done 23:01:24 -- Build files have been written to: /tmp/sdk/deps/prometheus-client-c-0.1.3.1/prom/build 23:01:24  23:01:24 ######################################################################## 23:01:24 > prom: Make Build Stage 23:01:24 ######################################################################## 23:01:24 23:01:25 [ 5%] Building C object CMakeFiles/prom.dir/src/prom_collector.c.o 23:01:25 [ 11%] Building C object CMakeFiles/prom.dir/src/prom_collector_registry.c.o 23:01:25 [ 16%] Building C object CMakeFiles/prom.dir/src/prom_counter.c.o 23:01:25 [ 22%] Building C object CMakeFiles/prom.dir/src/prom_gauge.c.o 23:01:25 [ 27%] Building C object CMakeFiles/prom.dir/src/prom_histogram.c.o 23:01:26 [ 33%] Building C object CMakeFiles/prom.dir/src/prom_histogram_buckets.c.o 23:01:26 [ 38%] Building C object CMakeFiles/prom.dir/src/prom_linked_list.c.o 23:01:26 [ 44%] Building C object CMakeFiles/prom.dir/src/prom_map.c.o 23:01:26 [ 50%] Building C object CMakeFiles/prom.dir/src/prom_metric.c.o 23:01:26 [ 55%] Building C object CMakeFiles/prom.dir/src/prom_metric_formatter.c.o 23:01:27 [ 61%] Building C object CMakeFiles/prom.dir/src/prom_metric_sample.c.o 23:01:27 [ 66%] Building C object CMakeFiles/prom.dir/src/prom_metric_sample_histogram.c.o 23:01:27 [ 72%] Building C object CMakeFiles/prom.dir/src/prom_process_fds.c.o 23:01:28 [ 77%] Building C object CMakeFiles/prom.dir/src/prom_process_limits.c.o 23:01:28 [ 83%] Building C object CMakeFiles/prom.dir/src/prom_process_stat.c.o 23:01:28 [ 88%] Building C object CMakeFiles/prom.dir/src/prom_procfs.c.o 23:01:28 [ 94%] Building C object CMakeFiles/prom.dir/src/prom_string_builder.c.o 23:01:28 [100%] Linking C shared library libprom.so 23:01:28 [100%] Built target prom 23:01:28  23:01:28 ######################################################################## 23:01:28 > promhttp: CMake Build Stage 23:01:28 ######################################################################## 23:01:28 23:01:29 -- The C compiler identification is GNU 10.3.1 23:01:29 -- Detecting C compiler ABI info 23:01:29 -- Detecting C compiler ABI info - done 23:01:29 -- Check for working C compiler: /usr/bin/gcc - skipped 23:01:29 -- Detecting C compile features 23:01:29 -- Detecting C compile features - done 23:01:29 -- Looking for pthread.h 23:01:29 -- Looking for pthread.h - found 23:01:29 -- Performing Test CMAKE_HAVE_LIBC_PTHREAD 23:01:30 -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success 23:01:30 -- Found Threads: TRUE 23:01:30 -- Configuring done 23:01:30 -- Generating done 23:01:30 -- Build files have been written to: /tmp/sdk/deps/prometheus-client-c-0.1.3.1/promhttp/build 23:01:30  23:01:30 ######################################################################## 23:01:30 > promhttp: Make Build Stage 23:01:30 ######################################################################## 23:01:30 23:01:30 [ 50%] Building C object CMakeFiles/promhttp.dir/src/promhttp.c.o 23:01:30 [100%] Linking C shared library libpromhttp.so 23:01:30 [100%] Built target promhttp 23:01:30 SUCCESS: Build Complete 23:01:30 + /bin/bash ./auto package 23:01:30  23:01:30 ######################################################################## 23:01:30 > Executing package 23:01:30 ######################################################################## 23:01:30 23:01:30 CPack: Create package using TGZ 23:01:30 CPack: Install projects 23:01:30 CPack: - Run preinstall target for: libprom 23:01:31 CPack: - Install project: libprom [] 23:01:31 CPack: Create package 23:01:31 CPack: - package: /tmp/sdk/deps/prometheus-client-c-0.1.3.1/prom/libprom-dev-0.1.3-Linux.tar.gz generated. 23:01:31 CPack: Create package using DEB 23:01:31 CPack: Install projects 23:01:31 CPack: - Run preinstall target for: libprom 23:01:31 CPack: - Install project: libprom [] 23:01:31 CPack: Create package 23:01:31 -- CPackDeb: Can not find dpkg in your path, default to i386. 23:01:31 -- CPACK_DEBIAN_PACKAGE_DEPENDS not set, the package will have no dependencies. 23:01:31 CPack: - package: /tmp/sdk/deps/prometheus-client-c-0.1.3.1/prom/libprom-dev-0.1.3-Linux.deb generated. 23:01:31 CPack: Create package using TGZ 23:01:31 CPack: Install projects 23:01:31 CPack: - Run preinstall target for: libpromhttp 23:01:31 CPack: - Install project: libpromhttp [] 23:01:31 CPack: Create package 23:01:31 CPack: - package: /tmp/sdk/deps/prometheus-client-c-0.1.3.1/promhttp/libpromhttp-dev-0.1.3-Linux.tar.gz generated. 23:01:31 CPack: Create package using DEB 23:01:31 CPack: Install projects 23:01:31 CPack: - Run preinstall target for: libpromhttp 23:01:31 CPack: - Install project: libpromhttp [] 23:01:31 CPack: Create package 23:01:31 -- CPackDeb: Can not find dpkg in your path, default to i386. 23:01:31 CPack: - package: /tmp/sdk/deps/prometheus-client-c-0.1.3.1/promhttp/libpromhttp-dev-0.1.3-Linux.deb generated. 23:01:31 SUCCESS: Package build success 23:01:31 + mkdir temp 23:01:31 + cp ./prom/libprom-dev-0.1.3-Linux.tar.gz ./promhttp/libpromhttp-dev-0.1.3-Linux.tar.gz temp 23:01:31 + cd temp 23:01:31 + tar -xf libprom-dev-0.1.3-Linux.tar.gz 23:01:31 + 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 23:01:31 + cp './libprom-dev-0.1.3-Linux/lib64/*' /usr/lib 23:01:31 cp: can't stat './libprom-dev-0.1.3-Linux/lib64/*': No such file or directory 23:01:32 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 23:01:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:01:32 23:01:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 23:01:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:01:33 arm64: Pulling from edgex-lftools-log-publisher 23:01:33 448f6bf000e3: Pulling fs layer 23:01:33 f757da607395: Pulling fs layer 23:01:33 05883995daec: Pulling fs layer 23:01:33 8603b9c90790: Pulling fs layer 23:01:33 1560dd03e051: Pulling fs layer 23:01:33 27f5ce0e4adf: Pulling fs layer 23:01:33 c2d8d7efcc4b: Pulling fs layer 23:01:33 1560dd03e051: Waiting 23:01:33 27f5ce0e4adf: Waiting 23:01:33 8603b9c90790: Waiting 23:01:33 c2d8d7efcc4b: Waiting 23:01:33 f757da607395: Verifying Checksum 23:01:33 f757da607395: Download complete 23:01:33 8603b9c90790: Verifying Checksum 23:01:33 8603b9c90790: Download complete 23:01:33 1560dd03e051: Verifying Checksum 23:01:33 1560dd03e051: Download complete 23:01:33 27f5ce0e4adf: Download complete 23:01:33 05883995daec: Verifying Checksum 23:01:33 05883995daec: Download complete 23:01:33 448f6bf000e3: Verifying Checksum 23:01:33 448f6bf000e3: Download complete 23:01:36 c2d8d7efcc4b: Verifying Checksum 23:01:36 c2d8d7efcc4b: Download complete 23:01:37 448f6bf000e3: Pull complete 23:01:38 f757da607395: Pull complete 23:01:39 05883995daec: Pull complete 23:01:39 8603b9c90790: Pull complete 23:01:40 1560dd03e051: Pull complete 23:01:40 27f5ce0e4adf: Pull complete 23:01:55 c2d8d7efcc4b: Pull complete 23:01:55 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 23:01:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:01:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 23:01:55 prd-ubuntu18.04-docker-arm64-4c-16g-4396 does not seem to be running inside a container 23:01:56 $ 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/3 -v /w/workspace/device-sdk-c/3:/w/workspace/device-sdk-c/3:rw,z -v /w/workspace/device-sdk-c/3@tmp:/w/workspace/device-sdk-c/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:01:58 $ docker top c6de837c29bd4bae30dedf67c6a367aa24b6defb606431e0908b877c6d40227f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:01:59 ---> job-cost.sh 23:01:59 lf-activate-venv: SKIPPING 23:01:59 INFO: No Stack... 23:01:59 INFO: Retrieving Pricing Info for: v3-standard-4 23:01:59 INFO: Archiving Costs [Pipeline] sh 23:02:00 + cat /w/workspace/device-sdk-c/3/archives/cost.csv 23:02:00 + cut -d, -f6 [Pipeline] lock 23:02:00 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-388-3-stack-cost] 23:02:00 Resource [jenkins-edgexfoundry-device-sdk-c-PR-388-3-stack-cost] did not exist. Created. 23:02:00 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-388-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:02:01 /w/workspace/device-sdk-c/3@tmp/durable-88d67dfb/script.sh: 1: /w/workspace/device-sdk-c/3@tmp/durable-88d67dfb/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 23:02:02 + echo total: 0.10999999940395355 [Pipeline] stash 23:02:02 Warning: overwriting stash ‘stack-cost’ 23:02:02 Stashed 1 file(s) [Pipeline] } 23:02:02 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-388-3-stack-cost] [Pipeline] // lock [Pipeline] } 23:02:02 $ docker stop --time=1 c6de837c29bd4bae30dedf67c6a367aa24b6defb606431e0908b877c6d40227f 23:02:04 $ docker rm -f c6de837c29bd4bae30dedf67c6a367aa24b6defb606431e0908b877c6d40227f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 23:02:04 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 23:02:05 + '[' -d /w/workspace/edgexfoundry_device-sdk-c_PR-388/archives ']' 23:02:05 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-388/archives 23:02:05 total 8 23:02:05 drwxr-xr-x. 3 root root 34 Feb 1 22:57 . 23:02:05 drwxrwxr-x. 10 jenkins jenkins 4096 Feb 1 22:57 .. 23:02:05 drwxr-xr-x. 2 root root 6 Feb 1 22:57 cost 23:02:05 -rw-r--r--. 1 root root 82 Feb 1 22:57 cost.csv 23:02:05 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-388/archives 23:02:05 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-388/archives 23:02:05 total 8 23:02:05 drwxr-xr-x. 3 jenkins jenkins 34 Feb 1 22:57 . 23:02:05 drwxrwxr-x. 10 jenkins jenkins 4096 Feb 1 22:57 .. 23:02:05 drwxr-xr-x. 2 jenkins jenkins 6 Feb 1 22:57 cost 23:02:05 -rw-r--r--. 1 jenkins jenkins 82 Feb 1 22:57 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:02:05 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:02:05 ---> package-listing.sh 23:02:05 ++ facter osfamily 23:02:05 ++ tr '[:upper:]' '[:lower:]' 23:02:06 + OS_FAMILY=redhat 23:02:06 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-388 23:02:06 + START_PACKAGES=/tmp/packages_start.txt 23:02:06 + END_PACKAGES=/tmp/packages_end.txt 23:02:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:02:06 + PACKAGES=/tmp/packages_start.txt 23:02:06 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-388 ']' 23:02:06 + PACKAGES=/tmp/packages_end.txt 23:02:06 + case "${OS_FAMILY}" in 23:02:06 + rpm -qa 23:02:06 + sort 23:02:06 + '[' -f /tmp/packages_start.txt ']' 23:02:06 + '[' -f /tmp/packages_end.txt ']' 23:02:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:02:06 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-388 ']' 23:02:06 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-388/archives/ 23:02:06 + 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 23:02:06 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 23:02:07 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 23:02:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:02:07 . [Pipeline] withDockerContainer 23:02:07 prd-centos7-docker-4c-2g-4395 does not seem to be running inside a container 23:02:07 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:02:07 $ docker top 57e9f1c42500553f0269a10be02f5779d9a9fea2ddded72e77f95d3e61f98c8b -eo pid,comm [Pipeline] { [Pipeline] sh 23:02:08 + touch /tmp/pre-build-complete [Pipeline] sh 23:02:08 + mkdir -p /var/log/sysstat [Pipeline] sh 23:02:08 + ls /var/log/sa-host 23:02:08 + sadf -c /var/log/sa-host/sa01 23:02:08 file_magic: OK 23:02:08 HZ: Using current value: 100 23:02:08 file_header: OK 23:02:08 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 23:02:08 Statistics: 23:02:08 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 23:02:08 File successfully converted to sysstat format version 12.0.3 23:02:08 + sadf -c /var/log/sa-host/sa17 23:02:08 file_magic: OK 23:02:08 HZ: Using current value: 100 23:02:08 file_header: OK 23:02:08 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 23:02:08 Statistics: 23:02:08 Hnuu...uuuununununu...Hnuu...uuuununununu... 23:02:08 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:02:08 provisioning config files... 23:02:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-388@tmp/config4148520602559471314tmp [Pipeline] { [Pipeline] echo 23:02:09 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:02:09 ---> create-netrc.sh [Pipeline] } 23:02:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:02:09 ---> python-tools-install.sh [Pipeline] echo 23:02:09 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:02:09 ---> sudo-logs.sh 23:02:09 Archiving 'sudo' log.. 23:02:09 sudo: unable to resolve host prd-centos7-docker-4c-2g-4395.novalocal: Name or service not known 23:02:09 sudo: unable to resolve host prd-centos7-docker-4c-2g-4395.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 23:02:09 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:02:10 ---> job-cost.sh 23:02:10 lf-activate-venv: SKIPPING 23:02:10 DEBUG: total: 0.05999999865889549 23:02:10 INFO: Retrieving Stack Cost... 23:02:10 INFO: Retrieving Pricing Info for: v3-standard-2 23:02:11 INFO: Archiving Costs [Pipeline] echo 23:02:11 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:02:11 ---> logs-deploy.sh 23:02:11 lf-activate-venv: SKIPPING 23:02:11 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-388/3 23:02:11 INFO: archiving workspace using pattern(s): 23:02:11 Archives upload complete. 23:02:12 INFO: archiving logs to Nexus