Pull request #396 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from d85d632fe5c36600cf4491fc43fab161c21463c2+8c74ffe4fc698c219175e751f1cca4a77f9c9083 (af450570e4b416908124fb024792cd5e554f00d4) 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-ssh2565532706649700429.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-ssh7124249548395394588.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-396/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-396/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh13110841054979275101.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-396/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2786316819125330369.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16471266985990633256.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-396/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-396/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh14544633429338387492.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-4430 in /w/workspace/edgexfoundry_device-sdk-c_PR-396 [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-396 # 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-396@tmp/jenkins-gitclient-ssh3486351916161939737.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 8c74ffe4fc698c219175e751f1cca4a77f9c9083 into PR head commit d85d632fe5c36600cf4491fc43fab161c21463c2 Merge succeeded, producing d85d632fe5c36600cf4491fc43fab161c21463c2 Checking out Revision d85d632fe5c36600cf4491fc43fab161c21463c2 (PR-396) > 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-396@tmp/jenkins-gitclient-ssh4903990384826558673.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/396/head:refs/remotes/origin/PR-396 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d85d632fe5c36600cf4491fc43fab161c21463c2 # 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-396@tmp/jenkins-gitclient-ssh4440579056910290408.key > git merge 8c74ffe4fc698c219175e751f1cca4a77f9c9083 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d85d632fe5c36600cf4491fc43fab161c21463c2 # timeout=10 Commit message: "fix: retry attempts to resolve service endpoints from registry (#394)" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-02-02T12:11:12.300Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-02-02T12:11:12.475Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-02-02T12:11:12.578Z] ========================================================= [2022-02-02T12:11:12.578Z] EdgeX Global Pipelines Version Info [2022-02-02T12:11:12.578Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-02-02T12:11:13.733Z] ------------------- [2022-02-02T12:11:13.733Z] stable info: [2022-02-02T12:11:13.733Z] ------------------- [2022-02-02T12:11:13.733Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-02-02T12:11:13.733Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-02-02T12:11:13.733Z] Message: update stable to v1.0.220 [2022-02-02T12:11:14.310Z] ------------------- [2022-02-02T12:11:14.310Z] experimental info: [2022-02-02T12:11:14.310Z] ------------------- [2022-02-02T12:11:14.310Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-02-02T12:11:14.310Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-02-02T12:11:14.310Z] Message: update experimental to v1.0.220 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-02-02T12:11:14.551Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2022-02-02T12:11:14.590Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2022-02-02T12:11:14.628Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-02-02T12:11:14.674Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-02-02T12:11:14.714Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-02-02T12:11:14.757Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2022-02-02T12:11:14.799Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2022-02-02T12:11:14.836Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-02-02T12:11:14.877Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-02-02T12:11:14.916Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2022-02-02T12:11:14.957Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-02-02T12:11:14.997Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-02-02T12:11:15.039Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-02-02T12:11:15.074Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-02-02T12:11:15.113Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-02-02T12:11:15.149Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-02-02T12:11:15.184Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-02-02T12:11:15.220Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-396 [Pipeline] echo [2022-02-02T12:11:15.257Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-396 [Pipeline] echo [2022-02-02T12:11:15.297Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-396 [Pipeline] echo [2022-02-02T12:11:15.335Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d85d632fe5c36600cf4491fc43fab161c21463c2 [Pipeline] echo [2022-02-02T12:11:15.374Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d85d632 [Pipeline] echo [2022-02-02T12:11:15.414Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-02T12:11:15.525Z] provisioning config files... [2022-02-02T12:11:15.541Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-396@tmp/config2822771671259076563tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-02T12:11:15.883Z] ---> docker-login.sh [2022-02-02T12:11:15.883Z] nexus3.edgexfoundry.org:10001 [2022-02-02T12:11:15.883Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-02T12:11:16.152Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-02T12:11:16.152Z] Configure a credential helper to remove this warning. See [2022-02-02T12:11:16.152Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-02T12:11:16.152Z] [2022-02-02T12:11:16.152Z] Login Succeeded [2022-02-02T12:11:16.152Z] nexus3.edgexfoundry.org:10002 [2022-02-02T12:11:16.152Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-02T12:11:16.152Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-02T12:11:16.152Z] Configure a credential helper to remove this warning. See [2022-02-02T12:11:16.152Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-02T12:11:16.152Z] [2022-02-02T12:11:16.152Z] Login Succeeded [2022-02-02T12:11:16.152Z] nexus3.edgexfoundry.org:10003 [2022-02-02T12:11:16.152Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-02T12:11:16.417Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-02T12:11:16.417Z] Configure a credential helper to remove this warning. See [2022-02-02T12:11:16.417Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-02T12:11:16.417Z] [2022-02-02T12:11:16.417Z] Login Succeeded [2022-02-02T12:11:16.417Z] nexus3.edgexfoundry.org:10004 [2022-02-02T12:11:16.417Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-02T12:11:16.417Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-02T12:11:16.417Z] Configure a credential helper to remove this warning. See [2022-02-02T12:11:16.417Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-02T12:11:16.417Z] [2022-02-02T12:11:16.417Z] Login Succeeded [2022-02-02T12:11:16.417Z] docker.io [2022-02-02T12:11:16.417Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-02T12:11:16.992Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-02T12:11:16.992Z] Configure a credential helper to remove this warning. See [2022-02-02T12:11:16.992Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-02T12:11:16.992Z] [2022-02-02T12:11:16.992Z] Login Succeeded [2022-02-02T12:11:16.992Z] ---> docker-login.sh ends [Pipeline] } [2022-02-02T12:11:17.018Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh [2022-02-02T12:11:17.619Z] + git rev-list -1 --merges d85d632fe5c36600cf4491fc43fab161c21463c2~1..d85d632fe5c36600cf4491fc43fab161c21463c2 [Pipeline] echo [2022-02-02T12:11:17.673Z] -----------> git rev-list -1 --merges d85d632fe5c36600cf4491fc43fab161c21463c2~1..d85d632fe5c36600cf4491fc43fab161c21463c2 d85d632fe5c36600cf4491fc43fab161c21463c2 [false] [Pipeline] sh [2022-02-02T12:11:17.991Z] + git log --format=format:%s -1 d85d632fe5c36600cf4491fc43fab161c21463c2 [Pipeline] echo [2022-02-02T12:11:18.031Z] ========================================================= [2022-02-02T12:11:18.031Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-02-02T12:11:18.031Z] ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-02-02T12:11:18.872Z] + git rev-list -1 --merges d85d632fe5c36600cf4491fc43fab161c21463c2~1..d85d632fe5c36600cf4491fc43fab161c21463c2 [Pipeline] echo [2022-02-02T12:11:18.907Z] -----------> git rev-list -1 --merges d85d632fe5c36600cf4491fc43fab161c21463c2~1..d85d632fe5c36600cf4491fc43fab161c21463c2 d85d632fe5c36600cf4491fc43fab161c21463c2 [false] [Pipeline] sh [2022-02-02T12:11:19.223Z] + git log --format=format:%s -1 d85d632fe5c36600cf4491fc43fab161c21463c2 [Pipeline] echo [2022-02-02T12:11:19.258Z] ========================================================= [2022-02-02T12:11:19.258Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-02-02T12:11:19.258Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2022-02-02T12:11:19.903Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-02-02T12:11:19.903Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-02-02T12:11:19.903Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-02-02T12:11:19.903Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-02-02T12:11:19.903Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-02-02T12:11:19.903Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-02-02T12:11:19.903Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-02-02T12:11:20.379Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-02T12:11:20.380Z] [2022-02-02T12:11:20.380Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-02-02T12:11:20.734Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-02T12:11:20.734Z] latest: Pulling from edgex-devops/git-semver [2022-02-02T12:11:20.734Z] a0d0a0d46f8b: Pulling fs layer [2022-02-02T12:11:20.734Z] 3e5f54012d9b: Pulling fs layer [2022-02-02T12:11:20.734Z] 4c7163046ea9: Pulling fs layer [2022-02-02T12:11:20.734Z] 0c2d73faf560: Pulling fs layer [2022-02-02T12:11:20.734Z] 0c2d73faf560: Waiting [2022-02-02T12:11:20.734Z] 3e5f54012d9b: Verifying Checksum [2022-02-02T12:11:20.734Z] 3e5f54012d9b: Download complete [2022-02-02T12:11:20.734Z] a0d0a0d46f8b: Verifying Checksum [2022-02-02T12:11:20.734Z] a0d0a0d46f8b: Download complete [2022-02-02T12:11:20.734Z] 4c7163046ea9: Verifying Checksum [2022-02-02T12:11:20.734Z] 4c7163046ea9: Download complete [2022-02-02T12:11:20.734Z] 0c2d73faf560: Verifying Checksum [2022-02-02T12:11:20.734Z] 0c2d73faf560: Download complete [2022-02-02T12:11:20.995Z] a0d0a0d46f8b: Pull complete [2022-02-02T12:11:20.995Z] 3e5f54012d9b: Pull complete [2022-02-02T12:11:21.260Z] 4c7163046ea9: Pull complete [2022-02-02T12:11:21.526Z] 0c2d73faf560: Pull complete [2022-02-02T12:11:21.526Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-02-02T12:11:21.526Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-02T12:11:21.526Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-02-02T12:11:21.619Z] prd-centos7-docker-4c-2g-4430 does not seem to be running inside a container [2022-02-02T12:11:21.529Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-396 -v /w/workspace/edgexfoundry_device-sdk-c_PR-396:/w/workspace/edgexfoundry_device-sdk-c_PR-396:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-396@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-396@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-02-02T12:11:22.342Z] $ docker top 0f94f80967819c78a0ab1f0cfd401992072bd92c825cb1c0f538aa87a0699265 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-02-02T12:11:22.640Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-02-02T12:11:22.640Z] [ssh-agent] Looking for ssh-agent implementation... [2022-02-02T12:11:22.749Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-02-02T12:11:22.712Z] $ docker exec 0f94f80967819c78a0ab1f0cfd401992072bd92c825cb1c0f538aa87a0699265 ssh-agent [2022-02-02T12:11:22.857Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFIBnIl/agent.13 [2022-02-02T12:11:22.857Z] SSH_AGENT_PID=19 [2022-02-02T12:11:22.867Z] Running ssh-add (command line suppressed) [2022-02-02T12:11:22.935Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-396@tmp/private_key_6181018337366722090.key (/w/workspace/edgexfoundry_device-sdk-c_PR-396@tmp/private_key_6181018337366722090.key) [2022-02-02T12:11:22.973Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-02-02T12:11:23.312Z] + git tag --points-at HEAD [Pipeline] } [2022-02-02T12:11:23.339Z] $ docker exec --env ******** --env ******** 0f94f80967819c78a0ab1f0cfd401992072bd92c825cb1c0f538aa87a0699265 ssh-agent -k [2022-02-02T12:11:23.425Z] unset SSH_AUTH_SOCK; [2022-02-02T12:11:23.425Z] unset SSH_AGENT_PID; [2022-02-02T12:11:23.425Z] echo Agent pid 19 killed; [2022-02-02T12:11:23.434Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-02-02T12:11:23.528Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-02-02T12:11:23.528Z] [ssh-agent] Looking for ssh-agent implementation... [2022-02-02T12:11:23.639Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-02-02T12:11:23.641Z] $ docker exec 0f94f80967819c78a0ab1f0cfd401992072bd92c825cb1c0f538aa87a0699265 ssh-agent [2022-02-02T12:11:23.741Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJAAEkM/agent.54 [2022-02-02T12:11:23.741Z] SSH_AGENT_PID=60 [2022-02-02T12:11:23.747Z] Running ssh-add (command line suppressed) [2022-02-02T12:11:23.836Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-396@tmp/private_key_4801751918897161416.key (/w/workspace/edgexfoundry_device-sdk-c_PR-396@tmp/private_key_4801751918897161416.key) [2022-02-02T12:11:23.851Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-02-02T12:11:24.199Z] + git semver init [2022-02-02T12:11:24.199Z] # -> Open(): unable to determine branch for HEAD [2022-02-02T12:11:24.199Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-396/.git [2022-02-02T12:11:24.199Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-396 [2022-02-02T12:11:24.199Z] # $SEMVER_REMOTE_NAME = origin [2022-02-02T12:11:24.199Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-02-02T12:11:24.199Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-02-02T12:11:24.199Z] # $SEMVER_BRANCH = PR-396 [2022-02-02T12:11:24.199Z] # $SEMVER_TEMP = /tmp/semver-487768391 [2022-02-02T12:11:24.199Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2022-02-02T12:11:25.141Z] # '/tmp/semver-487768391' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-396/.semver' [2022-02-02T12:11:25.141Z] # -> Force: false [2022-02-02T12:11:25.141Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-396/.semver [Pipeline] } [2022-02-02T12:11:25.171Z] $ docker exec --env ******** --env ******** 0f94f80967819c78a0ab1f0cfd401992072bd92c825cb1c0f538aa87a0699265 ssh-agent -k [2022-02-02T12:11:25.263Z] unset SSH_AUTH_SOCK; [2022-02-02T12:11:25.263Z] unset SSH_AGENT_PID; [2022-02-02T12:11:25.264Z] echo Agent pid 60 killed; [2022-02-02T12:11:25.274Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-02-02T12:11:25.707Z] + git semver [Pipeline] } [2022-02-02T12:11:25.737Z] $ docker stop --time=1 0f94f80967819c78a0ab1f0cfd401992072bd92c825cb1c0f538aa87a0699265 [2022-02-02T12:11:26.999Z] $ docker rm -f 0f94f80967819c78a0ab1f0cfd401992072bd92c825cb1c0f538aa87a0699265 [Pipeline] // withDockerContainer [Pipeline] sh [2022-02-02T12:11:27.408Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-02-02T12:11:27.696Z] Stashed 1 file(s) [Pipeline] echo [2022-02-02T12:11:27.715Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-02T12:11:28.212Z] provisioning config files... [2022-02-02T12:11:28.224Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-396@tmp/config854461725300513086tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-02T12:11:28.568Z] ---> docker-login.sh [2022-02-02T12:11:28.568Z] nexus3.edgexfoundry.org:10001 [2022-02-02T12:11:28.568Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-02T12:11:28.568Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-02T12:11:28.568Z] Configure a credential helper to remove this warning. See [2022-02-02T12:11:28.568Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-02T12:11:28.568Z] [2022-02-02T12:11:28.568Z] Login Succeeded [2022-02-02T12:11:28.568Z] nexus3.edgexfoundry.org:10002 [2022-02-02T12:11:28.568Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-02T12:11:28.568Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-02T12:11:28.568Z] Configure a credential helper to remove this warning. See [2022-02-02T12:11:28.568Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-02T12:11:28.568Z] [2022-02-02T12:11:28.568Z] Login Succeeded [2022-02-02T12:11:28.568Z] nexus3.edgexfoundry.org:10003 [2022-02-02T12:11:28.827Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-02T12:11:28.827Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-02T12:11:28.827Z] Configure a credential helper to remove this warning. See [2022-02-02T12:11:28.827Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-02T12:11:28.827Z] [2022-02-02T12:11:28.827Z] Login Succeeded [2022-02-02T12:11:28.827Z] nexus3.edgexfoundry.org:10004 [2022-02-02T12:11:28.827Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-02T12:11:28.827Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-02T12:11:28.827Z] Configure a credential helper to remove this warning. See [2022-02-02T12:11:28.827Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-02T12:11:28.827Z] [2022-02-02T12:11:28.827Z] Login Succeeded [2022-02-02T12:11:28.827Z] docker.io [2022-02-02T12:11:29.090Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-02T12:11:29.354Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-02T12:11:29.354Z] Configure a credential helper to remove this warning. See [2022-02-02T12:11:29.354Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-02T12:11:29.354Z] [2022-02-02T12:11:29.354Z] Login Succeeded [2022-02-02T12:11:29.354Z] ---> docker-login.sh ends [Pipeline] } [2022-02-02T12:11:29.381Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-02-02T12:11:29.568Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-02T12:11:29.595Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2022-02-02T12:11:29.627Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-02T12:11:29.656Z] ========================================================= [2022-02-02T12:11:29.656Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2022-02-02T12:11:29.656Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-02-02T12:11:30.010Z] + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . [2022-02-02T12:11:30.010Z] Sending build context to Docker daemon 4.5MB [2022-02-02T12:11:30.010Z] Step 1/24 : ARG BASE=alpine:3.14 [2022-02-02T12:11:30.011Z] Step 2/24 : FROM ${BASE} as builder [2022-02-02T12:11:30.011Z] latest: Pulling from edgex-devops/edgex-gcc-base [2022-02-02T12:11:30.011Z] a0d0a0d46f8b: Already exists [2022-02-02T12:11:30.011Z] 39017ce70367: Pulling fs layer [2022-02-02T12:11:30.011Z] dcf9283bb20a: Pulling fs layer [2022-02-02T12:11:30.281Z] 39017ce70367: Verifying Checksum [2022-02-02T12:11:30.281Z] 39017ce70367: Download complete [2022-02-02T12:11:30.281Z] 39017ce70367: Pull complete [2022-02-02T12:11:30.549Z] dcf9283bb20a: Verifying Checksum [2022-02-02T12:11:30.549Z] dcf9283bb20a: Download complete [2022-02-02T12:11:33.890Z] dcf9283bb20a: Pull complete [2022-02-02T12:11:33.890Z] Digest: sha256:2a2af42e0978abc69143d34e5140e0e2b13385d9fcf9e2292ee97f6b0c1f1d72 [2022-02-02T12:11:33.890Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2022-02-02T12:11:33.890Z] ---> a4e04833b611 [2022-02-02T12:11:33.890Z] 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 [2022-02-02T12:11:34.835Z] ---> Running in eb43c664362c [2022-02-02T12:11:34.835Z] Connecting to iotech.jfrog.io (54.229.110.245:443) [2022-02-02T12:11:35.406Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-02-02T12:11:35.406Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-02-02T12:11:35.406Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-02-02T12:11:35.668Z] Removing intermediate container eb43c664362c [2022-02-02T12:11:35.668Z] ---> 84026909ea75 [2022-02-02T12:11:35.668Z] Step 4/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2022-02-02T12:11:35.668Z] ---> Running in 3f2ac2d093e3 [2022-02-02T12:11:36.616Z] Removing intermediate container 3f2ac2d093e3 [2022-02-02T12:11:36.616Z] ---> 6e564ffbafbb [2022-02-02T12:11:36.616Z] Step 5/24 : RUN apk add --update --no-cache build-base 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 [2022-02-02T12:11:36.616Z] ---> Running in a327642ea086 [2022-02-02T12:11:36.879Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-02-02T12:11:42.248Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-02-02T12:11:42.248Z] WARNING: Ignoring https://nl.alpinelinux.org/alpine/v3.14/main: temporary error (try again later) [2022-02-02T12:11:43.038Z] Still waiting to schedule task [2022-02-02T12:11:43.038Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2022-02-02T12:11:47.543Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz [2022-02-02T12:11:47.543Z] WARNING: Ignoring https://nl.alpinelinux.org/alpine/v3.14/community: temporary error (try again later) [2022-02-02T12:11:47.543Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-02-02T12:11:47.543Z] ERROR: unable to select packages: [2022-02-02T12:11:47.543Z]  hiredis-dev (no such package): [2022-02-02T12:11:47.543Z] required by: world[hiredis-dev] [2022-02-02T12:11:47.543Z] ncurses-dev (no such package): [2022-02-02T12:11:47.543Z] required by: world[ncurses-dev] [2022-02-02T12:11:47.543Z] util-linux-dev (no such package): [2022-02-02T12:11:47.543Z] required by: world[util-linux-dev] [2022-02-02T12:11:47.543Z] wget (no such package): [2022-02-02T12:11:47.543Z] required by: world[wget] [2022-02-02T12:11:47.543Z] The command '/bin/sh -c apk add --update --no-cache build-base 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' returned a non-zero code: 4 [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 [2022-02-02T12:11:48.626Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-02T12:11:48.626Z] [2022-02-02T12:11:48.626Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-02-02T12:11:48.976Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-02T12:11:48.976Z] latest: Pulling from edgex-lftools-log-publisher [2022-02-02T12:11:48.976Z] b4d181a07f80: Pulling fs layer [2022-02-02T12:11:48.976Z] a1111a8f2ec3: Pulling fs layer [2022-02-02T12:11:48.976Z] ed53099fbce6: Pulling fs layer [2022-02-02T12:11:48.976Z] dc539afda2c1: Pulling fs layer [2022-02-02T12:11:48.976Z] 77bc0d833cb6: Pulling fs layer [2022-02-02T12:11:48.976Z] 9065ff56babe: Pulling fs layer [2022-02-02T12:11:48.976Z] d287ab97295c: Pulling fs layer [2022-02-02T12:11:48.976Z] dc539afda2c1: Waiting [2022-02-02T12:11:48.976Z] 77bc0d833cb6: Waiting [2022-02-02T12:11:48.976Z] 9065ff56babe: Waiting [2022-02-02T12:11:48.976Z] d287ab97295c: Waiting [2022-02-02T12:11:48.976Z] a1111a8f2ec3: Verifying Checksum [2022-02-02T12:11:48.976Z] a1111a8f2ec3: Download complete [2022-02-02T12:11:48.976Z] dc539afda2c1: Verifying Checksum [2022-02-02T12:11:48.976Z] dc539afda2c1: Download complete [2022-02-02T12:11:49.246Z] ed53099fbce6: Verifying Checksum [2022-02-02T12:11:49.246Z] ed53099fbce6: Download complete [2022-02-02T12:11:49.246Z] 9065ff56babe: Verifying Checksum [2022-02-02T12:11:49.246Z] 9065ff56babe: Download complete [2022-02-02T12:11:49.246Z] 77bc0d833cb6: Verifying Checksum [2022-02-02T12:11:49.246Z] 77bc0d833cb6: Download complete [2022-02-02T12:11:49.246Z] b4d181a07f80: Verifying Checksum [2022-02-02T12:11:49.246Z] b4d181a07f80: Download complete [2022-02-02T12:11:49.853Z] d287ab97295c: Verifying Checksum [2022-02-02T12:11:49.853Z] d287ab97295c: Download complete [2022-02-02T12:11:50.810Z] b4d181a07f80: Pull complete [2022-02-02T12:11:50.810Z] a1111a8f2ec3: Pull complete [2022-02-02T12:11:51.396Z] ed53099fbce6: Pull complete [2022-02-02T12:11:51.396Z] dc539afda2c1: Pull complete [2022-02-02T12:11:51.657Z] 77bc0d833cb6: Pull complete [2022-02-02T12:11:51.657Z] 9065ff56babe: Pull complete [2022-02-02T12:11:56.977Z] d287ab97295c: Pull complete [2022-02-02T12:11:56.977Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-02-02T12:11:56.977Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-02T12:11:56.977Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-02-02T12:11:57.070Z] prd-centos7-docker-4c-2g-4430 does not seem to be running inside a container [2022-02-02T12:11:57.101Z] $ 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-396 -v /w/workspace/edgexfoundry_device-sdk-c_PR-396:/w/workspace/edgexfoundry_device-sdk-c_PR-396:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-396@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-396@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-02-02T12:12:00.648Z] $ docker top 160b0a8ca8153d79429748e7f9d38a1863ca009bfa669848f7898c477c5d235c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-02T12:12:01.138Z] ---> job-cost.sh [2022-02-02T12:12:01.138Z] lf-activate-venv: SKIPPING [2022-02-02T12:12:01.138Z] INFO: No Stack... [2022-02-02T12:12:01.398Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-02-02T12:12:01.660Z] INFO: Archiving Costs [Pipeline] sh [2022-02-02T12:12:01.997Z] + cut -d, -f6 [2022-02-02T12:12:01.997Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-396/archives/cost.csv [Pipeline] lock [2022-02-02T12:12:02.037Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-396-1-stack-cost] [2022-02-02T12:12:02.042Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-396-1-stack-cost] did not exist. Created. [2022-02-02T12:12:02.042Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-396-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-02-02T12:12:02.450Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-02-02T12:12:02.510Z] Stashed 1 file(s) [Pipeline] } [2022-02-02T12:12:02.525Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-396-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-02-02T12:12:02.595Z] $ docker stop --time=1 160b0a8ca8153d79429748e7f9d38a1863ca009bfa669848f7898c477c5d235c [2022-02-02T12:12:03.728Z] $ docker rm -f 160b0a8ca8153d79429748e7f9d38a1863ca009bfa669848f7898c477c5d235c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-02-02T12:12:04.078Z] Failed in branch amd64 [2022-02-02T12:13:05.969Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4431 in /w/workspace/edgexfoundry_device-sdk-c_PR-396 [Pipeline] { [Pipeline] ws [2022-02-02T12:13:06.014Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2022-02-02T12:13:06.216Z] Selected Git installation does not exist. Using Default [2022-02-02T12:13:06.216Z] The recommended git tool is: NONE [2022-02-02T12:13:10.589Z] using credential edgex-jenkins-ssh [2022-02-02T12:13:10.607Z] Cloning the remote Git repository [2022-02-02T12:13:10.660Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2022-02-02T12:13:10.733Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2022-02-02T12:13:10.812Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2022-02-02T12:13:10.813Z] > git --version # timeout=10 [2022-02-02T12:13:10.831Z] > git --version # 'git version 2.17.1' [2022-02-02T12:13:10.832Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-02T12:13:10.913Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-02-02T12:13:12.105Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2022-02-02T12:13:12.123Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-02-02T12:13:12.149Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2022-02-02T12:13:12.183Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2022-02-02T12:13:12.184Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-02T12:13:12.197Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/396/head:refs/remotes/origin/PR-396 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-02-02T12:13:12.883Z] Merging remotes/origin/main commit 8c74ffe4fc698c219175e751f1cca4a77f9c9083 into PR head commit d85d632fe5c36600cf4491fc43fab161c21463c2 [2022-02-02T12:13:13.170Z] Merge succeeded, producing d85d632fe5c36600cf4491fc43fab161c21463c2 [2022-02-02T12:13:13.171Z] Checking out Revision d85d632fe5c36600cf4491fc43fab161c21463c2 (PR-396) [2022-02-02T12:13:12.898Z] > git config core.sparsecheckout # timeout=10 [2022-02-02T12:13:12.917Z] > git checkout -f d85d632fe5c36600cf4491fc43fab161c21463c2 # timeout=10 [2022-02-02T12:13:13.028Z] > git remote # timeout=10 [2022-02-02T12:13:13.046Z] > git config --get remote.origin.url # timeout=10 [2022-02-02T12:13:13.063Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-02T12:13:13.073Z] > git merge 8c74ffe4fc698c219175e751f1cca4a77f9c9083 # timeout=10 [2022-02-02T12:13:13.129Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-02-02T12:13:13.171Z] > git config core.sparsecheckout # timeout=10 [2022-02-02T12:13:13.198Z] > git checkout -f d85d632fe5c36600cf4491fc43fab161c21463c2 # timeout=10 [2022-02-02T12:13:17.302Z] Commit message: "fix: retry attempts to resolve service endpoints from registry (#394)" [2022-02-02T12:13:17.352Z] > git --version # timeout=10 [2022-02-02T12:13:17.359Z] > git --version # 'git version 2.17.1' [2022-02-02T12:13:17.375Z] fatal: bad object efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-02T12:13:18.517Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-02-02T12:13:18.517Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-02-02T12:13:18.517Z] Dload Upload Total Spent Left Speed [2022-02-02T12:13:18.517Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 85201 0 --:--:-- --:--:-- --:--:-- 85201 [Pipeline] sh [2022-02-02T12:13:19.063Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-02-02T12:13:19.418Z] + sudo tee /etc/docker/daemon.new [2022-02-02T12:13:19.418Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-02-02T12:13:19.418Z] { [2022-02-02T12:13:19.418Z] "registry-mirrors": [ [2022-02-02T12:13:19.418Z] "https://nexus3.edgexfoundry.org:10001" [2022-02-02T12:13:19.418Z] ], [2022-02-02T12:13:19.418Z] "bip": "10.250.0.254/24", [2022-02-02T12:13:19.418Z] "hosts": [ [2022-02-02T12:13:19.418Z] "tcp://0.0.0.0:5555", [2022-02-02T12:13:19.418Z] "unix:///var/run/docker.sock" [2022-02-02T12:13:19.418Z] ], [2022-02-02T12:13:19.418Z] "mtu": 1458, [2022-02-02T12:13:19.418Z] "selinux-enabled": true, [2022-02-02T12:13:19.418Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-02-02T12:13:19.418Z] } [Pipeline] sh [2022-02-02T12:13:19.818Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-02-02T12:13:20.182Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-02T12:13:38.589Z] provisioning config files... [2022-02-02T12:13:38.612Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config7824752055765362134tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-02T12:13:39.168Z] ---> docker-login.sh [2022-02-02T12:13:39.168Z] nexus3.edgexfoundry.org:10001 [2022-02-02T12:13:39.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-02T12:13:40.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-02T12:13:40.049Z] Configure a credential helper to remove this warning. See [2022-02-02T12:13:40.049Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-02T12:13:40.049Z] [2022-02-02T12:13:40.049Z] Login Succeeded [2022-02-02T12:13:40.049Z] nexus3.edgexfoundry.org:10002 [2022-02-02T12:13:40.327Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-02T12:13:40.327Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-02T12:13:40.327Z] Configure a credential helper to remove this warning. See [2022-02-02T12:13:40.327Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-02T12:13:40.327Z] [2022-02-02T12:13:40.327Z] Login Succeeded [2022-02-02T12:13:40.327Z] nexus3.edgexfoundry.org:10003 [2022-02-02T12:13:40.934Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-02T12:13:40.934Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-02T12:13:40.934Z] Configure a credential helper to remove this warning. See [2022-02-02T12:13:40.934Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-02T12:13:40.934Z] [2022-02-02T12:13:40.934Z] Login Succeeded [2022-02-02T12:13:40.934Z] nexus3.edgexfoundry.org:10004 [2022-02-02T12:13:41.204Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-02T12:13:41.204Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-02T12:13:41.204Z] Configure a credential helper to remove this warning. See [2022-02-02T12:13:41.204Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-02T12:13:41.204Z] [2022-02-02T12:13:41.204Z] Login Succeeded [2022-02-02T12:13:41.204Z] docker.io [2022-02-02T12:13:41.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-02T12:13:42.070Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-02T12:13:42.070Z] Configure a credential helper to remove this warning. See [2022-02-02T12:13:42.070Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-02T12:13:42.070Z] [2022-02-02T12:13:42.070Z] Login Succeeded [2022-02-02T12:13:42.070Z] ---> docker-login.sh ends [Pipeline] } [2022-02-02T12:13:42.101Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-02-02T12:13:42.476Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-02T12:13:42.507Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2022-02-02T12:13:42.542Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-02T12:13:42.576Z] ========================================================= [2022-02-02T12:13:42.576Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2022-02-02T12:13:42.576Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-02-02T12:13:42.965Z] + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . [2022-02-02T12:13:43.244Z] Sending build context to Docker daemon 2.746MB [2022-02-02T12:13:43.244Z] Step 1/24 : ARG BASE=alpine:3.14 [2022-02-02T12:13:43.244Z] Step 2/24 : FROM ${BASE} as builder [2022-02-02T12:13:43.540Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2022-02-02T12:13:43.540Z] 552d1f2373af: Pulling fs layer [2022-02-02T12:13:43.540Z] f2be2b6548c6: Pulling fs layer [2022-02-02T12:13:43.540Z] ee4ac2fe028c: Pulling fs layer [2022-02-02T12:13:43.540Z] f2be2b6548c6: Download complete [2022-02-02T12:13:43.540Z] 552d1f2373af: Verifying Checksum [2022-02-02T12:13:43.540Z] 552d1f2373af: Download complete [2022-02-02T12:13:44.137Z] 552d1f2373af: Pull complete [2022-02-02T12:13:44.410Z] f2be2b6548c6: Pull complete [2022-02-02T12:13:45.386Z] ee4ac2fe028c: Verifying Checksum [2022-02-02T12:13:45.386Z] ee4ac2fe028c: Download complete [2022-02-02T12:13:53.663Z] ee4ac2fe028c: Pull complete [2022-02-02T12:13:53.663Z] Digest: sha256:4c85ded81933cf54d6808eb239bc3fea8e3bb42c9130537b51c88bfc6b01a02b [2022-02-02T12:13:53.663Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2022-02-02T12:13:53.663Z] ---> b6d714ea7bf2 [2022-02-02T12:13:53.663Z] 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 [2022-02-02T12:13:54.257Z] ---> Running in a3065432881b [2022-02-02T12:13:55.234Z] Connecting to iotech.jfrog.io (34.243.182.113:443) [2022-02-02T12:13:55.830Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-02-02T12:13:55.830Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-02-02T12:13:55.830Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-02-02T12:13:56.428Z] Removing intermediate container a3065432881b [2022-02-02T12:13:56.428Z] ---> c73626f6dfb8 [2022-02-02T12:13:56.428Z] Step 4/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2022-02-02T12:13:56.705Z] ---> Running in 65dadd3804ba [2022-02-02T12:13:58.676Z] Removing intermediate container 65dadd3804ba [2022-02-02T12:13:58.676Z] ---> 042d70b8fa4d [2022-02-02T12:13:58.676Z] Step 5/24 : RUN apk add --update --no-cache build-base 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 [2022-02-02T12:13:58.676Z] ---> Running in 15bd141d9b3b [2022-02-02T12:13:59.284Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-02-02T12:14:00.256Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-02-02T12:14:00.852Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz [2022-02-02T12:14:01.444Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-02-02T12:14:01.444Z] (1/27) Installing hiredis (1.0.0-r0) [2022-02-02T12:14:01.444Z] (2/27) Installing hiredis-dev (1.0.0-r0) [2022-02-02T12:14:01.715Z] (3/27) Installing ncurses-dev (6.2_p20210612-r0) [2022-02-02T12:14:01.715Z] (4/27) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2022-02-02T12:14:02.686Z] (5/27) Installing libblkid (2.37.2-r0) [2022-02-02T12:14:02.959Z] (6/27) Installing blkid (2.37.2-r0) [2022-02-02T12:14:02.959Z] (7/27) Installing libcap-ng (0.8.2-r0) [2022-02-02T12:14:02.959Z] (8/27) Installing setpriv (2.37.2-r0) [2022-02-02T12:14:02.959Z] (9/27) Installing libmount (2.37.2-r0) [2022-02-02T12:14:03.231Z] (10/27) Installing libsmartcols (2.37.2-r0) [2022-02-02T12:14:03.231Z] (11/27) Installing findmnt (2.37.2-r0) [2022-02-02T12:14:03.503Z] (12/27) Installing mcookie (2.37.2-r0) [2022-02-02T12:14:03.503Z] (13/27) Installing hexdump (2.37.2-r0) [2022-02-02T12:14:03.503Z] (14/27) Installing lsblk (2.37.2-r0) [2022-02-02T12:14:03.503Z] (15/27) Installing libuuid (2.37.2-r0) [2022-02-02T12:14:03.775Z] (16/27) Installing libfdisk (2.37.2-r0) [2022-02-02T12:14:03.775Z] (17/27) Installing sfdisk (2.37.2-r0) [2022-02-02T12:14:03.775Z] (18/27) Installing cfdisk (2.37.2-r0) [2022-02-02T12:14:04.047Z] (19/27) Installing partx (2.37.2-r0) [2022-02-02T12:14:04.047Z] (20/27) Installing flock (2.37.2-r0) [2022-02-02T12:14:04.047Z] (21/27) Installing logger (2.37.2-r0) [2022-02-02T12:14:04.318Z] (22/27) Installing uuidgen (2.37.2-r0) [2022-02-02T12:14:04.318Z] (23/27) Installing libeconf (0.3.8-r1) [2022-02-02T12:14:04.318Z] (24/27) Installing util-linux (2.37.2-r0) [2022-02-02T12:14:04.907Z] (25/27) Installing util-linux-dev (2.37.2-r0) [2022-02-02T12:14:04.907Z] (26/27) Installing libidn2 (2.3.1-r0) [2022-02-02T12:14:04.907Z] (27/27) Installing wget (1.21.1-r1) [2022-02-02T12:14:05.178Z] Executing busybox-1.33.1-r3.trigger [2022-02-02T12:14:05.178Z] OK: 286 MiB in 104 packages [2022-02-02T12:14:06.605Z] Removing intermediate container 15bd141d9b3b [2022-02-02T12:14:06.605Z] ---> 66d8df3bc5c8 [2022-02-02T12:14:06.605Z] Step 6/24 : ENV CBOR_VERSION=0.5.0 [2022-02-02T12:14:06.605Z] ---> Running in c3254a7b080e [2022-02-02T12:14:06.883Z] Removing intermediate container c3254a7b080e [2022-02-02T12:14:06.883Z] ---> 9ac6600e5f2f [2022-02-02T12:14:06.883Z] 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 [2022-02-02T12:14:06.883Z] ---> Running in 755db320ddc2 [2022-02-02T12:14:07.869Z] --2022-02-02 12:14:07-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2022-02-02T12:14:08.139Z] Resolving github.com (github.com)... 140.82.112.3 [2022-02-02T12:14:08.139Z] Connecting to github.com (github.com)|140.82.112.3|:443... connected. [2022-02-02T12:14:08.139Z] HTTP request sent, awaiting response... 302 Found [2022-02-02T12:14:08.139Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2022-02-02T12:14:08.139Z] --2022-02-02 12:14:08-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2022-02-02T12:14:08.139Z] Resolving codeload.github.com (codeload.github.com)... 140.82.113.10 [2022-02-02T12:14:08.139Z] Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected. [2022-02-02T12:14:08.415Z] HTTP request sent, awaiting response... 200 OK [2022-02-02T12:14:08.415Z] Length: unspecified [application/x-gzip] [2022-02-02T12:14:08.415Z] Saving to: 'STDOUT' [2022-02-02T12:14:08.415Z]  [2022-02-02T12:14:08.415Z] 0K .......... .......... .......... .......... .......... 1.22M [2022-02-02T12:14:08.415Z] 50K .......... .......... .......... .......... .......... 2.29M [2022-02-02T12:14:08.415Z] 100K .......... .......... .......... .......... .......... 11.5M [2022-02-02T12:14:08.415Z] 150K .......... .......... .......... .......... .......... 3.12M [2022-02-02T12:14:08.415Z] 200K .......... .......... .......... .......... .......... 15.8M [2022-02-02T12:14:08.415Z] 250K .......... .......... .......... .......... .......... 3.45M [2022-02-02T12:14:08.415Z] 300K .......... .......... .......... .......... .......... 3.88M [2022-02-02T12:14:08.415Z] 350K .......... .......... .......... .......... .......... 8.28M [2022-02-02T12:14:08.415Z] 400K .......... .......... .......... .......... .......... 3.34M [2022-02-02T12:14:08.415Z] 450K .......... .......... .......... .......... .......... 4.39M [2022-02-02T12:14:08.415Z] 500K .......... .......... .......... .......... .......... 11.2M [2022-02-02T12:14:08.415Z] 550K .......... .......... .......... .......... .......... 2.62M [2022-02-02T12:14:08.687Z] 600K .......... .......... .......... .......... .......... 883K [2022-02-02T12:14:08.687Z] 650K .......... .......... .......... .......... .......... 2.35M [2022-02-02T12:14:08.687Z] 700K ..          4.74M=0.2s [2022-02-02T12:14:08.687Z] [2022-02-02T12:14:08.687Z] 2022-02-02 12:14:08 (2.82 MB/s) - written to stdout [719348] [2022-02-02T12:14:08.687Z] [2022-02-02T12:14:08.959Z] -- The C compiler identification is GNU 10.3.1 [2022-02-02T12:14:09.233Z] -- The CXX compiler identification is GNU 10.3.1 [2022-02-02T12:14:09.233Z] -- Detecting C compiler ABI info [2022-02-02T12:14:09.506Z] -- Detecting C compiler ABI info - done [2022-02-02T12:14:09.506Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-02-02T12:14:09.506Z] -- Detecting C compile features [2022-02-02T12:14:09.506Z] -- Detecting C compile features - done [2022-02-02T12:14:09.506Z] -- Detecting CXX compiler ABI info [2022-02-02T12:14:09.778Z] -- Detecting CXX compiler ABI info - done [2022-02-02T12:14:10.053Z] -- Check for working CXX compiler: /usr/bin/c++ - skipped [2022-02-02T12:14:10.053Z] -- Detecting CXX compile features [2022-02-02T12:14:10.053Z] -- Detecting CXX compile features - done [2022-02-02T12:14:10.053Z] -- Looking for include file endian.h [2022-02-02T12:14:10.325Z] -- Looking for include file endian.h - found [2022-02-02T12:14:10.325Z] -- Looking for sys/types.h [2022-02-02T12:14:10.598Z] -- Looking for sys/types.h - found [2022-02-02T12:14:10.598Z] -- Looking for stdint.h [2022-02-02T12:14:10.871Z] -- Looking for stdint.h - found [2022-02-02T12:14:10.871Z] -- Looking for stddef.h [2022-02-02T12:14:11.142Z] -- Looking for stddef.h - found [2022-02-02T12:14:11.142Z] -- Check size of size_t [2022-02-02T12:14:11.413Z] -- Check size of size_t - done [2022-02-02T12:14:11.413Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2022-02-02T12:14:11.413Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2022-02-02T12:14:11.413Z] asked CMake to find a package configuration file provided by "cJSON", but [2022-02-02T12:14:11.413Z] CMake did not find one. [2022-02-02T12:14:11.413Z] [2022-02-02T12:14:11.413Z] Could not find a package configuration file provided by "cJSON" with any of [2022-02-02T12:14:11.413Z] the following names: [2022-02-02T12:14:11.413Z] [2022-02-02T12:14:11.413Z] cJSONConfig.cmake [2022-02-02T12:14:11.413Z] cjson-config.cmake [2022-02-02T12:14:11.413Z] [2022-02-02T12:14:11.413Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2022-02-02T12:14:11.413Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2022-02-02T12:14:11.413Z] provides a separate development package or SDK, be sure it has been [2022-02-02T12:14:11.413Z] installed. [2022-02-02T12:14:11.413Z] [2022-02-02T12:14:11.413Z] [2022-02-02T12:14:11.413Z] -- Configuring done [2022-02-02T12:14:11.413Z] -- Generating done [2022-02-02T12:14:11.685Z] -- Build files have been written to: /tmp/cbor [2022-02-02T12:14:11.685Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2022-02-02T12:14:12.654Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2022-02-02T12:14:13.242Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2022-02-02T12:14:13.516Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2022-02-02T12:14:14.490Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2022-02-02T12:14:14.490Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2022-02-02T12:14:14.762Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2022-02-02T12:14:15.033Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2022-02-02T12:14:15.303Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2022-02-02T12:14:15.576Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2022-02-02T12:14:16.168Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2022-02-02T12:14:16.756Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2022-02-02T12:14:17.028Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2022-02-02T12:14:17.620Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2022-02-02T12:14:17.892Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2022-02-02T12:14:18.163Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2022-02-02T12:14:18.436Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2022-02-02T12:14:18.707Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2022-02-02T12:14:18.979Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2022-02-02T12:14:19.249Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2022-02-02T12:14:19.522Z] [ 40%] Linking C shared library libcbor.so [2022-02-02T12:14:19.522Z] [ 40%] Built target cbor_shared [2022-02-02T12:14:19.791Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2022-02-02T12:14:20.767Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2022-02-02T12:14:21.362Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2022-02-02T12:14:21.633Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2022-02-02T12:14:23.600Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2022-02-02T12:14:23.873Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2022-02-02T12:14:24.145Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2022-02-02T12:14:24.145Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2022-02-02T12:14:24.417Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2022-02-02T12:14:25.012Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2022-02-02T12:14:25.607Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2022-02-02T12:14:26.200Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2022-02-02T12:14:26.794Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2022-02-02T12:14:27.064Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2022-02-02T12:14:27.335Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2022-02-02T12:14:27.607Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2022-02-02T12:14:28.199Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2022-02-02T12:14:28.470Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2022-02-02T12:14:28.753Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2022-02-02T12:14:29.025Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2022-02-02T12:14:29.297Z] [ 80%] Linking C static library libcbor.a [2022-02-02T12:14:29.297Z] [ 80%] Built target cbor [2022-02-02T12:14:29.297Z] [ 82%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2022-02-02T12:14:29.568Z] [ 84%] Linking C executable readfile [2022-02-02T12:14:29.838Z] [ 84%] Built target readfile [2022-02-02T12:14:29.838Z] [ 86%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2022-02-02T12:14:30.110Z] [ 88%] Linking C executable create_items [2022-02-02T12:14:30.110Z] [ 88%] Built target create_items [2022-02-02T12:14:30.110Z] [ 90%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2022-02-02T12:14:30.382Z] [ 92%] Linking C executable sort [2022-02-02T12:14:30.382Z] [ 92%] Built target sort [2022-02-02T12:14:30.382Z] [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2022-02-02T12:14:30.655Z] [ 96%] Linking C executable hello [2022-02-02T12:14:30.655Z] [ 96%] Built target hello [2022-02-02T12:14:30.655Z] [ 98%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2022-02-02T12:14:30.926Z] [100%] Linking C executable streaming_parser [2022-02-02T12:14:31.198Z] [100%] Built target streaming_parser [2022-02-02T12:14:31.198Z] Install the project... [2022-02-02T12:14:31.198Z] -- Install configuration: "Release" [2022-02-02T12:14:31.198Z] -- Installing: /usr/local/include/cbor/configuration.h [2022-02-02T12:14:31.198Z] -- Installing: /usr/local/lib/libcbor.a [2022-02-02T12:14:31.198Z] -- Installing: /usr/local/lib/libcbor.so.0.0.0 [2022-02-02T12:14:31.198Z] -- Installing: /usr/local/lib/libcbor.so.0 [2022-02-02T12:14:31.198Z] -- Installing: /usr/local/lib/libcbor.so [2022-02-02T12:14:31.198Z] -- Up-to-date: /usr/local/include/cbor [2022-02-02T12:14:31.198Z] -- Installing: /usr/local/include/cbor/data.h [2022-02-02T12:14:31.198Z] -- Installing: /usr/local/include/cbor/callbacks.h [2022-02-02T12:14:31.198Z] -- Installing: /usr/local/include/cbor/ints.h [2022-02-02T12:14:31.198Z] -- Installing: /usr/local/include/cbor/arrays.h [2022-02-02T12:14:31.198Z] -- Installing: /usr/local/include/cbor/maps.h [2022-02-02T12:14:31.198Z] -- Installing: /usr/local/include/cbor/tags.h [2022-02-02T12:14:31.198Z] -- Installing: /usr/local/include/cbor/serialization.h [2022-02-02T12:14:31.198Z] -- Installing: /usr/local/include/cbor/common.h [2022-02-02T12:14:31.198Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2022-02-02T12:14:31.198Z] -- Installing: /usr/local/include/cbor/internal [2022-02-02T12:14:31.198Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2022-02-02T12:14:31.198Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2022-02-02T12:14:31.198Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2022-02-02T12:14:31.198Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2022-02-02T12:14:31.198Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2022-02-02T12:14:31.198Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2022-02-02T12:14:31.198Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2022-02-02T12:14:31.198Z] -- Installing: /usr/local/include/cbor/encoding.h [2022-02-02T12:14:31.198Z] -- Installing: /usr/local/include/cbor/streaming.h [2022-02-02T12:14:31.198Z] -- Installing: /usr/local/include/cbor/strings.h [2022-02-02T12:14:31.198Z] -- Installing: /usr/local/include/cbor.h [2022-02-02T12:14:31.198Z] -- Installing: /usr/local/lib/pkgconfig/libcbor.pc [2022-02-02T12:14:33.169Z] Removing intermediate container 755db320ddc2 [2022-02-02T12:14:33.169Z] ---> 03e2673fa917 [2022-02-02T12:14:33.169Z] Step 8/24 : RUN mkdir /tmp/sdk [2022-02-02T12:14:33.169Z] ---> Running in d3e42718408b [2022-02-02T12:14:34.598Z] Removing intermediate container d3e42718408b [2022-02-02T12:14:34.598Z] ---> d7ca98f2b084 [2022-02-02T12:14:34.598Z] Step 9/24 : COPY VERSION /tmp/sdk [2022-02-02T12:14:35.187Z] ---> 48a0db6428b3 [2022-02-02T12:14:35.187Z] Step 10/24 : COPY src /tmp/sdk/src [2022-02-02T12:14:35.790Z] ---> 9d8b032fad4a [2022-02-02T12:14:35.790Z] Step 11/24 : COPY include /tmp/sdk/include [2022-02-02T12:14:36.387Z] ---> df1cf2bc36d9 [2022-02-02T12:14:36.387Z] Step 12/24 : COPY scripts /tmp/sdk/scripts [2022-02-02T12:14:36.980Z] ---> cb33bcd34ef8 [2022-02-02T12:14:36.980Z] Step 13/24 : COPY LICENSE /tmp/sdk [2022-02-02T12:14:37.572Z] ---> 5730f9356374 [2022-02-02T12:14:37.572Z] Step 14/24 : COPY Attribution.txt /tmp/sdk [2022-02-02T12:14:38.163Z] ---> be636b9f436e [2022-02-02T12:14:38.163Z] Step 15/24 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2022-02-02T12:14:38.163Z] ---> Running in f51be43b6c07 [2022-02-02T12:14:39.134Z] + CPPCHECK=false [2022-02-02T12:14:39.134Z] + DOCGEN=false [2022-02-02T12:14:39.134Z] + TOMLVER=SDK-0.2 [2022-02-02T12:14:39.134Z] + CUTILVER=1.2.2 [2022-02-02T12:14:39.134Z] + '[' 0 -gt 0 ] [2022-02-02T12:14:39.134Z] + readlink -f ./scripts/build.sh [2022-02-02T12:14:39.134Z] + dirname /tmp/sdk/scripts/build.sh [2022-02-02T12:14:39.134Z] + dirname /tmp/sdk/scripts [2022-02-02T12:14:39.134Z] + ROOT=/tmp/sdk [2022-02-02T12:14:39.134Z] + cd /tmp/sdk [2022-02-02T12:14:39.134Z] + '[' '!' -d deps ] [2022-02-02T12:14:39.134Z] + mkdir deps [2022-02-02T12:14:39.134Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2022-02-02T12:14:39.134Z] + tar -C deps -z -x -f - [2022-02-02T12:14:39.134Z] --2022-02-02 12:14:38-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2022-02-02T12:14:39.134Z] Resolving github.com (github.com)... 140.82.112.3 [2022-02-02T12:14:39.134Z] Connecting to github.com (github.com)|140.82.112.3|:443... connected. [2022-02-02T12:14:39.406Z] HTTP request sent, awaiting response... 302 Found [2022-02-02T12:14:39.406Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2022-02-02T12:14:39.406Z] --2022-02-02 12:14:39-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2022-02-02T12:14:39.406Z] Resolving codeload.github.com (codeload.github.com)... 140.82.113.10 [2022-02-02T12:14:39.406Z] Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected. [2022-02-02T12:14:39.406Z] HTTP request sent, awaiting response... 200 OK [2022-02-02T12:14:39.406Z] Length: unspecified [application/x-gzip] [2022-02-02T12:14:39.406Z] Saving to: 'STDOUT' [2022-02-02T12:14:39.406Z]  [2022-02-02T12:14:39.406Z] 0K .......... ......  825K=0.02s [2022-02-02T12:14:39.406Z] [2022-02-02T12:14:39.406Z] 2022-02-02 12:14:39 (825 KB/s) - written to stdout [16451] [2022-02-02T12:14:39.406Z] [2022-02-02T12:14:39.678Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2022-02-02T12:14:39.678Z] + tar -C deps+ -zwget -x -O -f - - [2022-02-02T12:14:39.678Z] https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2022-02-02T12:14:39.678Z] --2022-02-02 12:14:39-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2022-02-02T12:14:39.678Z] Resolving github.com (github.com)... 140.82.112.3 [2022-02-02T12:14:39.678Z] Connecting to github.com (github.com)|140.82.112.3|:443... connected. [2022-02-02T12:14:39.678Z] HTTP request sent, awaiting response... 302 Found [2022-02-02T12:14:39.678Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [following] [2022-02-02T12:14:39.678Z] --2022-02-02 12:14:39-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [2022-02-02T12:14:39.679Z] Resolving codeload.github.com (codeload.github.com)... 140.82.113.10 [2022-02-02T12:14:39.679Z] Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected. [2022-02-02T12:14:39.950Z] HTTP request sent, awaiting response... 200 OK [2022-02-02T12:14:39.950Z] Length: unspecified [application/x-gzip] [2022-02-02T12:14:39.950Z] Saving to: 'STDOUT' [2022-02-02T12:14:39.950Z]  [2022-02-02T12:14:39.950Z] 0K .......... .......... .......... .......... .......... 1.20M [2022-02-02T12:14:39.950Z] 50K .......... .......... .......... .......... .......... 2.29M [2022-02-02T12:14:39.950Z] 100K .......... .......... .......... .......... .......... 9.57M [2022-02-02T12:14:39.950Z] 150K .......... .......... .......... ......... 1.99M=0.09s [2022-02-02T12:14:39.950Z] [2022-02-02T12:14:39.950Z] 2022-02-02 12:14:39 (2.14 MB/s) - written to stdout [193961] [2022-02-02T12:14:39.950Z] [2022-02-02T12:14:39.950Z] + mkdir -p src/c/iot [2022-02-02T12:14:39.950Z] + cp deps/iotech-c-utils-1.2.2/src/c/base64.c deps/iotech-c-utils-1.2.2/src/c/component.c deps/iotech-c-utils-1.2.2/src/c/config.c deps/iotech-c-utils-1.2.2/src/c/container.c deps/iotech-c-utils-1.2.2/src/c/data.c deps/iotech-c-utils-1.2.2/src/c/hash.c deps/iotech-c-utils-1.2.2/src/c/iot.c deps/iotech-c-utils-1.2.2/src/c/json.c deps/iotech-c-utils-1.2.2/src/c/logger.c deps/iotech-c-utils-1.2.2/src/c/os.c deps/iotech-c-utils-1.2.2/src/c/scheduler.c deps/iotech-c-utils-1.2.2/src/c/thread.c deps/iotech-c-utils-1.2.2/src/c/threadpool.c deps/iotech-c-utils-1.2.2/src/c/time.c deps/iotech-c-utils-1.2.2/src/c/uuid.c deps/iotech-c-utils-1.2.2/src/c/yxml.c src/c/iot [2022-02-02T12:14:39.950Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2022-02-02T12:14:40.222Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2022-02-02T12:14:40.222Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2022-02-02T12:14:40.222Z] + mkdir -p include/iot [2022-02-02T12:14:40.222Z] + cp deps/iotech-c-utils-1.2.2/include/iot/base64.h deps/iotech-c-utils-1.2.2/include/iot/component.h deps/iotech-c-utils-1.2.2/include/iot/config.h deps/iotech-c-utils-1.2.2/include/iot/container.h deps/iotech-c-utils-1.2.2/include/iot/data.h deps/iotech-c-utils-1.2.2/include/iot/hash.h deps/iotech-c-utils-1.2.2/include/iot/iot.h deps/iotech-c-utils-1.2.2/include/iot/json.h deps/iotech-c-utils-1.2.2/include/iot/logger.h deps/iotech-c-utils-1.2.2/include/iot/os.h deps/iotech-c-utils-1.2.2/include/iot/scheduler.h deps/iotech-c-utils-1.2.2/include/iot/thread.h deps/iotech-c-utils-1.2.2/include/iot/threadpool.h deps/iotech-c-utils-1.2.2/include/iot/time.h deps/iotech-c-utils-1.2.2/include/iot/typecode.h deps/iotech-c-utils-1.2.2/include/iot/uuid.h include/iot [2022-02-02T12:14:40.222Z] + mkdir -p include/iot/os [2022-02-02T12:14:40.222Z] + cp deps/iotech-c-utils-1.2.2/include/iot/os/linux.h deps/iotech-c-utils-1.2.2/include/iot/os/macos.h deps/iotech-c-utils-1.2.2/include/iot/os/zephyr.h include/iot/os [2022-02-02T12:14:40.222Z] + mkdir -p /tmp/sdk/build/release [2022-02-02T12:14:40.222Z] + cd /tmp/sdk/build/release [2022-02-02T12:14:40.222Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2022-02-02T12:14:40.497Z] -- The C compiler identification is GNU 10.3.1 [2022-02-02T12:14:40.497Z] -- Detecting C compiler ABI info [2022-02-02T12:14:40.769Z] -- Detecting C compiler ABI info - done [2022-02-02T12:14:40.769Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-02-02T12:14:40.769Z] -- Detecting C compile features [2022-02-02T12:14:40.769Z] -- Detecting C compile features - done [2022-02-02T12:14:40.769Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-02-02T12:14:41.041Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") [2022-02-02T12:14:41.041Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-02-02T12:14:41.041Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-02-02T12:14:41.041Z] -- Found LIBCBOR: /usr/local/lib/libcbor.so [2022-02-02T12:14:41.041Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-02-02T12:14:41.041Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-02-02T12:14:41.041Z] -- C SDK 0.0.0 for Linux [2022-02-02T12:14:41.041Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-02-02T12:14:41.313Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-02-02T12:14:41.313Z] -- Found Curses: /usr/lib/libcurses.so [2022-02-02T12:14:41.582Z] -- Configuring done [2022-02-02T12:14:41.853Z] -- Generating done [2022-02-02T12:14:41.853Z] -- Build files have been written to: /tmp/sdk/build/release [2022-02-02T12:14:41.853Z] + make all package [2022-02-02T12:14:41.853Z] + tee release.log [2022-02-02T12:14:41.853Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-02-02T12:14:42.443Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-02-02T12:14:43.036Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-02-02T12:14:45.642Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-02-02T12:14:46.235Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-02-02T12:14:46.235Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-02-02T12:14:47.213Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-02-02T12:14:47.805Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-02-02T12:14:48.075Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-02-02T12:14:49.496Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-02-02T12:14:51.456Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-02-02T12:14:51.728Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-02-02T12:14:52.694Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-02-02T12:14:53.284Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-02-02T12:14:53.882Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-02-02T12:14:53.882Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-02-02T12:14:54.154Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-02-02T12:14:57.527Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-02-02T12:14:57.527Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-02-02T12:14:57.799Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-02-02T12:14:58.393Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-02-02T12:14:58.983Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-02-02T12:14:58.983Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-02-02T12:14:58.983Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-02-02T12:14:58.983Z] 275 | const iot_component_factory_t * factory; [2022-02-02T12:14:58.983Z] | ^~~~~~~ [2022-02-02T12:14:59.956Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-02-02T12:15:04.241Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-02-02T12:15:04.510Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-02-02T12:15:04.778Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-02-02T12:15:05.367Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-02-02T12:15:05.956Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-02-02T12:15:06.225Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-02-02T12:15:07.645Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-02-02T12:15:07.645Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-02-02T12:15:08.614Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-02-02T12:15:08.884Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-02-02T12:15:09.473Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-02-02T12:15:11.435Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-02-02T12:15:12.029Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-02-02T12:15:13.013Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-02-02T12:15:13.604Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-02-02T12:15:17.886Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-02-02T12:15:18.480Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-02-02T12:15:19.074Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-02-02T12:15:19.670Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-02-02T12:15:19.670Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-02-02T12:15:19.670Z] /tmp/sdk/src/c/rest-server.c:250:65: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] [2022-02-02T12:15:19.670Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-02-02T12:15:19.670Z] | ^~~~~~~~~~~~~ [2022-02-02T12:15:19.670Z] | | [2022-02-02T12:15:19.670Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-02-02T12:15:19.670Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-02T12:15:19.670Z] /usr/include/microhttpd.h:2714:49: note: expected 'MHD_KeyValueIterator' {aka 'enum MHD_Result (*)(void *, enum MHD_ValueKind, const char *, const char *)'} but argument is of type 'int (*)(void *, enum MHD_ValueKind, const char *, const char *)' [2022-02-02T12:15:19.670Z] 2714 | MHD_KeyValueIterator iterator, [2022-02-02T12:15:19.670Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-02-02T12:15:19.670Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-02-02T12:15:19.670Z] /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-02-02T12:15:19.670Z] 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2022-02-02T12:15:19.670Z] | ^~~~~~~~~~~~ [2022-02-02T12:15:19.670Z] | | [2022-02-02T12:15:19.670Z] | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} [2022-02-02T12:15:19.670Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-02T12:15:19.670Z] /usr/include/microhttpd.h:2443:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} [2022-02-02T12:15:19.670Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-02-02T12:15:19.670Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-02-02T12:15:19.670Z] /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-02-02T12:15:19.670Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-02-02T12:15:19.670Z] | ^~~~~~~~~~~~ [2022-02-02T12:15:19.670Z] | | [2022-02-02T12:15:19.670Z] | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} [2022-02-02T12:15:19.670Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-02T12:15:19.670Z] /usr/include/microhttpd.h:2443:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} [2022-02-02T12:15:19.670Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-02-02T12:15:19.670Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-02-02T12:15:20.642Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-02-02T12:15:22.604Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-02-02T12:15:23.202Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-02-02T12:15:23.475Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-02-02T12:15:24.064Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-02-02T12:15:26.654Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-02-02T12:15:30.006Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-02-02T12:15:30.977Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-02-02T12:15:31.566Z] [ 76%] Linking C shared library libcsdk.so [2022-02-02T12:15:31.566Z] [ 76%] Built target csdk [2022-02-02T12:15:31.566Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-02-02T12:15:32.533Z] [ 79%] Linking C executable template [2022-02-02T12:15:32.533Z] [ 79%] Built target template [2022-02-02T12:15:32.533Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-02-02T12:15:33.122Z] [ 82%] Linking C executable device-counter [2022-02-02T12:15:33.391Z] [ 82%] Built target device-counter [2022-02-02T12:15:33.391Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-02-02T12:15:33.980Z] [ 85%] Linking C executable device-random [2022-02-02T12:15:34.251Z] [ 85%] Built target device-random [2022-02-02T12:15:34.251Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-02-02T12:15:34.520Z] [ 88%] Linking C executable device-gyro [2022-02-02T12:15:34.791Z] [ 88%] Built target device-gyro [2022-02-02T12:15:34.791Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-02-02T12:15:35.383Z] [ 91%] Linking C executable device-bitfields [2022-02-02T12:15:35.654Z] [ 91%] Built target device-bitfields [2022-02-02T12:15:35.654Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-02-02T12:15:36.626Z] [ 94%] Linking C executable template-discovery [2022-02-02T12:15:36.626Z] [ 94%] Built target template-discovery [2022-02-02T12:15:36.626Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-02-02T12:15:37.594Z] [ 97%] Linking C executable device-file [2022-02-02T12:15:37.594Z] [ 97%] Built target device-file [2022-02-02T12:15:37.594Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-02-02T12:15:38.183Z] [100%] Linking C executable device-terminal [2022-02-02T12:15:38.454Z] [100%] Built target device-terminal [2022-02-02T12:15:38.724Z] Run CPack packaging tool... [2022-02-02T12:15:38.724Z] CPack: Create package using TGZ [2022-02-02T12:15:38.724Z] CPack: Install projects [2022-02-02T12:15:38.724Z] CPack: - Run preinstall target for: Csdk [2022-02-02T12:15:39.315Z] CPack: - Install project: Csdk [] [2022-02-02T12:15:39.315Z] CPack: Create package [2022-02-02T12:15:39.315Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2022-02-02T12:15:39.315Z] + '[' false '=' true ] [2022-02-02T12:15:39.315Z] + '[' false '=' true ] [2022-02-02T12:15:39.315Z] + mkdir -p /tmp/sdk/build/debug [2022-02-02T12:15:39.586Z] + cd /tmp/sdk/build/debug [2022-02-02T12:15:39.586Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2022-02-02T12:15:39.586Z] -- The C compiler identification is GNU 10.3.1 [2022-02-02T12:15:39.856Z] -- Detecting C compiler ABI info [2022-02-02T12:15:40.127Z] -- Detecting C compiler ABI info - done [2022-02-02T12:15:40.127Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-02-02T12:15:40.127Z] -- Detecting C compile features [2022-02-02T12:15:40.127Z] -- Detecting C compile features - done [2022-02-02T12:15:40.127Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-02-02T12:15:40.127Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") [2022-02-02T12:15:40.399Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-02-02T12:15:40.399Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-02-02T12:15:40.399Z] -- Found LIBCBOR: /usr/local/lib/libcbor.so [2022-02-02T12:15:40.399Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-02-02T12:15:40.399Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-02-02T12:15:40.399Z] -- C SDK 0.0.0 for Linux [2022-02-02T12:15:40.399Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-02-02T12:15:40.669Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-02-02T12:15:40.669Z] -- Found Curses: /usr/lib/libcurses.so [2022-02-02T12:15:40.939Z] -- Configuring done [2022-02-02T12:15:40.939Z] -- Generating done [2022-02-02T12:15:40.939Z] -- Build files have been written to: /tmp/sdk/build/debug [2022-02-02T12:15:41.210Z] + + maketee [2022-02-02T12:15:41.210Z] debug.log [2022-02-02T12:15:41.210Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-02-02T12:15:41.481Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-02-02T12:15:41.753Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-02-02T12:15:42.721Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-02-02T12:15:42.721Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-02-02T12:15:42.992Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-02-02T12:15:43.263Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-02-02T12:15:43.532Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-02-02T12:15:43.802Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-02-02T12:15:44.391Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-02-02T12:15:44.979Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-02-02T12:15:45.248Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-02-02T12:15:45.518Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-02-02T12:15:45.787Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-02-02T12:15:46.058Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-02-02T12:15:46.326Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-02-02T12:15:46.595Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-02-02T12:15:47.564Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-02-02T12:15:47.564Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-02-02T12:15:47.833Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-02-02T12:15:48.103Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-02-02T12:15:48.373Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-02-02T12:15:48.373Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-02-02T12:15:48.373Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-02-02T12:15:48.373Z] 275 | const iot_component_factory_t * factory; [2022-02-02T12:15:48.373Z] | ^~~~~~~ [2022-02-02T12:15:48.645Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-02-02T12:15:50.063Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-02-02T12:15:50.063Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-02-02T12:15:50.333Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-02-02T12:15:50.602Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-02-02T12:15:50.872Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-02-02T12:15:50.872Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-02-02T12:15:51.144Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-02-02T12:15:51.416Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-02-02T12:15:51.687Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-02-02T12:15:51.960Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-02-02T12:15:52.230Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-02-02T12:15:52.503Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-02-02T12:15:52.775Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-02-02T12:15:53.367Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-02-02T12:15:53.638Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-02-02T12:15:54.605Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-02-02T12:15:54.876Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-02-02T12:15:55.147Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-02-02T12:15:55.417Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-02-02T12:15:55.692Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-02-02T12:15:55.692Z] /tmp/sdk/src/c/rest-server.c:250:65: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] [2022-02-02T12:15:55.692Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-02-02T12:15:55.692Z] | ^~~~~~~~~~~~~ [2022-02-02T12:15:55.692Z] | | [2022-02-02T12:15:55.692Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-02-02T12:15:55.692Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-02T12:15:55.692Z] /usr/include/microhttpd.h:2714:49: note: expected 'MHD_KeyValueIterator' {aka 'enum MHD_Result (*)(void *, enum MHD_ValueKind, const char *, const char *)'} but argument is of type 'int (*)(void *, enum MHD_ValueKind, const char *, const char *)' [2022-02-02T12:15:55.692Z] 2714 | MHD_KeyValueIterator iterator, [2022-02-02T12:15:55.692Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-02-02T12:15:55.692Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-02-02T12:15:55.692Z] /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-02-02T12:15:55.692Z] 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2022-02-02T12:15:55.692Z] | ^~~~~~~~~~~~ [2022-02-02T12:15:55.692Z] | | [2022-02-02T12:15:55.692Z] | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} [2022-02-02T12:15:55.692Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-02T12:15:55.692Z] /usr/include/microhttpd.h:2443:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} [2022-02-02T12:15:55.692Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-02-02T12:15:55.692Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-02-02T12:15:55.692Z] /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-02-02T12:15:55.692Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-02-02T12:15:55.692Z] | ^~~~~~~~~~~~ [2022-02-02T12:15:55.692Z] | | [2022-02-02T12:15:55.692Z] | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} [2022-02-02T12:15:55.692Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-02T12:15:55.692Z] /usr/include/microhttpd.h:2443:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} [2022-02-02T12:15:55.692Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-02-02T12:15:55.692Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-02-02T12:15:55.965Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-02-02T12:15:57.395Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-02-02T12:15:57.665Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-02-02T12:15:57.934Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-02-02T12:15:58.204Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-02-02T12:15:58.791Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-02-02T12:15:59.760Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-02-02T12:16:00.030Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-02-02T12:16:00.030Z] [ 76%] Linking C shared library libcsdk.so [2022-02-02T12:16:00.301Z] [ 76%] Built target csdk [2022-02-02T12:16:00.301Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-02-02T12:16:00.890Z] [ 79%] Linking C executable template [2022-02-02T12:16:00.890Z] [ 79%] Built target template [2022-02-02T12:16:01.162Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-02-02T12:16:01.162Z] [ 82%] Linking C executable device-counter [2022-02-02T12:16:01.433Z] [ 82%] Built target device-counter [2022-02-02T12:16:01.433Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-02-02T12:16:01.703Z] [ 85%] Linking C executable device-random [2022-02-02T12:16:01.975Z] [ 85%] Built target device-random [2022-02-02T12:16:01.975Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-02-02T12:16:02.249Z] [ 88%] Linking C executable device-gyro [2022-02-02T12:16:02.519Z] [ 88%] Built target device-gyro [2022-02-02T12:16:02.519Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-02-02T12:16:02.790Z] [ 91%] Linking C executable device-bitfields [2022-02-02T12:16:03.063Z] [ 91%] Built target device-bitfields [2022-02-02T12:16:03.063Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-02-02T12:16:03.333Z] [ 94%] Linking C executable template-discovery [2022-02-02T12:16:03.604Z] [ 94%] Built target template-discovery [2022-02-02T12:16:03.874Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-02-02T12:16:04.143Z] [ 97%] Linking C executable device-file [2022-02-02T12:16:04.143Z] [ 97%] Built target device-file [2022-02-02T12:16:04.412Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-02-02T12:16:04.681Z] [100%] Linking C executable device-terminal [2022-02-02T12:16:04.951Z] [100%] Built target device-terminal [2022-02-02T12:16:04.951Z] make: Entering directory '/tmp/sdk/build/release' [2022-02-02T12:16:04.951Z] make[1]: Entering directory '/tmp/sdk/build/release' [2022-02-02T12:16:04.951Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-02T12:16:04.951Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-02T12:16:05.221Z] [ 76%] Built target csdk [2022-02-02T12:16:05.221Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-02T12:16:05.221Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-02T12:16:05.221Z] [ 79%] Built target template [2022-02-02T12:16:05.221Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-02T12:16:05.221Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-02T12:16:05.221Z] [ 82%] Built target device-counter [2022-02-02T12:16:05.221Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-02T12:16:05.221Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-02T12:16:05.221Z] [ 85%] Built target device-random [2022-02-02T12:16:05.221Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-02T12:16:05.221Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-02T12:16:05.221Z] [ 88%] Built target device-gyro [2022-02-02T12:16:05.221Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-02T12:16:05.221Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-02T12:16:05.221Z] [ 91%] Built target device-bitfields [2022-02-02T12:16:05.221Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-02T12:16:05.221Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-02T12:16:05.490Z] [ 94%] Built target template-discovery [2022-02-02T12:16:05.490Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-02T12:16:05.490Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-02T12:16:05.490Z] [ 97%] Built target device-file [2022-02-02T12:16:05.490Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-02T12:16:05.490Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-02T12:16:05.490Z] [100%] Built target device-terminal [2022-02-02T12:16:05.490Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2022-02-02T12:16:05.490Z] Install the project... [2022-02-02T12:16:05.490Z] -- Install configuration: "Release" [2022-02-02T12:16:05.490Z] -- Installing: /usr/local/lib/libcsdk.so [2022-02-02T12:16:05.490Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2022-02-02T12:16:05.490Z] -- Up-to-date: /usr/local/include [2022-02-02T12:16:05.490Z] -- Installing: /usr/local/include/edgex [2022-02-02T12:16:05.490Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2022-02-02T12:16:05.490Z] -- Installing: /usr/local/include/edgex/devices.h [2022-02-02T12:16:05.490Z] -- Installing: /usr/local/include/edgex/rest-server.h [2022-02-02T12:16:05.490Z] -- Installing: /usr/local/include/edgex/profiles.h [2022-02-02T12:16:05.490Z] -- Installing: /usr/local/include/edgex/edgex.h [2022-02-02T12:16:05.490Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2022-02-02T12:16:05.490Z] -- Installing: /usr/local/include/devsdk [2022-02-02T12:16:05.490Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2022-02-02T12:16:05.490Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2022-02-02T12:16:05.490Z] -- Installing: /usr/local/include/iot [2022-02-02T12:16:05.490Z] -- Installing: /usr/local/include/iot/data.h [2022-02-02T12:16:05.490Z] -- Installing: /usr/local/include/iot/config.h [2022-02-02T12:16:05.490Z] -- Installing: /usr/local/include/iot/container.h [2022-02-02T12:16:05.490Z] -- Installing: /usr/local/include/iot/typecode.h [2022-02-02T12:16:05.490Z] -- Installing: /usr/local/include/iot/thread.h [2022-02-02T12:16:05.490Z] -- Installing: /usr/local/include/iot/hash.h [2022-02-02T12:16:05.490Z] -- Installing: /usr/local/include/iot/iot.h [2022-02-02T12:16:05.490Z] -- Installing: /usr/local/include/iot/defs.h [2022-02-02T12:16:05.490Z] -- Installing: /usr/local/include/iot/uuid.h [2022-02-02T12:16:05.490Z] -- Installing: /usr/local/include/iot/component.h [2022-02-02T12:16:05.490Z] -- Installing: /usr/local/include/iot/threadpool.h [2022-02-02T12:16:05.490Z] -- Installing: /usr/local/include/iot/time.h [2022-02-02T12:16:05.490Z] -- Installing: /usr/local/include/iot/logger.h [2022-02-02T12:16:05.490Z] -- Installing: /usr/local/include/iot/os [2022-02-02T12:16:05.490Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2022-02-02T12:16:05.490Z] -- Installing: /usr/local/include/iot/os/macos.h [2022-02-02T12:16:05.490Z] -- Installing: /usr/local/include/iot/os/linux.h [2022-02-02T12:16:05.490Z] -- Installing: /usr/local/include/iot/json.h [2022-02-02T12:16:05.490Z] -- Installing: /usr/local/include/iot/scheduler.h [2022-02-02T12:16:05.490Z] -- Installing: /usr/local/include/iot/base64.h [2022-02-02T12:16:05.490Z] -- Installing: /usr/local/include/iot/os.h [2022-02-02T12:16:05.490Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2022-02-02T12:16:05.490Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2022-02-02T12:16:05.490Z] make: Leaving directory '/tmp/sdk/build/release' [2022-02-02T12:16:07.450Z] Removing intermediate container f51be43b6c07 [2022-02-02T12:16:07.450Z] ---> 0f19b729059e [2022-02-02T12:16:07.450Z] Step 16/24 : FROM ${BASE} [2022-02-02T12:16:07.450Z] ---> b6d714ea7bf2 [2022-02-02T12:16:07.450Z] Step 17/24 : LABEL maintainer="IOTech " [2022-02-02T12:16:07.450Z] ---> Running in 3150c948d534 [2022-02-02T12:16:07.721Z] Removing intermediate container 3150c948d534 [2022-02-02T12:16:07.721Z] ---> 70373a0e1daa [2022-02-02T12:16:07.721Z] Step 18/24 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2022-02-02T12:16:07.721Z] ---> Running in f6a90f9194ba [2022-02-02T12:16:08.694Z] Connecting to iotech.jfrog.io (34.243.182.113:443) [2022-02-02T12:16:09.286Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-02-02T12:16:09.286Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-02-02T12:16:09.286Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-02-02T12:16:09.878Z] Removing intermediate container f6a90f9194ba [2022-02-02T12:16:09.878Z] ---> 97406c3c6e03 [2022-02-02T12:16:09.878Z] Step 19/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2022-02-02T12:16:09.878Z] ---> Running in 7575946d1fa8 [2022-02-02T12:16:11.863Z] Removing intermediate container 7575946d1fa8 [2022-02-02T12:16:11.863Z] ---> b12cc3ac7e07 [2022-02-02T12:16:11.863Z] Step 20/24 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid paho-mqtt-c-dev-1.3 hiredis-dev [2022-02-02T12:16:11.863Z] ---> Running in a34757757ba3 [2022-02-02T12:16:12.845Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-02-02T12:16:13.817Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-02-02T12:16:14.089Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz [2022-02-02T12:16:14.680Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-02-02T12:16:14.680Z] (1/7) Installing curl (7.79.1-r0) [2022-02-02T12:16:14.953Z] (2/7) Installing hiredis (1.0.0-r0) [2022-02-02T12:16:14.953Z] (3/7) Installing hiredis-dev (1.0.0-r0) [2022-02-02T12:16:15.222Z] (4/7) Installing libuuid (2.37.2-r0) [2022-02-02T12:16:15.222Z] (5/7) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2022-02-02T12:16:16.192Z] (6/7) Installing libidn2 (2.3.1-r0) [2022-02-02T12:16:16.192Z] (7/7) Installing wget (1.21.1-r1) [2022-02-02T12:16:16.463Z] Executing busybox-1.33.1-r3.trigger [2022-02-02T12:16:16.463Z] OK: 276 MiB in 84 packages [2022-02-02T12:16:17.437Z] Removing intermediate container a34757757ba3 [2022-02-02T12:16:17.437Z] ---> a20a6109b1e4 [2022-02-02T12:16:17.437Z] Step 21/24 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2022-02-02T12:16:18.031Z] ---> 2abb690f498f [2022-02-02T12:16:18.031Z] Step 22/24 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2022-02-02T12:16:18.627Z] ---> 88afb42da28e [2022-02-02T12:16:18.627Z] Step 23/24 : COPY --from=builder /usr/local/lib /usr/local/lib [2022-02-02T12:16:19.222Z] ---> 7b3e8dbac542 [2022-02-02T12:16:19.222Z] Step 24/24 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2022-02-02T12:16:20.198Z] ---> 92d4286cb0e2 [2022-02-02T12:16:20.198Z] Successfully built 92d4286cb0e2 [2022-02-02T12:16:20.198Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-02T12:16:20.786Z] + docker inspect -f . ci-base-image-arm64 [2022-02-02T12:16:20.786Z] . [Pipeline] withDockerContainer [2022-02-02T12:16:21.009Z] prd-ubuntu18.04-docker-arm64-4c-16g-4431 does not seem to be running inside a container [2022-02-02T12:16:21.108Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-02-02T12:16:22.373Z] $ docker top 7bc5222ad1c825953ead78b718daf18618412956ef01f455d1f36be4c971a01c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-02T12:16:23.281Z] + make test [2022-02-02T12:16:23.281Z] echo "make test" [2022-02-02T12:16:23.281Z] make test [Pipeline] } [2022-02-02T12:16:23.329Z] $ docker stop --time=1 7bc5222ad1c825953ead78b718daf18618412956ef01f455d1f36be4c971a01c [2022-02-02T12:16:24.947Z] $ docker rm -f 7bc5222ad1c825953ead78b718daf18618412956ef01f455d1f36be4c971a01c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-02T12:16:26.505Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-02-02T12:16:26.856Z] + ls -al . [2022-02-02T12:16:26.856Z] total 200 [2022-02-02T12:16:26.856Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 2 12:13 . [2022-02-02T12:16:26.856Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 2 12:13 .. [2022-02-02T12:16:26.856Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 2 12:13 .git [2022-02-02T12:16:26.856Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 2 12:13 .github [2022-02-02T12:16:26.856Z] -rw-rw-r-- 1 jenkins jenkins 176 Feb 2 12:13 .gitignore [2022-02-02T12:16:26.856Z] -rw-rw-r-- 1 jenkins jenkins 3104 Feb 2 12:13 Attribution.txt [2022-02-02T12:16:26.856Z] -rw-rw-r-- 1 jenkins jenkins 7880 Feb 2 12:13 CHANGES [2022-02-02T12:16:26.856Z] -rw-rw-r-- 1 jenkins jenkins 108574 Feb 2 12:13 Doxyfile [2022-02-02T12:16:26.856Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 2 12:13 GOVERNANCE.md [2022-02-02T12:16:26.856Z] -rw-rw-r-- 1 jenkins jenkins 784 Feb 2 12:13 Jenkinsfile [2022-02-02T12:16:26.856Z] -rw-rw-r-- 1 jenkins jenkins 10174 Feb 2 12:13 LICENSE [2022-02-02T12:16:26.856Z] -rw-rw-r-- 1 jenkins jenkins 444 Feb 2 12:13 Makefile [2022-02-02T12:16:26.856Z] -rw-rw-r-- 1 jenkins jenkins 618 Feb 2 12:13 OWNERS.md [2022-02-02T12:16:26.856Z] -rw-rw-r-- 1 jenkins jenkins 4086 Feb 2 12:13 README.md [2022-02-02T12:16:26.856Z] -rw-rw-r-- 1 jenkins jenkins 7422 Feb 2 12:13 README.v2.md [2022-02-02T12:16:26.856Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 2 12:11 VERSION [2022-02-02T12:16:26.856Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 2 12:13 docs [2022-02-02T12:16:26.856Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 2 12:13 include [2022-02-02T12:16:26.856Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 2 12:13 scripts [2022-02-02T12:16:26.856Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 2 12:13 src [Pipeline] isUnix [Pipeline] sh [2022-02-02T12:16:27.223Z] + docker build -t device-sdk-arm64 -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=d85d632fe5c36600cf4491fc43fab161c21463c2 --label arch=arm64 --label version=0.0.0 . [2022-02-02T12:16:27.496Z] Sending build context to Docker daemon 2.746MB [2022-02-02T12:16:27.496Z] Step 1/17 : ARG BASE=alpine:3.14 [2022-02-02T12:16:27.496Z] Step 2/17 : FROM ${BASE} [2022-02-02T12:16:27.496Z] ---> 92d4286cb0e2 [2022-02-02T12:16:27.496Z] Step 3/17 : LABEL maintainer="IOTech " [2022-02-02T12:16:27.772Z] ---> Running in 17ac97faea6a [2022-02-02T12:16:28.046Z] Removing intermediate container 17ac97faea6a [2022-02-02T12:16:28.046Z] ---> dbb8a0382313 [2022-02-02T12:16:28.046Z] Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2022-02-02T12:16:28.318Z] ---> Running in 5ecb927e2f97 [2022-02-02T12:16:29.295Z] --2022-02-02 12:16:29-- https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release [2022-02-02T12:16:29.295Z] Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.170.66.44, 54.74.239.58, 54.195.244.87, ... [2022-02-02T12:16:29.295Z] Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.170.66.44|:443... connected. [2022-02-02T12:16:29.567Z] HTTP request sent, awaiting response... 200 OK [2022-02-02T12:16:29.567Z] Length: unspecified [application/json] [2022-02-02T12:16:29.567Z] Saving to: '/etc/apk/keys/alpine.dev.rsa.pub' [2022-02-02T12:16:29.567Z] [2022-02-02T12:16:29.567Z] 0K   59.1M=0s [2022-02-02T12:16:29.567Z] [2022-02-02T12:16:29.567Z] 2022-02-02 12:16:29 (59.1 MB/s) - '/etc/apk/keys/alpine.dev.rsa.pub' saved [451] [2022-02-02T12:16:29.567Z] [2022-02-02T12:16:30.162Z] Removing intermediate container 5ecb927e2f97 [2022-02-02T12:16:30.162Z] ---> 6e80d53fc414 [2022-02-02T12:16:30.162Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2022-02-02T12:16:30.443Z] ---> Running in a7c40ed9f278 [2022-02-02T12:16:32.415Z] Removing intermediate container a7c40ed9f278 [2022-02-02T12:16:32.415Z] ---> cf38107db92e [2022-02-02T12:16:32.415Z] Step 6/17 : RUN apk add --update --no-cache build-base 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 && mkdir -p /edgex-c-sdk/build [2022-02-02T12:16:32.415Z] ---> Running in e952612e7914 [2022-02-02T12:16:33.387Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-02-02T12:16:33.983Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-02-02T12:16:34.574Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz [2022-02-02T12:16:35.166Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-02-02T12:16:35.166Z] (1/21) Installing ncurses-dev (6.2_p20210612-r0) [2022-02-02T12:16:35.166Z] (2/21) Installing libblkid (2.37.2-r0) [2022-02-02T12:16:35.437Z] (3/21) Installing blkid (2.37.2-r0) [2022-02-02T12:16:35.437Z] (4/21) Installing libcap-ng (0.8.2-r0) [2022-02-02T12:16:35.437Z] (5/21) Installing setpriv (2.37.2-r0) [2022-02-02T12:16:35.437Z] (6/21) Installing libmount (2.37.2-r0) [2022-02-02T12:16:35.707Z] (7/21) Installing libsmartcols (2.37.2-r0) [2022-02-02T12:16:35.707Z] (8/21) Installing findmnt (2.37.2-r0) [2022-02-02T12:16:35.707Z] (9/21) Installing mcookie (2.37.2-r0) [2022-02-02T12:16:36.000Z] (10/21) Installing hexdump (2.37.2-r0) [2022-02-02T12:16:36.000Z] (11/21) Installing lsblk (2.37.2-r0) [2022-02-02T12:16:36.000Z] (12/21) Installing libfdisk (2.37.2-r0) [2022-02-02T12:16:36.271Z] (13/21) Installing sfdisk (2.37.2-r0) [2022-02-02T12:16:36.271Z] (14/21) Installing cfdisk (2.37.2-r0) [2022-02-02T12:16:36.271Z] (15/21) Installing partx (2.37.2-r0) [2022-02-02T12:16:36.560Z] (16/21) Installing flock (2.37.2-r0) [2022-02-02T12:16:36.560Z] (17/21) Installing logger (2.37.2-r0) [2022-02-02T12:16:36.560Z] (18/21) Installing uuidgen (2.37.2-r0) [2022-02-02T12:16:36.835Z] (19/21) Installing libeconf (0.3.8-r1) [2022-02-02T12:16:36.835Z] (20/21) Installing util-linux (2.37.2-r0) [2022-02-02T12:16:37.119Z] (21/21) Installing util-linux-dev (2.37.2-r0) [2022-02-02T12:16:37.395Z] Executing busybox-1.33.1-r3.trigger [2022-02-02T12:16:37.396Z] OK: 286 MiB in 105 packages [2022-02-02T12:16:38.853Z] Removing intermediate container e952612e7914 [2022-02-02T12:16:38.853Z] ---> 5a794dfa3bdc [2022-02-02T12:16:38.853Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2022-02-02T12:16:39.139Z] ---> b7de00c335c1 [2022-02-02T12:16:39.139Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2022-02-02T12:16:40.155Z] ---> 967897d1f2d4 [2022-02-02T12:16:40.155Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2022-02-02T12:16:40.774Z] ---> abb6ecbf5091 [2022-02-02T12:16:40.774Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2022-02-02T12:16:41.397Z] ---> e8e92b42bcc2 [2022-02-02T12:16:41.397Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2022-02-02T12:16:42.004Z] ---> 0d411db08086 [2022-02-02T12:16:42.004Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2022-02-02T12:16:42.609Z] ---> 47175b2430d7 [2022-02-02T12:16:42.609Z] Step 13/17 : WORKDIR /edgex-c-sdk [2022-02-02T12:16:42.884Z] ---> Running in f0a1417ad041 [2022-02-02T12:16:43.152Z] Removing intermediate container f0a1417ad041 [2022-02-02T12:16:43.152Z] ---> 4bf5510c347e [2022-02-02T12:16:43.152Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2022-02-02T12:16:43.429Z] ---> Running in f4cae04c9c85 [2022-02-02T12:16:43.700Z] Removing intermediate container f4cae04c9c85 [2022-02-02T12:16:43.700Z] ---> acfa69ae33b6 [2022-02-02T12:16:43.700Z] Step 15/17 : LABEL arch=arm64 [2022-02-02T12:16:43.700Z] ---> Running in 98fde5f7afe2 [2022-02-02T12:16:43.970Z] Removing intermediate container 98fde5f7afe2 [2022-02-02T12:16:43.970Z] ---> 0faa5ca31190 [2022-02-02T12:16:43.970Z] Step 16/17 : LABEL git_sha=d85d632fe5c36600cf4491fc43fab161c21463c2 [2022-02-02T12:16:44.243Z] ---> Running in d940a02faa28 [2022-02-02T12:16:44.513Z] Removing intermediate container d940a02faa28 [2022-02-02T12:16:44.513Z] ---> 4fb0eb78482f [2022-02-02T12:16:44.513Z] Step 17/17 : LABEL version=0.0.0 [2022-02-02T12:16:44.513Z] ---> Running in aefd326fe3ea [2022-02-02T12:16:45.103Z] Removing intermediate container aefd326fe3ea [2022-02-02T12:16:45.103Z] ---> a326af38bda4 [2022-02-02T12:16:45.103Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2022-02-02T12:16:45.103Z] Successfully built a326af38bda4 [2022-02-02T12:16:45.103Z] Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-02T12:16:45.819Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-02T12:16:45.819Z] [2022-02-02T12:16:45.819Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-02-02T12:16:46.199Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-02T12:16:46.476Z] arm64: Pulling from edgex-lftools-log-publisher [2022-02-02T12:16:46.476Z] 448f6bf000e3: Pulling fs layer [2022-02-02T12:16:46.476Z] f757da607395: Pulling fs layer [2022-02-02T12:16:46.476Z] 05883995daec: Pulling fs layer [2022-02-02T12:16:46.476Z] 8603b9c90790: Pulling fs layer [2022-02-02T12:16:46.476Z] 1560dd03e051: Pulling fs layer [2022-02-02T12:16:46.476Z] 27f5ce0e4adf: Pulling fs layer [2022-02-02T12:16:46.476Z] c2d8d7efcc4b: Pulling fs layer [2022-02-02T12:16:46.476Z] 1560dd03e051: Waiting [2022-02-02T12:16:46.476Z] 27f5ce0e4adf: Waiting [2022-02-02T12:16:46.476Z] c2d8d7efcc4b: Waiting [2022-02-02T12:16:46.476Z] f757da607395: Verifying Checksum [2022-02-02T12:16:46.476Z] f757da607395: Download complete [2022-02-02T12:16:46.476Z] 8603b9c90790: Verifying Checksum [2022-02-02T12:16:46.476Z] 8603b9c90790: Download complete [2022-02-02T12:16:46.476Z] 1560dd03e051: Verifying Checksum [2022-02-02T12:16:46.476Z] 1560dd03e051: Download complete [2022-02-02T12:16:46.751Z] 27f5ce0e4adf: Verifying Checksum [2022-02-02T12:16:46.751Z] 27f5ce0e4adf: Download complete [2022-02-02T12:16:46.751Z] 05883995daec: Verifying Checksum [2022-02-02T12:16:46.751Z] 05883995daec: Download complete [2022-02-02T12:16:47.023Z] 448f6bf000e3: Verifying Checksum [2022-02-02T12:16:47.023Z] 448f6bf000e3: Download complete [2022-02-02T12:16:49.649Z] c2d8d7efcc4b: Verifying Checksum [2022-02-02T12:16:49.649Z] c2d8d7efcc4b: Download complete [2022-02-02T12:16:50.626Z] 448f6bf000e3: Pull complete [2022-02-02T12:16:51.218Z] f757da607395: Pull complete [2022-02-02T12:16:52.646Z] 05883995daec: Pull complete [2022-02-02T12:16:52.916Z] 8603b9c90790: Pull complete [2022-02-02T12:16:53.890Z] 1560dd03e051: Pull complete [2022-02-02T12:16:53.890Z] 27f5ce0e4adf: Pull complete [2022-02-02T12:17:08.957Z] c2d8d7efcc4b: Pull complete [2022-02-02T12:17:08.957Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-02-02T12:17:08.957Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-02T12:17:08.957Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-02-02T12:17:09.165Z] prd-ubuntu18.04-docker-arm64-4c-16g-4431 does not seem to be running inside a container [2022-02-02T12:17:09.257Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-02-02T12:17:11.826Z] $ docker top 7d7de0189e3b6a702da69bc8712d9bd1bcab5ae82e4da9c0000b43719e0e606e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-02T12:17:12.773Z] ---> job-cost.sh [2022-02-02T12:17:12.773Z] lf-activate-venv: SKIPPING [2022-02-02T12:17:12.773Z] INFO: No Stack... [2022-02-02T12:17:13.744Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-02-02T12:17:14.015Z] INFO: Archiving Costs [Pipeline] sh [2022-02-02T12:17:14.692Z] + cat /w/workspace/device-sdk-c/1/archives/cost.csv [2022-02-02T12:17:14.692Z] + cut -d, -f6 [Pipeline] lock [2022-02-02T12:17:14.775Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-396-1-stack-cost] [2022-02-02T12:17:14.780Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-396-1-stack-cost] did not exist. Created. [2022-02-02T12:17:14.780Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-396-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-02-02T12:17:15.513Z] /w/workspace/device-sdk-c/1@tmp/durable-4c4bd6be/script.sh: 1: /w/workspace/device-sdk-c/1@tmp/durable-4c4bd6be/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-02-02T12:17:16.195Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-02-02T12:17:16.235Z] Warning: overwriting stash ‘stack-cost’ [2022-02-02T12:17:16.673Z] Stashed 1 file(s) [Pipeline] } [2022-02-02T12:17:16.689Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-396-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-02-02T12:17:16.781Z] $ docker stop --time=1 7d7de0189e3b6a702da69bc8712d9bd1bcab5ae82e4da9c0000b43719e0e606e [2022-02-02T12:17:18.223Z] $ docker rm -f 7d7de0189e3b6a702da69bc8712d9bd1bcab5ae82e4da9c0000b43719e0e606e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to 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 [2022-02-02T12:17:19.996Z] + '[' -d /w/workspace/edgexfoundry_device-sdk-c_PR-396/archives ']' [2022-02-02T12:17:19.996Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-396/archives [2022-02-02T12:17:19.996Z] total 8 [2022-02-02T12:17:19.996Z] drwxr-xr-x. 3 root root 34 Feb 2 12:12 . [2022-02-02T12:17:19.996Z] drwxrwxr-x. 10 jenkins jenkins 4096 Feb 2 12:12 .. [2022-02-02T12:17:19.996Z] drwxr-xr-x. 2 root root 6 Feb 2 12:12 cost [2022-02-02T12:17:19.996Z] -rw-r--r--. 1 root root 82 Feb 2 12:12 cost.csv [2022-02-02T12:17:19.996Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-396/archives [2022-02-02T12:17:19.996Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-396/archives [2022-02-02T12:17:19.996Z] total 8 [2022-02-02T12:17:19.996Z] drwxr-xr-x. 3 jenkins jenkins 34 Feb 2 12:12 . [2022-02-02T12:17:19.996Z] drwxrwxr-x. 10 jenkins jenkins 4096 Feb 2 12:12 .. [2022-02-02T12:17:19.996Z] drwxr-xr-x. 2 jenkins jenkins 6 Feb 2 12:12 cost [2022-02-02T12:17:19.996Z] -rw-r--r--. 1 jenkins jenkins 82 Feb 2 12:12 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-02-02T12:17:20.351Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-02T12:17:20.955Z] ---> package-listing.sh [2022-02-02T12:17:20.955Z] ++ facter osfamily [2022-02-02T12:17:20.955Z] ++ tr '[:upper:]' '[:lower:]' [2022-02-02T12:17:21.230Z] + OS_FAMILY=redhat [2022-02-02T12:17:21.230Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-396 [2022-02-02T12:17:21.230Z] + START_PACKAGES=/tmp/packages_start.txt [2022-02-02T12:17:21.230Z] + END_PACKAGES=/tmp/packages_end.txt [2022-02-02T12:17:21.230Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-02-02T12:17:21.230Z] + PACKAGES=/tmp/packages_start.txt [2022-02-02T12:17:21.230Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-396 ']' [2022-02-02T12:17:21.230Z] + PACKAGES=/tmp/packages_end.txt [2022-02-02T12:17:21.230Z] + case "${OS_FAMILY}" in [2022-02-02T12:17:21.230Z] + rpm -qa [2022-02-02T12:17:21.230Z] + sort [2022-02-02T12:17:21.803Z] + '[' -f /tmp/packages_start.txt ']' [2022-02-02T12:17:21.803Z] + '[' -f /tmp/packages_end.txt ']' [2022-02-02T12:17:21.803Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-02-02T12:17:21.803Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-396 ']' [2022-02-02T12:17:21.803Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-396/archives/ [2022-02-02T12:17:21.803Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-396/archives/ [Pipeline] echo [2022-02-02T12:17:21.836Z] 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-396/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-02-02T12:17:22.135Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-02-02T12:17:22.734Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-02T12:17:22.734Z] . [Pipeline] withDockerContainer [2022-02-02T12:17:22.818Z] prd-centos7-docker-4c-2g-4430 does not seem to be running inside a container [2022-02-02T12:17:22.851Z] $ 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-396/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-396 -v /w/workspace/edgexfoundry_device-sdk-c_PR-396:/w/workspace/edgexfoundry_device-sdk-c_PR-396:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-396@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-396@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-02-02T12:17:23.057Z] $ docker top cc8d763b7f41e2b4c1e59aa2be3c2a090998a8c10ddc8550ce3cf4f2187d8b7e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-02T12:17:23.471Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-02-02T12:17:23.790Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-02-02T12:17:24.108Z] + ls /var/log/sa-host [2022-02-02T12:17:24.108Z] + sadf -c /var/log/sa-host/sa02 [2022-02-02T12:17:24.108Z] file_magic: OK [2022-02-02T12:17:24.108Z] HZ: Using current value: 100 [2022-02-02T12:17:24.108Z] file_header: OK [2022-02-02T12:17:24.108Z] 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 [2022-02-02T12:17:24.108Z] Statistics: [2022-02-02T12:17:24.108Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-02-02T12:17:24.108Z] File successfully converted to sysstat format version 12.0.3 [2022-02-02T12:17:24.108Z] + sadf -c /var/log/sa-host/sa17 [2022-02-02T12:17:24.108Z] file_magic: OK [2022-02-02T12:17:24.108Z] HZ: Using current value: 100 [2022-02-02T12:17:24.108Z] file_header: OK [2022-02-02T12:17:24.109Z] 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 [2022-02-02T12:17:24.109Z] Statistics: [2022-02-02T12:17:24.109Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-02-02T12:17:24.109Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-02T12:17:24.402Z] provisioning config files... [2022-02-02T12:17:24.412Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-396@tmp/config1675964190185285569tmp [Pipeline] { [Pipeline] echo [2022-02-02T12:17:24.463Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-02T12:17:24.782Z] ---> create-netrc.sh [Pipeline] } [2022-02-02T12:17:24.813Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-02-02T12:17:25.236Z] ---> python-tools-install.sh [Pipeline] echo [2022-02-02T12:17:25.275Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-02T12:17:25.592Z] ---> sudo-logs.sh [2022-02-02T12:17:25.592Z] Archiving 'sudo' log.. [2022-02-02T12:17:25.592Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-4430.novalocal: Name or service not known [2022-02-02T12:17:25.592Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-4430.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-02-02T12:17:25.677Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-02T12:17:25.997Z] ---> job-cost.sh [2022-02-02T12:17:25.997Z] lf-activate-venv: SKIPPING [2022-02-02T12:17:25.997Z] DEBUG: total: 0.05999999865889549 [2022-02-02T12:17:25.997Z] INFO: Retrieving Stack Cost... [2022-02-02T12:17:26.256Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-02-02T12:17:26.515Z] INFO: Archiving Costs [Pipeline] echo [2022-02-02T12:17:26.551Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-02T12:17:26.866Z] ---> logs-deploy.sh [2022-02-02T12:17:26.866Z] lf-activate-venv: SKIPPING [2022-02-02T12:17:26.866Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-396/1 [2022-02-02T12:17:26.866Z] INFO: archiving workspace using pattern(s): [2022-02-02T12:17:27.439Z] Archives upload complete. [2022-02-02T12:17:27.701Z] INFO: archiving logs to Nexus