Pull request #382 updated 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 801750da3ff223fd5fd4a4b0b64dd3e21288b861+b33a799834278c94191ed5db2afedc6f631595ea (52e820682888a911bc54de1f494ac1854b54df68) Running in Durability level: PERFORMANCE_OPTIMIZED 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-ssh165716317475760176.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 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-ssh957845960522767886.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 d6bf42d899a6140169a1fadeb6f44df9cdc48750 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-382/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-382/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8216824309766025549.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d6bf42d899a6140169a1fadeb6f44df9cdc48750 # timeout=10 Commit message: "Merge pull request #360 from ernestojeda/fix-alpine-3-14-seccomp-issue" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1009873422295621765.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-382/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-382/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4323001856811254155.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1407’ Running on prd-centos7-docker-4c-2g-1413 in /w/workspace/edgexfoundry_device-sdk-c_PR-382 [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-382 # 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-382@tmp/jenkins-gitclient-ssh8853501220939927800.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-382@tmp/jenkins-gitclient-ssh2820318172453090509.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/382/head:refs/remotes/origin/PR-382 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b33a799834278c94191ed5db2afedc6f631595ea into PR head commit 801750da3ff223fd5fd4a4b0b64dd3e21288b861 Merge succeeded, producing 801750da3ff223fd5fd4a4b0b64dd3e21288b861 Checking out Revision 801750da3ff223fd5fd4a4b0b64dd3e21288b861 (PR-382) > git config core.sparsecheckout # timeout=10 > git checkout -f 801750da3ff223fd5fd4a4b0b64dd3e21288b861 # 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-382@tmp/jenkins-gitclient-ssh5716145336395962747.key > git merge b33a799834278c94191ed5db2afedc6f631595ea # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 801750da3ff223fd5fd4a4b0b64dd3e21288b861 # timeout=10 Commit message: "fix: stop device autoevents before releasing memory refac: eliminate recursion from dup/free list functions" First time build. Skipping changelog. > git rev-list --no-walk f03c50308885a995362517539d634d306aa31a75 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:03:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:03:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:03:06 ========================================================= 14:03:06 EdgeX Global Pipelines Version Info 14:03:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:03:08 ------------------- 14:03:08 stable info: 14:03:08 ------------------- 14:03:08 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:03:08 Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 14:03:08 Message: update stable to v1.0.210 14:03:08 ------------------- 14:03:08 experimental info: 14:03:08 ------------------- 14:03:08 Commited By: **** collab-it+edgex@linuxfoundation.org 14:03:08 Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 14:03:08 Message: update experimental to v1.0.210 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:03:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 14:03:08 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 14:03:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:03:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:03:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:03:08 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo 14:03:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 14:03:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 14:03:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:03:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:03:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 14:03:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:03:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:03:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:03:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 14:03:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:03:08 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:03:08 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:03:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-382 [Pipeline] echo 14:03:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-382 [Pipeline] echo 14:03:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-382 [Pipeline] echo 14:03:08 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 801750da3ff223fd5fd4a4b0b64dd3e21288b861 [Pipeline] echo 14:03:08 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 801750d [Pipeline] echo 14:03:08 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:03:08 provisioning config files... 14:03:08 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-382@tmp/config5525347935881981992tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:03:09 ---> docker-login.sh 14:03:09 nexus3.edgexfoundry.org:10001 14:03:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:03:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:03:09 Configure a credential helper to remove this warning. See 14:03:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:03:09 14:03:09 Login Succeeded 14:03:09 nexus3.edgexfoundry.org:10002 14:03:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:03:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:03:09 Configure a credential helper to remove this warning. See 14:03:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:03:09 14:03:09 Login Succeeded 14:03:09 nexus3.edgexfoundry.org:10003 14:03:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:03:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:03:09 Configure a credential helper to remove this warning. See 14:03:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:03:09 14:03:09 Login Succeeded 14:03:09 nexus3.edgexfoundry.org:10004 14:03:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:03:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:03:09 Configure a credential helper to remove this warning. See 14:03:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:03:09 14:03:09 Login Succeeded 14:03:09 docker.io 14:03:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:03:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:03:10 Configure a credential helper to remove this warning. See 14:03:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:03:10 14:03:10 Login Succeeded 14:03:10 ---> docker-login.sh ends [Pipeline] } 14:03:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 14:03:10 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:03:10 14:03:10 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 14:03:11 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:03:11 latest: Pulling from edgex-devops/git-semver 14:03:11 a0d0a0d46f8b: Pulling fs layer 14:03:11 3e5f54012d9b: Pulling fs layer 14:03:11 4c7163046ea9: Pulling fs layer 14:03:11 0c2d73faf560: Pulling fs layer 14:03:11 0c2d73faf560: Waiting 14:03:11 3e5f54012d9b: Verifying Checksum 14:03:11 3e5f54012d9b: Download complete 14:03:11 a0d0a0d46f8b: Verifying Checksum 14:03:11 a0d0a0d46f8b: Download complete 14:03:11 0c2d73faf560: Verifying Checksum 14:03:11 0c2d73faf560: Download complete 14:03:11 4c7163046ea9: Verifying Checksum 14:03:11 4c7163046ea9: Download complete 14:03:11 a0d0a0d46f8b: Pull complete 14:03:11 3e5f54012d9b: Pull complete 14:03:11 4c7163046ea9: Pull complete 14:03:11 0c2d73faf560: Pull complete 14:03:11 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 14:03:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:03:11 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 14:03:12 prd-centos7-docker-4c-2g-1413 does not seem to be running inside a container 14:03:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-382 -v /w/workspace/edgexfoundry_device-sdk-c_PR-382:/w/workspace/edgexfoundry_device-sdk-c_PR-382:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-382@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-382@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:10004/edgex-devops/git-semver:latest cat 14:03:12 $ docker top 279817852ee13e33ab06ca33e1a1912a8d918e4086b5c081b3b5905897200fcd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:03:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:03:13 [ssh-agent] Looking for ssh-agent implementation... 14:03:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:03:13 $ docker exec 279817852ee13e33ab06ca33e1a1912a8d918e4086b5c081b3b5905897200fcd ssh-agent 14:03:13 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXfnlGfG/agent.14 14:03:13 SSH_AGENT_PID=21 14:03:13 Running ssh-add (command line suppressed) 14:03:13 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-382@tmp/private_key_6701817549607210509.key (/w/workspace/edgexfoundry_device-sdk-c_PR-382@tmp/private_key_6701817549607210509.key) 14:03:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:03:13 + git tag --points-at HEAD [Pipeline] } 14:03:13 $ docker exec --env ******** --env ******** 279817852ee13e33ab06ca33e1a1912a8d918e4086b5c081b3b5905897200fcd ssh-agent -k 14:03:13 unset SSH_AUTH_SOCK; 14:03:13 unset SSH_AGENT_PID; 14:03:13 echo Agent pid 21 killed; 14:03:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:03:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:03:13 [ssh-agent] Looking for ssh-agent implementation... 14:03:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:03:13 $ docker exec 279817852ee13e33ab06ca33e1a1912a8d918e4086b5c081b3b5905897200fcd ssh-agent 14:03:14 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOeblGA/agent.55 14:03:14 SSH_AGENT_PID=62 14:03:14 Running ssh-add (command line suppressed) 14:03:14 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-382@tmp/private_key_6297115775085307653.key (/w/workspace/edgexfoundry_device-sdk-c_PR-382@tmp/private_key_6297115775085307653.key) 14:03:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:03:14 + git semver init 14:03:14 # -> Open(): unable to determine branch for HEAD 14:03:14 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-382/.git 14:03:14 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-382 14:03:14 # $SEMVER_REMOTE_NAME = origin 14:03:14 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:03:14 # $SEMVER_USER_NAME = edgex-jenkins 14:03:14 # $SEMVER_BRANCH = PR-382 14:03:14 # $SEMVER_TEMP = /tmp/semver-861056298 14:03:14 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 14:03:15 # '/tmp/semver-861056298' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-382/.semver' 14:03:15 # -> Force: false 14:03:15 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-382/.semver [Pipeline] } 14:03:15 $ docker exec --env ******** --env ******** 279817852ee13e33ab06ca33e1a1912a8d918e4086b5c081b3b5905897200fcd ssh-agent -k 14:03:15 unset SSH_AUTH_SOCK; 14:03:15 unset SSH_AGENT_PID; 14:03:15 echo Agent pid 62 killed; 14:03:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:03:15 + git semver [Pipeline] } 14:03:15 $ docker stop --time=1 279817852ee13e33ab06ca33e1a1912a8d918e4086b5c081b3b5905897200fcd 14:03:17 $ docker rm -f 279817852ee13e33ab06ca33e1a1912a8d918e4086b5c081b3b5905897200fcd [Pipeline] // withDockerContainer [Pipeline] sh 14:03:17 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:03:17 Stashed 1 file(s) [Pipeline] echo 14:03:17 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 14:03:32 Still waiting to schedule task 14:03:32 Waiting for next available executor on ‘centos7-docker-4c-2g’ 14:03:32 Still waiting to schedule task 14:03:32 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-1412’ 14:05:59 Running on prd-centos7-docker-4c-2g-1416 in /w/workspace/edgexfoundry_device-sdk-c_PR-382 [Pipeline] { [Pipeline] ws 14:05:59 Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout 14:05:59 Selected Git installation does not exist. Using Default 14:05:59 The recommended git tool is: NONE 14:06:01 using credential edgex-jenkins-ssh 14:06:01 Cloning the remote Git repository 14:06:01 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 14:06:01 > git init /w/workspace/device-sdk-c/2 # timeout=10 14:06:01 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 14:06:01 > git --version # timeout=10 14:06:01 > git --version # 'git version 2.24.4' 14:06:01 using GIT_SSH to set credentials SSH Credentials for GitHub 14:06:01 [INFO] Currently running in a labeled security context 14:06:01 [INFO] Currently SELinux is 'enforcing' on the host 14:06:01 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/2@tmp/jenkins-gitclient-ssh5957494230928598652.key 14:06:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:06:04 Merging remotes/origin/main commit b33a799834278c94191ed5db2afedc6f631595ea into PR head commit 801750da3ff223fd5fd4a4b0b64dd3e21288b861 14:06:04 Merge succeeded, producing 801750da3ff223fd5fd4a4b0b64dd3e21288b861 14:06:04 Checking out Revision 801750da3ff223fd5fd4a4b0b64dd3e21288b861 (PR-382) 14:06:03 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 14:06:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:06:03 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 14:06:03 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 14:06:03 using GIT_SSH to set credentials SSH Credentials for GitHub 14:06:03 [INFO] Currently running in a labeled security context 14:06:03 [INFO] Currently SELinux is 'enforcing' on the host 14:06:03 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/2@tmp/jenkins-gitclient-ssh4476350641338332540.key 14:06:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/382/head:refs/remotes/origin/PR-382 +refs/heads/main:refs/remotes/origin/main # timeout=10 14:06:03 > git config core.sparsecheckout # timeout=10 14:06:03 > git checkout -f 801750da3ff223fd5fd4a4b0b64dd3e21288b861 # timeout=10 14:06:03 > git remote # timeout=10 14:06:03 > git config --get remote.origin.url # timeout=10 14:06:03 using GIT_SSH to set credentials SSH Credentials for GitHub 14:06:03 [INFO] Currently running in a labeled security context 14:06:03 [INFO] Currently SELinux is 'enforcing' on the host 14:06:03 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/2@tmp/jenkins-gitclient-ssh775123310960506652.key 14:06:03 > git merge b33a799834278c94191ed5db2afedc6f631595ea # timeout=10 14:06:03 > git rev-parse HEAD^{commit} # timeout=10 14:06:03 > git config core.sparsecheckout # timeout=10 14:06:03 > git checkout -f 801750da3ff223fd5fd4a4b0b64dd3e21288b861 # timeout=10 14:06:07 Commit message: "fix: stop device autoevents before releasing memory refac: eliminate recursion from dup/free list functions" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:06:08 provisioning config files... 14:06:08 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/2@tmp/config5326518344309572615tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:06:08 ---> docker-login.sh 14:06:08 nexus3.edgexfoundry.org:10001 14:06:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:06:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:06:08 Configure a credential helper to remove this warning. See 14:06:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:06:08 14:06:08 Login Succeeded 14:06:08 nexus3.edgexfoundry.org:10002 14:06:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:06:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:06:08 Configure a credential helper to remove this warning. See 14:06:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:06:08 14:06:08 Login Succeeded 14:06:08 nexus3.edgexfoundry.org:10003 14:06:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:06:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:06:08 Configure a credential helper to remove this warning. See 14:06:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:06:08 14:06:08 Login Succeeded 14:06:08 nexus3.edgexfoundry.org:10004 14:06:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:06:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:06:09 Configure a credential helper to remove this warning. See 14:06:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:06:09 14:06:09 Login Succeeded 14:06:09 docker.io 14:06:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:06:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:06:09 Configure a credential helper to remove this warning. See 14:06:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:06:09 14:06:09 Login Succeeded 14:06:09 ---> docker-login.sh ends [Pipeline] } 14:06:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:06:09 ========================================================= 14:06:09 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 14:06:09 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 14:06:10 + 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 . 14:06:10 Sending build context to Docker daemon 2.738MB 14:06:10 Step 1/24 : ARG BASE=alpine:3.14 14:06:10 Step 2/24 : FROM ${BASE} as builder 14:06:10 latest: Pulling from edgex-devops/edgex-gcc-base 14:06:10 a0d0a0d46f8b: Pulling fs layer 14:06:10 39017ce70367: Pulling fs layer 14:06:10 dcf9283bb20a: Pulling fs layer 14:06:10 39017ce70367: Verifying Checksum 14:06:10 39017ce70367: Download complete 14:06:10 a0d0a0d46f8b: Download complete 14:06:10 a0d0a0d46f8b: Pull complete 14:06:10 39017ce70367: Pull complete 14:06:11 dcf9283bb20a: Verifying Checksum 14:06:11 dcf9283bb20a: Download complete 14:06:14 dcf9283bb20a: Pull complete 14:06:14 Digest: sha256:2a2af42e0978abc69143d34e5140e0e2b13385d9fcf9e2292ee97f6b0c1f1d72 14:06:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 14:06:14 ---> a4e04833b611 14:06:14 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 14:06:14 ---> Running in b7c9500c9613 14:06:15 Connecting to iotech.jfrog.io (54.229.110.245:443) 14:06:15 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 14:06:15 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 14:06:15 '/etc/apk/keys/alpine.dev.rsa.pub' saved 14:06:15 Removing intermediate container b7c9500c9613 14:06:15 ---> 0d98a1b5d0f9 14:06:15 Step 4/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 14:06:15 ---> Running in ae1e1ffcde91 14:06:16 Removing intermediate container ae1e1ffcde91 14:06:16 ---> 37a0297df547 14:06:16 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 14:06:16 ---> Running in 2474ef963461 14:06:16 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 14:06:17 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 14:06:17 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz 14:06:18 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:06:18 (1/27) Installing hiredis (1.0.0-r0) 14:06:18 (2/27) Installing hiredis-dev (1.0.0-r0) 14:06:18 (3/27) Installing ncurses-dev (6.2_p20210612-r0) 14:06:18 (4/27) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 14:06:19 (5/27) Installing libblkid (2.37-r0) 14:06:19 (6/27) Installing blkid (2.37-r0) 14:06:19 (7/27) Installing libcap-ng (0.8.2-r0) 14:06:19 (8/27) Installing setpriv (2.37-r0) 14:06:19 (9/27) Installing libmount (2.37-r0) 14:06:19 (10/27) Installing libsmartcols (2.37-r0) 14:06:19 (11/27) Installing findmnt (2.37-r0) 14:06:20 (12/27) Installing mcookie (2.37-r0) 14:06:20 (13/27) Installing hexdump (2.37-r0) 14:06:20 (14/27) Installing lsblk (2.37-r0) 14:06:20 (15/27) Installing libuuid (2.37-r0) 14:06:20 (16/27) Installing libfdisk (2.37-r0) 14:06:20 (17/27) Installing sfdisk (2.37-r0) 14:06:20 (18/27) Installing cfdisk (2.37-r0) 14:06:20 (19/27) Installing partx (2.37-r0) 14:06:20 (20/27) Installing flock (2.37-r0) 14:06:20 (21/27) Installing logger (2.37-r0) 14:06:20 (22/27) Installing uuidgen (2.37-r0) 14:06:21 (23/27) Installing libeconf (0.3.8-r1) 14:06:21 (24/27) Installing util-linux (2.37-r0) 14:06:21 (25/27) Installing util-linux-dev (2.37-r0) 14:06:21 (26/27) Installing libidn2 (2.3.1-r0) 14:06:21 (27/27) Installing wget (1.21.1-r1) 14:06:21 Executing busybox-1.33.1-r3.trigger 14:06:21 OK: 291 MiB in 104 packages 14:06:22 Removing intermediate container 2474ef963461 14:06:22 ---> 1a7efe78467e 14:06:22 Step 6/24 : ENV CBOR_VERSION=0.5.0 14:06:22 ---> Running in 003d4a6c4d5a 14:06:22 Removing intermediate container 003d4a6c4d5a 14:06:22 ---> 426cad133be5 14:06:22 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 14:06:22 ---> Running in a09d97a7ac69 14:06:22 --2021-10-14 14:06:22-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 14:06:22 Resolving github.com (github.com)... 140.82.113.4 14:06:22 Connecting to github.com (github.com)|140.82.113.4|:443... connected. 14:06:22 HTTP request sent, awaiting response... 302 Found 14:06:22 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 14:06:22 --2021-10-14 14:06:22-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 14:06:22 Resolving codeload.github.com (codeload.github.com)... 140.82.113.10 14:06:22 Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected. 14:06:23 HTTP request sent, awaiting response... 200 OK 14:06:23 Length: unspecified [application/x-gzip] 14:06:23 Saving to: 'STDOUT' 14:06:23  14:06:23 0K .......... .......... .......... .......... .......... 1.02M 14:06:23 50K .......... .......... .......... .......... .......... 1.90M 14:06:23 100K .......... .......... .......... .......... .......... 32.2M 14:06:23 150K .......... .......... .......... .......... .......... 37.4M 14:06:23 200K .......... .......... .......... .......... .......... 1.82M 14:06:23 250K .......... .......... .......... .......... .......... 6.93M 14:06:23 300K .......... .......... .......... .......... .......... 8.95M 14:06:23 350K .......... .......... .......... .......... .......... 4.64M 14:06:23 400K .......... .......... .......... .......... .......... 9.25M 14:06:23 450K .......... .......... .......... .......... .......... 12.8M 14:06:23 500K .......... .......... .......... .......... .......... 18.2M 14:06:23 550K .......... .......... .......... .......... .......... 8.10M 14:06:23 600K .......... .......... .......... .......... .......... 3.46M 14:06:23 650K .......... .......... .......... .......... .......... 6.98M 14:06:23 700K .. 66.1M=0.2s 14:06:23 14:06:23 2021-10-14 14:06:23 (4.15 MB/s) - written to stdout [719348] 14:06:23 14:06:23 -- The C compiler identification is GNU 10.3.1 14:06:23 -- The CXX compiler identification is GNU 10.3.1 14:06:23 -- Detecting C compiler ABI info 14:06:23 -- Detecting C compiler ABI info - done 14:06:23 -- Check for working C compiler: /usr/bin/cc - skipped 14:06:23 -- Detecting C compile features 14:06:23 -- Detecting C compile features - done 14:06:23 -- Detecting CXX compiler ABI info 14:06:23 -- Detecting CXX compiler ABI info - done 14:06:23 -- Check for working CXX compiler: /usr/bin/c++ - skipped 14:06:23 -- Detecting CXX compile features 14:06:23 -- Detecting CXX compile features - done 14:06:23 -- Looking for include file endian.h 14:06:23 -- Looking for include file endian.h - found 14:06:23 -- Looking for sys/types.h 14:06:23 -- Looking for sys/types.h - found 14:06:23 -- Looking for stdint.h 14:06:23 -- Looking for stdint.h - found 14:06:23 -- Looking for stddef.h 14:06:23 -- Looking for stddef.h - found 14:06:23 -- Check size of size_t 14:06:23 -- Check size of size_t - done 14:06:23 CMake Warning at examples/CMakeLists.txt:16 (find_package): 14:06:23 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 14:06:23 asked CMake to find a package configuration file provided by "cJSON", but 14:06:23 CMake did not find one. 14:06:23 14:06:23 Could not find a package configuration file provided by "cJSON" with any of 14:06:23 the following names: 14:06:23 14:06:23 cJSONConfig.cmake 14:06:23 cjson-config.cmake 14:06:23 14:06:23 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 14:06:23 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 14:06:23 provides a separate development package or SDK, be sure it has been 14:06:23 installed. 14:06:23 14:06:23 14:06:23 -- Configuring done 14:06:24 -- Generating done 14:06:24 -- Build files have been written to: /tmp/cbor 14:06:24 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 14:06:24 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 14:06:24 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 14:06:24 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 14:06:24 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 14:06:24 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 14:06:24 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 14:06:24 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 14:06:24 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 14:06:24 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 14:06:24 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 14:06:24 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 14:06:25 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 14:06:25 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 14:06:25 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 14:06:25 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 14:06:25 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 14:06:25 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 14:06:25 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 14:06:25 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 14:06:25 [ 40%] Linking C shared library libcbor.so 14:06:25 [ 40%] Built target cbor_shared 14:06:25 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 14:06:25 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 14:06:25 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 14:06:25 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 14:06:26 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 14:06:26 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 14:06:26 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 14:06:26 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 14:06:26 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 14:06:26 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 14:06:26 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 14:06:26 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 14:06:26 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 14:06:26 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 14:06:27 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 14:06:27 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 14:06:27 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 14:06:27 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 14:06:27 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 14:06:27 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 14:06:27 [ 80%] Linking C static library libcbor.a 14:06:27 [ 80%] Built target cbor 14:06:27 [ 82%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 14:06:27 [ 84%] Linking C executable readfile 14:06:27 [ 84%] Built target readfile 14:06:27 [ 86%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 14:06:27 [ 88%] Linking C executable create_items 14:06:27 [ 88%] Built target create_items 14:06:27 [ 90%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 14:06:27 [ 92%] Linking C executable sort 14:06:27 [ 92%] Built target sort 14:06:27 [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 14:06:27 [ 96%] Linking C executable hello 14:06:27 [ 96%] Built target hello 14:06:27 [ 98%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 14:06:28 [100%] Linking C executable streaming_parser 14:06:28 [100%] Built target streaming_parser 14:06:28 Install the project... 14:06:28 -- Install configuration: "Release" 14:06:28 -- Installing: /usr/local/include/cbor/configuration.h 14:06:28 -- Installing: /usr/local/lib/libcbor.a 14:06:28 -- Installing: /usr/local/lib/libcbor.so.0.0.0 14:06:28 -- Installing: /usr/local/lib/libcbor.so.0 14:06:28 -- Installing: /usr/local/lib/libcbor.so 14:06:28 -- Up-to-date: /usr/local/include/cbor 14:06:28 -- Installing: /usr/local/include/cbor/arrays.h 14:06:28 -- Installing: /usr/local/include/cbor/bytestrings.h 14:06:28 -- Installing: /usr/local/include/cbor/callbacks.h 14:06:28 -- Installing: /usr/local/include/cbor/common.h 14:06:28 -- Installing: /usr/local/include/cbor/data.h 14:06:28 -- Installing: /usr/local/include/cbor/encoding.h 14:06:28 -- Installing: /usr/local/include/cbor/floats_ctrls.h 14:06:28 -- Installing: /usr/local/include/cbor/internal 14:06:28 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 14:06:28 -- Installing: /usr/local/include/cbor/internal/encoders.h 14:06:28 -- Installing: /usr/local/include/cbor/internal/loaders.h 14:06:28 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 14:06:28 -- Installing: /usr/local/include/cbor/internal/stack.h 14:06:28 -- Installing: /usr/local/include/cbor/internal/unicode.h 14:06:28 -- Installing: /usr/local/include/cbor/ints.h 14:06:28 -- Installing: /usr/local/include/cbor/maps.h 14:06:28 -- Installing: /usr/local/include/cbor/serialization.h 14:06:28 -- Installing: /usr/local/include/cbor/streaming.h 14:06:28 -- Installing: /usr/local/include/cbor/strings.h 14:06:28 -- Installing: /usr/local/include/cbor/tags.h 14:06:28 -- Installing: /usr/local/include/cbor.h 14:06:28 -- Installing: /usr/local/lib/pkgconfig/libcbor.pc 14:06:28 Removing intermediate container a09d97a7ac69 14:06:28 ---> 83e9864384c2 14:06:28 Step 8/24 : RUN mkdir /tmp/sdk 14:06:28 ---> Running in 0463476bd066 14:06:29 Removing intermediate container 0463476bd066 14:06:29 ---> c04d2021802a 14:06:29 Step 9/24 : COPY VERSION /tmp/sdk 14:06:29 ---> 1f1062735b3a 14:06:29 Step 10/24 : COPY src /tmp/sdk/src 14:06:29 ---> 0d6d2876b3ec 14:06:29 Step 11/24 : COPY include /tmp/sdk/include 14:06:29 ---> 02560e27834c 14:06:29 Step 12/24 : COPY scripts /tmp/sdk/scripts 14:06:29 ---> abf090ed9230 14:06:29 Step 13/24 : COPY LICENSE /tmp/sdk 14:06:29 ---> ae16f013e3bf 14:06:29 Step 14/24 : COPY Attribution.txt /tmp/sdk 14:06:29 ---> c903497356df 14:06:29 Step 15/24 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 14:06:29 ---> Running in 9e8890339d27 14:06:30 + CPPCHECK=false 14:06:30 + DOCGEN=false 14:06:30 + TOMLVER=SDK-0.2 14:06:30 + CUTILVER=1.2.2 14:06:30 + '[' 0 -gt 0 ] 14:06:30 + readlink -f ./scripts/build.sh 14:06:30 + dirname /tmp/sdk/scripts/build.sh 14:06:30 + dirname /tmp/sdk/scripts 14:06:30 + ROOT=/tmp/sdk 14:06:30 + cd /tmp/sdk 14:06:30 + '[' '!' -d deps ] 14:06:30 + mkdir deps 14:06:30 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 14:06:30 --2021-10-14 14:06:30-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 14:06:30 + tar -C deps -z -x -f - 14:06:30 Resolving github.com (github.com)... 140.82.113.4 14:06:30 Connecting to github.com (github.com)|140.82.113.4|:443... connected. 14:06:30 HTTP request sent, awaiting response... 302 Found 14:06:30 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 14:06:30 --2021-10-14 14:06:30-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 14:06:30 Resolving codeload.github.com (codeload.github.com)... 140.82.113.10 14:06:30 Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected. 14:06:30 HTTP request sent, awaiting response... 200 OK 14:06:30 Length: unspecified [application/x-gzip] 14:06:30 Saving to: 'STDOUT' 14:06:30 14:06:30 0K .......... ......  856K=0.02s 14:06:30 14:06:30 2021-10-14 14:06:30 (856 KB/s) - written to stdout [16451] 14:06:30 14:06:30 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 14:06:30 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 14:06:30 + tar -C deps -z -x -f - 14:06:30 --2021-10-14 14:06:30-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 14:06:30 Resolving github.com (github.com)... 140.82.113.4 14:06:30 Connecting to github.com (github.com)|140.82.113.4|:443... connected. 14:06:30 HTTP request sent, awaiting response... 302 Found 14:06:30 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [following] 14:06:30 --2021-10-14 14:06:30-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 14:06:30 Resolving codeload.github.com (codeload.github.com)... 140.82.113.10 14:06:30 Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected. 14:06:31 HTTP request sent, awaiting response... 200 OK 14:06:31 Length: unspecified [application/x-gzip] 14:06:31 Saving to: 'STDOUT' 14:06:31 14:06:31 0K .......... .......... .......... .......... .......... 1.21M 14:06:31 50K .......... .......... .......... .......... .......... 2.58M 14:06:31 100K .......... .......... .......... .......... .......... 48.7M 14:06:31 150K .......... .......... .......... ......... 4.31M=0.07s 14:06:31 14:06:31 2021-10-14 14:06:30 (2.67 MB/s) - written to stdout [193961] 14:06:31 14:06:31 + mkdir -p src/c/iot 14:06:31 + 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 14:06:31 + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot 14:06:31 + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot 14:06:31 + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot 14:06:31 + mkdir -p include/iot 14:06:31 + 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 14:06:31 + mkdir -p include/iot/os 14:06:31 + 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 14:06:31 + mkdir -p /tmp/sdk/build/release 14:06:31 + cd /tmp/sdk/build/release 14:06:31 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 14:06:31 -- The C compiler identification is GNU 10.3.1 14:06:31 -- Detecting C compiler ABI info 14:06:31 -- Detecting C compiler ABI info - done 14:06:31 -- Check for working C compiler: /usr/bin/cc - skipped 14:06:31 -- Detecting C compile features 14:06:31 -- Detecting C compile features - done 14:06:31 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:06:31 -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") 14:06:31 -- Found LIBYAML: /usr/lib/libyaml.so 14:06:31 -- Found LIBUUID: /usr/lib/libuuid.so 14:06:31 -- Found LIBCBOR: /usr/local/lib/libcbor.so 14:06:31 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 14:06:31 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 14:06:31 -- C SDK 0.0.0 for Linux 14:06:31 -- Performing Test CSDK_HAVE_ATOMIC 14:06:31 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:06:31 -- Found Curses: /usr/lib/libcurses.so 14:06:31 -- Configuring done 14:06:31 -- Generating done 14:06:31 -- Build files have been written to: /tmp/sdk/build/release 14:06:31 + make all package 14:06:31 + tee release.log 14:06:31 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:06:31 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 14:06:31 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:06:32 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:06:32 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:06:32 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 14:06:32 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 14:06:32 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 14:06:32 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:06:32 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:06:33 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:06:33 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:06:33 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:06:33 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:06:33 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 14:06:33 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:06:33 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:06:34 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 14:06:34 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 14:06:34 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 14:06:34 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 14:06:34 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 14:06:34 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 14:06:34 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 14:06:34 275 | const iot_component_factory_t * factory; 14:06:34 | ^~~~~~~ 14:06:35 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 14:06:36 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 14:06:36 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 14:06:36 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 14:06:36 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 14:06:36 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 14:06:36 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 14:06:36 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 14:06:36 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 14:06:36 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 14:06:36 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 14:06:36 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 14:06:37 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:06:37 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:06:37 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 14:06:37 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:06:38 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:06:38 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:06:38 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:06:38 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:06:38 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 14:06:38 /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] 14:06:38 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 14:06:38 | ^~~~~~~~~~~~~ 14:06:38 | | 14:06:38 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 14:06:38 In file included from /tmp/sdk/src/c/rest-server.c:21: 14:06:38 /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 *)' 14:06:38 2714 | MHD_KeyValueIterator iterator, 14:06:38 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 14:06:38 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 14:06:38 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 14:06:38 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 14:06:38 | ^~~~~~~~~~~~ 14:06:38 | | 14:06:38 | 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 **)} 14:06:38 In file included from /tmp/sdk/src/c/rest-server.c:21: 14:06:38 /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 **)'} 14:06:38 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 14:06:38 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 14:06:38 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 14:06:38 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 14:06:38 | ^~~~~~~~~~~~ 14:06:38 | | 14:06:38 | 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 **)} 14:06:38 In file included from /tmp/sdk/src/c/rest-server.c:21: 14:06:38 /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 **)'} 14:06:38 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 14:06:38 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 14:06:38 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:06:39 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 14:06:39 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 14:06:39 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 14:06:39 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:06:39 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 14:06:40 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:06:40 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:06:40 [ 76%] Linking C shared library libcsdk.so 14:06:40 [ 76%] Built target csdk 14:06:40 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:06:41 [ 79%] Linking C executable template 14:06:41 [ 79%] Built target template 14:06:41 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:06:41 [ 82%] Linking C executable device-counter 14:06:41 [ 82%] Built target device-counter 14:06:41 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:06:41 [ 85%] Linking C executable device-random 14:06:41 [ 85%] Built target device-random 14:06:41 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:06:41 [ 88%] Linking C executable device-gyro 14:06:41 [ 88%] Built target device-gyro 14:06:41 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:06:41 [ 91%] Linking C executable device-bitfields 14:06:41 [ 91%] Built target device-bitfields 14:06:41 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:06:41 [ 94%] Linking C executable template-discovery 14:06:41 [ 94%] Built target template-discovery 14:06:41 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:06:42 [ 97%] Linking C executable device-file 14:06:42 [ 97%] Built target device-file 14:06:42 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:06:42 [100%] Linking C executable device-terminal 14:06:42 [100%] Built target device-terminal 14:06:42 Run CPack packaging tool... 14:06:42 CPack: Create package using TGZ 14:06:42 CPack: Install projects 14:06:42 CPack: - Run preinstall target for: Csdk 14:06:42 CPack: - Install project: Csdk [] 14:06:42 CPack: Create package 14:06:42 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 14:06:42 + '[' false '=' true ] 14:06:42 + '[' false '=' true ] 14:06:42 + mkdir -p /tmp/sdk/build/debug 14:06:42 + cd /tmp/sdk/build/debug 14:06:42 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 14:06:42 -- The C compiler identification is GNU 10.3.1 14:06:42 -- Detecting C compiler ABI info 14:06:42 -- Detecting C compiler ABI info - done 14:06:43 -- Check for working C compiler: /usr/bin/cc - skipped 14:06:43 -- Detecting C compile features 14:06:43 -- Detecting C compile features - done 14:06:43 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:06:43 -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") 14:06:43 -- Found LIBYAML: /usr/lib/libyaml.so 14:06:43 -- Found LIBUUID: /usr/lib/libuuid.so 14:06:43 -- Found LIBCBOR: /usr/local/lib/libcbor.so 14:06:43 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 14:06:43 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 14:06:43 -- C SDK 0.0.0 for Linux 14:06:43 -- Performing Test CSDK_HAVE_ATOMIC 14:06:43 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:06:43 -- Found Curses: /usr/lib/libcurses.so 14:06:43 -- Configuring done 14:06:43 -- Generating done 14:06:43 -- Build files have been written to: /tmp/sdk/build/debug 14:06:43 + make 14:06:43 + tee debug.log 14:06:43 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:06:43 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 14:06:43 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:06:43 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:06:43 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:06:43 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 14:06:43 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 14:06:43 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 14:06:43 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:06:43 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:06:44 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:06:44 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:06:44 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:06:44 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:06:44 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 14:06:44 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:06:44 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:06:44 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 14:06:44 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 14:06:44 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 14:06:44 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 14:06:44 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 14:06:44 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 14:06:44 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 14:06:44 275 | const iot_component_factory_t * factory; 14:06:44 | ^~~~~~~ 14:06:44 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 14:06:45 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 14:06:45 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 14:06:45 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 14:06:45 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 14:06:45 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 14:06:45 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 14:06:45 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 14:06:45 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 14:06:45 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 14:06:45 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 14:06:45 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 14:06:45 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:06:45 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:06:45 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 14:06:45 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:06:46 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:06:46 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:06:46 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:06:46 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:06:46 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 14:06:46 /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] 14:06:46 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 14:06:46 | ^~~~~~~~~~~~~ 14:06:46 | | 14:06:46 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 14:06:46 In file included from /tmp/sdk/src/c/rest-server.c:21: 14:06:46 /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 *)' 14:06:46 2714 | MHD_KeyValueIterator iterator, 14:06:46 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 14:06:46 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 14:06:46 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 14:06:46 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 14:06:46 | ^~~~~~~~~~~~ 14:06:46 | | 14:06:46 | 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 **)} 14:06:46 In file included from /tmp/sdk/src/c/rest-server.c:21: 14:06:46 /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 **)'} 14:06:46 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 14:06:46 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 14:06:46 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 14:06:46 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 14:06:46 | ^~~~~~~~~~~~ 14:06:46 | | 14:06:46 | 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 **)} 14:06:46 In file included from /tmp/sdk/src/c/rest-server.c:21: 14:06:46 /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 **)'} 14:06:46 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 14:06:46 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 14:06:46 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:06:46 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 14:06:46 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 14:06:46 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 14:06:46 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:06:46 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 14:06:47 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:06:47 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:06:47 [ 76%] Linking C shared library libcsdk.so 14:06:47 [ 76%] Built target csdk 14:06:47 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:06:47 [ 79%] Linking C executable template 14:06:47 [ 79%] Built target template 14:06:47 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:06:47 [ 82%] Linking C executable device-counter 14:06:47 [ 82%] Built target device-counter 14:06:47 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:06:47 [ 85%] Linking C executable device-random 14:06:47 [ 85%] Built target device-random 14:06:47 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:06:48 [ 88%] Linking C executable device-gyro 14:06:48 [ 88%] Built target device-gyro 14:06:48 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:06:48 [ 91%] Linking C executable device-bitfields 14:06:48 [ 91%] Built target device-bitfields 14:06:48 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:06:48 [ 94%] Linking C executable template-discovery 14:06:48 [ 94%] Built target template-discovery 14:06:48 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:06:48 [ 97%] Linking C executable device-file 14:06:48 [ 97%] Built target device-file 14:06:48 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:06:48 [100%] Linking C executable device-terminal 14:06:48 [100%] Built target device-terminal 14:06:48 make: Entering directory '/tmp/sdk/build/release' 14:06:48 make[1]: Entering directory '/tmp/sdk/build/release' 14:06:48 make[2]: Entering directory '/tmp/sdk/build/release' 14:06:48 make[2]: Leaving directory '/tmp/sdk/build/release' 14:06:48 [ 76%] Built target csdk 14:06:48 make[2]: Entering directory '/tmp/sdk/build/release' 14:06:48 make[2]: Leaving directory '/tmp/sdk/build/release' 14:06:48 [ 79%] Built target template 14:06:48 make[2]: Entering directory '/tmp/sdk/build/release' 14:06:48 make[2]: Leaving directory '/tmp/sdk/build/release' 14:06:48 [ 82%] Built target device-counter 14:06:48 make[2]: Entering directory '/tmp/sdk/build/release' 14:06:48 make[2]: Leaving directory '/tmp/sdk/build/release' 14:06:48 [ 85%] Built target device-random 14:06:48 make[2]: Entering directory '/tmp/sdk/build/release' 14:06:48 make[2]: Leaving directory '/tmp/sdk/build/release' 14:06:48 [ 88%] Built target device-gyro 14:06:48 make[2]: Entering directory '/tmp/sdk/build/release' 14:06:48 make[2]: Leaving directory '/tmp/sdk/build/release' 14:06:48 [ 91%] Built target device-bitfields 14:06:48 make[2]: Entering directory '/tmp/sdk/build/release' 14:06:48 make[2]: Leaving directory '/tmp/sdk/build/release' 14:06:48 [ 94%] Built target template-discovery 14:06:48 make[2]: Entering directory '/tmp/sdk/build/release' 14:06:48 make[2]: Leaving directory '/tmp/sdk/build/release' 14:06:48 [ 97%] Built target device-file 14:06:48 make[2]: Entering directory '/tmp/sdk/build/release' 14:06:48 make[2]: Leaving directory '/tmp/sdk/build/release' 14:06:48 [100%] Built target device-terminal 14:06:48 make[1]: Leaving directory '/tmp/sdk/build/release' 14:06:48 Install the project... 14:06:48 -- Install configuration: "Release" 14:06:48 -- Installing: /usr/local/lib/libcsdk.so 14:06:48 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 14:06:48 -- Up-to-date: /usr/local/include 14:06:48 -- Installing: /usr/local/include/devsdk 14:06:48 -- Installing: /usr/local/include/devsdk/devsdk-base.h 14:06:48 -- Installing: /usr/local/include/devsdk/devsdk.h 14:06:48 -- Installing: /usr/local/include/edgex 14:06:48 -- Installing: /usr/local/include/edgex/devices.h 14:06:48 -- Installing: /usr/local/include/edgex/edgex-base.h 14:06:48 -- Installing: /usr/local/include/edgex/edgex.h 14:06:48 -- Installing: /usr/local/include/edgex/profiles.h 14:06:48 -- Installing: /usr/local/include/edgex/rest-server.h 14:06:48 -- Installing: /usr/local/include/edgex/csdk-defs.h 14:06:48 -- Installing: /usr/local/include/iot 14:06:48 -- Installing: /usr/local/include/iot/base64.h 14:06:48 -- Installing: /usr/local/include/iot/component.h 14:06:48 -- Installing: /usr/local/include/iot/config.h 14:06:48 -- Installing: /usr/local/include/iot/container.h 14:06:48 -- Installing: /usr/local/include/iot/data.h 14:06:48 -- Installing: /usr/local/include/iot/hash.h 14:06:48 -- Installing: /usr/local/include/iot/iot.h 14:06:48 -- Installing: /usr/local/include/iot/json.h 14:06:48 -- Installing: /usr/local/include/iot/logger.h 14:06:48 -- Installing: /usr/local/include/iot/os.h 14:06:48 -- Installing: /usr/local/include/iot/scheduler.h 14:06:48 -- Installing: /usr/local/include/iot/thread.h 14:06:48 -- Installing: /usr/local/include/iot/threadpool.h 14:06:48 -- Installing: /usr/local/include/iot/time.h 14:06:48 -- Installing: /usr/local/include/iot/typecode.h 14:06:48 -- Installing: /usr/local/include/iot/uuid.h 14:06:48 -- Installing: /usr/local/include/iot/os 14:06:48 -- Installing: /usr/local/include/iot/os/linux.h 14:06:48 -- Installing: /usr/local/include/iot/os/macos.h 14:06:48 -- Installing: /usr/local/include/iot/os/zephyr.h 14:06:48 -- Installing: /usr/local/include/iot/defs.h 14:06:48 -- Installing: /usr/local/share/device-sdk-c/LICENSE 14:06:48 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 14:06:48 make: Leaving directory '/tmp/sdk/build/release' 14:06:49 Removing intermediate container 9e8890339d27 14:06:49 ---> c9098f10c046 14:06:49 Step 16/24 : FROM ${BASE} 14:06:49 ---> a4e04833b611 14:06:49 Step 17/24 : LABEL maintainer="IOTech " 14:06:49 ---> Running in 891e3bdb4380 14:06:49 Removing intermediate container 891e3bdb4380 14:06:49 ---> 9e0f6c80e3c6 14:06:49 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 14:06:49 ---> Running in 9dde3b29451e 14:06:49 Connecting to iotech.jfrog.io (54.195.244.87:443) 14:06:50 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 14:06:50 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 14:06:50 '/etc/apk/keys/alpine.dev.rsa.pub' saved 14:06:50 Removing intermediate container 9dde3b29451e 14:06:50 ---> 4b70f71c2c5f 14:06:50 Step 19/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 14:06:50 ---> Running in 0b32bfefea41 14:06:51 Removing intermediate container 0b32bfefea41 14:06:51 ---> 0c7ec15c7f65 14:06:51 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 14:06:51 ---> Running in 3535f8a3c1c1 14:06:51 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 14:06:51 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 14:06:52 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz 14:06:52 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:06:52 (1/7) Installing curl (7.79.1-r0) 14:06:52 (2/7) Installing hiredis (1.0.0-r0) 14:06:52 (3/7) Installing hiredis-dev (1.0.0-r0) 14:06:53 (4/7) Installing libuuid (2.37-r0) 14:06:53 (5/7) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 14:06:54 (6/7) Installing libidn2 (2.3.1-r0) 14:06:54 (7/7) Installing wget (1.21.1-r1) 14:06:54 Executing busybox-1.33.1-r3.trigger 14:06:54 OK: 282 MiB in 84 packages 14:06:54 Removing intermediate container 3535f8a3c1c1 14:06:54 ---> 04429b8b3578 14:06:54 Step 21/24 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 14:06:54 ---> edbe505ddf76 14:06:54 Step 22/24 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 14:06:54 ---> 35ae78542c75 14:06:54 Step 23/24 : COPY --from=builder /usr/local/lib /usr/local/lib 14:06:54 ---> 6e27fdb148de 14:06:54 Step 24/24 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 14:06:55 ---> 7d6eaba01cbf 14:06:55 Successfully built 7d6eaba01cbf 14:06:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:06:55 + docker inspect -f . ci-base-image-x86_64 14:06:55 . [Pipeline] withDockerContainer 14:06:55 prd-centos7-docker-4c-2g-1416 does not seem to be running inside a container 14:06:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 14:06:56 $ docker top d972d40cc14130ae945090ce89689e24adde3a8463c7fadda47a908eb0e75dfc -eo pid,comm [Pipeline] { [Pipeline] sh 14:06:56 + make test 14:06:56 echo "make test" 14:06:56 make test [Pipeline] } 14:06:56 $ docker stop --time=1 d972d40cc14130ae945090ce89689e24adde3a8463c7fadda47a908eb0e75dfc 14:06:57 $ docker rm -f d972d40cc14130ae945090ce89689e24adde3a8463c7fadda47a908eb0e75dfc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:06:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:06:59 + ls -al . 14:06:59 total 172 14:06:59 drwxrwxr-x. 8 jenkins jenkins 4096 Oct 14 14:06 . 14:06:59 drwxrwxr-x. 4 jenkins jenkins 28 Oct 14 14:06 .. 14:06:59 -rw-rw-r--. 1 jenkins jenkins 3104 Oct 14 14:06 Attribution.txt 14:06:59 -rw-rw-r--. 1 jenkins jenkins 7767 Oct 14 14:06 CHANGES 14:06:59 drwxrwxr-x. 2 jenkins jenkins 121 Oct 14 14:06 docs 14:06:59 -rw-rw-r--. 1 jenkins jenkins 108574 Oct 14 14:06 Doxyfile 14:06:59 drwxrwxr-x. 8 jenkins jenkins 179 Oct 14 14:06 .git 14:06:59 drwxrwxr-x. 3 jenkins jenkins 103 Oct 14 14:06 .github 14:06:59 -rw-rw-r--. 1 jenkins jenkins 176 Oct 14 14:06 .gitignore 14:06:59 -rw-rw-r--. 1 jenkins jenkins 677 Oct 14 14:06 GOVERNANCE.md 14:06:59 drwxrwxr-x. 4 jenkins jenkins 33 Oct 14 14:06 include 14:06:59 -rw-rw-r--. 1 jenkins jenkins 784 Oct 14 14:06 Jenkinsfile 14:06:59 -rw-rw-r--. 1 jenkins jenkins 10174 Oct 14 14:06 LICENSE 14:06:59 -rw-rw-r--. 1 jenkins jenkins 444 Oct 14 14:06 Makefile 14:06:59 -rw-rw-r--. 1 jenkins jenkins 618 Oct 14 14:06 OWNERS.md 14:06:59 -rw-rw-r--. 1 jenkins jenkins 4086 Oct 14 14:06 README.md 14:06:59 -rw-rw-r--. 1 jenkins jenkins 7422 Oct 14 14:06 README.v2.md 14:06:59 drwxrwxr-x. 2 jenkins jenkins 98 Oct 14 14:06 scripts 14:06:59 drwxrwxr-x. 4 jenkins jenkins 50 Oct 14 14:06 src 14:06:59 -rw-rw-r--. 1 jenkins jenkins 5 Oct 14 14:03 VERSION [Pipeline] isUnix [Pipeline] sh 14:06:59 + docker build -t device-sdk -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=801750da3ff223fd5fd4a4b0b64dd3e21288b861 --label arch=amd64 --label version=0.0.0 . 14:06:59 Sending build context to Docker daemon 2.738MB 14:06:59 Step 1/17 : ARG BASE=alpine:3.14 14:06:59 Step 2/17 : FROM ${BASE} 14:06:59 ---> 7d6eaba01cbf 14:06:59 Step 3/17 : LABEL maintainer="IOTech " 14:06:59 ---> Running in 83940132113e 14:07:00 Removing intermediate container 83940132113e 14:07:00 ---> c87bdb92a4af 14:07:00 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 14:07:00 ---> Running in 46380bdf7cca 14:07:00 --2021-10-14 14:07:00-- https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release 14:07:00 Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.195.244.87, 54.229.110.245, 54.72.115.12 14:07:00 Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.195.244.87|:443... connected. 14:07:00 HTTP request sent, awaiting response... 200 OK 14:07:00 Length: unspecified [application/json] 14:07:00 Saving to: '/etc/apk/keys/alpine.dev.rsa.pub' 14:07:00  14:07:00 0K  181M=0s 14:07:00 14:07:00 2021-10-14 14:07:00 (181 MB/s) - '/etc/apk/keys/alpine.dev.rsa.pub' saved [451] 14:07:00 14:07:00 Removing intermediate container 46380bdf7cca 14:07:00 ---> dbeaf03d1209 14:07:00 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 14:07:00 ---> Running in b2786818bc38 14:07:01 Removing intermediate container b2786818bc38 14:07:01 ---> d3dfae289d3b 14:07:01 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 14:07:01 ---> Running in 400081e73ea9 14:07:01 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 14:07:02 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 14:07:02 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz 14:07:03 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:07:03 (1/21) Installing ncurses-dev (6.2_p20210612-r0) 14:07:03 (2/21) Installing libblkid (2.37-r0) 14:07:03 (3/21) Installing blkid (2.37-r0) 14:07:03 (4/21) Installing libcap-ng (0.8.2-r0) 14:07:03 (5/21) Installing setpriv (2.37-r0) 14:07:03 (6/21) Installing libmount (2.37-r0) 14:07:03 (7/21) Installing libsmartcols (2.37-r0) 14:07:03 (8/21) Installing findmnt (2.37-r0) 14:07:04 (9/21) Installing mcookie (2.37-r0) 14:07:04 (10/21) Installing hexdump (2.37-r0) 14:07:04 (11/21) Installing lsblk (2.37-r0) 14:07:04 (12/21) Installing libfdisk (2.37-r0) 14:07:04 (13/21) Installing sfdisk (2.37-r0) 14:07:04 (14/21) Installing cfdisk (2.37-r0) 14:07:04 (15/21) Installing partx (2.37-r0) 14:07:04 (16/21) Installing flock (2.37-r0) 14:07:04 (17/21) Installing logger (2.37-r0) 14:07:04 (18/21) Installing uuidgen (2.37-r0) 14:07:04 (19/21) Installing libeconf (0.3.8-r1) 14:07:05 (20/21) Installing util-linux (2.37-r0) 14:07:05 (21/21) Installing util-linux-dev (2.37-r0) 14:07:05 Executing busybox-1.33.1-r3.trigger 14:07:05 OK: 291 MiB in 105 packages 14:07:05 Removing intermediate container 400081e73ea9 14:07:05 ---> 37052300666a 14:07:05 Step 7/17 : COPY VERSION /edgex-c-sdk/ 14:07:05 ---> f74747563a47 14:07:05 Step 8/17 : COPY src /edgex-c-sdk/src/ 14:07:06 ---> b706261b383a 14:07:06 Step 9/17 : COPY include /edgex-c-sdk/include/ 14:07:06 ---> 787b20203efe 14:07:06 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 14:07:06 ---> 1823f6a5d43e 14:07:06 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 14:07:06 ---> 491b291e57f4 14:07:06 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 14:07:06 ---> 50ca01b28879 14:07:06 Step 13/17 : WORKDIR /edgex-c-sdk 14:07:06 ---> Running in dd7a3b3af0be 14:07:06 Removing intermediate container dd7a3b3af0be 14:07:06 ---> 3f55aed99844 14:07:06 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 14:07:06 ---> Running in 470dcb68cdf4 14:07:06 Removing intermediate container 470dcb68cdf4 14:07:06 ---> 6c81e3cee901 14:07:06 Step 15/17 : LABEL arch=amd64 14:07:06 ---> Running in 4d18cc303d19 14:07:06 Removing intermediate container 4d18cc303d19 14:07:06 ---> 5a77593b3ea7 14:07:06 Step 16/17 : LABEL git_sha=801750da3ff223fd5fd4a4b0b64dd3e21288b861 14:07:06 ---> Running in da419000528e 14:07:06 Removing intermediate container da419000528e 14:07:06 ---> af078455162c 14:07:06 Step 17/17 : LABEL version=0.0.0 14:07:07 ---> Running in 53b50a3bfbbd 14:07:07 Removing intermediate container 53b50a3bfbbd 14:07:07 ---> 42a8d0743faf 14:07:07 [Warning] One or more build-args [MAKE ARCH] were not consumed 14:07:07 Successfully built 42a8d0743faf 14:07:07 Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:07:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:07:07 14:07:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 14:07:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:07:08 latest: Pulling from edgex-lftools-log-publisher 14:07:08 b4d181a07f80: Pulling fs layer 14:07:08 a1111a8f2ec3: Pulling fs layer 14:07:08 ed53099fbce6: Pulling fs layer 14:07:08 dc539afda2c1: Pulling fs layer 14:07:08 77bc0d833cb6: Pulling fs layer 14:07:08 9065ff56babe: Pulling fs layer 14:07:08 d287ab97295c: Pulling fs layer 14:07:08 77bc0d833cb6: Waiting 14:07:08 9065ff56babe: Waiting 14:07:08 d287ab97295c: Waiting 14:07:08 dc539afda2c1: Waiting 14:07:08 a1111a8f2ec3: Verifying Checksum 14:07:08 a1111a8f2ec3: Download complete 14:07:08 dc539afda2c1: Verifying Checksum 14:07:08 dc539afda2c1: Download complete 14:07:08 ed53099fbce6: Verifying Checksum 14:07:08 ed53099fbce6: Download complete 14:07:08 77bc0d833cb6: Verifying Checksum 14:07:08 77bc0d833cb6: Download complete 14:07:08 9065ff56babe: Verifying Checksum 14:07:08 9065ff56babe: Download complete 14:07:08 b4d181a07f80: Verifying Checksum 14:07:08 b4d181a07f80: Download complete 14:07:09 d287ab97295c: Verifying Checksum 14:07:09 d287ab97295c: Download complete 14:07:09 b4d181a07f80: Pull complete 14:07:09 a1111a8f2ec3: Pull complete 14:07:10 ed53099fbce6: Pull complete 14:07:10 dc539afda2c1: Pull complete 14:07:10 77bc0d833cb6: Pull complete 14:07:10 9065ff56babe: Pull complete 14:07:16 d287ab97295c: Pull complete 14:07:16 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 14:07:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:07:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 14:07:16 prd-centos7-docker-4c-2g-1416 does not seem to be running inside a container 14:07:16 $ 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/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:07:18 $ docker top f61e7c50117c48e640bf62ae81bb36e0102ba0f7c1053e4128ac9be009468f78 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:07:19 ---> job-cost.sh 14:07:19 lf-activate-venv: SKIPPING 14:07:19 INFO: No Stack... 14:07:19 INFO: Retrieving Pricing Info for: v3-standard-2 14:07:19 INFO: Archiving Costs [Pipeline] sh 14:07:19 + cat /w/workspace/device-sdk-c/2/archives/cost.csv 14:07:19 + cut -d, -f6 [Pipeline] lock 14:07:19 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-382-2-stack-cost] 14:07:19 Resource [jenkins-edgexfoundry-device-sdk-c-PR-382-2-stack-cost] did not exist. Created. 14:07:19 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-382-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:07:20 + echo total: 0.05999999865889549 [Pipeline] stash 14:07:20 Stashed 1 file(s) [Pipeline] } 14:07:20 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-382-2-stack-cost] [Pipeline] // lock [Pipeline] } 14:07:20 $ docker stop --time=1 f61e7c50117c48e640bf62ae81bb36e0102ba0f7c1053e4128ac9be009468f78 14:07:21 $ docker rm -f f61e7c50117c48e640bf62ae81bb36e0102ba0f7c1053e4128ac9be009468f78 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 14:14:03 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1428 in /w/workspace/edgexfoundry_device-sdk-c_PR-382 [Pipeline] { [Pipeline] ws 14:14:03 Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout 14:14:04 Selected Git installation does not exist. Using Default 14:14:04 The recommended git tool is: NONE 14:14:12 using credential edgex-jenkins-ssh 14:14:12 Cloning the remote Git repository 14:14:12 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 14:14:12 > git init /w/workspace/device-sdk-c/2 # timeout=10 14:14:12 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 14:14:12 > git --version # timeout=10 14:14:12 > git --version # 'git version 2.17.1' 14:14:12 using GIT_SSH to set credentials SSH Credentials for GitHub 14:14:12 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:14:14 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 14:14:14 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:14:14 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 14:14:14 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 14:14:14 using GIT_SSH to set credentials SSH Credentials for GitHub 14:14:14 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/382/head:refs/remotes/origin/PR-382 +refs/heads/main:refs/remotes/origin/main # timeout=10 14:14:15 Merging remotes/origin/main commit b33a799834278c94191ed5db2afedc6f631595ea into PR head commit 801750da3ff223fd5fd4a4b0b64dd3e21288b861 14:14:15 Merge succeeded, producing 801750da3ff223fd5fd4a4b0b64dd3e21288b861 14:14:15 Checking out Revision 801750da3ff223fd5fd4a4b0b64dd3e21288b861 (PR-382) 14:14:15 > git config core.sparsecheckout # timeout=10 14:14:15 > git checkout -f 801750da3ff223fd5fd4a4b0b64dd3e21288b861 # timeout=10 14:14:15 > git remote # timeout=10 14:14:15 > git config --get remote.origin.url # timeout=10 14:14:15 using GIT_SSH to set credentials SSH Credentials for GitHub 14:14:15 > git merge b33a799834278c94191ed5db2afedc6f631595ea # timeout=10 14:14:15 > git rev-parse HEAD^{commit} # timeout=10 14:14:15 > git config core.sparsecheckout # timeout=10 14:14:15 > git checkout -f 801750da3ff223fd5fd4a4b0b64dd3e21288b861 # timeout=10 14:14:20 Commit message: "fix: stop device autoevents before releasing memory refac: eliminate recursion from dup/free list functions" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:14:21 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 14:14:21 % Total % Received % Xferd Average Speed Time Time Time Current 14:14:21 Dload Upload Total Spent Left Speed 14:14:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 169k 0 --:--:-- --:--:-- --:--:-- 172k [Pipeline] sh 14:14:21 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 14:14:22 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json 14:14:22 sudo tee /etc/docker/daemon.new 14:14:22 { 14:14:22 "registry-mirrors": [ 14:14:22 "https://nexus3.edgexfoundry.org:10001" 14:14:22 ], 14:14:22 "bip": "10.250.0.254/24", 14:14:22 "hosts": [ 14:14:22 "tcp://0.0.0.0:5555", 14:14:22 "unix:///var/run/docker.sock" 14:14:22 ], 14:14:22 "mtu": 1458, 14:14:22 "selinux-enabled": true, 14:14:22 "seccomp-profile": "/etc/docker/seccomp.json" 14:14:22 } [Pipeline] sh 14:14:22 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 14:14:22 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:14:41 provisioning config files... 14:14:41 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/2@tmp/config2939031268772533787tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:14:41 ---> docker-login.sh 14:14:41 nexus3.edgexfoundry.org:10001 14:14:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:14:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:14:43 Configure a credential helper to remove this warning. See 14:14:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:14:43 14:14:43 Login Succeeded 14:14:43 nexus3.edgexfoundry.org:10002 14:14:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:14:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:14:44 Configure a credential helper to remove this warning. See 14:14:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:14:44 14:14:44 Login Succeeded 14:14:44 nexus3.edgexfoundry.org:10003 14:14:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:14:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:14:44 Configure a credential helper to remove this warning. See 14:14:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:14:44 14:14:44 Login Succeeded 14:14:44 nexus3.edgexfoundry.org:10004 14:14:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:14:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:14:45 Configure a credential helper to remove this warning. See 14:14:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:14:45 14:14:45 Login Succeeded 14:14:45 docker.io 14:14:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:14:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:14:46 Configure a credential helper to remove this warning. See 14:14:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:14:46 14:14:46 Login Succeeded 14:14:46 ---> docker-login.sh ends [Pipeline] } 14:14:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:14:46 ========================================================= 14:14:46 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 14:14:46 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 14:14:47 + 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 . 14:14:47 Sending build context to Docker daemon 2.737MB 14:14:47 Step 1/24 : ARG BASE=alpine:3.14 14:14:47 Step 2/24 : FROM ${BASE} as builder 14:14:47 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 14:14:47 552d1f2373af: Pulling fs layer 14:14:47 f2be2b6548c6: Pulling fs layer 14:14:47 ee4ac2fe028c: Pulling fs layer 14:14:47 f2be2b6548c6: Verifying Checksum 14:14:47 f2be2b6548c6: Download complete 14:14:47 552d1f2373af: Verifying Checksum 14:14:47 552d1f2373af: Download complete 14:14:48 552d1f2373af: Pull complete 14:14:48 f2be2b6548c6: Pull complete 14:14:49 ee4ac2fe028c: Verifying Checksum 14:14:49 ee4ac2fe028c: Download complete 14:14:58 ee4ac2fe028c: Pull complete 14:14:58 Digest: sha256:4c85ded81933cf54d6808eb239bc3fea8e3bb42c9130537b51c88bfc6b01a02b 14:14:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 14:14:58 ---> b6d714ea7bf2 14:14:58 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 14:15:00 ---> Running in 41b9c2594efe 14:15:02 Connecting to iotech.jfrog.io (54.229.110.245:443) 14:15:02 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 14:15:02 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 14:15:02 '/etc/apk/keys/alpine.dev.rsa.pub' saved 14:15:03 Removing intermediate container 41b9c2594efe 14:15:03 ---> 77fef6fa1247 14:15:03 Step 4/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 14:15:03 ---> Running in c7c77b5436b4 14:15:05 Removing intermediate container c7c77b5436b4 14:15:05 ---> 188387e0791e 14:15:05 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 14:15:05 ---> Running in 53481682ba21 14:15:07 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 14:15:08 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 14:15:08 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz 14:15:09 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:15:09 (1/27) Installing hiredis (1.0.0-r0) 14:15:09 (2/27) Installing hiredis-dev (1.0.0-r0) 14:15:09 (3/27) Installing ncurses-dev (6.2_p20210612-r0) 14:15:09 (4/27) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 14:15:10 (5/27) Installing libblkid (2.37-r0) 14:15:10 (6/27) Installing blkid (2.37-r0) 14:15:10 (7/27) Installing libcap-ng (0.8.2-r0) 14:15:10 (8/27) Installing setpriv (2.37-r0) 14:15:11 (9/27) Installing libmount (2.37-r0) 14:15:11 (10/27) Installing libsmartcols (2.37-r0) 14:15:11 (11/27) Installing findmnt (2.37-r0) 14:15:11 (12/27) Installing mcookie (2.37-r0) 14:15:11 (13/27) Installing hexdump (2.37-r0) 14:15:11 (14/27) Installing lsblk (2.37-r0) 14:15:11 (15/27) Installing libuuid (2.37-r0) 14:15:11 (16/27) Installing libfdisk (2.37-r0) 14:15:11 (17/27) Installing sfdisk (2.37-r0) 14:15:12 (18/27) Installing cfdisk (2.37-r0) 14:15:12 (19/27) Installing partx (2.37-r0) 14:15:12 (20/27) Installing flock (2.37-r0) 14:15:12 (21/27) Installing logger (2.37-r0) 14:15:12 (22/27) Installing uuidgen (2.37-r0) 14:15:12 (23/27) Installing libeconf (0.3.8-r1) 14:15:12 (24/27) Installing util-linux (2.37-r0) 14:15:13 (25/27) Installing util-linux-dev (2.37-r0) 14:15:13 (26/27) Installing libidn2 (2.3.1-r0) 14:15:13 (27/27) Installing wget (1.21.1-r1) 14:15:13 Executing busybox-1.33.1-r3.trigger 14:15:13 OK: 286 MiB in 104 packages 14:15:15 Removing intermediate container 53481682ba21 14:15:15 ---> 0c4f6f1f9510 14:15:15 Step 6/24 : ENV CBOR_VERSION=0.5.0 14:15:15 ---> Running in 9151597a38e5 14:15:16 Removing intermediate container 9151597a38e5 14:15:16 ---> 423527671385 14:15:16 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 14:15:16 ---> Running in 067d6c155958 14:15:17 --2021-10-14 14:15:17-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 14:15:17 Resolving github.com (github.com)... 140.82.114.4 14:15:17 Connecting to github.com (github.com)|140.82.114.4|:443... connected. 14:15:18 HTTP request sent, awaiting response... 302 Found 14:15:18 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 14:15:18 --2021-10-14 14:15:17-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 14:15:18 Resolving codeload.github.com (codeload.github.com)... 140.82.113.10 14:15:18 Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected. 14:15:18 HTTP request sent, awaiting response... 200 OK 14:15:18 Length: unspecified [application/x-gzip] 14:15:18 Saving to: 'STDOUT' 14:15:18  14:15:18 0K .......... .......... .......... .......... .......... 851K 14:15:18 50K .......... .......... .......... .......... .......... 1.54M 14:15:18 100K .......... .......... .......... .......... .......... 12.8M 14:15:18 150K .......... .......... .......... .......... .......... 1.84M 14:15:18 200K .......... .......... .......... .......... .......... 13.9M 14:15:18 250K .......... .......... .......... .......... .......... 1.65M 14:15:18 300K .......... .......... .......... .......... .......... 8.57M 14:15:18 350K .......... .......... .......... .......... .......... 2.12M 14:15:18 400K .......... .......... .......... .......... .......... 18.6M 14:15:18 450K .......... .......... .......... .......... .......... 2.19M 14:15:18 500K .......... .......... .......... .......... .......... 18.0M 14:15:18 550K .......... .......... .......... .......... .......... 7.98M 14:15:18 600K .......... .......... .......... .......... .......... 1.00M 14:15:18 650K .......... .......... .......... .......... .......... 1.64M 14:15:18 700K .. 4.63T=0.3s 14:15:18 14:15:18 2021-10-14 14:15:18 (2.32 MB/s) - written to stdout [719348] 14:15:18 14:15:19 -- The C compiler identification is GNU 10.3.1 14:15:19 -- The CXX compiler identification is GNU 10.3.1 14:15:19 -- Detecting C compiler ABI info 14:15:19 -- Detecting C compiler ABI info - done 14:15:19 -- Check for working C compiler: /usr/bin/cc - skipped 14:15:19 -- Detecting C compile features 14:15:19 -- Detecting C compile features - done 14:15:19 -- Detecting CXX compiler ABI info 14:15:20 -- Detecting CXX compiler ABI info - done 14:15:20 -- Check for working CXX compiler: /usr/bin/c++ - skipped 14:15:20 -- Detecting CXX compile features 14:15:20 -- Detecting CXX compile features - done 14:15:20 -- Looking for include file endian.h 14:15:20 -- Looking for include file endian.h - found 14:15:20 -- Looking for sys/types.h 14:15:21 -- Looking for sys/types.h - found 14:15:21 -- Looking for stdint.h 14:15:21 -- Looking for stdint.h - found 14:15:21 -- Looking for stddef.h 14:15:21 -- Looking for stddef.h - found 14:15:21 -- Check size of size_t 14:15:21 -- Check size of size_t - done 14:15:21 CMake Warning at examples/CMakeLists.txt:16 (find_package): 14:15:21 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 14:15:21 asked CMake to find a package configuration file provided by "cJSON", but 14:15:21 CMake did not find one. 14:15:21 14:15:21 Could not find a package configuration file provided by "cJSON" with any of 14:15:21 the following names: 14:15:21 14:15:21 cJSONConfig.cmake 14:15:21 cjson-config.cmake 14:15:21 14:15:21 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 14:15:21 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 14:15:21 provides a separate development package or SDK, be sure it has been 14:15:21 installed. 14:15:21 14:15:21 14:15:21 -- Configuring done 14:15:22 -- Generating done 14:15:22 -- Build files have been written to: /tmp/cbor 14:15:22 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 14:15:23 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 14:15:24 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 14:15:24 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 14:15:25 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 14:15:26 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 14:15:26 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 14:15:26 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 14:15:26 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 14:15:27 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 14:15:28 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 14:15:28 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 14:15:29 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 14:15:29 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 14:15:30 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 14:15:30 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 14:15:31 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 14:15:31 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 14:15:31 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 14:15:32 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 14:15:32 [ 40%] Linking C shared library libcbor.so 14:15:32 [ 40%] Built target cbor_shared 14:15:32 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 14:15:34 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 14:15:34 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 14:15:34 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 14:15:37 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 14:15:37 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 14:15:37 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 14:15:38 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 14:15:38 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 14:15:39 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 14:15:40 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 14:15:40 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 14:15:40 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 14:15:41 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 14:15:42 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 14:15:42 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 14:15:42 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 14:15:43 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 14:15:43 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 14:15:44 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 14:15:44 [ 80%] Linking C static library libcbor.a 14:15:44 [ 80%] Built target cbor 14:15:44 [ 82%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 14:15:44 [ 84%] Linking C executable readfile 14:15:45 [ 84%] Built target readfile 14:15:45 [ 86%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 14:15:45 [ 88%] Linking C executable create_items 14:15:45 [ 88%] Built target create_items 14:15:45 [ 90%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 14:15:45 [ 92%] Linking C executable sort 14:15:45 [ 92%] Built target sort 14:15:45 [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 14:15:46 [ 96%] Linking C executable hello 14:15:46 [ 96%] Built target hello 14:15:46 [ 98%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 14:15:46 [100%] Linking C executable streaming_parser 14:15:46 [100%] Built target streaming_parser 14:15:46 Install the project... 14:15:46 -- Install configuration: "Release" 14:15:46 -- Installing: /usr/local/include/cbor/configuration.h 14:15:46 -- Installing: /usr/local/lib/libcbor.a 14:15:46 -- Installing: /usr/local/lib/libcbor.so.0.0.0 14:15:46 -- Installing: /usr/local/lib/libcbor.so.0 14:15:46 -- Installing: /usr/local/lib/libcbor.so 14:15:46 -- Up-to-date: /usr/local/include/cbor 14:15:46 -- Installing: /usr/local/include/cbor/streaming.h 14:15:46 -- Installing: /usr/local/include/cbor/ints.h 14:15:46 -- Installing: /usr/local/include/cbor/floats_ctrls.h 14:15:46 -- Installing: /usr/local/include/cbor/bytestrings.h 14:15:46 -- Installing: /usr/local/include/cbor/encoding.h 14:15:46 -- Installing: /usr/local/include/cbor/serialization.h 14:15:46 -- Installing: /usr/local/include/cbor/data.h 14:15:46 -- Installing: /usr/local/include/cbor/common.h 14:15:46 -- Installing: /usr/local/include/cbor/callbacks.h 14:15:46 -- Installing: /usr/local/include/cbor/strings.h 14:15:46 -- Installing: /usr/local/include/cbor/tags.h 14:15:46 -- Installing: /usr/local/include/cbor/internal 14:15:46 -- Installing: /usr/local/include/cbor/internal/encoders.h 14:15:46 -- Installing: /usr/local/include/cbor/internal/loaders.h 14:15:46 -- Installing: /usr/local/include/cbor/internal/stack.h 14:15:46 -- Installing: /usr/local/include/cbor/internal/unicode.h 14:15:46 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 14:15:46 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 14:15:46 -- Installing: /usr/local/include/cbor/arrays.h 14:15:46 -- Installing: /usr/local/include/cbor/maps.h 14:15:46 -- Installing: /usr/local/include/cbor.h 14:15:46 -- Installing: /usr/local/lib/pkgconfig/libcbor.pc 14:15:48 Removing intermediate container 067d6c155958 14:15:48 ---> 1a92eba23877 14:15:48 Step 8/24 : RUN mkdir /tmp/sdk 14:15:49 ---> Running in 683650e7a4e3 14:15:51 Removing intermediate container 683650e7a4e3 14:15:51 ---> 09fb7924acd4 14:15:51 Step 9/24 : COPY VERSION /tmp/sdk 14:15:52 ---> 3a3807a0aeeb 14:15:52 Step 10/24 : COPY src /tmp/sdk/src 14:15:53 ---> 3f0b1901e7d9 14:15:53 Step 11/24 : COPY include /tmp/sdk/include 14:15:54 ---> 9cd40b7209c9 14:15:54 Step 12/24 : COPY scripts /tmp/sdk/scripts 14:15:55 ---> 2019e1504b00 14:15:55 Step 13/24 : COPY LICENSE /tmp/sdk 14:15:56 ---> c9e67f2538d6 14:15:56 Step 14/24 : COPY Attribution.txt /tmp/sdk 14:15:56 ---> edb3ec6b4e1a 14:15:56 Step 15/24 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 14:15:57 ---> Running in 3b3ae4151b46 14:15:58 + CPPCHECK=false 14:15:58 + DOCGEN=false 14:15:58 + TOMLVER=SDK-0.2 14:15:58 + CUTILVER=1.2.2 14:15:58 + '[' 0 -gt 0 ] 14:15:58 + readlink -f ./scripts/build.sh 14:15:58 + dirname /tmp/sdk/scripts/build.sh 14:15:58 + dirname /tmp/sdk/scripts 14:15:58 + ROOT=/tmp/sdk 14:15:58 + cd /tmp/sdk 14:15:58 + '[' '!' -d deps ] 14:15:58 + mkdir deps 14:15:58 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 14:15:58 + tar -C deps -z -x -f - 14:15:58 --2021-10-14 14:15:58-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 14:15:58 Resolving github.com (github.com)... 140.82.114.4 14:15:58 Connecting to github.com (github.com)|140.82.114.4|:443... connected. 14:15:58 HTTP request sent, awaiting response... 302 Found 14:15:58 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 14:15:58 --2021-10-14 14:15:58-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 14:15:58 Resolving codeload.github.com (codeload.github.com)... 140.82.113.10 14:15:58 Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected. 14:15:58 HTTP request sent, awaiting response... 200 OK 14:15:58 Length: unspecified [application/x-gzip] 14:15:58 Saving to: 'STDOUT' 14:15:58  14:15:58 0K .......... ......   747K=0.02s 14:15:58 14:15:58 2021-10-14 14:15:58 (747 KB/s) - written to stdout [16451] 14:15:58 14:15:58 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 14:15:58 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 14:15:58 + tar -C deps -z -x -f - 14:15:58 --2021-10-14 14:15:58-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 14:15:58 Resolving github.com (github.com)... 140.82.114.4 14:15:58 Connecting to github.com (github.com)|140.82.114.4|:443... connected. 14:15:59 HTTP request sent, awaiting response... 302 Found 14:15:59 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [following] 14:15:59 --2021-10-14 14:15:59-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 14:15:59 Resolving codeload.github.com (codeload.github.com)... 140.82.113.10 14:15:59 Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected. 14:15:59 HTTP request sent, awaiting response... 200 OK 14:15:59 Length: unspecified [application/x-gzip] 14:15:59 Saving to: 'STDOUT' 14:15:59  14:15:59 0K .......... .......... .......... .......... .......... 986K 14:15:59 50K .......... .......... .......... .......... .......... 2.14M 14:15:59 100K .......... .......... .......... .......... .......... 12.8M 14:15:59 150K .......... .......... .......... ......... 1.21M=0.1s 14:15:59 14:15:59 2021-10-14 14:15:59 (1.69 MB/s) - written to stdout [193961] 14:15:59 14:15:59 + mkdir -p src/c/iot 14:15:59 + 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 14:15:59 + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot 14:15:59 + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot 14:15:59 + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot 14:15:59 + mkdir -p include/iot 14:15:59 + 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 14:15:59 + mkdir -p include/iot/os 14:15:59 + 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 14:15:59 + mkdir -p /tmp/sdk/build/release 14:15:59 + cd /tmp/sdk/build/release 14:15:59 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 14:16:00 -- The C compiler identification is GNU 10.3.1 14:16:00 -- Detecting C compiler ABI info 14:16:00 -- Detecting C compiler ABI info - done 14:16:00 -- Check for working C compiler: /usr/bin/cc - skipped 14:16:00 -- Detecting C compile features 14:16:00 -- Detecting C compile features - done 14:16:00 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:16:00 -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") 14:16:00 -- Found LIBYAML: /usr/lib/libyaml.so 14:16:00 -- Found LIBUUID: /usr/lib/libuuid.so 14:16:00 -- Found LIBCBOR: /usr/local/lib/libcbor.so 14:16:00 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 14:16:00 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 14:16:00 -- C SDK 0.0.0 for Linux 14:16:00 -- Performing Test CSDK_HAVE_ATOMIC 14:16:01 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:16:01 -- Found Curses: /usr/lib/libcurses.so 14:16:01 -- Configuring done 14:16:01 -- Generating done 14:16:01 -- Build files have been written to: /tmp/sdk/build/release 14:16:01 + + teemake release.log all 14:16:01 package 14:16:01 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:16:02 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 14:16:03 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:16:06 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:16:07 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:16:07 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 14:16:09 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 14:16:10 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 14:16:10 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:16:12 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:16:15 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:16:15 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:16:16 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:16:17 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:16:18 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 14:16:18 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:16:18 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:16:24 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 14:16:24 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 14:16:24 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 14:16:24 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 14:16:25 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 14:16:25 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 14:16:25 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 14:16:25 275 | const iot_component_factory_t * factory; 14:16:25 | ^~~~~~~ 14:16:26 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 14:16:32 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 14:16:32 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 14:16:32 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 14:16:33 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 14:16:34 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 14:16:34 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 14:16:35 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 14:16:36 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 14:16:37 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 14:16:37 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 14:16:38 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 14:16:41 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:16:42 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:16:43 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 14:16:44 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:16:50 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:16:50 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:16:51 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:16:52 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:16:52 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 14:16:52 /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] 14:16:52 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 14:16:52 | ^~~~~~~~~~~~~ 14:16:52 | | 14:16:52 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 14:16:52 In file included from /tmp/sdk/src/c/rest-server.c:21: 14:16:52 /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 *)' 14:16:52 2714 | MHD_KeyValueIterator iterator, 14:16:52 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 14:16:52 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 14:16:52 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 14:16:52 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 14:16:52 | ^~~~~~~~~~~~ 14:16:52 | | 14:16:52 | 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 **)} 14:16:52 In file included from /tmp/sdk/src/c/rest-server.c:21: 14:16:52 /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 **)'} 14:16:52 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 14:16:52 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 14:16:52 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 14:16:52 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 14:16:52 | ^~~~~~~~~~~~ 14:16:52 | | 14:16:52 | 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 **)} 14:16:52 In file included from /tmp/sdk/src/c/rest-server.c:21: 14:16:52 /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 **)'} 14:16:52 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 14:16:52 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 14:16:53 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:16:56 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 14:16:56 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 14:16:57 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 14:16:57 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:17:01 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 14:17:05 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:17:06 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:17:06 [ 76%] Linking C shared library libcsdk.so 14:17:07 [ 76%] Built target csdk 14:17:07 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:17:08 [ 79%] Linking C executable template 14:17:08 [ 79%] Built target template 14:17:08 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:17:09 [ 82%] Linking C executable device-counter 14:17:09 [ 82%] Built target device-counter 14:17:09 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:17:10 [ 85%] Linking C executable device-random 14:17:10 [ 85%] Built target device-random 14:17:10 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:17:10 [ 88%] Linking C executable device-gyro 14:17:10 [ 88%] Built target device-gyro 14:17:10 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:17:11 [ 91%] Linking C executable device-bitfields 14:17:12 [ 91%] Built target device-bitfields 14:17:12 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:17:13 [ 94%] Linking C executable template-discovery 14:17:13 [ 94%] Built target template-discovery 14:17:13 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:17:14 [ 97%] Linking C executable device-file 14:17:14 [ 97%] Built target device-file 14:17:14 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:17:15 [100%] Linking C executable device-terminal 14:17:15 [100%] Built target device-terminal 14:17:15 Run CPack packaging tool... 14:17:15 CPack: Create package using TGZ 14:17:15 CPack: Install projects 14:17:15 CPack: - Run preinstall target for: Csdk 14:17:16 CPack: - Install project: Csdk [] 14:17:16 CPack: Create package 14:17:16 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 14:17:16 + '[' false '=' true ] 14:17:16 + '[' false '=' true ] 14:17:16 + mkdir -p /tmp/sdk/build/debug 14:17:16 + cd /tmp/sdk/build/debug 14:17:16 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 14:17:16 -- The C compiler identification is GNU 10.3.1 14:17:16 -- Detecting C compiler ABI info 14:17:17 -- Detecting C compiler ABI info - done 14:17:17 -- Check for working C compiler: /usr/bin/cc - skipped 14:17:17 -- Detecting C compile features 14:17:17 -- Detecting C compile features - done 14:17:17 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:17:17 -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") 14:17:17 -- Found LIBYAML: /usr/lib/libyaml.so 14:17:17 -- Found LIBUUID: /usr/lib/libuuid.so 14:17:17 -- Found LIBCBOR: /usr/local/lib/libcbor.so 14:17:17 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 14:17:17 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 14:17:17 -- C SDK 0.0.0 for Linux 14:17:17 -- Performing Test CSDK_HAVE_ATOMIC 14:17:17 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:17:17 -- Found Curses: /usr/lib/libcurses.so 14:17:17 -- Configuring done 14:17:18 -- Generating done 14:17:18 -- Build files have been written to: /tmp/sdk/build/debug 14:17:18 + make 14:17:18 + tee debug.log 14:17:18 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:17:18 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 14:17:19 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:17:20 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:17:20 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:17:20 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 14:17:20 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 14:17:20 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 14:17:21 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:17:21 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:17:22 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:17:22 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:17:22 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:17:23 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:17:23 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 14:17:23 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:17:24 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:17:25 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 14:17:25 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 14:17:25 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 14:17:25 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 14:17:25 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 14:17:26 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 14:17:26 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 14:17:26 275 | const iot_component_factory_t * factory; 14:17:26 | ^~~~~~~ 14:17:26 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 14:17:27 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 14:17:27 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 14:17:27 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 14:17:28 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 14:17:28 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 14:17:28 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 14:17:29 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 14:17:29 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 14:17:29 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 14:17:29 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 14:17:30 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 14:17:30 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:17:30 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:17:31 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 14:17:31 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:17:33 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:17:33 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:17:33 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:17:33 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:17:33 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 14:17:33 /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] 14:17:33 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 14:17:33 | ^~~~~~~~~~~~~ 14:17:33 | | 14:17:33 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 14:17:33 In file included from /tmp/sdk/src/c/rest-server.c:21: 14:17:33 /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 *)' 14:17:33 2714 | MHD_KeyValueIterator iterator, 14:17:33 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 14:17:33 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 14:17:33 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 14:17:33 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 14:17:33 | ^~~~~~~~~~~~ 14:17:33 | | 14:17:33 | 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 **)} 14:17:33 In file included from /tmp/sdk/src/c/rest-server.c:21: 14:17:33 /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 **)'} 14:17:33 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 14:17:33 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 14:17:33 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 14:17:33 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 14:17:33 | ^~~~~~~~~~~~ 14:17:33 | | 14:17:33 | 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 **)} 14:17:33 In file included from /tmp/sdk/src/c/rest-server.c:21: 14:17:33 /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 **)'} 14:17:33 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 14:17:33 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 14:17:34 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:17:35 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 14:17:35 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 14:17:36 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 14:17:36 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:17:37 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 14:17:38 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:17:38 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:17:38 [ 76%] Linking C shared library libcsdk.so 14:17:38 [ 76%] Built target csdk 14:17:38 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:17:39 [ 79%] Linking C executable template 14:17:39 [ 79%] Built target template 14:17:39 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:17:39 [ 82%] Linking C executable device-counter 14:17:40 [ 82%] Built target device-counter 14:17:40 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:17:40 [ 85%] Linking C executable device-random 14:17:40 [ 85%] Built target device-random 14:17:40 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:17:40 [ 88%] Linking C executable device-gyro 14:17:41 [ 88%] Built target device-gyro 14:17:41 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:17:41 [ 91%] Linking C executable device-bitfields 14:17:41 [ 91%] Built target device-bitfields 14:17:42 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:17:42 [ 94%] Linking C executable template-discovery 14:17:42 [ 94%] Built target template-discovery 14:17:42 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:17:42 [ 97%] Linking C executable device-file 14:17:43 [ 97%] Built target device-file 14:17:43 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:17:43 [100%] Linking C executable device-terminal 14:17:43 [100%] Built target device-terminal 14:17:43 make: Entering directory '/tmp/sdk/build/release' 14:17:44 make[1]: Entering directory '/tmp/sdk/build/release' 14:17:44 make[2]: Entering directory '/tmp/sdk/build/release' 14:17:44 make[2]: Leaving directory '/tmp/sdk/build/release' 14:17:44 [ 76%] Built target csdk 14:17:44 make[2]: Entering directory '/tmp/sdk/build/release' 14:17:44 make[2]: Leaving directory '/tmp/sdk/build/release' 14:17:44 [ 79%] Built target template 14:17:44 make[2]: Entering directory '/tmp/sdk/build/release' 14:17:44 make[2]: Leaving directory '/tmp/sdk/build/release' 14:17:44 [ 82%] Built target device-counter 14:17:44 make[2]: Entering directory '/tmp/sdk/build/release' 14:17:44 make[2]: Leaving directory '/tmp/sdk/build/release' 14:17:44 [ 85%] Built target device-random 14:17:44 make[2]: Entering directory '/tmp/sdk/build/release' 14:17:44 make[2]: Leaving directory '/tmp/sdk/build/release' 14:17:44 [ 88%] Built target device-gyro 14:17:44 make[2]: Entering directory '/tmp/sdk/build/release' 14:17:44 make[2]: Leaving directory '/tmp/sdk/build/release' 14:17:44 [ 91%] Built target device-bitfields 14:17:44 make[2]: Entering directory '/tmp/sdk/build/release' 14:17:44 make[2]: Leaving directory '/tmp/sdk/build/release' 14:17:44 [ 94%] Built target template-discovery 14:17:44 make[2]: Entering directory '/tmp/sdk/build/release' 14:17:44 make[2]: Leaving directory '/tmp/sdk/build/release' 14:17:44 [ 97%] Built target device-file 14:17:44 make[2]: Entering directory '/tmp/sdk/build/release' 14:17:44 make[2]: Leaving directory '/tmp/sdk/build/release' 14:17:44 [100%] Built target device-terminal 14:17:44 make[1]: Leaving directory '/tmp/sdk/build/release' 14:17:44 Install the project... 14:17:44 -- Install configuration: "Release" 14:17:44 -- Installing: /usr/local/lib/libcsdk.so 14:17:44 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 14:17:44 -- Up-to-date: /usr/local/include 14:17:44 -- Installing: /usr/local/include/edgex 14:17:44 -- Installing: /usr/local/include/edgex/rest-server.h 14:17:44 -- Installing: /usr/local/include/edgex/edgex-base.h 14:17:44 -- Installing: /usr/local/include/edgex/edgex.h 14:17:44 -- Installing: /usr/local/include/edgex/devices.h 14:17:44 -- Installing: /usr/local/include/edgex/profiles.h 14:17:44 -- Installing: /usr/local/include/edgex/csdk-defs.h 14:17:44 -- Installing: /usr/local/include/devsdk 14:17:44 -- Installing: /usr/local/include/devsdk/devsdk-base.h 14:17:44 -- Installing: /usr/local/include/devsdk/devsdk.h 14:17:44 -- Installing: /usr/local/include/iot 14:17:44 -- Installing: /usr/local/include/iot/json.h 14:17:44 -- Installing: /usr/local/include/iot/container.h 14:17:44 -- Installing: /usr/local/include/iot/component.h 14:17:44 -- Installing: /usr/local/include/iot/typecode.h 14:17:44 -- Installing: /usr/local/include/iot/iot.h 14:17:44 -- Installing: /usr/local/include/iot/uuid.h 14:17:44 -- Installing: /usr/local/include/iot/time.h 14:17:44 -- Installing: /usr/local/include/iot/hash.h 14:17:44 -- Installing: /usr/local/include/iot/logger.h 14:17:44 -- Installing: /usr/local/include/iot/os 14:17:44 -- Installing: /usr/local/include/iot/os/zephyr.h 14:17:44 -- Installing: /usr/local/include/iot/os/linux.h 14:17:44 -- Installing: /usr/local/include/iot/os/macos.h 14:17:44 -- Installing: /usr/local/include/iot/scheduler.h 14:17:44 -- Installing: /usr/local/include/iot/data.h 14:17:44 -- Installing: /usr/local/include/iot/thread.h 14:17:44 -- Installing: /usr/local/include/iot/os.h 14:17:44 -- Installing: /usr/local/include/iot/base64.h 14:17:44 -- Installing: /usr/local/include/iot/defs.h 14:17:44 -- Installing: /usr/local/include/iot/threadpool.h 14:17:44 -- Installing: /usr/local/include/iot/config.h 14:17:44 -- Installing: /usr/local/share/device-sdk-c/LICENSE 14:17:44 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 14:17:44 make: Leaving directory '/tmp/sdk/build/release' 14:17:46 Removing intermediate container 3b3ae4151b46 14:17:46 ---> 1cdf5635561c 14:17:46 Step 16/24 : FROM ${BASE} 14:17:46 ---> b6d714ea7bf2 14:17:46 Step 17/24 : LABEL maintainer="IOTech " 14:17:46 ---> Running in 1b19569b44e4 14:17:47 Removing intermediate container 1b19569b44e4 14:17:47 ---> 57389b938d72 14:17:47 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 14:17:47 ---> Running in 8b7549305386 14:17:48 Connecting to iotech.jfrog.io (54.229.110.245:443) 14:17:49 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 14:17:49 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 14:17:49 '/etc/apk/keys/alpine.dev.rsa.pub' saved 14:17:50 Removing intermediate container 8b7549305386 14:17:50 ---> 8a338f92f5df 14:17:50 Step 19/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 14:17:50 ---> Running in c4008e13f15d 14:17:52 Removing intermediate container c4008e13f15d 14:17:52 ---> 050ad15f9737 14:17:52 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 14:17:52 ---> Running in 058de7c04e76 14:17:53 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 14:17:54 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 14:17:54 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz 14:17:55 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:17:55 (1/7) Installing curl (7.79.1-r0) 14:17:55 (2/7) Installing hiredis (1.0.0-r0) 14:17:55 (3/7) Installing hiredis-dev (1.0.0-r0) 14:17:55 (4/7) Installing libuuid (2.37-r0) 14:17:55 (5/7) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 14:17:56 (6/7) Installing libidn2 (2.3.1-r0) 14:17:56 (7/7) Installing wget (1.21.1-r1) 14:17:57 Executing busybox-1.33.1-r3.trigger 14:17:57 OK: 276 MiB in 84 packages 14:17:58 Removing intermediate container 058de7c04e76 14:17:58 ---> c9cfde85d3f4 14:17:58 Step 21/24 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 14:17:59 ---> 5429f0aedcaf 14:17:59 Step 22/24 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 14:18:00 ---> 72605a77b7ad 14:18:00 Step 23/24 : COPY --from=builder /usr/local/lib /usr/local/lib 14:18:00 ---> b305cc3c4320 14:18:00 Step 24/24 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 14:18:01 ---> 96f50e722403 14:18:01 Successfully built 96f50e722403 14:18:01 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:18:02 + docker inspect -f . ci-base-image-arm64 14:18:02 . [Pipeline] withDockerContainer 14:18:02 prd-ubuntu18.04-docker-arm64-4c-16g-1428 does not seem to be running inside a container 14:18:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:18:04 $ docker top cfcd7681362d3781235d7d201c7097931c231fc500a3240f8513080c94650e92 -eo pid,comm [Pipeline] { [Pipeline] sh 14:18:05 + make test 14:18:05 echo "make test" 14:18:05 make test [Pipeline] } 14:18:05 $ docker stop --time=1 cfcd7681362d3781235d7d201c7097931c231fc500a3240f8513080c94650e92 14:18:07 $ docker rm -f cfcd7681362d3781235d7d201c7097931c231fc500a3240f8513080c94650e92 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:18:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:18:08 + ls -al . 14:18:08 total 200 14:18:08 drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 14:14 . 14:18:08 drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 14:14 .. 14:18:08 drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 14:14 .git 14:18:08 drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 14:14 .github 14:18:08 -rw-rw-r-- 1 jenkins jenkins 176 Oct 14 14:14 .gitignore 14:18:08 -rw-rw-r-- 1 jenkins jenkins 3104 Oct 14 14:14 Attribution.txt 14:18:08 -rw-rw-r-- 1 jenkins jenkins 7767 Oct 14 14:14 CHANGES 14:18:08 -rw-rw-r-- 1 jenkins jenkins 108574 Oct 14 14:14 Doxyfile 14:18:08 -rw-rw-r-- 1 jenkins jenkins 677 Oct 14 14:14 GOVERNANCE.md 14:18:08 -rw-rw-r-- 1 jenkins jenkins 784 Oct 14 14:14 Jenkinsfile 14:18:08 -rw-rw-r-- 1 jenkins jenkins 10174 Oct 14 14:14 LICENSE 14:18:08 -rw-rw-r-- 1 jenkins jenkins 444 Oct 14 14:14 Makefile 14:18:08 -rw-rw-r-- 1 jenkins jenkins 618 Oct 14 14:14 OWNERS.md 14:18:08 -rw-rw-r-- 1 jenkins jenkins 4086 Oct 14 14:14 README.md 14:18:08 -rw-rw-r-- 1 jenkins jenkins 7422 Oct 14 14:14 README.v2.md 14:18:08 -rw-rw-r-- 1 jenkins jenkins 5 Oct 14 14:03 VERSION 14:18:08 drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 14:14 docs 14:18:08 drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 14:14 include 14:18:08 drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 14:14 scripts 14:18:08 drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 14:14 src [Pipeline] isUnix [Pipeline] sh 14:18:09 + 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=801750da3ff223fd5fd4a4b0b64dd3e21288b861 --label arch=arm64 --label version=0.0.0 . 14:18:09 Sending build context to Docker daemon 2.737MB 14:18:09 Step 1/17 : ARG BASE=alpine:3.14 14:18:09 Step 2/17 : FROM ${BASE} 14:18:09 ---> 96f50e722403 14:18:09 Step 3/17 : LABEL maintainer="IOTech " 14:18:09 ---> Running in 6b2b03be61c8 14:18:10 Removing intermediate container 6b2b03be61c8 14:18:10 ---> ae6e45f4c0f1 14:18:10 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 14:18:10 ---> Running in d703d9f1971d 14:18:12 --2021-10-14 14:18:11-- https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release 14:18:12 Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.72.115.12, 54.229.110.245, 54.195.244.87 14:18:12 Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.72.115.12|:443... connected. 14:18:12 HTTP request sent, awaiting response... 200 OK 14:18:12 Length: unspecified [application/json] 14:18:12 Saving to: '/etc/apk/keys/alpine.dev.rsa.pub' 14:18:12  14:18:12 0K    47.5M=0s 14:18:12 14:18:12 2021-10-14 14:18:12 (47.5 MB/s) - '/etc/apk/keys/alpine.dev.rsa.pub' saved [451] 14:18:12 14:18:13 Removing intermediate container d703d9f1971d 14:18:13 ---> f303e672f9f1 14:18:13 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 14:18:13 ---> Running in 2da0547d769b 14:18:15 Removing intermediate container 2da0547d769b 14:18:15 ---> d4cda53ae126 14:18:15 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 14:18:15 ---> Running in 551041452e2f 14:18:17 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 14:18:17 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 14:18:18 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz 14:18:19 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:18:19 (1/21) Installing ncurses-dev (6.2_p20210612-r0) 14:18:19 (2/21) Installing libblkid (2.37-r0) 14:18:19 (3/21) Installing blkid (2.37-r0) 14:18:19 (4/21) Installing libcap-ng (0.8.2-r0) 14:18:19 (5/21) Installing setpriv (2.37-r0) 14:18:19 (6/21) Installing libmount (2.37-r0) 14:18:20 (7/21) Installing libsmartcols (2.37-r0) 14:18:20 (8/21) Installing findmnt (2.37-r0) 14:18:20 (9/21) Installing mcookie (2.37-r0) 14:18:20 (10/21) Installing hexdump (2.37-r0) 14:18:20 (11/21) Installing lsblk (2.37-r0) 14:18:20 (12/21) Installing libfdisk (2.37-r0) 14:18:20 (13/21) Installing sfdisk (2.37-r0) 14:18:20 (14/21) Installing cfdisk (2.37-r0) 14:18:20 (15/21) Installing partx (2.37-r0) 14:18:20 (16/21) Installing flock (2.37-r0) 14:18:20 (17/21) Installing logger (2.37-r0) 14:18:20 (18/21) Installing uuidgen (2.37-r0) 14:18:21 (19/21) Installing libeconf (0.3.8-r1) 14:18:21 (20/21) Installing util-linux (2.37-r0) 14:18:21 (21/21) Installing util-linux-dev (2.37-r0) 14:18:21 Executing busybox-1.33.1-r3.trigger 14:18:21 OK: 286 MiB in 105 packages 14:18:23 Removing intermediate container 551041452e2f 14:18:23 ---> 948384dce037 14:18:23 Step 7/17 : COPY VERSION /edgex-c-sdk/ 14:18:24 ---> 9b67345f4b1d 14:18:24 Step 8/17 : COPY src /edgex-c-sdk/src/ 14:18:25 ---> 39c17884b440 14:18:25 Step 9/17 : COPY include /edgex-c-sdk/include/ 14:18:26 ---> 761cb0847e85 14:18:26 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 14:18:26 ---> 8cfa4af19307 14:18:26 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 14:18:27 ---> bf413b0637c3 14:18:27 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 14:18:28 ---> 9904c91b288c 14:18:28 Step 13/17 : WORKDIR /edgex-c-sdk 14:18:28 ---> Running in 2cb5854ddc8d 14:18:28 Removing intermediate container 2cb5854ddc8d 14:18:28 ---> 515b8b07f470 14:18:28 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 14:18:28 ---> Running in 2a898787d267 14:18:29 Removing intermediate container 2a898787d267 14:18:29 ---> 3860e8ea1ba7 14:18:29 Step 15/17 : LABEL arch=arm64 14:18:29 ---> Running in f0284d2c4f4a 14:18:30 Removing intermediate container f0284d2c4f4a 14:18:30 ---> 04ca445d9822 14:18:30 Step 16/17 : LABEL git_sha=801750da3ff223fd5fd4a4b0b64dd3e21288b861 14:18:30 ---> Running in d71db6d8a379 14:18:30 Removing intermediate container d71db6d8a379 14:18:30 ---> a1654e9d3edc 14:18:30 Step 17/17 : LABEL version=0.0.0 14:18:30 ---> Running in 55b9cb2fde51 14:18:31 Removing intermediate container 55b9cb2fde51 14:18:31 ---> 6fe2a91343b4 14:18:31 [Warning] One or more build-args [ARCH MAKE] were not consumed 14:18:31 Successfully built 6fe2a91343b4 14:18:31 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 14:18:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:18:32 14:18:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 14:18:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:18:32 arm64: Pulling from edgex-lftools-log-publisher 14:18:32 448f6bf000e3: Pulling fs layer 14:18:32 f757da607395: Pulling fs layer 14:18:32 05883995daec: Pulling fs layer 14:18:32 8603b9c90790: Pulling fs layer 14:18:32 1560dd03e051: Pulling fs layer 14:18:32 27f5ce0e4adf: Pulling fs layer 14:18:32 c2d8d7efcc4b: Pulling fs layer 14:18:32 8603b9c90790: Waiting 14:18:32 1560dd03e051: Waiting 14:18:32 27f5ce0e4adf: Waiting 14:18:32 c2d8d7efcc4b: Waiting 14:18:33 f757da607395: Verifying Checksum 14:18:33 f757da607395: Download complete 14:18:33 8603b9c90790: Verifying Checksum 14:18:33 8603b9c90790: Download complete 14:18:33 05883995daec: Verifying Checksum 14:18:33 05883995daec: Download complete 14:18:33 1560dd03e051: Verifying Checksum 14:18:33 1560dd03e051: Download complete 14:18:33 448f6bf000e3: Verifying Checksum 14:18:33 448f6bf000e3: Download complete 14:18:36 c2d8d7efcc4b: Verifying Checksum 14:18:36 c2d8d7efcc4b: Download complete 14:18:37 448f6bf000e3: Pull complete 14:18:38 f757da607395: Pull complete 14:18:39 05883995daec: Pull complete 14:18:39 8603b9c90790: Pull complete 14:18:40 1560dd03e051: Pull complete 14:18:41 27f5ce0e4adf: Pull complete 14:18:56 c2d8d7efcc4b: Pull complete 14:18:56 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 14:18:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:18:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 14:18:56 prd-ubuntu18.04-docker-arm64-4c-16g-1428 does not seem to be running inside a container 14:18:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 14:19:01 $ docker top fca6aea267cf1ba37106ffb14edcae353e0bace0544d7a081a3be1f2f0d5a3d7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:19:02 ---> job-cost.sh 14:19:02 lf-activate-venv: SKIPPING 14:19:02 INFO: No Stack... 14:19:08 INFO: Retrieving Pricing Info for: v3-standard-4 14:19:08 INFO: Archiving Costs [Pipeline] sh 14:19:09 + + cat /w/workspace/device-sdk-c/2/archives/cost.csv 14:19:09 cut -d, -f6 [Pipeline] lock 14:19:09 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-382-2-stack-cost] 14:19:09 Resource [jenkins-edgexfoundry-device-sdk-c-PR-382-2-stack-cost] did not exist. Created. 14:19:09 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-382-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:19:10 /w/workspace/device-sdk-c/2@tmp/durable-39922dda/script.sh: 1: /w/workspace/device-sdk-c/2@tmp/durable-39922dda/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 14:19:10 + echo total: 0.10999999940395355 [Pipeline] stash 14:19:10 Warning: overwriting stash ‘stack-cost’ 14:19:11 Stashed 1 file(s) [Pipeline] } 14:19:11 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-382-2-stack-cost] [Pipeline] // lock [Pipeline] } 14:19:11 $ docker stop --time=1 fca6aea267cf1ba37106ffb14edcae353e0bace0544d7a081a3be1f2f0d5a3d7 14:19:13 $ docker rm -f fca6aea267cf1ba37106ffb14edcae353e0bace0544d7a081a3be1f2f0d5a3d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 14:19:14 + '[' -d /w/workspace/edgexfoundry_device-sdk-c_PR-382/archives ']' [Pipeline] libraryResource [Pipeline] sh 14:19:14 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:19:14 ---> package-listing.sh 14:19:14 ++ facter osfamily 14:19:14 ++ tr '[:upper:]' '[:lower:]' 14:19:15 + OS_FAMILY=redhat 14:19:15 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-382 14:19:15 + START_PACKAGES=/tmp/packages_start.txt 14:19:15 + END_PACKAGES=/tmp/packages_end.txt 14:19:15 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:19:15 + PACKAGES=/tmp/packages_start.txt 14:19:15 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-382 ']' 14:19:15 + PACKAGES=/tmp/packages_end.txt 14:19:15 + case "${OS_FAMILY}" in 14:19:15 + sort 14:19:15 + rpm -qa 14:19:15 + '[' -f /tmp/packages_start.txt ']' 14:19:15 + '[' -f /tmp/packages_end.txt ']' 14:19:15 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:19:15 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-382 ']' 14:19:15 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-382/archives/ 14:19:15 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-382/archives/ [Pipeline] echo 14:19:15 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-382/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 14:19:16 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 14:19:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:19:16 14:19:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 14:19:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:19:17 latest: Pulling from edgex-lftools-log-publisher 14:19:17 b4d181a07f80: Pulling fs layer 14:19:17 a1111a8f2ec3: Pulling fs layer 14:19:17 ed53099fbce6: Pulling fs layer 14:19:17 dc539afda2c1: Pulling fs layer 14:19:17 77bc0d833cb6: Pulling fs layer 14:19:17 9065ff56babe: Pulling fs layer 14:19:17 d287ab97295c: Pulling fs layer 14:19:17 77bc0d833cb6: Waiting 14:19:17 9065ff56babe: Waiting 14:19:17 d287ab97295c: Waiting 14:19:17 dc539afda2c1: Waiting 14:19:17 a1111a8f2ec3: Download complete 14:19:17 dc539afda2c1: Verifying Checksum 14:19:17 dc539afda2c1: Download complete 14:19:17 ed53099fbce6: Verifying Checksum 14:19:17 ed53099fbce6: Download complete 14:19:17 9065ff56babe: Verifying Checksum 14:19:17 9065ff56babe: Download complete 14:19:17 77bc0d833cb6: Verifying Checksum 14:19:17 77bc0d833cb6: Download complete 14:19:17 b4d181a07f80: Verifying Checksum 14:19:17 b4d181a07f80: Download complete 14:19:17 d287ab97295c: Verifying Checksum 14:19:17 d287ab97295c: Download complete 14:19:18 b4d181a07f80: Pull complete 14:19:18 a1111a8f2ec3: Pull complete 14:19:19 ed53099fbce6: Pull complete 14:19:19 dc539afda2c1: Pull complete 14:19:19 77bc0d833cb6: Pull complete 14:19:19 9065ff56babe: Pull complete 14:19:24 d287ab97295c: Pull complete 14:19:24 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 14:19:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:19:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 14:19:24 prd-centos7-docker-4c-2g-1413 does not seem to be running inside a container 14:19:24 $ 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-382/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-382 -v /w/workspace/edgexfoundry_device-sdk-c_PR-382:/w/workspace/edgexfoundry_device-sdk-c_PR-382:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-382@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-382@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:19:26 $ docker top b01a4933d9024852a8c864103129c07467f2bb8d271f44186a0bfc7cb3d008bc -eo pid,comm [Pipeline] { [Pipeline] sh 14:19:26 + touch /tmp/pre-build-complete [Pipeline] sh 14:19:27 + mkdir -p /var/log/sysstat [Pipeline] sh 14:19:27 + ls /var/log/sa-host 14:19:27 + sadf -c /var/log/sa-host/sa14 14:19:27 file_magic: OK 14:19:27 HZ: Using current value: 100 14:19:27 file_header: OK 14:19:27 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 14:19:27 Statistics: 14:19:27 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 14:19:27 File successfully converted to sysstat format version 12.0.3 14:19:27 + sadf -c /var/log/sa-host/sa30 14:19:27 file_magic: OK 14:19:27 HZ: Using current value: 100 14:19:27 file_header: OK 14:19:27 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 14:19:27 Statistics: 14:19:27 Hnuu...uuuununununu...Hnuu...uuuununununu... 14:19:27 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:19:27 provisioning config files... 14:19:27 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-382@tmp/config2817141927737252603tmp [Pipeline] { [Pipeline] echo 14:19:27 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:19:27 ---> create-netrc.sh [Pipeline] } 14:19:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:19:28 ---> python-tools-install.sh [Pipeline] echo 14:19:28 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:19:28 ---> sudo-logs.sh 14:19:28 Archiving 'sudo' log.. 14:19:28 sudo: unable to resolve host prd-centos7-docker-4c-2g-1413.novalocal: Name or service not known 14:19:28 sudo: unable to resolve host prd-centos7-docker-4c-2g-1413.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 14:19:28 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:19:28 ---> job-cost.sh 14:19:28 lf-activate-venv: SKIPPING 14:19:28 DEBUG: total: 0.10999999940395355 14:19:28 INFO: Retrieving Stack Cost... 14:19:29 INFO: Retrieving Pricing Info for: v3-standard-2 14:19:29 INFO: Archiving Costs [Pipeline] echo 14:19:29 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:19:30 ---> logs-deploy.sh 14:19:30 lf-activate-venv: SKIPPING 14:19:30 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-382/2 14:19:30 INFO: archiving workspace using pattern(s): 14:19:30 Archives upload complete. 14:19:30 INFO: archiving logs to Nexus