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 12:11:12 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:11:12 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:11:12 ========================================================= 12:11:12 EdgeX Global Pipelines Version Info 12:11:12 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:11:13 ------------------- 12:11:13 stable info: 12:11:13 ------------------- 12:11:13 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:11:13 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 12:11:13 Message: update stable to v1.0.220 12:11:14 ------------------- 12:11:14 experimental info: 12:11:14 ------------------- 12:11:14 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:11:14 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 12:11:14 Message: update experimental to v1.0.220 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:11:14 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 12:11:14 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 12:11:14 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:11:14 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:11:14 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:11:14 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 12:11:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 12:11:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:11:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:11:14 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 12:11:14 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:11:14 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:11:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:11:15 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 12:11:15 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:11:15 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:11:15 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:11:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-396 [Pipeline] echo 12:11:15 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-396 [Pipeline] echo 12:11:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-396 [Pipeline] echo 12:11:15 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d85d632fe5c36600cf4491fc43fab161c21463c2 [Pipeline] echo 12:11:15 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d85d632 [Pipeline] echo 12:11:15 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:11:15 provisioning config files... 12:11:15 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-396@tmp/config2822771671259076563tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:11:15 ---> docker-login.sh 12:11:15 nexus3.edgexfoundry.org:10001 12:11:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:11:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:11:16 Configure a credential helper to remove this warning. See 12:11:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:11:16 12:11:16 Login Succeeded 12:11:16 nexus3.edgexfoundry.org:10002 12:11:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:11:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:11:16 Configure a credential helper to remove this warning. See 12:11:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:11:16 12:11:16 Login Succeeded 12:11:16 nexus3.edgexfoundry.org:10003 12:11:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:11:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:11:16 Configure a credential helper to remove this warning. See 12:11:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:11:16 12:11:16 Login Succeeded 12:11:16 nexus3.edgexfoundry.org:10004 12:11:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:11:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:11:16 Configure a credential helper to remove this warning. See 12:11:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:11:16 12:11:16 Login Succeeded 12:11:16 docker.io 12:11:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:11:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:11:16 Configure a credential helper to remove this warning. See 12:11:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:11:16 12:11:16 Login Succeeded 12:11:16 ---> docker-login.sh ends [Pipeline] } 12:11:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 12:11:17 + git rev-list -1 --merges d85d632fe5c36600cf4491fc43fab161c21463c2~1..d85d632fe5c36600cf4491fc43fab161c21463c2 [Pipeline] echo 12:11:17 -----------> git rev-list -1 --merges d85d632fe5c36600cf4491fc43fab161c21463c2~1..d85d632fe5c36600cf4491fc43fab161c21463c2 d85d632fe5c36600cf4491fc43fab161c21463c2 [false] [Pipeline] sh 12:11:17 + git log --format=format:%s -1 d85d632fe5c36600cf4491fc43fab161c21463c2 [Pipeline] echo 12:11:18 ========================================================= 12:11:18 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:11:18 ========================================================= 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 12:11:18 + git rev-list -1 --merges d85d632fe5c36600cf4491fc43fab161c21463c2~1..d85d632fe5c36600cf4491fc43fab161c21463c2 [Pipeline] echo 12:11:18 -----------> git rev-list -1 --merges d85d632fe5c36600cf4491fc43fab161c21463c2~1..d85d632fe5c36600cf4491fc43fab161c21463c2 d85d632fe5c36600cf4491fc43fab161c21463c2 [false] [Pipeline] sh 12:11:19 + git log --format=format:%s -1 d85d632fe5c36600cf4491fc43fab161c21463c2 [Pipeline] echo 12:11:19 ========================================================= 12:11:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:11:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 12:11:19 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 12:11:19 + grep -v github /etc/ssh/ssh_known_hosts 12:11:19 + '[' -e /tmp/ssh_known_hosts ']' 12:11:19 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:11:19 + sudo tee -a /etc/ssh/ssh_known_hosts 12:11:19 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 12:11:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 12:11:20 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:11:20 12:11:20 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 12:11:20 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:11:20 latest: Pulling from edgex-devops/git-semver 12:11:20 a0d0a0d46f8b: Pulling fs layer 12:11:20 3e5f54012d9b: Pulling fs layer 12:11:20 4c7163046ea9: Pulling fs layer 12:11:20 0c2d73faf560: Pulling fs layer 12:11:20 0c2d73faf560: Waiting 12:11:20 3e5f54012d9b: Verifying Checksum 12:11:20 3e5f54012d9b: Download complete 12:11:20 a0d0a0d46f8b: Verifying Checksum 12:11:20 a0d0a0d46f8b: Download complete 12:11:20 4c7163046ea9: Verifying Checksum 12:11:20 4c7163046ea9: Download complete 12:11:20 0c2d73faf560: Verifying Checksum 12:11:20 0c2d73faf560: Download complete 12:11:20 a0d0a0d46f8b: Pull complete 12:11:20 3e5f54012d9b: Pull complete 12:11:21 4c7163046ea9: Pull complete 12:11:21 0c2d73faf560: Pull complete 12:11:21 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 12:11:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:11:21 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 12:11:21 prd-centos7-docker-4c-2g-4430 does not seem to be running inside a container 12:11:21 $ 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 12:11:22 $ docker top 0f94f80967819c78a0ab1f0cfd401992072bd92c825cb1c0f538aa87a0699265 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:11:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:11:22 [ssh-agent] Looking for ssh-agent implementation... 12:11:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:11:22 $ docker exec 0f94f80967819c78a0ab1f0cfd401992072bd92c825cb1c0f538aa87a0699265 ssh-agent 12:11:22 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFIBnIl/agent.13 12:11:22 SSH_AGENT_PID=19 12:11:22 Running ssh-add (command line suppressed) 12:11:22 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) 12:11:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:11:23 + git tag --points-at HEAD [Pipeline] } 12:11:23 $ docker exec --env ******** --env ******** 0f94f80967819c78a0ab1f0cfd401992072bd92c825cb1c0f538aa87a0699265 ssh-agent -k 12:11:23 unset SSH_AUTH_SOCK; 12:11:23 unset SSH_AGENT_PID; 12:11:23 echo Agent pid 19 killed; 12:11:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:11:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:11:23 [ssh-agent] Looking for ssh-agent implementation... 12:11:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:11:23 $ docker exec 0f94f80967819c78a0ab1f0cfd401992072bd92c825cb1c0f538aa87a0699265 ssh-agent 12:11:23 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJAAEkM/agent.54 12:11:23 SSH_AGENT_PID=60 12:11:23 Running ssh-add (command line suppressed) 12:11:23 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) 12:11:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:11:24 + git semver init 12:11:24 # -> Open(): unable to determine branch for HEAD 12:11:24 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-396/.git 12:11:24 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-396 12:11:24 # $SEMVER_REMOTE_NAME = origin 12:11:24 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 12:11:24 # $SEMVER_USER_NAME = edgex-jenkins 12:11:24 # $SEMVER_BRANCH = PR-396 12:11:24 # $SEMVER_TEMP = /tmp/semver-487768391 12:11:24 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 12:11:25 # '/tmp/semver-487768391' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-396/.semver' 12:11:25 # -> Force: false 12:11:25 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-396/.semver [Pipeline] } 12:11:25 $ docker exec --env ******** --env ******** 0f94f80967819c78a0ab1f0cfd401992072bd92c825cb1c0f538aa87a0699265 ssh-agent -k 12:11:25 unset SSH_AUTH_SOCK; 12:11:25 unset SSH_AGENT_PID; 12:11:25 echo Agent pid 60 killed; 12:11:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:11:25 + git semver [Pipeline] } 12:11:25 $ docker stop --time=1 0f94f80967819c78a0ab1f0cfd401992072bd92c825cb1c0f538aa87a0699265 12:11:26 $ docker rm -f 0f94f80967819c78a0ab1f0cfd401992072bd92c825cb1c0f538aa87a0699265 [Pipeline] // withDockerContainer [Pipeline] sh 12:11:27 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:11:27 Stashed 1 file(s) [Pipeline] echo 12:11:27 [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 12:11:28 provisioning config files... 12:11:28 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-396@tmp/config854461725300513086tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:11:28 ---> docker-login.sh 12:11:28 nexus3.edgexfoundry.org:10001 12:11:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:11:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:11:28 Configure a credential helper to remove this warning. See 12:11:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:11:28 12:11:28 Login Succeeded 12:11:28 nexus3.edgexfoundry.org:10002 12:11:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:11:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:11:28 Configure a credential helper to remove this warning. See 12:11:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:11:28 12:11:28 Login Succeeded 12:11:28 nexus3.edgexfoundry.org:10003 12:11:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:11:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:11:28 Configure a credential helper to remove this warning. See 12:11:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:11:28 12:11:28 Login Succeeded 12:11:28 nexus3.edgexfoundry.org:10004 12:11:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:11:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:11:28 Configure a credential helper to remove this warning. See 12:11:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:11:28 12:11:28 Login Succeeded 12:11:28 docker.io 12:11:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:11:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:11:29 Configure a credential helper to remove this warning. See 12:11:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:11:29 12:11:29 Login Succeeded 12:11:29 ---> docker-login.sh ends [Pipeline] } 12:11:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:11:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:11:29 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 12:11:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:11:29 ========================================================= 12:11:29 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 12:11:29 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 12:11:30 + 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 . 12:11:30 Sending build context to Docker daemon 4.5MB 12:11:30 Step 1/24 : ARG BASE=alpine:3.14 12:11:30 Step 2/24 : FROM ${BASE} as builder 12:11:30 latest: Pulling from edgex-devops/edgex-gcc-base 12:11:30 a0d0a0d46f8b: Already exists 12:11:30 39017ce70367: Pulling fs layer 12:11:30 dcf9283bb20a: Pulling fs layer 12:11:30 39017ce70367: Verifying Checksum 12:11:30 39017ce70367: Download complete 12:11:30 39017ce70367: Pull complete 12:11:30 dcf9283bb20a: Verifying Checksum 12:11:30 dcf9283bb20a: Download complete 12:11:33 dcf9283bb20a: Pull complete 12:11:33 Digest: sha256:2a2af42e0978abc69143d34e5140e0e2b13385d9fcf9e2292ee97f6b0c1f1d72 12:11:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 12:11:33 ---> a4e04833b611 12:11:33 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 12:11:34 ---> Running in eb43c664362c 12:11:34 Connecting to iotech.jfrog.io (54.229.110.245:443) 12:11:35 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 12:11:35 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 12:11:35 '/etc/apk/keys/alpine.dev.rsa.pub' saved 12:11:35 Removing intermediate container eb43c664362c 12:11:35 ---> 84026909ea75 12:11:35 Step 4/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 12:11:35 ---> Running in 3f2ac2d093e3 12:11:36 Removing intermediate container 3f2ac2d093e3 12:11:36 ---> 6e564ffbafbb 12:11:36 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 12:11:36 ---> Running in a327642ea086 12:11:36 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 12:11:42 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 12:11:42 WARNING: Ignoring https://nl.alpinelinux.org/alpine/v3.14/main: temporary error (try again later) 12:11:43 Still waiting to schedule task 12:11:43 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 12:11:47 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz 12:11:47 WARNING: Ignoring https://nl.alpinelinux.org/alpine/v3.14/community: temporary error (try again later) 12:11:47 WARNING: This apk-tools is OLD! Some packages might not function properly. 12:11:47 ERROR: unable to select packages: 12:11:47  hiredis-dev (no such package): 12:11:47 required by: world[hiredis-dev] 12:11:47 ncurses-dev (no such package): 12:11:47 required by: world[ncurses-dev] 12:11:47 util-linux-dev (no such package): 12:11:47 required by: world[util-linux-dev] 12:11:47 wget (no such package): 12:11:47 required by: world[wget] 12:11:47 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 12:11:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:11:48 12:11:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 12:11:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:11:48 latest: Pulling from edgex-lftools-log-publisher 12:11:48 b4d181a07f80: Pulling fs layer 12:11:48 a1111a8f2ec3: Pulling fs layer 12:11:48 ed53099fbce6: Pulling fs layer 12:11:48 dc539afda2c1: Pulling fs layer 12:11:48 77bc0d833cb6: Pulling fs layer 12:11:48 9065ff56babe: Pulling fs layer 12:11:48 d287ab97295c: Pulling fs layer 12:11:48 dc539afda2c1: Waiting 12:11:48 77bc0d833cb6: Waiting 12:11:48 9065ff56babe: Waiting 12:11:48 d287ab97295c: Waiting 12:11:48 a1111a8f2ec3: Verifying Checksum 12:11:48 a1111a8f2ec3: Download complete 12:11:48 dc539afda2c1: Verifying Checksum 12:11:48 dc539afda2c1: Download complete 12:11:49 ed53099fbce6: Verifying Checksum 12:11:49 ed53099fbce6: Download complete 12:11:49 9065ff56babe: Verifying Checksum 12:11:49 9065ff56babe: Download complete 12:11:49 77bc0d833cb6: Verifying Checksum 12:11:49 77bc0d833cb6: Download complete 12:11:49 b4d181a07f80: Verifying Checksum 12:11:49 b4d181a07f80: Download complete 12:11:49 d287ab97295c: Verifying Checksum 12:11:49 d287ab97295c: Download complete 12:11:50 b4d181a07f80: Pull complete 12:11:50 a1111a8f2ec3: Pull complete 12:11:51 ed53099fbce6: Pull complete 12:11:51 dc539afda2c1: Pull complete 12:11:51 77bc0d833cb6: Pull complete 12:11:51 9065ff56babe: Pull complete 12:11:56 d287ab97295c: Pull complete 12:11:56 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 12:11:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:11:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 12:11:57 prd-centos7-docker-4c-2g-4430 does not seem to be running inside a container 12:11:57 $ 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 12:12:00 $ docker top 160b0a8ca8153d79429748e7f9d38a1863ca009bfa669848f7898c477c5d235c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:12:01 ---> job-cost.sh 12:12:01 lf-activate-venv: SKIPPING 12:12:01 INFO: No Stack... 12:12:01 INFO: Retrieving Pricing Info for: v3-standard-2 12:12:01 INFO: Archiving Costs [Pipeline] sh 12:12:01 + cut -d, -f6 12:12:01 + cat /w/workspace/edgexfoundry_device-sdk-c_PR-396/archives/cost.csv [Pipeline] lock 12:12:02 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-396-1-stack-cost] 12:12:02 Resource [jenkins-edgexfoundry-device-sdk-c-PR-396-1-stack-cost] did not exist. Created. 12:12:02 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-396-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:12:02 + echo total: 0.05999999865889549 [Pipeline] stash 12:12:02 Stashed 1 file(s) [Pipeline] } 12:12:02 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-396-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:12:02 $ docker stop --time=1 160b0a8ca8153d79429748e7f9d38a1863ca009bfa669848f7898c477c5d235c 12:12:03 $ docker rm -f 160b0a8ca8153d79429748e7f9d38a1863ca009bfa669848f7898c477c5d235c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:12:04 Failed in branch amd64 12:13:05 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4431 in /w/workspace/edgexfoundry_device-sdk-c_PR-396 [Pipeline] { [Pipeline] ws 12:13:06 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 12:13:06 Selected Git installation does not exist. Using Default 12:13:06 The recommended git tool is: NONE 12:13:10 using credential edgex-jenkins-ssh 12:13:10 Cloning the remote Git repository 12:13:10 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 12:13:10 > git init /w/workspace/device-sdk-c/1 # timeout=10 12:13:10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 12:13:10 > git --version # timeout=10 12:13:10 > git --version # 'git version 2.17.1' 12:13:10 using GIT_SSH to set credentials SSH Credentials for GitHub 12:13:10 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:13:12 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 12:13:12 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:13:12 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 12:13:12 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 12:13:12 using GIT_SSH to set credentials SSH Credentials for GitHub 12:13:12 > 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 12:13:12 Merging remotes/origin/main commit 8c74ffe4fc698c219175e751f1cca4a77f9c9083 into PR head commit d85d632fe5c36600cf4491fc43fab161c21463c2 12:13:13 Merge succeeded, producing d85d632fe5c36600cf4491fc43fab161c21463c2 12:13:13 Checking out Revision d85d632fe5c36600cf4491fc43fab161c21463c2 (PR-396) 12:13:12 > git config core.sparsecheckout # timeout=10 12:13:12 > git checkout -f d85d632fe5c36600cf4491fc43fab161c21463c2 # timeout=10 12:13:13 > git remote # timeout=10 12:13:13 > git config --get remote.origin.url # timeout=10 12:13:13 using GIT_SSH to set credentials SSH Credentials for GitHub 12:13:13 > git merge 8c74ffe4fc698c219175e751f1cca4a77f9c9083 # timeout=10 12:13:13 > git rev-parse HEAD^{commit} # timeout=10 12:13:13 > git config core.sparsecheckout # timeout=10 12:13:13 > git checkout -f d85d632fe5c36600cf4491fc43fab161c21463c2 # timeout=10 12:13:17 Commit message: "fix: retry attempts to resolve service endpoints from registry (#394)" 12:13:17 > git --version # timeout=10 12:13:17 > git --version # 'git version 2.17.1' 12:13:17 fatal: bad object efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:13:18 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:13:18 % Total % Received % Xferd Average Speed Time Time Time Current 12:13:18 Dload Upload Total Spent Left Speed 12:13:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 85201 0 --:--:-- --:--:-- --:--:-- 85201 [Pipeline] sh 12:13:19 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:13:19 + sudo tee /etc/docker/daemon.new 12:13:19 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:13:19 { 12:13:19 "registry-mirrors": [ 12:13:19 "https://nexus3.edgexfoundry.org:10001" 12:13:19 ], 12:13:19 "bip": "10.250.0.254/24", 12:13:19 "hosts": [ 12:13:19 "tcp://0.0.0.0:5555", 12:13:19 "unix:///var/run/docker.sock" 12:13:19 ], 12:13:19 "mtu": 1458, 12:13:19 "selinux-enabled": true, 12:13:19 "seccomp-profile": "/etc/docker/seccomp.json" 12:13:19 } [Pipeline] sh 12:13:19 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:13:20 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:13:38 provisioning config files... 12:13:38 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config7824752055765362134tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:13:39 ---> docker-login.sh 12:13:39 nexus3.edgexfoundry.org:10001 12:13:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:13:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:13:40 Configure a credential helper to remove this warning. See 12:13:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:13:40 12:13:40 Login Succeeded 12:13:40 nexus3.edgexfoundry.org:10002 12:13:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:13:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:13:40 Configure a credential helper to remove this warning. See 12:13:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:13:40 12:13:40 Login Succeeded 12:13:40 nexus3.edgexfoundry.org:10003 12:13:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:13:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:13:40 Configure a credential helper to remove this warning. See 12:13:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:13:40 12:13:40 Login Succeeded 12:13:40 nexus3.edgexfoundry.org:10004 12:13:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:13:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:13:41 Configure a credential helper to remove this warning. See 12:13:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:13:41 12:13:41 Login Succeeded 12:13:41 docker.io 12:13:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:13:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:13:42 Configure a credential helper to remove this warning. See 12:13:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:13:42 12:13:42 Login Succeeded 12:13:42 ---> docker-login.sh ends [Pipeline] } 12:13:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:13:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:13:42 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 12:13:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:13:42 ========================================================= 12:13:42 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 12:13:42 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 12:13:42 + 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 . 12:13:43 Sending build context to Docker daemon 2.746MB 12:13:43 Step 1/24 : ARG BASE=alpine:3.14 12:13:43 Step 2/24 : FROM ${BASE} as builder 12:13:43 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 12:13:43 552d1f2373af: Pulling fs layer 12:13:43 f2be2b6548c6: Pulling fs layer 12:13:43 ee4ac2fe028c: Pulling fs layer 12:13:43 f2be2b6548c6: Download complete 12:13:43 552d1f2373af: Verifying Checksum 12:13:43 552d1f2373af: Download complete 12:13:44 552d1f2373af: Pull complete 12:13:44 f2be2b6548c6: Pull complete 12:13:45 ee4ac2fe028c: Verifying Checksum 12:13:45 ee4ac2fe028c: Download complete 12:13:53 ee4ac2fe028c: Pull complete 12:13:53 Digest: sha256:4c85ded81933cf54d6808eb239bc3fea8e3bb42c9130537b51c88bfc6b01a02b 12:13:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 12:13:53 ---> b6d714ea7bf2 12:13:53 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 12:13:54 ---> Running in a3065432881b 12:13:55 Connecting to iotech.jfrog.io (34.243.182.113:443) 12:13:55 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 12:13:55 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 12:13:55 '/etc/apk/keys/alpine.dev.rsa.pub' saved 12:13:56 Removing intermediate container a3065432881b 12:13:56 ---> c73626f6dfb8 12:13:56 Step 4/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 12:13:56 ---> Running in 65dadd3804ba 12:13:58 Removing intermediate container 65dadd3804ba 12:13:58 ---> 042d70b8fa4d 12:13:58 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 12:13:58 ---> Running in 15bd141d9b3b 12:13:59 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 12:14:00 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 12:14:00 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz 12:14:01 WARNING: This apk-tools is OLD! Some packages might not function properly. 12:14:01 (1/27) Installing hiredis (1.0.0-r0) 12:14:01 (2/27) Installing hiredis-dev (1.0.0-r0) 12:14:01 (3/27) Installing ncurses-dev (6.2_p20210612-r0) 12:14:01 (4/27) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 12:14:02 (5/27) Installing libblkid (2.37.2-r0) 12:14:02 (6/27) Installing blkid (2.37.2-r0) 12:14:02 (7/27) Installing libcap-ng (0.8.2-r0) 12:14:02 (8/27) Installing setpriv (2.37.2-r0) 12:14:02 (9/27) Installing libmount (2.37.2-r0) 12:14:03 (10/27) Installing libsmartcols (2.37.2-r0) 12:14:03 (11/27) Installing findmnt (2.37.2-r0) 12:14:03 (12/27) Installing mcookie (2.37.2-r0) 12:14:03 (13/27) Installing hexdump (2.37.2-r0) 12:14:03 (14/27) Installing lsblk (2.37.2-r0) 12:14:03 (15/27) Installing libuuid (2.37.2-r0) 12:14:03 (16/27) Installing libfdisk (2.37.2-r0) 12:14:03 (17/27) Installing sfdisk (2.37.2-r0) 12:14:03 (18/27) Installing cfdisk (2.37.2-r0) 12:14:04 (19/27) Installing partx (2.37.2-r0) 12:14:04 (20/27) Installing flock (2.37.2-r0) 12:14:04 (21/27) Installing logger (2.37.2-r0) 12:14:04 (22/27) Installing uuidgen (2.37.2-r0) 12:14:04 (23/27) Installing libeconf (0.3.8-r1) 12:14:04 (24/27) Installing util-linux (2.37.2-r0) 12:14:04 (25/27) Installing util-linux-dev (2.37.2-r0) 12:14:04 (26/27) Installing libidn2 (2.3.1-r0) 12:14:04 (27/27) Installing wget (1.21.1-r1) 12:14:05 Executing busybox-1.33.1-r3.trigger 12:14:05 OK: 286 MiB in 104 packages 12:14:06 Removing intermediate container 15bd141d9b3b 12:14:06 ---> 66d8df3bc5c8 12:14:06 Step 6/24 : ENV CBOR_VERSION=0.5.0 12:14:06 ---> Running in c3254a7b080e 12:14:06 Removing intermediate container c3254a7b080e 12:14:06 ---> 9ac6600e5f2f 12:14:06 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 12:14:06 ---> Running in 755db320ddc2 12:14:07 --2022-02-02 12:14:07-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 12:14:08 Resolving github.com (github.com)... 140.82.112.3 12:14:08 Connecting to github.com (github.com)|140.82.112.3|:443... connected. 12:14:08 HTTP request sent, awaiting response... 302 Found 12:14:08 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 12:14:08 --2022-02-02 12:14:08-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 12:14:08 Resolving codeload.github.com (codeload.github.com)... 140.82.113.10 12:14:08 Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected. 12:14:08 HTTP request sent, awaiting response... 200 OK 12:14:08 Length: unspecified [application/x-gzip] 12:14:08 Saving to: 'STDOUT' 12:14:08  12:14:08 0K .......... .......... .......... .......... .......... 1.22M 12:14:08 50K .......... .......... .......... .......... .......... 2.29M 12:14:08 100K .......... .......... .......... .......... .......... 11.5M 12:14:08 150K .......... .......... .......... .......... .......... 3.12M 12:14:08 200K .......... .......... .......... .......... .......... 15.8M 12:14:08 250K .......... .......... .......... .......... .......... 3.45M 12:14:08 300K .......... .......... .......... .......... .......... 3.88M 12:14:08 350K .......... .......... .......... .......... .......... 8.28M 12:14:08 400K .......... .......... .......... .......... .......... 3.34M 12:14:08 450K .......... .......... .......... .......... .......... 4.39M 12:14:08 500K .......... .......... .......... .......... .......... 11.2M 12:14:08 550K .......... .......... .......... .......... .......... 2.62M 12:14:08 600K .......... .......... .......... .......... .......... 883K 12:14:08 650K .......... .......... .......... .......... .......... 2.35M 12:14:08 700K ..          4.74M=0.2s 12:14:08 12:14:08 2022-02-02 12:14:08 (2.82 MB/s) - written to stdout [719348] 12:14:08 12:14:08 -- The C compiler identification is GNU 10.3.1 12:14:09 -- The CXX compiler identification is GNU 10.3.1 12:14:09 -- Detecting C compiler ABI info 12:14:09 -- Detecting C compiler ABI info - done 12:14:09 -- Check for working C compiler: /usr/bin/cc - skipped 12:14:09 -- Detecting C compile features 12:14:09 -- Detecting C compile features - done 12:14:09 -- Detecting CXX compiler ABI info 12:14:09 -- Detecting CXX compiler ABI info - done 12:14:10 -- Check for working CXX compiler: /usr/bin/c++ - skipped 12:14:10 -- Detecting CXX compile features 12:14:10 -- Detecting CXX compile features - done 12:14:10 -- Looking for include file endian.h 12:14:10 -- Looking for include file endian.h - found 12:14:10 -- Looking for sys/types.h 12:14:10 -- Looking for sys/types.h - found 12:14:10 -- Looking for stdint.h 12:14:10 -- Looking for stdint.h - found 12:14:10 -- Looking for stddef.h 12:14:11 -- Looking for stddef.h - found 12:14:11 -- Check size of size_t 12:14:11 -- Check size of size_t - done 12:14:11 CMake Warning at examples/CMakeLists.txt:16 (find_package): 12:14:11 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 12:14:11 asked CMake to find a package configuration file provided by "cJSON", but 12:14:11 CMake did not find one. 12:14:11 12:14:11 Could not find a package configuration file provided by "cJSON" with any of 12:14:11 the following names: 12:14:11 12:14:11 cJSONConfig.cmake 12:14:11 cjson-config.cmake 12:14:11 12:14:11 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 12:14:11 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 12:14:11 provides a separate development package or SDK, be sure it has been 12:14:11 installed. 12:14:11 12:14:11 12:14:11 -- Configuring done 12:14:11 -- Generating done 12:14:11 -- Build files have been written to: /tmp/cbor 12:14:11 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 12:14:12 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 12:14:13 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 12:14:13 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 12:14:14 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 12:14:14 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 12:14:14 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 12:14:15 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 12:14:15 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 12:14:15 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 12:14:16 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 12:14:16 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 12:14:17 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 12:14:17 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 12:14:17 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 12:14:18 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 12:14:18 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 12:14:18 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 12:14:18 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 12:14:19 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 12:14:19 [ 40%] Linking C shared library libcbor.so 12:14:19 [ 40%] Built target cbor_shared 12:14:19 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 12:14:20 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 12:14:21 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 12:14:21 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 12:14:23 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 12:14:23 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 12:14:24 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 12:14:24 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 12:14:24 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 12:14:25 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 12:14:25 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 12:14:26 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 12:14:26 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 12:14:27 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 12:14:27 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 12:14:27 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 12:14:28 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 12:14:28 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 12:14:28 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 12:14:29 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 12:14:29 [ 80%] Linking C static library libcbor.a 12:14:29 [ 80%] Built target cbor 12:14:29 [ 82%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 12:14:29 [ 84%] Linking C executable readfile 12:14:29 [ 84%] Built target readfile 12:14:29 [ 86%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 12:14:30 [ 88%] Linking C executable create_items 12:14:30 [ 88%] Built target create_items 12:14:30 [ 90%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 12:14:30 [ 92%] Linking C executable sort 12:14:30 [ 92%] Built target sort 12:14:30 [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 12:14:30 [ 96%] Linking C executable hello 12:14:30 [ 96%] Built target hello 12:14:30 [ 98%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 12:14:30 [100%] Linking C executable streaming_parser 12:14:31 [100%] Built target streaming_parser 12:14:31 Install the project... 12:14:31 -- Install configuration: "Release" 12:14:31 -- Installing: /usr/local/include/cbor/configuration.h 12:14:31 -- Installing: /usr/local/lib/libcbor.a 12:14:31 -- Installing: /usr/local/lib/libcbor.so.0.0.0 12:14:31 -- Installing: /usr/local/lib/libcbor.so.0 12:14:31 -- Installing: /usr/local/lib/libcbor.so 12:14:31 -- Up-to-date: /usr/local/include/cbor 12:14:31 -- Installing: /usr/local/include/cbor/data.h 12:14:31 -- Installing: /usr/local/include/cbor/callbacks.h 12:14:31 -- Installing: /usr/local/include/cbor/ints.h 12:14:31 -- Installing: /usr/local/include/cbor/arrays.h 12:14:31 -- Installing: /usr/local/include/cbor/maps.h 12:14:31 -- Installing: /usr/local/include/cbor/tags.h 12:14:31 -- Installing: /usr/local/include/cbor/serialization.h 12:14:31 -- Installing: /usr/local/include/cbor/common.h 12:14:31 -- Installing: /usr/local/include/cbor/floats_ctrls.h 12:14:31 -- Installing: /usr/local/include/cbor/internal 12:14:31 -- Installing: /usr/local/include/cbor/internal/encoders.h 12:14:31 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 12:14:31 -- Installing: /usr/local/include/cbor/internal/stack.h 12:14:31 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 12:14:31 -- Installing: /usr/local/include/cbor/internal/unicode.h 12:14:31 -- Installing: /usr/local/include/cbor/internal/loaders.h 12:14:31 -- Installing: /usr/local/include/cbor/bytestrings.h 12:14:31 -- Installing: /usr/local/include/cbor/encoding.h 12:14:31 -- Installing: /usr/local/include/cbor/streaming.h 12:14:31 -- Installing: /usr/local/include/cbor/strings.h 12:14:31 -- Installing: /usr/local/include/cbor.h 12:14:31 -- Installing: /usr/local/lib/pkgconfig/libcbor.pc 12:14:33 Removing intermediate container 755db320ddc2 12:14:33 ---> 03e2673fa917 12:14:33 Step 8/24 : RUN mkdir /tmp/sdk 12:14:33 ---> Running in d3e42718408b 12:14:34 Removing intermediate container d3e42718408b 12:14:34 ---> d7ca98f2b084 12:14:34 Step 9/24 : COPY VERSION /tmp/sdk 12:14:35 ---> 48a0db6428b3 12:14:35 Step 10/24 : COPY src /tmp/sdk/src 12:14:35 ---> 9d8b032fad4a 12:14:35 Step 11/24 : COPY include /tmp/sdk/include 12:14:36 ---> df1cf2bc36d9 12:14:36 Step 12/24 : COPY scripts /tmp/sdk/scripts 12:14:36 ---> cb33bcd34ef8 12:14:36 Step 13/24 : COPY LICENSE /tmp/sdk 12:14:37 ---> 5730f9356374 12:14:37 Step 14/24 : COPY Attribution.txt /tmp/sdk 12:14:38 ---> be636b9f436e 12:14:38 Step 15/24 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 12:14:38 ---> Running in f51be43b6c07 12:14:39 + CPPCHECK=false 12:14:39 + DOCGEN=false 12:14:39 + TOMLVER=SDK-0.2 12:14:39 + CUTILVER=1.2.2 12:14:39 + '[' 0 -gt 0 ] 12:14:39 + readlink -f ./scripts/build.sh 12:14:39 + dirname /tmp/sdk/scripts/build.sh 12:14:39 + dirname /tmp/sdk/scripts 12:14:39 + ROOT=/tmp/sdk 12:14:39 + cd /tmp/sdk 12:14:39 + '[' '!' -d deps ] 12:14:39 + mkdir deps 12:14:39 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 12:14:39 + tar -C deps -z -x -f - 12:14:39 --2022-02-02 12:14:38-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 12:14:39 Resolving github.com (github.com)... 140.82.112.3 12:14:39 Connecting to github.com (github.com)|140.82.112.3|:443... connected. 12:14:39 HTTP request sent, awaiting response... 302 Found 12:14:39 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 12:14:39 --2022-02-02 12:14:39-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 12:14:39 Resolving codeload.github.com (codeload.github.com)... 140.82.113.10 12:14:39 Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected. 12:14:39 HTTP request sent, awaiting response... 200 OK 12:14:39 Length: unspecified [application/x-gzip] 12:14:39 Saving to: 'STDOUT' 12:14:39  12:14:39 0K .......... ......  825K=0.02s 12:14:39 12:14:39 2022-02-02 12:14:39 (825 KB/s) - written to stdout [16451] 12:14:39 12:14:39 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 12:14:39 + tar -C deps+ -zwget -x -O -f - - 12:14:39 https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 12:14:39 --2022-02-02 12:14:39-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 12:14:39 Resolving github.com (github.com)... 140.82.112.3 12:14:39 Connecting to github.com (github.com)|140.82.112.3|:443... connected. 12:14:39 HTTP request sent, awaiting response... 302 Found 12:14:39 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [following] 12:14:39 --2022-02-02 12:14:39-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 12:14:39 Resolving codeload.github.com (codeload.github.com)... 140.82.113.10 12:14:39 Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected. 12:14:39 HTTP request sent, awaiting response... 200 OK 12:14:39 Length: unspecified [application/x-gzip] 12:14:39 Saving to: 'STDOUT' 12:14:39  12:14:39 0K .......... .......... .......... .......... .......... 1.20M 12:14:39 50K .......... .......... .......... .......... .......... 2.29M 12:14:39 100K .......... .......... .......... .......... .......... 9.57M 12:14:39 150K .......... .......... .......... ......... 1.99M=0.09s 12:14:39 12:14:39 2022-02-02 12:14:39 (2.14 MB/s) - written to stdout [193961] 12:14:39 12:14:39 + mkdir -p src/c/iot 12:14:39 + 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 12:14:39 + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot 12:14:40 + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot 12:14:40 + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot 12:14:40 + mkdir -p include/iot 12:14:40 + 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 12:14:40 + mkdir -p include/iot/os 12:14:40 + 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 12:14:40 + mkdir -p /tmp/sdk/build/release 12:14:40 + cd /tmp/sdk/build/release 12:14:40 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 12:14:40 -- The C compiler identification is GNU 10.3.1 12:14:40 -- Detecting C compiler ABI info 12:14:40 -- Detecting C compiler ABI info - done 12:14:40 -- Check for working C compiler: /usr/bin/cc - skipped 12:14:40 -- Detecting C compile features 12:14:40 -- Detecting C compile features - done 12:14:40 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 12:14:41 -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") 12:14:41 -- Found LIBYAML: /usr/lib/libyaml.so 12:14:41 -- Found LIBUUID: /usr/lib/libuuid.so 12:14:41 -- Found LIBCBOR: /usr/local/lib/libcbor.so 12:14:41 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 12:14:41 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 12:14:41 -- C SDK 0.0.0 for Linux 12:14:41 -- Performing Test CSDK_HAVE_ATOMIC 12:14:41 -- Performing Test CSDK_HAVE_ATOMIC - Success 12:14:41 -- Found Curses: /usr/lib/libcurses.so 12:14:41 -- Configuring done 12:14:41 -- Generating done 12:14:41 -- Build files have been written to: /tmp/sdk/build/release 12:14:41 + make all package 12:14:41 + tee release.log 12:14:41 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 12:14:42 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 12:14:43 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 12:14:45 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 12:14:46 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 12:14:46 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 12:14:47 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 12:14:47 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 12:14:48 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 12:14:49 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 12:14:51 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 12:14:51 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 12:14:52 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 12:14:53 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 12:14:53 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 12:14:53 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 12:14:54 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 12:14:57 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 12:14:57 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 12:14:57 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 12:14:58 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 12:14:58 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 12:14:58 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 12:14:58 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 12:14:58 275 | const iot_component_factory_t * factory; 12:14:58 | ^~~~~~~ 12:14:59 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 12:15:04 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 12:15:04 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 12:15:04 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 12:15:05 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 12:15:05 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 12:15:06 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 12:15:07 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 12:15:07 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 12:15:08 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 12:15:08 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 12:15:09 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 12:15:11 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 12:15:12 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 12:15:13 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 12:15:13 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 12:15:17 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 12:15:18 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 12:15:19 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 12:15:19 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 12:15:19 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 12:15:19 /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] 12:15:19 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 12:15:19 | ^~~~~~~~~~~~~ 12:15:19 | | 12:15:19 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 12:15:19 In file included from /tmp/sdk/src/c/rest-server.c:21: 12:15:19 /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 *)' 12:15:19 2714 | MHD_KeyValueIterator iterator, 12:15:19 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 12:15:19 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 12:15:19 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 12:15:19 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 12:15:19 | ^~~~~~~~~~~~ 12:15:19 | | 12:15:19 | 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 **)} 12:15:19 In file included from /tmp/sdk/src/c/rest-server.c:21: 12:15:19 /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 **)'} 12:15:19 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 12:15:19 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 12:15:19 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 12:15:19 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 12:15:19 | ^~~~~~~~~~~~ 12:15:19 | | 12:15:19 | 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 **)} 12:15:19 In file included from /tmp/sdk/src/c/rest-server.c:21: 12:15:19 /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 **)'} 12:15:19 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 12:15:19 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 12:15:20 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 12:15:22 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 12:15:23 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 12:15:23 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 12:15:24 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 12:15:26 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 12:15:30 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 12:15:30 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 12:15:31 [ 76%] Linking C shared library libcsdk.so 12:15:31 [ 76%] Built target csdk 12:15:31 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 12:15:32 [ 79%] Linking C executable template 12:15:32 [ 79%] Built target template 12:15:32 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 12:15:33 [ 82%] Linking C executable device-counter 12:15:33 [ 82%] Built target device-counter 12:15:33 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 12:15:33 [ 85%] Linking C executable device-random 12:15:34 [ 85%] Built target device-random 12:15:34 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 12:15:34 [ 88%] Linking C executable device-gyro 12:15:34 [ 88%] Built target device-gyro 12:15:34 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 12:15:35 [ 91%] Linking C executable device-bitfields 12:15:35 [ 91%] Built target device-bitfields 12:15:35 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 12:15:36 [ 94%] Linking C executable template-discovery 12:15:36 [ 94%] Built target template-discovery 12:15:36 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 12:15:37 [ 97%] Linking C executable device-file 12:15:37 [ 97%] Built target device-file 12:15:37 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 12:15:38 [100%] Linking C executable device-terminal 12:15:38 [100%] Built target device-terminal 12:15:38 Run CPack packaging tool... 12:15:38 CPack: Create package using TGZ 12:15:38 CPack: Install projects 12:15:38 CPack: - Run preinstall target for: Csdk 12:15:39 CPack: - Install project: Csdk [] 12:15:39 CPack: Create package 12:15:39 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 12:15:39 + '[' false '=' true ] 12:15:39 + '[' false '=' true ] 12:15:39 + mkdir -p /tmp/sdk/build/debug 12:15:39 + cd /tmp/sdk/build/debug 12:15:39 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 12:15:39 -- The C compiler identification is GNU 10.3.1 12:15:39 -- Detecting C compiler ABI info 12:15:40 -- Detecting C compiler ABI info - done 12:15:40 -- Check for working C compiler: /usr/bin/cc - skipped 12:15:40 -- Detecting C compile features 12:15:40 -- Detecting C compile features - done 12:15:40 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 12:15:40 -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") 12:15:40 -- Found LIBYAML: /usr/lib/libyaml.so 12:15:40 -- Found LIBUUID: /usr/lib/libuuid.so 12:15:40 -- Found LIBCBOR: /usr/local/lib/libcbor.so 12:15:40 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 12:15:40 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 12:15:40 -- C SDK 0.0.0 for Linux 12:15:40 -- Performing Test CSDK_HAVE_ATOMIC 12:15:40 -- Performing Test CSDK_HAVE_ATOMIC - Success 12:15:40 -- Found Curses: /usr/lib/libcurses.so 12:15:40 -- Configuring done 12:15:40 -- Generating done 12:15:40 -- Build files have been written to: /tmp/sdk/build/debug 12:15:41 + + maketee 12:15:41 debug.log 12:15:41 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 12:15:41 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 12:15:41 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 12:15:42 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 12:15:42 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 12:15:42 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 12:15:43 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 12:15:43 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 12:15:43 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 12:15:44 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 12:15:44 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 12:15:45 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 12:15:45 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 12:15:45 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 12:15:46 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 12:15:46 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 12:15:46 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 12:15:47 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 12:15:47 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 12:15:47 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 12:15:48 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 12:15:48 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 12:15:48 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 12:15:48 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 12:15:48 275 | const iot_component_factory_t * factory; 12:15:48 | ^~~~~~~ 12:15:48 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 12:15:50 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 12:15:50 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 12:15:50 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 12:15:50 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 12:15:50 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 12:15:50 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 12:15:51 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 12:15:51 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 12:15:51 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 12:15:51 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 12:15:52 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 12:15:52 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 12:15:52 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 12:15:53 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 12:15:53 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 12:15:54 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 12:15:54 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 12:15:55 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 12:15:55 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 12:15:55 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 12:15:55 /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] 12:15:55 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 12:15:55 | ^~~~~~~~~~~~~ 12:15:55 | | 12:15:55 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 12:15:55 In file included from /tmp/sdk/src/c/rest-server.c:21: 12:15:55 /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 *)' 12:15:55 2714 | MHD_KeyValueIterator iterator, 12:15:55 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 12:15:55 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 12:15:55 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 12:15:55 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 12:15:55 | ^~~~~~~~~~~~ 12:15:55 | | 12:15:55 | 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 **)} 12:15:55 In file included from /tmp/sdk/src/c/rest-server.c:21: 12:15:55 /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 **)'} 12:15:55 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 12:15:55 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 12:15:55 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 12:15:55 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 12:15:55 | ^~~~~~~~~~~~ 12:15:55 | | 12:15:55 | 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 **)} 12:15:55 In file included from /tmp/sdk/src/c/rest-server.c:21: 12:15:55 /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 **)'} 12:15:55 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 12:15:55 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 12:15:55 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 12:15:57 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 12:15:57 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 12:15:57 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 12:15:58 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 12:15:58 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 12:15:59 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 12:16:00 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 12:16:00 [ 76%] Linking C shared library libcsdk.so 12:16:00 [ 76%] Built target csdk 12:16:00 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 12:16:00 [ 79%] Linking C executable template 12:16:00 [ 79%] Built target template 12:16:01 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 12:16:01 [ 82%] Linking C executable device-counter 12:16:01 [ 82%] Built target device-counter 12:16:01 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 12:16:01 [ 85%] Linking C executable device-random 12:16:01 [ 85%] Built target device-random 12:16:01 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 12:16:02 [ 88%] Linking C executable device-gyro 12:16:02 [ 88%] Built target device-gyro 12:16:02 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 12:16:02 [ 91%] Linking C executable device-bitfields 12:16:03 [ 91%] Built target device-bitfields 12:16:03 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 12:16:03 [ 94%] Linking C executable template-discovery 12:16:03 [ 94%] Built target template-discovery 12:16:03 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 12:16:04 [ 97%] Linking C executable device-file 12:16:04 [ 97%] Built target device-file 12:16:04 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 12:16:04 [100%] Linking C executable device-terminal 12:16:04 [100%] Built target device-terminal 12:16:04 make: Entering directory '/tmp/sdk/build/release' 12:16:04 make[1]: Entering directory '/tmp/sdk/build/release' 12:16:04 make[2]: Entering directory '/tmp/sdk/build/release' 12:16:04 make[2]: Leaving directory '/tmp/sdk/build/release' 12:16:05 [ 76%] Built target csdk 12:16:05 make[2]: Entering directory '/tmp/sdk/build/release' 12:16:05 make[2]: Leaving directory '/tmp/sdk/build/release' 12:16:05 [ 79%] Built target template 12:16:05 make[2]: Entering directory '/tmp/sdk/build/release' 12:16:05 make[2]: Leaving directory '/tmp/sdk/build/release' 12:16:05 [ 82%] Built target device-counter 12:16:05 make[2]: Entering directory '/tmp/sdk/build/release' 12:16:05 make[2]: Leaving directory '/tmp/sdk/build/release' 12:16:05 [ 85%] Built target device-random 12:16:05 make[2]: Entering directory '/tmp/sdk/build/release' 12:16:05 make[2]: Leaving directory '/tmp/sdk/build/release' 12:16:05 [ 88%] Built target device-gyro 12:16:05 make[2]: Entering directory '/tmp/sdk/build/release' 12:16:05 make[2]: Leaving directory '/tmp/sdk/build/release' 12:16:05 [ 91%] Built target device-bitfields 12:16:05 make[2]: Entering directory '/tmp/sdk/build/release' 12:16:05 make[2]: Leaving directory '/tmp/sdk/build/release' 12:16:05 [ 94%] Built target template-discovery 12:16:05 make[2]: Entering directory '/tmp/sdk/build/release' 12:16:05 make[2]: Leaving directory '/tmp/sdk/build/release' 12:16:05 [ 97%] Built target device-file 12:16:05 make[2]: Entering directory '/tmp/sdk/build/release' 12:16:05 make[2]: Leaving directory '/tmp/sdk/build/release' 12:16:05 [100%] Built target device-terminal 12:16:05 make[1]: Leaving directory '/tmp/sdk/build/release' 12:16:05 Install the project... 12:16:05 -- Install configuration: "Release" 12:16:05 -- Installing: /usr/local/lib/libcsdk.so 12:16:05 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 12:16:05 -- Up-to-date: /usr/local/include 12:16:05 -- Installing: /usr/local/include/edgex 12:16:05 -- Installing: /usr/local/include/edgex/edgex-base.h 12:16:05 -- Installing: /usr/local/include/edgex/devices.h 12:16:05 -- Installing: /usr/local/include/edgex/rest-server.h 12:16:05 -- Installing: /usr/local/include/edgex/profiles.h 12:16:05 -- Installing: /usr/local/include/edgex/edgex.h 12:16:05 -- Installing: /usr/local/include/edgex/csdk-defs.h 12:16:05 -- Installing: /usr/local/include/devsdk 12:16:05 -- Installing: /usr/local/include/devsdk/devsdk.h 12:16:05 -- Installing: /usr/local/include/devsdk/devsdk-base.h 12:16:05 -- Installing: /usr/local/include/iot 12:16:05 -- Installing: /usr/local/include/iot/data.h 12:16:05 -- Installing: /usr/local/include/iot/config.h 12:16:05 -- Installing: /usr/local/include/iot/container.h 12:16:05 -- Installing: /usr/local/include/iot/typecode.h 12:16:05 -- Installing: /usr/local/include/iot/thread.h 12:16:05 -- Installing: /usr/local/include/iot/hash.h 12:16:05 -- Installing: /usr/local/include/iot/iot.h 12:16:05 -- Installing: /usr/local/include/iot/defs.h 12:16:05 -- Installing: /usr/local/include/iot/uuid.h 12:16:05 -- Installing: /usr/local/include/iot/component.h 12:16:05 -- Installing: /usr/local/include/iot/threadpool.h 12:16:05 -- Installing: /usr/local/include/iot/time.h 12:16:05 -- Installing: /usr/local/include/iot/logger.h 12:16:05 -- Installing: /usr/local/include/iot/os 12:16:05 -- Installing: /usr/local/include/iot/os/zephyr.h 12:16:05 -- Installing: /usr/local/include/iot/os/macos.h 12:16:05 -- Installing: /usr/local/include/iot/os/linux.h 12:16:05 -- Installing: /usr/local/include/iot/json.h 12:16:05 -- Installing: /usr/local/include/iot/scheduler.h 12:16:05 -- Installing: /usr/local/include/iot/base64.h 12:16:05 -- Installing: /usr/local/include/iot/os.h 12:16:05 -- Installing: /usr/local/share/device-sdk-c/LICENSE 12:16:05 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 12:16:05 make: Leaving directory '/tmp/sdk/build/release' 12:16:07 Removing intermediate container f51be43b6c07 12:16:07 ---> 0f19b729059e 12:16:07 Step 16/24 : FROM ${BASE} 12:16:07 ---> b6d714ea7bf2 12:16:07 Step 17/24 : LABEL maintainer="IOTech " 12:16:07 ---> Running in 3150c948d534 12:16:07 Removing intermediate container 3150c948d534 12:16:07 ---> 70373a0e1daa 12:16:07 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 12:16:07 ---> Running in f6a90f9194ba 12:16:08 Connecting to iotech.jfrog.io (34.243.182.113:443) 12:16:09 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 12:16:09 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 12:16:09 '/etc/apk/keys/alpine.dev.rsa.pub' saved 12:16:09 Removing intermediate container f6a90f9194ba 12:16:09 ---> 97406c3c6e03 12:16:09 Step 19/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 12:16:09 ---> Running in 7575946d1fa8 12:16:11 Removing intermediate container 7575946d1fa8 12:16:11 ---> b12cc3ac7e07 12:16:11 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 12:16:11 ---> Running in a34757757ba3 12:16:12 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 12:16:13 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 12:16:14 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz 12:16:14 WARNING: This apk-tools is OLD! Some packages might not function properly. 12:16:14 (1/7) Installing curl (7.79.1-r0) 12:16:14 (2/7) Installing hiredis (1.0.0-r0) 12:16:14 (3/7) Installing hiredis-dev (1.0.0-r0) 12:16:15 (4/7) Installing libuuid (2.37.2-r0) 12:16:15 (5/7) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 12:16:16 (6/7) Installing libidn2 (2.3.1-r0) 12:16:16 (7/7) Installing wget (1.21.1-r1) 12:16:16 Executing busybox-1.33.1-r3.trigger 12:16:16 OK: 276 MiB in 84 packages 12:16:17 Removing intermediate container a34757757ba3 12:16:17 ---> a20a6109b1e4 12:16:17 Step 21/24 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 12:16:18 ---> 2abb690f498f 12:16:18 Step 22/24 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 12:16:18 ---> 88afb42da28e 12:16:18 Step 23/24 : COPY --from=builder /usr/local/lib /usr/local/lib 12:16:19 ---> 7b3e8dbac542 12:16:19 Step 24/24 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 12:16:20 ---> 92d4286cb0e2 12:16:20 Successfully built 92d4286cb0e2 12:16:20 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:16:20 + docker inspect -f . ci-base-image-arm64 12:16:20 . [Pipeline] withDockerContainer 12:16:21 prd-ubuntu18.04-docker-arm64-4c-16g-4431 does not seem to be running inside a container 12:16:21 $ 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 12:16:22 $ docker top 7bc5222ad1c825953ead78b718daf18618412956ef01f455d1f36be4c971a01c -eo pid,comm [Pipeline] { [Pipeline] sh 12:16:23 + make test 12:16:23 echo "make test" 12:16:23 make test [Pipeline] } 12:16:23 $ docker stop --time=1 7bc5222ad1c825953ead78b718daf18618412956ef01f455d1f36be4c971a01c 12:16:24 $ docker rm -f 7bc5222ad1c825953ead78b718daf18618412956ef01f455d1f36be4c971a01c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:16:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:16:26 + ls -al . 12:16:26 total 200 12:16:26 drwxrwxr-x 8 jenkins jenkins 4096 Feb 2 12:13 . 12:16:26 drwxrwxr-x 4 jenkins jenkins 4096 Feb 2 12:13 .. 12:16:26 drwxrwxr-x 8 jenkins jenkins 4096 Feb 2 12:13 .git 12:16:26 drwxrwxr-x 3 jenkins jenkins 4096 Feb 2 12:13 .github 12:16:26 -rw-rw-r-- 1 jenkins jenkins 176 Feb 2 12:13 .gitignore 12:16:26 -rw-rw-r-- 1 jenkins jenkins 3104 Feb 2 12:13 Attribution.txt 12:16:26 -rw-rw-r-- 1 jenkins jenkins 7880 Feb 2 12:13 CHANGES 12:16:26 -rw-rw-r-- 1 jenkins jenkins 108574 Feb 2 12:13 Doxyfile 12:16:26 -rw-rw-r-- 1 jenkins jenkins 677 Feb 2 12:13 GOVERNANCE.md 12:16:26 -rw-rw-r-- 1 jenkins jenkins 784 Feb 2 12:13 Jenkinsfile 12:16:26 -rw-rw-r-- 1 jenkins jenkins 10174 Feb 2 12:13 LICENSE 12:16:26 -rw-rw-r-- 1 jenkins jenkins 444 Feb 2 12:13 Makefile 12:16:26 -rw-rw-r-- 1 jenkins jenkins 618 Feb 2 12:13 OWNERS.md 12:16:26 -rw-rw-r-- 1 jenkins jenkins 4086 Feb 2 12:13 README.md 12:16:26 -rw-rw-r-- 1 jenkins jenkins 7422 Feb 2 12:13 README.v2.md 12:16:26 -rw-rw-r-- 1 jenkins jenkins 5 Feb 2 12:11 VERSION 12:16:26 drwxrwxr-x 2 jenkins jenkins 4096 Feb 2 12:13 docs 12:16:26 drwxrwxr-x 4 jenkins jenkins 4096 Feb 2 12:13 include 12:16:26 drwxrwxr-x 2 jenkins jenkins 4096 Feb 2 12:13 scripts 12:16:26 drwxrwxr-x 4 jenkins jenkins 4096 Feb 2 12:13 src [Pipeline] isUnix [Pipeline] sh 12:16:27 + 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 . 12:16:27 Sending build context to Docker daemon 2.746MB 12:16:27 Step 1/17 : ARG BASE=alpine:3.14 12:16:27 Step 2/17 : FROM ${BASE} 12:16:27 ---> 92d4286cb0e2 12:16:27 Step 3/17 : LABEL maintainer="IOTech " 12:16:27 ---> Running in 17ac97faea6a 12:16:28 Removing intermediate container 17ac97faea6a 12:16:28 ---> dbb8a0382313 12:16:28 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 12:16:28 ---> Running in 5ecb927e2f97 12:16:29 --2022-02-02 12:16:29-- https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release 12:16:29 Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.170.66.44, 54.74.239.58, 54.195.244.87, ... 12:16:29 Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.170.66.44|:443... connected. 12:16:29 HTTP request sent, awaiting response... 200 OK 12:16:29 Length: unspecified [application/json] 12:16:29 Saving to: '/etc/apk/keys/alpine.dev.rsa.pub' 12:16:29 12:16:29 0K   59.1M=0s 12:16:29 12:16:29 2022-02-02 12:16:29 (59.1 MB/s) - '/etc/apk/keys/alpine.dev.rsa.pub' saved [451] 12:16:29 12:16:30 Removing intermediate container 5ecb927e2f97 12:16:30 ---> 6e80d53fc414 12:16:30 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 12:16:30 ---> Running in a7c40ed9f278 12:16:32 Removing intermediate container a7c40ed9f278 12:16:32 ---> cf38107db92e 12:16:32 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 12:16:32 ---> Running in e952612e7914 12:16:33 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 12:16:33 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 12:16:34 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz 12:16:35 WARNING: This apk-tools is OLD! Some packages might not function properly. 12:16:35 (1/21) Installing ncurses-dev (6.2_p20210612-r0) 12:16:35 (2/21) Installing libblkid (2.37.2-r0) 12:16:35 (3/21) Installing blkid (2.37.2-r0) 12:16:35 (4/21) Installing libcap-ng (0.8.2-r0) 12:16:35 (5/21) Installing setpriv (2.37.2-r0) 12:16:35 (6/21) Installing libmount (2.37.2-r0) 12:16:35 (7/21) Installing libsmartcols (2.37.2-r0) 12:16:35 (8/21) Installing findmnt (2.37.2-r0) 12:16:35 (9/21) Installing mcookie (2.37.2-r0) 12:16:36 (10/21) Installing hexdump (2.37.2-r0) 12:16:36 (11/21) Installing lsblk (2.37.2-r0) 12:16:36 (12/21) Installing libfdisk (2.37.2-r0) 12:16:36 (13/21) Installing sfdisk (2.37.2-r0) 12:16:36 (14/21) Installing cfdisk (2.37.2-r0) 12:16:36 (15/21) Installing partx (2.37.2-r0) 12:16:36 (16/21) Installing flock (2.37.2-r0) 12:16:36 (17/21) Installing logger (2.37.2-r0) 12:16:36 (18/21) Installing uuidgen (2.37.2-r0) 12:16:36 (19/21) Installing libeconf (0.3.8-r1) 12:16:36 (20/21) Installing util-linux (2.37.2-r0) 12:16:37 (21/21) Installing util-linux-dev (2.37.2-r0) 12:16:37 Executing busybox-1.33.1-r3.trigger 12:16:37 OK: 286 MiB in 105 packages 12:16:38 Removing intermediate container e952612e7914 12:16:38 ---> 5a794dfa3bdc 12:16:38 Step 7/17 : COPY VERSION /edgex-c-sdk/ 12:16:39 ---> b7de00c335c1 12:16:39 Step 8/17 : COPY src /edgex-c-sdk/src/ 12:16:40 ---> 967897d1f2d4 12:16:40 Step 9/17 : COPY include /edgex-c-sdk/include/ 12:16:40 ---> abb6ecbf5091 12:16:40 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 12:16:41 ---> e8e92b42bcc2 12:16:41 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 12:16:42 ---> 0d411db08086 12:16:42 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 12:16:42 ---> 47175b2430d7 12:16:42 Step 13/17 : WORKDIR /edgex-c-sdk 12:16:42 ---> Running in f0a1417ad041 12:16:43 Removing intermediate container f0a1417ad041 12:16:43 ---> 4bf5510c347e 12:16:43 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 12:16:43 ---> Running in f4cae04c9c85 12:16:43 Removing intermediate container f4cae04c9c85 12:16:43 ---> acfa69ae33b6 12:16:43 Step 15/17 : LABEL arch=arm64 12:16:43 ---> Running in 98fde5f7afe2 12:16:43 Removing intermediate container 98fde5f7afe2 12:16:43 ---> 0faa5ca31190 12:16:43 Step 16/17 : LABEL git_sha=d85d632fe5c36600cf4491fc43fab161c21463c2 12:16:44 ---> Running in d940a02faa28 12:16:44 Removing intermediate container d940a02faa28 12:16:44 ---> 4fb0eb78482f 12:16:44 Step 17/17 : LABEL version=0.0.0 12:16:44 ---> Running in aefd326fe3ea 12:16:45 Removing intermediate container aefd326fe3ea 12:16:45 ---> a326af38bda4 12:16:45 [Warning] One or more build-args [ARCH MAKE] were not consumed 12:16:45 Successfully built a326af38bda4 12:16:45 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 12:16:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:16:45 12:16:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 12:16:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:16:46 arm64: Pulling from edgex-lftools-log-publisher 12:16:46 448f6bf000e3: Pulling fs layer 12:16:46 f757da607395: Pulling fs layer 12:16:46 05883995daec: Pulling fs layer 12:16:46 8603b9c90790: Pulling fs layer 12:16:46 1560dd03e051: Pulling fs layer 12:16:46 27f5ce0e4adf: Pulling fs layer 12:16:46 c2d8d7efcc4b: Pulling fs layer 12:16:46 1560dd03e051: Waiting 12:16:46 27f5ce0e4adf: Waiting 12:16:46 c2d8d7efcc4b: Waiting 12:16:46 f757da607395: Verifying Checksum 12:16:46 f757da607395: Download complete 12:16:46 8603b9c90790: Verifying Checksum 12:16:46 8603b9c90790: Download complete 12:16:46 1560dd03e051: Verifying Checksum 12:16:46 1560dd03e051: Download complete 12:16:46 27f5ce0e4adf: Verifying Checksum 12:16:46 27f5ce0e4adf: Download complete 12:16:46 05883995daec: Verifying Checksum 12:16:46 05883995daec: Download complete 12:16:47 448f6bf000e3: Verifying Checksum 12:16:47 448f6bf000e3: Download complete 12:16:49 c2d8d7efcc4b: Verifying Checksum 12:16:49 c2d8d7efcc4b: Download complete 12:16:50 448f6bf000e3: Pull complete 12:16:51 f757da607395: Pull complete 12:16:52 05883995daec: Pull complete 12:16:52 8603b9c90790: Pull complete 12:16:53 1560dd03e051: Pull complete 12:16:53 27f5ce0e4adf: Pull complete 12:17:08 c2d8d7efcc4b: Pull complete 12:17:08 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 12:17:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:17:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 12:17:09 prd-ubuntu18.04-docker-arm64-4c-16g-4431 does not seem to be running inside a container 12:17:09 $ 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 12:17:11 $ docker top 7d7de0189e3b6a702da69bc8712d9bd1bcab5ae82e4da9c0000b43719e0e606e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:17:12 ---> job-cost.sh 12:17:12 lf-activate-venv: SKIPPING 12:17:12 INFO: No Stack... 12:17:13 INFO: Retrieving Pricing Info for: v3-standard-4 12:17:14 INFO: Archiving Costs [Pipeline] sh 12:17:14 + cat /w/workspace/device-sdk-c/1/archives/cost.csv 12:17:14 + cut -d, -f6 [Pipeline] lock 12:17:14 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-396-1-stack-cost] 12:17:14 Resource [jenkins-edgexfoundry-device-sdk-c-PR-396-1-stack-cost] did not exist. Created. 12:17:14 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-396-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:17:15 /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 12:17:16 + echo total: 0.10999999940395355 [Pipeline] stash 12:17:16 Warning: overwriting stash ‘stack-cost’ 12:17:16 Stashed 1 file(s) [Pipeline] } 12:17:16 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-396-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:17:16 $ docker stop --time=1 7d7de0189e3b6a702da69bc8712d9bd1bcab5ae82e4da9c0000b43719e0e606e 12:17:18 $ 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 12:17:19 + '[' -d /w/workspace/edgexfoundry_device-sdk-c_PR-396/archives ']' 12:17:19 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-396/archives 12:17:19 total 8 12:17:19 drwxr-xr-x. 3 root root 34 Feb 2 12:12 . 12:17:19 drwxrwxr-x. 10 jenkins jenkins 4096 Feb 2 12:12 .. 12:17:19 drwxr-xr-x. 2 root root 6 Feb 2 12:12 cost 12:17:19 -rw-r--r--. 1 root root 82 Feb 2 12:12 cost.csv 12:17:19 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-396/archives 12:17:19 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-396/archives 12:17:19 total 8 12:17:19 drwxr-xr-x. 3 jenkins jenkins 34 Feb 2 12:12 . 12:17:19 drwxrwxr-x. 10 jenkins jenkins 4096 Feb 2 12:12 .. 12:17:19 drwxr-xr-x. 2 jenkins jenkins 6 Feb 2 12:12 cost 12:17:19 -rw-r--r--. 1 jenkins jenkins 82 Feb 2 12:12 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:17:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:17:20 ---> package-listing.sh 12:17:20 ++ facter osfamily 12:17:20 ++ tr '[:upper:]' '[:lower:]' 12:17:21 + OS_FAMILY=redhat 12:17:21 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-396 12:17:21 + START_PACKAGES=/tmp/packages_start.txt 12:17:21 + END_PACKAGES=/tmp/packages_end.txt 12:17:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:17:21 + PACKAGES=/tmp/packages_start.txt 12:17:21 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-396 ']' 12:17:21 + PACKAGES=/tmp/packages_end.txt 12:17:21 + case "${OS_FAMILY}" in 12:17:21 + rpm -qa 12:17:21 + sort 12:17:21 + '[' -f /tmp/packages_start.txt ']' 12:17:21 + '[' -f /tmp/packages_end.txt ']' 12:17:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:17:21 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-396 ']' 12:17:21 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-396/archives/ 12:17:21 + 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 12:17:21 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 12:17:22 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 12:17:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:17:22 . [Pipeline] withDockerContainer 12:17:22 prd-centos7-docker-4c-2g-4430 does not seem to be running inside a container 12:17:22 $ 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 12:17:23 $ docker top cc8d763b7f41e2b4c1e59aa2be3c2a090998a8c10ddc8550ce3cf4f2187d8b7e -eo pid,comm [Pipeline] { [Pipeline] sh 12:17:23 + touch /tmp/pre-build-complete [Pipeline] sh 12:17:23 + mkdir -p /var/log/sysstat [Pipeline] sh 12:17:24 + ls /var/log/sa-host 12:17:24 + sadf -c /var/log/sa-host/sa02 12:17:24 file_magic: OK 12:17:24 HZ: Using current value: 100 12:17:24 file_header: OK 12:17:24 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 12:17:24 Statistics: 12:17:24 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 12:17:24 File successfully converted to sysstat format version 12.0.3 12:17:24 + sadf -c /var/log/sa-host/sa17 12:17:24 file_magic: OK 12:17:24 HZ: Using current value: 100 12:17:24 file_header: OK 12:17:24 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 12:17:24 Statistics: 12:17:24 Hnuu...uuuununununu...Hnuu...uuuununununu... 12:17:24 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:17:24 provisioning config files... 12:17:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-396@tmp/config1675964190185285569tmp [Pipeline] { [Pipeline] echo 12:17:24 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:17:24 ---> create-netrc.sh [Pipeline] } 12:17:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:17:25 ---> python-tools-install.sh [Pipeline] echo 12:17:25 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:17:25 ---> sudo-logs.sh 12:17:25 Archiving 'sudo' log.. 12:17:25 sudo: unable to resolve host prd-centos7-docker-4c-2g-4430.novalocal: Name or service not known 12:17:25 sudo: unable to resolve host prd-centos7-docker-4c-2g-4430.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 12:17:25 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:17:25 ---> job-cost.sh 12:17:25 lf-activate-venv: SKIPPING 12:17:25 DEBUG: total: 0.05999999865889549 12:17:25 INFO: Retrieving Stack Cost... 12:17:26 INFO: Retrieving Pricing Info for: v3-standard-2 12:17:26 INFO: Archiving Costs [Pipeline] echo 12:17:26 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:17:26 ---> logs-deploy.sh 12:17:26 lf-activate-venv: SKIPPING 12:17:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-396/1 12:17:26 INFO: archiving workspace using pattern(s): 12:17:27 Archives upload complete. 12:17:27 INFO: archiving logs to Nexus