Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 989fcf480b12b46cf08b8d06d57a888d847882bb 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-ssh5466480702276332818.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-ssh8528385973256782353.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/main/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/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3329400520487157732.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-ssh737910144275168692.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/main/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/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh310538543533036454.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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-1447 in /w/workspace/edgexfoundry_device-sdk-c_main [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_main # 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_main@tmp/jenkins-gitclient-ssh4933832264954362703.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 989fcf480b12b46cf08b8d06d57a888d847882bb (main) > 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 core.sparsecheckout # timeout=10 > git checkout -f 989fcf480b12b46cf08b8d06d57a888d847882bb # timeout=10 Commit message: "fix: stop device autoevents before releasing memory (#382)" > git rev-list --no-walk b33a799834278c94191ed5db2afedc6f631595ea # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:14:11 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:14:11 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:14:11 ========================================================= 15:14:11 EdgeX Global Pipelines Version Info 15:14:11 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:14:12 ------------------- 15:14:12 stable info: 15:14:12 ------------------- 15:14:12 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:14:12 Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 15:14:12 Message: update stable to v1.0.210 15:14:13 ------------------- 15:14:13 experimental info: 15:14:13 ------------------- 15:14:13 Commited By: **** collab-it+edgex@linuxfoundation.org 15:14:13 Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 15:14:13 Message: update experimental to v1.0.210 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:14:13 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 15:14:13 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 15:14:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:14:13 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:14:13 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:14:13 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo 15:14:13 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 15:14:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 15:14:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:14:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:14:13 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 15:14:13 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:14:13 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:14:13 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:14:13 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 15:14:13 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:14:13 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:14:13 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:14:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 15:14:13 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 15:14:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 15:14:13 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 989fcf480b12b46cf08b8d06d57a888d847882bb [Pipeline] echo 15:14:13 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 989fcf4 [Pipeline] echo 15:14:13 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:14:13 provisioning config files... 15:14:13 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config4767634985672293127tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:14:13 ---> docker-login.sh 15:14:13 nexus3.edgexfoundry.org:10001 15:14:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:14:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:14:14 Configure a credential helper to remove this warning. See 15:14:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:14:14 15:14:14 Login Succeeded 15:14:14 nexus3.edgexfoundry.org:10002 15:14:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:14:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:14:14 Configure a credential helper to remove this warning. See 15:14:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:14:14 15:14:14 Login Succeeded 15:14:14 nexus3.edgexfoundry.org:10003 15:14:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:14:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:14:14 Configure a credential helper to remove this warning. See 15:14:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:14:14 15:14:14 Login Succeeded 15:14:14 nexus3.edgexfoundry.org:10004 15:14:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:14:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:14:14 Configure a credential helper to remove this warning. See 15:14:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:14:14 15:14:14 Login Succeeded 15:14:14 docker.io 15:14:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:14:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:14:15 Configure a credential helper to remove this warning. See 15:14:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:14:15 15:14:15 Login Succeeded 15:14:15 ---> docker-login.sh ends [Pipeline] } 15:14:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 15:14:15 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:14:15 15:14:15 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:14:16 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:14:16 latest: Pulling from edgex-devops/git-semver 15:14:16 a0d0a0d46f8b: Pulling fs layer 15:14:16 3e5f54012d9b: Pulling fs layer 15:14:16 4c7163046ea9: Pulling fs layer 15:14:16 0c2d73faf560: Pulling fs layer 15:14:16 0c2d73faf560: Waiting 15:14:16 3e5f54012d9b: Verifying Checksum 15:14:16 3e5f54012d9b: Download complete 15:14:16 a0d0a0d46f8b: Verifying Checksum 15:14:16 a0d0a0d46f8b: Download complete 15:14:16 4c7163046ea9: Verifying Checksum 15:14:16 4c7163046ea9: Download complete 15:14:16 0c2d73faf560: Verifying Checksum 15:14:16 0c2d73faf560: Download complete 15:14:16 a0d0a0d46f8b: Pull complete 15:14:16 3e5f54012d9b: Pull complete 15:14:16 4c7163046ea9: Pull complete 15:14:17 0c2d73faf560: Pull complete 15:14:17 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 15:14:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:14:17 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 15:14:17 prd-centos7-docker-4c-2g-1447 does not seem to be running inside a container 15:14:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:14:17 $ docker top 0f595bbbad6682999ba78b19fbbecdb0a5b7830b254d7be83dc6393f122f2c0d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:14:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:14:17 [ssh-agent] Looking for ssh-agent implementation... 15:14:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:14:17 $ docker exec 0f595bbbad6682999ba78b19fbbecdb0a5b7830b254d7be83dc6393f122f2c0d ssh-agent 15:14:18 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXnBciBa/agent.14 15:14:18 SSH_AGENT_PID=20 15:14:18 Running ssh-add (command line suppressed) 15:14:17 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_8230674250013613657.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_8230674250013613657.key) 15:14:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:14:18 + git tag --points-at HEAD [Pipeline] } 15:14:18 $ docker exec --env ******** --env ******** 0f595bbbad6682999ba78b19fbbecdb0a5b7830b254d7be83dc6393f122f2c0d ssh-agent -k 15:14:18 unset SSH_AUTH_SOCK; 15:14:18 unset SSH_AGENT_PID; 15:14:18 echo Agent pid 20 killed; 15:14:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:14:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:14:18 [ssh-agent] Looking for ssh-agent implementation... 15:14:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:14:18 $ docker exec 0f595bbbad6682999ba78b19fbbecdb0a5b7830b254d7be83dc6393f122f2c0d ssh-agent 15:14:18 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXgjkoGk/agent.55 15:14:18 SSH_AGENT_PID=61 15:14:18 Running ssh-add (command line suppressed) 15:14:18 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_5938201017506005466.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_5938201017506005466.key) 15:14:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:14:19 + git semver init 15:14:19 # -> Open(): unable to determine branch for HEAD 15:14:19 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.git 15:14:19 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_main 15:14:19 # $SEMVER_REMOTE_NAME = origin 15:14:19 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:14:19 # $SEMVER_USER_NAME = edgex-jenkins 15:14:19 # $SEMVER_BRANCH = main 15:14:19 # $SEMVER_TEMP = /tmp/semver-541548297 15:14:19 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 15:14:20 # '/tmp/semver-541548297' -> '/w/workspace/edgexfoundry_device-sdk-c_main/.semver' 15:14:20 # -> Force: false 15:14:20 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.semver [Pipeline] } 15:14:19 $ docker exec --env ******** --env ******** 0f595bbbad6682999ba78b19fbbecdb0a5b7830b254d7be83dc6393f122f2c0d ssh-agent -k 15:14:20 unset SSH_AUTH_SOCK; 15:14:20 unset SSH_AGENT_PID; 15:14:20 echo Agent pid 61 killed; 15:14:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:14:20 + git semver [Pipeline] } 15:14:20 $ docker stop --time=1 0f595bbbad6682999ba78b19fbbecdb0a5b7830b254d7be83dc6393f122f2c0d 15:14:21 $ docker rm -f 0f595bbbad6682999ba78b19fbbecdb0a5b7830b254d7be83dc6393f122f2c0d [Pipeline] // withDockerContainer [Pipeline] sh 15:14:21 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:14:22 Stashed 1 file(s) [Pipeline] echo 15:14:22 [edgeXSemver]: initialized semver on version 2.0.1-dev.11 [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 15:14:37 Still waiting to schedule task 15:14:37 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1447’ 15:14:37 Still waiting to schedule task 15:14:37 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 15:16:54 Running on prd-centos7-docker-4c-2g-1449 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] ws 15:16:54 Running in /w/workspace/device-sdk-c/12 [Pipeline] { [Pipeline] checkout 15:16:54 Selected Git installation does not exist. Using Default 15:16:54 The recommended git tool is: NONE 15:16:56 using credential edgex-jenkins-ssh 15:16:56 Cloning the remote Git repository 15:16:55 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 15:16:56 > git init /w/workspace/device-sdk-c/12 # timeout=10 15:16:56 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 15:16:56 > git --version # timeout=10 15:16:56 > git --version # 'git version 2.24.4' 15:16:56 using GIT_SSH to set credentials SSH Credentials for GitHub 15:16:56 [INFO] Currently running in a labeled security context 15:16:56 [INFO] Currently SELinux is 'enforcing' on the host 15:16:56 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/12@tmp/jenkins-gitclient-ssh734771915145967136.key 15:16:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:16:57 Avoid second fetch 15:16:57 Checking out Revision 989fcf480b12b46cf08b8d06d57a888d847882bb (main) 15:16:57 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 15:16:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:16:57 > git config core.sparsecheckout # timeout=10 15:16:57 > git checkout -f 989fcf480b12b46cf08b8d06d57a888d847882bb # timeout=10 15:17:01 Commit message: "fix: stop device autoevents before releasing memory (#382)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:17:01 provisioning config files... 15:17:01 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/12@tmp/config5544407981500209330tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:17:02 ---> docker-login.sh 15:17:02 nexus3.edgexfoundry.org:10001 15:17:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:17:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:17:02 Configure a credential helper to remove this warning. See 15:17:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:17:02 15:17:02 Login Succeeded 15:17:02 nexus3.edgexfoundry.org:10002 15:17:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:17:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:17:02 Configure a credential helper to remove this warning. See 15:17:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:17:02 15:17:02 Login Succeeded 15:17:02 nexus3.edgexfoundry.org:10003 15:17:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:17:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:17:02 Configure a credential helper to remove this warning. See 15:17:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:17:02 15:17:02 Login Succeeded 15:17:02 nexus3.edgexfoundry.org:10004 15:17:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:17:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:17:02 Configure a credential helper to remove this warning. See 15:17:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:17:02 15:17:02 Login Succeeded 15:17:02 docker.io 15:17:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:17:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:17:03 Configure a credential helper to remove this warning. See 15:17:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:17:03 15:17:03 Login Succeeded 15:17:03 ---> docker-login.sh ends [Pipeline] } 15:17:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:17:03 ========================================================= 15:17:03 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 15:17:03 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 15:17:03 + 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 . 15:17:03 Sending build context to Docker daemon 2.707MB 15:17:03 Step 1/24 : ARG BASE=alpine:3.14 15:17:03 Step 2/24 : FROM ${BASE} as builder 15:17:03 latest: Pulling from edgex-devops/edgex-gcc-base 15:17:03 a0d0a0d46f8b: Pulling fs layer 15:17:03 39017ce70367: Pulling fs layer 15:17:03 dcf9283bb20a: Pulling fs layer 15:17:03 39017ce70367: Verifying Checksum 15:17:03 39017ce70367: Download complete 15:17:03 a0d0a0d46f8b: Download complete 15:17:04 a0d0a0d46f8b: Pull complete 15:17:04 39017ce70367: Pull complete 15:17:04 dcf9283bb20a: Download complete 15:17:07 dcf9283bb20a: Pull complete 15:17:07 Digest: sha256:2a2af42e0978abc69143d34e5140e0e2b13385d9fcf9e2292ee97f6b0c1f1d72 15:17:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 15:17:07 ---> a4e04833b611 15:17:07 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 15:17:08 ---> Running in d33a27e0b1f5 15:17:08 Connecting to iotech.jfrog.io (54.72.115.12:443) 15:17:09 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 15:17:09 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 15:17:09 '/etc/apk/keys/alpine.dev.rsa.pub' saved 15:17:09 Removing intermediate container d33a27e0b1f5 15:17:09 ---> de01ee3bc44c 15:17:09 Step 4/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 15:17:09 ---> Running in 627b36954471 15:17:09 Removing intermediate container 627b36954471 15:17:09 ---> b7c9c7002b06 15:17:09 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 15:17:09 ---> Running in c47c1f672690 15:17:10 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 15:17:11 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 15:17:11 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz 15:17:11 WARNING: This apk-tools is OLD! Some packages might not function properly. 15:17:11 (1/27) Installing hiredis (1.0.0-r0) 15:17:11 (2/27) Installing hiredis-dev (1.0.0-r0) 15:17:11 (3/27) Installing ncurses-dev (6.2_p20210612-r0) 15:17:11 (4/27) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 15:17:12 (5/27) Installing libblkid (2.37-r0) 15:17:13 (6/27) Installing blkid (2.37-r0) 15:17:13 (7/27) Installing libcap-ng (0.8.2-r0) 15:17:13 (8/27) Installing setpriv (2.37-r0) 15:17:13 (9/27) Installing libmount (2.37-r0) 15:17:13 (10/27) Installing libsmartcols (2.37-r0) 15:17:13 (11/27) Installing findmnt (2.37-r0) 15:17:13 (12/27) Installing mcookie (2.37-r0) 15:17:13 (13/27) Installing hexdump (2.37-r0) 15:17:13 (14/27) Installing lsblk (2.37-r0) 15:17:13 (15/27) Installing libuuid (2.37-r0) 15:17:13 (16/27) Installing libfdisk (2.37-r0) 15:17:13 (17/27) Installing sfdisk (2.37-r0) 15:17:14 (18/27) Installing cfdisk (2.37-r0) 15:17:14 (19/27) Installing partx (2.37-r0) 15:17:14 (20/27) Installing flock (2.37-r0) 15:17:14 (21/27) Installing logger (2.37-r0) 15:17:14 (22/27) Installing uuidgen (2.37-r0) 15:17:14 (23/27) Installing libeconf (0.3.8-r1) 15:17:14 (24/27) Installing util-linux (2.37-r0) 15:17:14 (25/27) Installing util-linux-dev (2.37-r0) 15:17:14 (26/27) Installing libidn2 (2.3.1-r0) 15:17:15 (27/27) Installing wget (1.21.1-r1) 15:17:15 Executing busybox-1.33.1-r3.trigger 15:17:15 OK: 291 MiB in 104 packages 15:17:15 Removing intermediate container c47c1f672690 15:17:15 ---> 1c9f4eff2564 15:17:15 Step 6/24 : ENV CBOR_VERSION=0.5.0 15:17:15 ---> Running in 613824294b71 15:17:15 Removing intermediate container 613824294b71 15:17:15 ---> c43745aaeb50 15:17:15 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 15:17:15 ---> Running in 59d55004f202 15:17:16 --2021-10-14 15:17:15-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 15:17:16 Resolving github.com (github.com)... 140.82.113.4 15:17:16 Connecting to github.com (github.com)|140.82.113.4|:443... connected. 15:17:16 HTTP request sent, awaiting response... 302 Found 15:17:16 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 15:17:16 --2021-10-14 15:17:16-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 15:17:16 Resolving codeload.github.com (codeload.github.com)... 140.82.114.9 15:17:16 Connecting to codeload.github.com (codeload.github.com)|140.82.114.9|:443... connected. 15:17:16 HTTP request sent, awaiting response... 200 OK 15:17:16 Length: unspecified [application/x-gzip] 15:17:16 Saving to: 'STDOUT' 15:17:16  15:17:16 0K .......... .......... .......... .......... .......... 1.02M 15:17:16 50K .......... .......... .......... .......... .......... 2.07M 15:17:16 100K .......... .......... .......... .......... .......... 28.6M 15:17:16 150K .......... .......... .......... .......... .......... 2.18M 15:17:16 200K .......... .......... .......... .......... .......... 21.5M 15:17:16 250K .......... .......... .......... .......... .......... 7.87M 15:17:16 300K .......... .......... .......... .......... .......... 18.8M 15:17:16 350K .......... .......... .......... .......... .......... 4.10M 15:17:16 400K .......... .......... .......... .......... .......... 34.3M 15:17:16 450K .......... .......... .......... .......... .......... 20.3M 15:17:16 500K .......... .......... .......... .......... .......... 33.0M 15:17:16 550K .......... .......... .......... .......... .......... 11.3M 15:17:16 600K .......... .......... .......... .......... .......... 5.52M 15:17:16 650K .......... .......... .......... .......... .......... 4.40M 15:17:16 700K .. 73.3M=0.1s 15:17:16 15:17:16 2021-10-14 15:17:16 (4.63 MB/s) - written to stdout [719348] 15:17:16 15:17:16 -- The C compiler identification is GNU 10.3.1 15:17:16 -- The CXX compiler identification is GNU 10.3.1 15:17:16 -- Detecting C compiler ABI info 15:17:16 -- Detecting C compiler ABI info - done 15:17:16 -- Check for working C compiler: /usr/bin/cc - skipped 15:17:16 -- Detecting C compile features 15:17:16 -- Detecting C compile features - done 15:17:16 -- Detecting CXX compiler ABI info 15:17:16 -- Detecting CXX compiler ABI info - done 15:17:17 -- Check for working CXX compiler: /usr/bin/c++ - skipped 15:17:17 -- Detecting CXX compile features 15:17:17 -- Detecting CXX compile features - done 15:17:17 -- Looking for include file endian.h 15:17:17 -- Looking for include file endian.h - found 15:17:17 -- Looking for sys/types.h 15:17:17 -- Looking for sys/types.h - found 15:17:17 -- Looking for stdint.h 15:17:17 -- Looking for stdint.h - found 15:17:17 -- Looking for stddef.h 15:17:17 -- Looking for stddef.h - found 15:17:17 -- Check size of size_t 15:17:17 -- Check size of size_t - done 15:17:17 CMake Warning at examples/CMakeLists.txt:16 (find_package): 15:17:17 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 15:17:17 asked CMake to find a package configuration file provided by "cJSON", but 15:17:17 CMake did not find one. 15:17:17 15:17:17 Could not find a package configuration file provided by "cJSON" with any of 15:17:17 the following names: 15:17:17 15:17:17 cJSONConfig.cmake 15:17:17 cjson-config.cmake 15:17:17 15:17:17 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 15:17:17 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 15:17:17 provides a separate development package or SDK, be sure it has been 15:17:17 installed. 15:17:17 15:17:17 15:17:17 -- Configuring done 15:17:17 -- Generating done 15:17:17 -- Build files have been written to: /tmp/cbor 15:17:17 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 15:17:17 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 15:17:17 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 15:17:17 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 15:17:17 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 15:17:17 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 15:17:18 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 15:17:18 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 15:17:18 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 15:17:18 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 15:17:18 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 15:17:18 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 15:17:18 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 15:17:18 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 15:17:18 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 15:17:18 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 15:17:18 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 15:17:18 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 15:17:18 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 15:17:18 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 15:17:18 [ 40%] Linking C shared library libcbor.so 15:17:19 [ 40%] Built target cbor_shared 15:17:19 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 15:17:19 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 15:17:19 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 15:17:19 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 15:17:20 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 15:17:20 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 15:17:20 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 15:17:20 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 15:17:20 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 15:17:20 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 15:17:20 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 15:17:20 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 15:17:20 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 15:17:20 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 15:17:20 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 15:17:20 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 15:17:20 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 15:17:20 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 15:17:20 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 15:17:21 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 15:17:21 [ 80%] Linking C static library libcbor.a 15:17:21 [ 80%] Built target cbor 15:17:21 [ 82%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 15:17:21 [ 84%] Linking C executable readfile 15:17:21 [ 84%] Built target readfile 15:17:21 [ 86%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 15:17:21 [ 88%] Linking C executable create_items 15:17:21 [ 88%] Built target create_items 15:17:21 [ 90%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 15:17:21 [ 92%] Linking C executable sort 15:17:21 [ 92%] Built target sort 15:17:21 [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 15:17:21 [ 96%] Linking C executable hello 15:17:21 [ 96%] Built target hello 15:17:21 [ 98%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 15:17:21 [100%] Linking C executable streaming_parser 15:17:21 [100%] Built target streaming_parser 15:17:21 Install the project... 15:17:21 -- Install configuration: "Release" 15:17:21 -- Installing: /usr/local/include/cbor/configuration.h 15:17:21 -- Installing: /usr/local/lib/libcbor.a 15:17:21 -- Installing: /usr/local/lib/libcbor.so.0.0.0 15:17:21 -- Installing: /usr/local/lib/libcbor.so.0 15:17:21 -- Installing: /usr/local/lib/libcbor.so 15:17:21 -- Up-to-date: /usr/local/include/cbor 15:17:21 -- Installing: /usr/local/include/cbor/arrays.h 15:17:21 -- Installing: /usr/local/include/cbor/bytestrings.h 15:17:21 -- Installing: /usr/local/include/cbor/callbacks.h 15:17:21 -- Installing: /usr/local/include/cbor/common.h 15:17:21 -- Installing: /usr/local/include/cbor/data.h 15:17:21 -- Installing: /usr/local/include/cbor/encoding.h 15:17:21 -- Installing: /usr/local/include/cbor/floats_ctrls.h 15:17:21 -- Installing: /usr/local/include/cbor/internal 15:17:21 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 15:17:21 -- Installing: /usr/local/include/cbor/internal/encoders.h 15:17:21 -- Installing: /usr/local/include/cbor/internal/loaders.h 15:17:21 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 15:17:21 -- Installing: /usr/local/include/cbor/internal/stack.h 15:17:21 -- Installing: /usr/local/include/cbor/internal/unicode.h 15:17:21 -- Installing: /usr/local/include/cbor/ints.h 15:17:21 -- Installing: /usr/local/include/cbor/maps.h 15:17:21 -- Installing: /usr/local/include/cbor/serialization.h 15:17:21 -- Installing: /usr/local/include/cbor/streaming.h 15:17:21 -- Installing: /usr/local/include/cbor/strings.h 15:17:21 -- Installing: /usr/local/include/cbor/tags.h 15:17:21 -- Installing: /usr/local/include/cbor.h 15:17:21 -- Installing: /usr/local/lib/pkgconfig/libcbor.pc 15:17:22 Removing intermediate container 59d55004f202 15:17:22 ---> 36dcd536c0e0 15:17:22 Step 8/24 : RUN mkdir /tmp/sdk 15:17:22 ---> Running in 52b6caa82c5d 15:17:22 Removing intermediate container 52b6caa82c5d 15:17:22 ---> ddf1ae804b72 15:17:22 Step 9/24 : COPY VERSION /tmp/sdk 15:17:22 ---> 1469d8ccea8f 15:17:22 Step 10/24 : COPY src /tmp/sdk/src 15:17:23 ---> 0ecbc9f5b7df 15:17:23 Step 11/24 : COPY include /tmp/sdk/include 15:17:23 ---> 4c2512586997 15:17:23 Step 12/24 : COPY scripts /tmp/sdk/scripts 15:17:23 ---> d10e0eff6bcf 15:17:23 Step 13/24 : COPY LICENSE /tmp/sdk 15:17:23 ---> 3e9f0921574f 15:17:23 Step 14/24 : COPY Attribution.txt /tmp/sdk 15:17:23 ---> 598f1121215b 15:17:23 Step 15/24 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 15:17:23 ---> Running in 78b38afcb93d 15:17:23 + CPPCHECK=false 15:17:23 + DOCGEN=false 15:17:23 + TOMLVER=SDK-0.2 15:17:23 + CUTILVER=1.2.2 15:17:23 + '[' 0 -gt 0 ] 15:17:23 + readlink -f ./scripts/build.sh 15:17:23 + dirname /tmp/sdk/scripts/build.sh 15:17:23 + dirname /tmp/sdk/scripts 15:17:23 + ROOT=/tmp/sdk 15:17:23 + cd /tmp/sdk 15:17:23 + '[' '!' -d deps ] 15:17:23 + mkdir deps 15:17:23 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 15:17:23 + tar -C deps -z -x -f - 15:17:23 --2021-10-14 15:17:23-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 15:17:23 Resolving github.com (github.com)... 140.82.113.4 15:17:23 Connecting to github.com (github.com)|140.82.113.4|:443... connected. 15:17:24 HTTP request sent, awaiting response... 302 Found 15:17:24 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 15:17:24 --2021-10-14 15:17:24-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 15:17:24 Resolving codeload.github.com (codeload.github.com)... 140.82.114.9 15:17:24 Connecting to codeload.github.com (codeload.github.com)|140.82.114.9|:443... connected. 15:17:24 HTTP request sent, awaiting response... 200 OK 15:17:24 Length: unspecified [application/x-gzip] 15:17:24 Saving to: 'STDOUT' 15:17:24 15:17:24 0K .......... ...... 701K=0.02s 15:17:24 15:17:24 2021-10-14 15:17:24 (701 KB/s) - written to stdout [16451] 15:17:24 15:17:24 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 15:17:24 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 15:17:24 + tar -C deps -z -x -f - 15:17:24 --2021-10-14 15:17:24-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 15:17:24 Resolving github.com (github.com)... 140.82.113.4 15:17:24 Connecting to github.com (github.com)|140.82.113.4|:443... connected. 15:17:24 HTTP request sent, awaiting response... 302 Found 15:17:24 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [following] 15:17:24 --2021-10-14 15:17:24-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 15:17:24 Resolving codeload.github.com (codeload.github.com)... 140.82.114.9 15:17:24 Connecting to codeload.github.com (codeload.github.com)|140.82.114.9|:443... connected. 15:17:24 HTTP request sent, awaiting response... 200 OK 15:17:24 Length: unspecified [application/x-gzip] 15:17:24 Saving to: 'STDOUT' 15:17:24 15:17:24 0K .......... .......... .......... .......... .......... 1.23M 15:17:24 50K .......... .......... .......... .......... .......... 2.42M 15:17:24 100K .......... .......... .......... .......... .......... 84.7M 15:17:24 150K .......... .......... .......... .........  5.28M=0.07s 15:17:24 15:17:24 2021-10-14 15:17:24 (2.73 MB/s) - written to stdout [193961] 15:17:24 15:17:24 + mkdir -p src/c/iot 15:17:24 + 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 15:17:24 + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot 15:17:24 + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot 15:17:24 + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot 15:17:24 + mkdir -p include/iot 15:17:24 + 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 15:17:24 + mkdir -p include/iot/os 15:17:24 + 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 15:17:24 + mkdir -p /tmp/sdk/build/release 15:17:24 + cd /tmp/sdk/build/release 15:17:24 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 15:17:24 -- The C compiler identification is GNU 10.3.1 15:17:24 -- Detecting C compiler ABI info 15:17:25 -- Detecting C compiler ABI info - done 15:17:25 -- Check for working C compiler: /usr/bin/cc - skipped 15:17:25 -- Detecting C compile features 15:17:25 -- Detecting C compile features - done 15:17:25 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 15:17:25 -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") 15:17:25 -- Found LIBYAML: /usr/lib/libyaml.so 15:17:25 -- Found LIBUUID: /usr/lib/libuuid.so 15:17:25 -- Found LIBCBOR: /usr/local/lib/libcbor.so 15:17:25 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 15:17:25 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 15:17:25 -- C SDK 2.0.1-dev.11 for Linux 15:17:25 -- Performing Test CSDK_HAVE_ATOMIC 15:17:25 -- Performing Test CSDK_HAVE_ATOMIC - Success 15:17:25 -- Found Curses: /usr/lib/libcurses.so 15:17:25 -- Configuring done 15:17:25 -- Generating done 15:17:25 -- Build files have been written to: /tmp/sdk/build/release 15:17:25 + make all package 15:17:25 + tee release.log 15:17:25 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 15:17:25 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 15:17:25 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 15:17:25 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 15:17:26 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 15:17:26 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 15:17:26 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 15:17:26 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 15:17:26 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 15:17:26 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 15:17:27 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 15:17:27 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 15:17:27 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 15:17:27 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 15:17:27 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 15:17:27 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 15:17:27 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 15:17:28 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 15:17:28 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 15:17:28 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 15:17:28 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 15:17:28 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 15:17:28 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 15:17:28 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 15:17:28 275 | const iot_component_factory_t * factory; 15:17:28 | ^~~~~~~ 15:17:28 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 15:17:29 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 15:17:29 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 15:17:29 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 15:17:29 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 15:17:29 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 15:17:29 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 15:17:30 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 15:17:30 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 15:17:30 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 15:17:30 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 15:17:30 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 15:17:30 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 15:17:30 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 15:17:31 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 15:17:31 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 15:17:32 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 15:17:32 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 15:17:32 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 15:17:32 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 15:17:32 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 15:17:32 /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] 15:17:32 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 15:17:32 | ^~~~~~~~~~~~~ 15:17:32 | | 15:17:32 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 15:17:32 In file included from /tmp/sdk/src/c/rest-server.c:21: 15:17:32 /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 *)' 15:17:32 2714 | MHD_KeyValueIterator iterator, 15:17:32 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 15:17:32 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 15:17:32 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 15:17:32 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 15:17:32 | ^~~~~~~~~~~~ 15:17:32 | | 15:17:32 | 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 **)} 15:17:32 In file included from /tmp/sdk/src/c/rest-server.c:21: 15:17:32 /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 **)'} 15:17:32 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 15:17:32 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 15:17:32 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 15:17:32 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 15:17:32 | ^~~~~~~~~~~~ 15:17:32 | | 15:17:32 | 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 **)} 15:17:32 In file included from /tmp/sdk/src/c/rest-server.c:21: 15:17:32 /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 **)'} 15:17:32 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 15:17:32 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 15:17:32 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 15:17:32 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 15:17:32 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 15:17:33 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 15:17:33 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 15:17:33 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 15:17:34 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 15:17:34 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 15:17:34 [ 76%] Linking C shared library libcsdk.so 15:17:34 [ 76%] Built target csdk 15:17:34 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 15:17:34 [ 79%] Linking C executable template 15:17:34 [ 79%] Built target template 15:17:34 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 15:17:34 [ 82%] Linking C executable device-counter 15:17:35 [ 82%] Built target device-counter 15:17:35 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 15:17:35 [ 85%] Linking C executable device-random 15:17:35 [ 85%] Built target device-random 15:17:35 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 15:17:35 [ 88%] Linking C executable device-gyro 15:17:35 [ 88%] Built target device-gyro 15:17:35 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 15:17:35 [ 91%] Linking C executable device-bitfields 15:17:35 [ 91%] Built target device-bitfields 15:17:35 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 15:17:35 [ 94%] Linking C executable template-discovery 15:17:35 [ 94%] Built target template-discovery 15:17:35 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 15:17:35 [ 97%] Linking C executable device-file 15:17:35 [ 97%] Built target device-file 15:17:35 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 15:17:36 [100%] Linking C executable device-terminal 15:17:36 [100%] Built target device-terminal 15:17:36 Run CPack packaging tool... 15:17:36 CPack: Create package using TGZ 15:17:36 CPack: Install projects 15:17:36 CPack: - Run preinstall target for: Csdk 15:17:36 CPack: - Install project: Csdk [] 15:17:36 CPack: Create package 15:17:36 CPack: - package: /tmp/sdk/build/release/csdk-2.0.1-dev.11.tar.gz generated. 15:17:36 + '[' false '=' true ] 15:17:36 + '[' false '=' true ] 15:17:36 + mkdir -p /tmp/sdk/build/debug 15:17:36 + cd /tmp/sdk/build/debug 15:17:36 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 15:17:36 -- The C compiler identification is GNU 10.3.1 15:17:36 -- Detecting C compiler ABI info 15:17:36 -- Detecting C compiler ABI info - done 15:17:36 -- Check for working C compiler: /usr/bin/cc - skipped 15:17:36 -- Detecting C compile features 15:17:36 -- Detecting C compile features - done 15:17:36 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 15:17:36 -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") 15:17:36 -- Found LIBYAML: /usr/lib/libyaml.so 15:17:36 -- Found LIBUUID: /usr/lib/libuuid.so 15:17:36 -- Found LIBCBOR: /usr/local/lib/libcbor.so 15:17:36 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 15:17:36 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 15:17:36 -- C SDK 2.0.1-dev.11 for Linux 15:17:36 -- Performing Test CSDK_HAVE_ATOMIC 15:17:36 -- Performing Test CSDK_HAVE_ATOMIC - Success 15:17:36 -- Found Curses: /usr/lib/libcurses.so 15:17:36 -- Configuring done 15:17:37 -- Generating done 15:17:37 -- Build files have been written to: /tmp/sdk/build/debug 15:17:37 + make 15:17:37 + tee debug.log 15:17:37 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 15:17:37 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 15:17:37 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 15:17:37 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 15:17:37 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 15:17:37 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 15:17:37 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 15:17:37 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 15:17:37 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 15:17:37 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 15:17:37 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 15:17:37 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 15:17:37 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 15:17:38 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 15:17:38 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 15:17:38 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 15:17:38 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 15:17:38 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 15:17:38 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 15:17:38 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 15:17:38 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 15:17:38 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 15:17:38 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 15:17:38 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 15:17:38 275 | const iot_component_factory_t * factory; 15:17:38 | ^~~~~~~ 15:17:38 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 15:17:38 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 15:17:39 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 15:17:39 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 15:17:39 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 15:17:39 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 15:17:39 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 15:17:39 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 15:17:39 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 15:17:39 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 15:17:39 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 15:17:39 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 15:17:39 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 15:17:39 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 15:17:39 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 15:17:39 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 15:17:40 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 15:17:40 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 15:17:40 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 15:17:40 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 15:17:40 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 15:17:40 /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] 15:17:40 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 15:17:40 | ^~~~~~~~~~~~~ 15:17:40 | | 15:17:40 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 15:17:40 In file included from /tmp/sdk/src/c/rest-server.c:21: 15:17:40 /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 *)' 15:17:40 2714 | MHD_KeyValueIterator iterator, 15:17:40 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 15:17:40 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 15:17:40 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 15:17:40 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 15:17:40 | ^~~~~~~~~~~~ 15:17:40 | | 15:17:40 | 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 **)} 15:17:40 In file included from /tmp/sdk/src/c/rest-server.c:21: 15:17:40 /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 **)'} 15:17:40 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 15:17:40 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 15:17:40 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 15:17:40 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 15:17:40 | ^~~~~~~~~~~~ 15:17:40 | | 15:17:40 | 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 **)} 15:17:40 In file included from /tmp/sdk/src/c/rest-server.c:21: 15:17:40 /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 **)'} 15:17:40 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 15:17:40 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 15:17:40 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 15:17:40 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 15:17:40 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 15:17:40 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 15:17:40 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 15:17:40 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 15:17:41 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 15:17:41 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 15:17:41 [ 76%] Linking C shared library libcsdk.so 15:17:41 [ 76%] Built target csdk 15:17:41 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 15:17:41 [ 79%] Linking C executable template 15:17:41 [ 79%] Built target template 15:17:41 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 15:17:41 [ 82%] Linking C executable device-counter 15:17:41 [ 82%] Built target device-counter 15:17:41 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 15:17:41 [ 85%] Linking C executable device-random 15:17:41 [ 85%] Built target device-random 15:17:41 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 15:17:41 [ 88%] Linking C executable device-gyro 15:17:42 [ 88%] Built target device-gyro 15:17:42 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 15:17:42 [ 91%] Linking C executable device-bitfields 15:17:42 [ 91%] Built target device-bitfields 15:17:42 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 15:17:42 [ 94%] Linking C executable template-discovery 15:17:42 [ 94%] Built target template-discovery 15:17:42 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 15:17:42 [ 97%] Linking C executable device-file 15:17:42 [ 97%] Built target device-file 15:17:42 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 15:17:42 [100%] Linking C executable device-terminal 15:17:42 [100%] Built target device-terminal 15:17:42 make: Entering directory '/tmp/sdk/build/release' 15:17:42 make[1]: Entering directory '/tmp/sdk/build/release' 15:17:42 make[2]: Entering directory '/tmp/sdk/build/release' 15:17:42 make[2]: Leaving directory '/tmp/sdk/build/release' 15:17:42 [ 76%] Built target csdk 15:17:42 make[2]: Entering directory '/tmp/sdk/build/release' 15:17:42 make[2]: Leaving directory '/tmp/sdk/build/release' 15:17:42 [ 79%] Built target template 15:17:42 make[2]: Entering directory '/tmp/sdk/build/release' 15:17:42 make[2]: Leaving directory '/tmp/sdk/build/release' 15:17:42 [ 82%] Built target device-counter 15:17:42 make[2]: Entering directory '/tmp/sdk/build/release' 15:17:42 make[2]: Leaving directory '/tmp/sdk/build/release' 15:17:42 [ 85%] Built target device-random 15:17:42 make[2]: Entering directory '/tmp/sdk/build/release' 15:17:42 make[2]: Leaving directory '/tmp/sdk/build/release' 15:17:42 [ 88%] Built target device-gyro 15:17:42 make[2]: Entering directory '/tmp/sdk/build/release' 15:17:42 make[2]: Leaving directory '/tmp/sdk/build/release' 15:17:42 [ 91%] Built target device-bitfields 15:17:42 make[2]: Entering directory '/tmp/sdk/build/release' 15:17:42 make[2]: Leaving directory '/tmp/sdk/build/release' 15:17:42 [ 94%] Built target template-discovery 15:17:42 make[2]: Entering directory '/tmp/sdk/build/release' 15:17:42 make[2]: Leaving directory '/tmp/sdk/build/release' 15:17:42 [ 97%] Built target device-file 15:17:42 make[2]: Entering directory '/tmp/sdk/build/release' 15:17:42 make[2]: Leaving directory '/tmp/sdk/build/release' 15:17:42 [100%] Built target device-terminal 15:17:42 make[1]: Leaving directory '/tmp/sdk/build/release' 15:17:42 Install the project... 15:17:42 -- Install configuration: "Release" 15:17:42 -- Installing: /usr/local/lib/libcsdk.so 15:17:42 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 15:17:42 -- Up-to-date: /usr/local/include 15:17:42 -- Installing: /usr/local/include/devsdk 15:17:42 -- Installing: /usr/local/include/devsdk/devsdk-base.h 15:17:42 -- Installing: /usr/local/include/devsdk/devsdk.h 15:17:42 -- Installing: /usr/local/include/edgex 15:17:42 -- Installing: /usr/local/include/edgex/devices.h 15:17:42 -- Installing: /usr/local/include/edgex/edgex-base.h 15:17:42 -- Installing: /usr/local/include/edgex/edgex.h 15:17:42 -- Installing: /usr/local/include/edgex/profiles.h 15:17:42 -- Installing: /usr/local/include/edgex/rest-server.h 15:17:42 -- Installing: /usr/local/include/edgex/csdk-defs.h 15:17:42 -- Installing: /usr/local/include/iot 15:17:42 -- Installing: /usr/local/include/iot/base64.h 15:17:42 -- Installing: /usr/local/include/iot/component.h 15:17:42 -- Installing: /usr/local/include/iot/config.h 15:17:42 -- Installing: /usr/local/include/iot/container.h 15:17:42 -- Installing: /usr/local/include/iot/data.h 15:17:42 -- Installing: /usr/local/include/iot/hash.h 15:17:42 -- Installing: /usr/local/include/iot/iot.h 15:17:42 -- Installing: /usr/local/include/iot/json.h 15:17:42 -- Installing: /usr/local/include/iot/logger.h 15:17:42 -- Installing: /usr/local/include/iot/os.h 15:17:42 -- Installing: /usr/local/include/iot/scheduler.h 15:17:42 -- Installing: /usr/local/include/iot/thread.h 15:17:42 -- Installing: /usr/local/include/iot/threadpool.h 15:17:42 -- Installing: /usr/local/include/iot/time.h 15:17:42 -- Installing: /usr/local/include/iot/typecode.h 15:17:42 -- Installing: /usr/local/include/iot/uuid.h 15:17:42 -- Installing: /usr/local/include/iot/os 15:17:42 -- Installing: /usr/local/include/iot/os/linux.h 15:17:42 -- Installing: /usr/local/include/iot/os/macos.h 15:17:42 -- Installing: /usr/local/include/iot/os/zephyr.h 15:17:42 -- Installing: /usr/local/include/iot/defs.h 15:17:42 -- Installing: /usr/local/share/device-sdk-c/LICENSE 15:17:42 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 15:17:42 make: Leaving directory '/tmp/sdk/build/release' 15:17:43 Removing intermediate container 78b38afcb93d 15:17:43 ---> 20a73a4fe033 15:17:43 Step 16/24 : FROM ${BASE} 15:17:43 ---> a4e04833b611 15:17:43 Step 17/24 : LABEL maintainer="IOTech " 15:17:43 ---> Running in e453d388c4fb 15:17:43 Removing intermediate container e453d388c4fb 15:17:43 ---> 1d58863e9dd8 15:17:43 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 15:17:43 ---> Running in 9e7b5c3ea69b 15:17:43 Connecting to iotech.jfrog.io (54.229.110.245:443) 15:17:44 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 15:17:44 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 15:17:44 '/etc/apk/keys/alpine.dev.rsa.pub' saved 15:17:44 Removing intermediate container 9e7b5c3ea69b 15:17:44 ---> acf48cb69d9e 15:17:44 Step 19/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 15:17:44 ---> Running in 5ade15d1e8f7 15:17:44 Removing intermediate container 5ade15d1e8f7 15:17:44 ---> c49b1f7266a3 15:17:44 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 15:17:44 ---> Running in 9ec91d7ba050 15:17:45 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 15:17:45 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 15:17:45 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz 15:17:46 WARNING: This apk-tools is OLD! Some packages might not function properly. 15:17:46 (1/7) Installing curl (7.79.1-r0) 15:17:46 (2/7) Installing hiredis (1.0.0-r0) 15:17:46 (3/7) Installing hiredis-dev (1.0.0-r0) 15:17:46 (4/7) Installing libuuid (2.37-r0) 15:17:46 (5/7) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 15:17:47 (6/7) Installing libidn2 (2.3.1-r0) 15:17:47 (7/7) Installing wget (1.21.1-r1) 15:17:48 Executing busybox-1.33.1-r3.trigger 15:17:48 OK: 282 MiB in 84 packages 15:17:48 Removing intermediate container 9ec91d7ba050 15:17:48 ---> 7b1e749cefa9 15:17:48 Step 21/24 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 15:17:48 ---> 4173aa70cb95 15:17:48 Step 22/24 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 15:17:48 ---> d80c15e02ce3 15:17:48 Step 23/24 : COPY --from=builder /usr/local/lib /usr/local/lib 15:17:48 ---> 9f49b34860f8 15:17:48 Step 24/24 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 15:17:48 ---> 44e936a65368 15:17:49 Successfully built 44e936a65368 15:17:49 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 15:17:49 + docker inspect -f . ci-base-image-x86_64 15:17:49 . [Pipeline] withDockerContainer 15:17:49 prd-centos7-docker-4c-2g-1449 does not seem to be running inside a container 15:17:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/12 -v /w/workspace/device-sdk-c/12:/w/workspace/device-sdk-c/12:rw,z -v /w/workspace/device-sdk-c/12@tmp:/w/workspace/device-sdk-c/12@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 ******** ci-base-image-x86_64 cat 15:17:49 $ docker top 7a0b7451561b17d298c75591c820a73b34ed10b8829db80368306894bf86a1e8 -eo pid,comm [Pipeline] { [Pipeline] sh 15:17:50 + make test 15:17:50 echo "make test" 15:17:50 make test [Pipeline] } 15:17:50 $ docker stop --time=1 7a0b7451561b17d298c75591c820a73b34ed10b8829db80368306894bf86a1e8 15:17:51 $ docker rm -f 7a0b7451561b17d298c75591c820a73b34ed10b8829db80368306894bf86a1e8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:17:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:17:53 + ls -al . 15:17:53 total 172 15:17:53 drwxrwxr-x. 8 jenkins jenkins 4096 Oct 14 15:16 . 15:17:53 drwxrwxr-x. 4 jenkins jenkins 30 Oct 14 15:16 .. 15:17:53 -rw-rw-r--. 1 jenkins jenkins 3104 Oct 14 15:16 Attribution.txt 15:17:53 -rw-rw-r--. 1 jenkins jenkins 7767 Oct 14 15:16 CHANGES 15:17:53 drwxrwxr-x. 2 jenkins jenkins 121 Oct 14 15:16 docs 15:17:53 -rw-rw-r--. 1 jenkins jenkins 108574 Oct 14 15:16 Doxyfile 15:17:53 drwxrwxr-x. 8 jenkins jenkins 162 Oct 14 15:17 .git 15:17:53 drwxrwxr-x. 3 jenkins jenkins 103 Oct 14 15:16 .github 15:17:53 -rw-rw-r--. 1 jenkins jenkins 176 Oct 14 15:16 .gitignore 15:17:53 -rw-rw-r--. 1 jenkins jenkins 677 Oct 14 15:16 GOVERNANCE.md 15:17:53 drwxrwxr-x. 4 jenkins jenkins 33 Oct 14 15:16 include 15:17:53 -rw-rw-r--. 1 jenkins jenkins 784 Oct 14 15:16 Jenkinsfile 15:17:53 -rw-rw-r--. 1 jenkins jenkins 10174 Oct 14 15:16 LICENSE 15:17:53 -rw-rw-r--. 1 jenkins jenkins 444 Oct 14 15:16 Makefile 15:17:53 -rw-rw-r--. 1 jenkins jenkins 618 Oct 14 15:16 OWNERS.md 15:17:53 -rw-rw-r--. 1 jenkins jenkins 4086 Oct 14 15:16 README.md 15:17:53 -rw-rw-r--. 1 jenkins jenkins 7422 Oct 14 15:16 README.v2.md 15:17:53 drwxrwxr-x. 2 jenkins jenkins 98 Oct 14 15:16 scripts 15:17:53 drwxrwxr-x. 4 jenkins jenkins 50 Oct 14 15:16 src 15:17:53 -rw-rw-r--. 1 jenkins jenkins 12 Oct 14 15:14 VERSION [Pipeline] isUnix [Pipeline] sh 15:17:53 + 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=989fcf480b12b46cf08b8d06d57a888d847882bb --label arch=amd64 --label version=2.0.1-dev.11 . 15:17:53 Sending build context to Docker daemon 2.707MB 15:17:53 Step 1/17 : ARG BASE=alpine:3.14 15:17:53 Step 2/17 : FROM ${BASE} 15:17:53 ---> 44e936a65368 15:17:53 Step 3/17 : LABEL maintainer="IOTech " 15:17:53 ---> Running in 40cfb151bedb 15:17:53 Removing intermediate container 40cfb151bedb 15:17:53 ---> b5aaa67f04d4 15:17:53 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 15:17:54 ---> Running in 522e77ebcd5a 15:17:54 --2021-10-14 15:17:54-- https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release 15:17:54 Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.229.110.245, 54.72.115.12, 54.195.244.87 15:17:54 Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.229.110.245|:443... connected. 15:17:54 HTTP request sent, awaiting response... 200 OK 15:17:54 Length: unspecified [application/json] 15:17:54 Saving to: '/etc/apk/keys/alpine.dev.rsa.pub' 15:17:54  15:17:54 0K 341M=0s 15:17:54 15:17:54 2021-10-14 15:17:54 (341 MB/s) - '/etc/apk/keys/alpine.dev.rsa.pub' saved [451] 15:17:54 15:17:55 Removing intermediate container 522e77ebcd5a 15:17:55 ---> 48f2661cffa8 15:17:55 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 15:17:55 ---> Running in def0b4eec328 15:17:55 Removing intermediate container def0b4eec328 15:17:55 ---> afcc316bc7bc 15:17:55 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 15:17:55 ---> Running in e533efc094bc 15:17:55 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 15:17:56 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 15:17:56 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz 15:17:57 WARNING: This apk-tools is OLD! Some packages might not function properly. 15:17:57 (1/21) Installing ncurses-dev (6.2_p20210612-r0) 15:17:57 (2/21) Installing libblkid (2.37-r0) 15:17:57 (3/21) Installing blkid (2.37-r0) 15:17:57 (4/21) Installing libcap-ng (0.8.2-r0) 15:17:57 (5/21) Installing setpriv (2.37-r0) 15:17:57 (6/21) Installing libmount (2.37-r0) 15:17:57 (7/21) Installing libsmartcols (2.37-r0) 15:17:58 (8/21) Installing findmnt (2.37-r0) 15:17:58 (9/21) Installing mcookie (2.37-r0) 15:17:58 (10/21) Installing hexdump (2.37-r0) 15:17:58 (11/21) Installing lsblk (2.37-r0) 15:17:58 (12/21) Installing libfdisk (2.37-r0) 15:17:58 (13/21) Installing sfdisk (2.37-r0) 15:17:58 (14/21) Installing cfdisk (2.37-r0) 15:17:58 (15/21) Installing partx (2.37-r0) 15:17:58 (16/21) Installing flock (2.37-r0) 15:17:58 (17/21) Installing logger (2.37-r0) 15:17:58 (18/21) Installing uuidgen (2.37-r0) 15:17:58 (19/21) Installing libeconf (0.3.8-r1) 15:17:59 (20/21) Installing util-linux (2.37-r0) 15:17:59 (21/21) Installing util-linux-dev (2.37-r0) 15:17:59 Executing busybox-1.33.1-r3.trigger 15:17:59 OK: 291 MiB in 105 packages 15:17:59 Removing intermediate container e533efc094bc 15:17:59 ---> 1d8061235f83 15:17:59 Step 7/17 : COPY VERSION /edgex-c-sdk/ 15:17:59 ---> 90db429a8d07 15:17:59 Step 8/17 : COPY src /edgex-c-sdk/src/ 15:18:00 ---> 0c0b8874e4aa 15:18:00 Step 9/17 : COPY include /edgex-c-sdk/include/ 15:18:00 ---> 991c13104b88 15:18:00 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 15:18:00 ---> 6486a0726dc4 15:18:00 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 15:18:00 ---> 1ccdc83d485e 15:18:00 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 15:18:00 ---> b9db689c8b8b 15:18:00 Step 13/17 : WORKDIR /edgex-c-sdk 15:18:00 ---> Running in 6ea8998fa37d 15:18:00 Removing intermediate container 6ea8998fa37d 15:18:00 ---> 3f5dce95043f 15:18:00 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 15:18:00 ---> Running in e0b5e75b57c4 15:18:00 Removing intermediate container e0b5e75b57c4 15:18:00 ---> 8cc15c128aee 15:18:00 Step 15/17 : LABEL arch=amd64 15:18:00 ---> Running in 603d250db915 15:18:00 Removing intermediate container 603d250db915 15:18:00 ---> bf5a5c70a55e 15:18:00 Step 16/17 : LABEL git_sha=989fcf480b12b46cf08b8d06d57a888d847882bb 15:18:00 ---> Running in b66fa28df459 15:18:00 Removing intermediate container b66fa28df459 15:18:00 ---> 9d83a0ecbacd 15:18:00 Step 17/17 : LABEL version=2.0.1-dev.11 15:18:00 ---> Running in 46e2ad9ad6fc 15:18:01 Removing intermediate container 46e2ad9ad6fc 15:18:01 ---> 2a844f650a4a 15:18:01 [Warning] One or more build-args [ARCH MAKE] were not consumed 15:18:01 Successfully built 2a844f650a4a 15:18:01 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 15:18:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:18:01 15:18:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 15:18:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:18:02 latest: Pulling from edgex-lftools-log-publisher 15:18:02 b4d181a07f80: Pulling fs layer 15:18:02 a1111a8f2ec3: Pulling fs layer 15:18:02 ed53099fbce6: Pulling fs layer 15:18:02 dc539afda2c1: Pulling fs layer 15:18:02 77bc0d833cb6: Pulling fs layer 15:18:02 9065ff56babe: Pulling fs layer 15:18:02 d287ab97295c: Pulling fs layer 15:18:02 77bc0d833cb6: Waiting 15:18:02 9065ff56babe: Waiting 15:18:02 d287ab97295c: Waiting 15:18:02 a1111a8f2ec3: Verifying Checksum 15:18:02 a1111a8f2ec3: Download complete 15:18:02 dc539afda2c1: Verifying Checksum 15:18:02 dc539afda2c1: Download complete 15:18:02 ed53099fbce6: Verifying Checksum 15:18:02 ed53099fbce6: Download complete 15:18:02 9065ff56babe: Verifying Checksum 15:18:02 9065ff56babe: Download complete 15:18:02 77bc0d833cb6: Verifying Checksum 15:18:02 77bc0d833cb6: Download complete 15:18:02 b4d181a07f80: Verifying Checksum 15:18:02 b4d181a07f80: Download complete 15:18:02 d287ab97295c: Verifying Checksum 15:18:02 d287ab97295c: Download complete 15:18:03 b4d181a07f80: Pull complete 15:18:03 a1111a8f2ec3: Pull complete 15:18:04 ed53099fbce6: Pull complete 15:18:04 dc539afda2c1: Pull complete 15:18:04 77bc0d833cb6: Pull complete 15:18:04 9065ff56babe: Pull complete 15:18:10 d287ab97295c: Pull complete 15:18:10 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 15:18:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:18:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 15:18:10 prd-centos7-docker-4c-2g-1449 does not seem to be running inside a container 15:18:10 $ 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/12 -v /w/workspace/device-sdk-c/12:/w/workspace/device-sdk-c/12:rw,z -v /w/workspace/device-sdk-c/12@tmp:/w/workspace/device-sdk-c/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:18:12 $ docker top ec2d3fa98869f5e98620e5fe5a7c6a76ba3c9ca681c22a3f49b8ad00762b9572 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:18:13 ---> job-cost.sh 15:18:13 lf-activate-venv: SKIPPING 15:18:13 INFO: No Stack... 15:18:14 INFO: Retrieving Pricing Info for: v3-standard-2 15:18:14 INFO: Archiving Costs [Pipeline] sh 15:18:14 + cat /w/workspace/device-sdk-c/12/archives/cost.csv 15:18:14 + cut -d, -f6 [Pipeline] lock 15:18:14 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-12-stack-cost] 15:18:14 Resource [jenkins-edgexfoundry-device-sdk-c-main-12-stack-cost] did not exist. Created. 15:18:14 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:18:15 + echo total: 0.05999999865889549 [Pipeline] stash 15:18:15 Stashed 1 file(s) [Pipeline] } 15:18:15 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-12-stack-cost] [Pipeline] // lock [Pipeline] } 15:18:15 $ docker stop --time=1 ec2d3fa98869f5e98620e5fe5a7c6a76ba3c9ca681c22a3f49b8ad00762b9572 15:18:16 $ docker rm -f ec2d3fa98869f5e98620e5fe5a7c6a76ba3c9ca681c22a3f49b8ad00762b9572 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 15:18:39 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1450 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] ws 15:18:39 Running in /w/workspace/device-sdk-c/12 [Pipeline] { [Pipeline] checkout 15:18:39 Selected Git installation does not exist. Using Default 15:18:39 The recommended git tool is: NONE 15:18:45 using credential edgex-jenkins-ssh 15:18:45 Cloning the remote Git repository 15:18:45 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 15:18:46 > git init /w/workspace/device-sdk-c/12 # timeout=10 15:18:46 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 15:18:46 > git --version # timeout=10 15:18:46 > git --version # 'git version 2.17.1' 15:18:46 using GIT_SSH to set credentials SSH Credentials for GitHub 15:18:46 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:18:47 Avoid second fetch 15:18:47 Checking out Revision 989fcf480b12b46cf08b8d06d57a888d847882bb (main) 15:18:47 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 15:18:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:18:47 > git config core.sparsecheckout # timeout=10 15:18:47 > git checkout -f 989fcf480b12b46cf08b8d06d57a888d847882bb # timeout=10 15:18:52 Commit message: "fix: stop device autoevents before releasing memory (#382)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:18:53 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:18:53 % Total % Received % Xferd Average Speed Time Time Time Current 15:18:53 Dload Upload Total Spent Left Speed 15:18:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 83267 0 --:--:-- --:--:-- --:--:-- 83267 [Pipeline] sh 15:18:53 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:18:54 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:18:54 + sudo tee /etc/docker/daemon.new 15:18:54 { 15:18:54 "registry-mirrors": [ 15:18:54 "https://nexus3.edgexfoundry.org:10001" 15:18:54 ], 15:18:54 "bip": "10.250.0.254/24", 15:18:54 "hosts": [ 15:18:54 "tcp://0.0.0.0:5555", 15:18:54 "unix:///var/run/docker.sock" 15:18:54 ], 15:18:54 "mtu": 1458, 15:18:54 "selinux-enabled": true, 15:18:54 "seccomp-profile": "/etc/docker/seccomp.json" 15:18:54 } [Pipeline] sh 15:18:54 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:18:54 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:19:13 provisioning config files... 15:19:13 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/12@tmp/config8361387375608579785tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:19:13 ---> docker-login.sh 15:19:13 nexus3.edgexfoundry.org:10001 15:19:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:19:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:19:15 Configure a credential helper to remove this warning. See 15:19:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:19:15 15:19:15 Login Succeeded 15:19:15 nexus3.edgexfoundry.org:10002 15:19:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:19:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:19:16 Configure a credential helper to remove this warning. See 15:19:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:19:16 15:19:16 Login Succeeded 15:19:16 nexus3.edgexfoundry.org:10003 15:19:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:19:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:19:17 Configure a credential helper to remove this warning. See 15:19:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:19:17 15:19:17 Login Succeeded 15:19:17 nexus3.edgexfoundry.org:10004 15:19:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:19:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:19:18 Configure a credential helper to remove this warning. See 15:19:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:19:18 15:19:18 Login Succeeded 15:19:18 docker.io 15:19:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:19:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:19:19 Configure a credential helper to remove this warning. See 15:19:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:19:19 15:19:19 Login Succeeded 15:19:19 ---> docker-login.sh ends [Pipeline] } 15:19:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:19:19 ========================================================= 15:19:19 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 15:19:19 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 15:19:19 + 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 . 15:19:20 Sending build context to Docker daemon 2.706MB 15:19:20 Step 1/24 : ARG BASE=alpine:3.14 15:19:20 Step 2/24 : FROM ${BASE} as builder 15:19:20 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 15:19:20 552d1f2373af: Pulling fs layer 15:19:20 f2be2b6548c6: Pulling fs layer 15:19:20 ee4ac2fe028c: Pulling fs layer 15:19:20 f2be2b6548c6: Verifying Checksum 15:19:20 f2be2b6548c6: Download complete 15:19:20 552d1f2373af: Verifying Checksum 15:19:20 552d1f2373af: Download complete 15:19:21 552d1f2373af: Pull complete 15:19:21 f2be2b6548c6: Pull complete 15:19:22 ee4ac2fe028c: Verifying Checksum 15:19:22 ee4ac2fe028c: Download complete 15:19:30 ee4ac2fe028c: Pull complete 15:19:30 Digest: sha256:4c85ded81933cf54d6808eb239bc3fea8e3bb42c9130537b51c88bfc6b01a02b 15:19:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 15:19:30 ---> b6d714ea7bf2 15:19:30 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 15:19:32 ---> Running in 340483ec79da 15:19:33 Connecting to iotech.jfrog.io (54.72.115.12:443) 15:19:34 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 15:19:34 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 15:19:34 '/etc/apk/keys/alpine.dev.rsa.pub' saved 15:19:35 Removing intermediate container 340483ec79da 15:19:35 ---> 5f4c0860d541 15:19:35 Step 4/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 15:19:35 ---> Running in d353369e1ace 15:19:38 Removing intermediate container d353369e1ace 15:19:38 ---> 7bc58d9f3df5 15:19:38 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 15:19:38 ---> Running in d0f6b603eb41 15:19:39 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 15:19:40 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 15:19:40 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz 15:19:41 WARNING: This apk-tools is OLD! Some packages might not function properly. 15:19:41 (1/27) Installing hiredis (1.0.0-r0) 15:19:41 (2/27) Installing hiredis-dev (1.0.0-r0) 15:19:41 (3/27) Installing ncurses-dev (6.2_p20210612-r0) 15:19:41 (4/27) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 15:19:42 (5/27) Installing libblkid (2.37-r0) 15:19:43 (6/27) Installing blkid (2.37-r0) 15:19:43 (7/27) Installing libcap-ng (0.8.2-r0) 15:19:43 (8/27) Installing setpriv (2.37-r0) 15:19:43 (9/27) Installing libmount (2.37-r0) 15:19:43 (10/27) Installing libsmartcols (2.37-r0) 15:19:43 (11/27) Installing findmnt (2.37-r0) 15:19:43 (12/27) Installing mcookie (2.37-r0) 15:19:43 (13/27) Installing hexdump (2.37-r0) 15:19:43 (14/27) Installing lsblk (2.37-r0) 15:19:43 (15/27) Installing libuuid (2.37-r0) 15:19:43 (16/27) Installing libfdisk (2.37-r0) 15:19:44 (17/27) Installing sfdisk (2.37-r0) 15:19:44 (18/27) Installing cfdisk (2.37-r0) 15:19:44 (19/27) Installing partx (2.37-r0) 15:19:44 (20/27) Installing flock (2.37-r0) 15:19:44 (21/27) Installing logger (2.37-r0) 15:19:44 (22/27) Installing uuidgen (2.37-r0) 15:19:44 (23/27) Installing libeconf (0.3.8-r1) 15:19:44 (24/27) Installing util-linux (2.37-r0) 15:19:45 (25/27) Installing util-linux-dev (2.37-r0) 15:19:45 (26/27) Installing libidn2 (2.3.1-r0) 15:19:45 (27/27) Installing wget (1.21.1-r1) 15:19:45 Executing busybox-1.33.1-r3.trigger 15:19:45 OK: 286 MiB in 104 packages 15:19:47 Removing intermediate container d0f6b603eb41 15:19:47 ---> 4e7be846576c 15:19:47 Step 6/24 : ENV CBOR_VERSION=0.5.0 15:19:47 ---> Running in 3da34a744258 15:19:47 Removing intermediate container 3da34a744258 15:19:47 ---> e98abc19d603 15:19:47 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 15:19:48 ---> Running in 47730e1a036a 15:19:49 --2021-10-14 15:19:49-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 15:19:49 Resolving github.com (github.com)... 140.82.113.3 15:19:49 Connecting to github.com (github.com)|140.82.113.3|:443... connected. 15:19:50 HTTP request sent, awaiting response... 302 Found 15:19:50 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 15:19:50 --2021-10-14 15:19:49-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 15:19:50 Resolving codeload.github.com (codeload.github.com)... 140.82.114.10 15:19:50 Connecting to codeload.github.com (codeload.github.com)|140.82.114.10|:443... connected. 15:19:50 HTTP request sent, awaiting response... 200 OK 15:19:50 Length: unspecified [application/x-gzip] 15:19:50 Saving to: 'STDOUT' 15:19:50  15:19:50 0K .......... .......... .......... .......... .......... 1.05M 15:19:50 50K .......... .......... .......... .......... .......... 1.86M 15:19:50 100K .......... .......... .......... .......... .......... 16.5M 15:19:50 150K .......... .......... .......... .......... .......... 2.05M 15:19:50 200K .......... .......... .......... .......... .......... 11.3M 15:19:50 250K .......... .......... .......... .......... .......... 3.54M 15:19:50 300K .......... .......... .......... .......... .......... 5.07M 15:19:50 350K .......... .......... .......... .......... .......... 4.87M 15:19:50 400K .......... .......... .......... .......... .......... 3.77M 15:19:50 450K .......... .......... .......... .......... .......... 3.95M 15:19:50 500K .......... .......... .......... .......... .......... 11.0M 15:19:50 550K .......... .......... .......... .......... .......... 1.85M 15:19:50 600K .......... .......... .......... .......... .......... 1.00M 15:19:50 650K .......... .......... .......... .......... .......... 2.07M 15:19:50 700K ..      11.3M=0.3s 15:19:50 15:19:50 2021-10-14 15:19:50 (2.58 MB/s) - written to stdout [719348] 15:19:50 15:19:50 -- The C compiler identification is GNU 10.3.1 15:19:50 -- The CXX compiler identification is GNU 10.3.1 15:19:50 -- Detecting C compiler ABI info 15:19:51 -- Detecting C compiler ABI info - done 15:19:51 -- Check for working C compiler: /usr/bin/cc - skipped 15:19:51 -- Detecting C compile features 15:19:51 -- Detecting C compile features - done 15:19:51 -- Detecting CXX compiler ABI info 15:19:51 -- Detecting CXX compiler ABI info - done 15:19:51 -- Check for working CXX compiler: /usr/bin/c++ - skipped 15:19:51 -- Detecting CXX compile features 15:19:51 -- Detecting CXX compile features - done 15:19:51 -- Looking for include file endian.h 15:19:52 -- Looking for include file endian.h - found 15:19:52 -- Looking for sys/types.h 15:19:52 -- Looking for sys/types.h - found 15:19:52 -- Looking for stdint.h 15:19:52 -- Looking for stdint.h - found 15:19:52 -- Looking for stddef.h 15:19:52 -- Looking for stddef.h - found 15:19:52 -- Check size of size_t 15:19:53 -- Check size of size_t - done 15:19:53 CMake Warning at examples/CMakeLists.txt:16 (find_package): 15:19:53 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 15:19:53 asked CMake to find a package configuration file provided by "cJSON", but 15:19:53 CMake did not find one. 15:19:53 15:19:53 Could not find a package configuration file provided by "cJSON" with any of 15:19:53 the following names: 15:19:53 15:19:53 cJSONConfig.cmake 15:19:53 cjson-config.cmake 15:19:53 15:19:53 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 15:19:53 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 15:19:53 provides a separate development package or SDK, be sure it has been 15:19:53 installed. 15:19:53 15:19:53 15:19:53 -- Configuring done 15:19:53 -- Generating done 15:19:53 -- Build files have been written to: /tmp/cbor 15:19:53 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 15:19:54 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 15:19:55 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 15:19:55 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 15:19:56 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 15:19:56 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 15:19:56 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 15:19:57 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 15:19:57 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 15:19:57 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 15:19:58 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 15:19:58 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 15:19:59 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 15:19:59 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 15:19:59 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 15:20:00 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 15:20:00 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 15:20:00 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 15:20:01 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 15:20:01 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 15:20:01 [ 40%] Linking C shared library libcbor.so 15:20:01 [ 40%] Built target cbor_shared 15:20:01 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 15:20:02 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 15:20:03 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 15:20:03 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 15:20:05 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 15:20:06 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 15:20:06 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 15:20:06 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 15:20:06 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 15:20:07 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 15:20:08 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 15:20:08 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 15:20:09 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 15:20:09 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 15:20:09 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 15:20:09 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 15:20:10 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 15:20:10 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 15:20:11 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 15:20:11 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 15:20:11 [ 80%] Linking C static library libcbor.a 15:20:11 [ 80%] Built target cbor 15:20:11 [ 82%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 15:20:11 [ 84%] Linking C executable readfile 15:20:12 [ 84%] Built target readfile 15:20:12 [ 86%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 15:20:12 [ 88%] Linking C executable create_items 15:20:12 [ 88%] Built target create_items 15:20:12 [ 90%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 15:20:12 [ 92%] Linking C executable sort 15:20:12 [ 92%] Built target sort 15:20:13 [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 15:20:13 [ 96%] Linking C executable hello 15:20:13 [ 96%] Built target hello 15:20:13 [ 98%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 15:20:13 [100%] Linking C executable streaming_parser 15:20:13 [100%] Built target streaming_parser 15:20:13 Install the project... 15:20:13 -- Install configuration: "Release" 15:20:13 -- Installing: /usr/local/include/cbor/configuration.h 15:20:13 -- Installing: /usr/local/lib/libcbor.a 15:20:13 -- Installing: /usr/local/lib/libcbor.so.0.0.0 15:20:13 -- Installing: /usr/local/lib/libcbor.so.0 15:20:13 -- Installing: /usr/local/lib/libcbor.so 15:20:13 -- Up-to-date: /usr/local/include/cbor 15:20:13 -- Installing: /usr/local/include/cbor/streaming.h 15:20:13 -- Installing: /usr/local/include/cbor/ints.h 15:20:13 -- Installing: /usr/local/include/cbor/floats_ctrls.h 15:20:13 -- Installing: /usr/local/include/cbor/bytestrings.h 15:20:13 -- Installing: /usr/local/include/cbor/encoding.h 15:20:13 -- Installing: /usr/local/include/cbor/serialization.h 15:20:13 -- Installing: /usr/local/include/cbor/data.h 15:20:13 -- Installing: /usr/local/include/cbor/common.h 15:20:13 -- Installing: /usr/local/include/cbor/callbacks.h 15:20:13 -- Installing: /usr/local/include/cbor/strings.h 15:20:13 -- Installing: /usr/local/include/cbor/tags.h 15:20:13 -- Installing: /usr/local/include/cbor/internal 15:20:13 -- Installing: /usr/local/include/cbor/internal/encoders.h 15:20:13 -- Installing: /usr/local/include/cbor/internal/loaders.h 15:20:13 -- Installing: /usr/local/include/cbor/internal/stack.h 15:20:13 -- Installing: /usr/local/include/cbor/internal/unicode.h 15:20:13 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 15:20:13 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 15:20:13 -- Installing: /usr/local/include/cbor/arrays.h 15:20:13 -- Installing: /usr/local/include/cbor/maps.h 15:20:13 -- Installing: /usr/local/include/cbor.h 15:20:13 -- Installing: /usr/local/lib/pkgconfig/libcbor.pc 15:20:15 Removing intermediate container 47730e1a036a 15:20:15 ---> 0007f6f0d080 15:20:15 Step 8/24 : RUN mkdir /tmp/sdk 15:20:15 ---> Running in 77aef4435343 15:20:17 Removing intermediate container 77aef4435343 15:20:17 ---> 22ebfdf7c16c 15:20:17 Step 9/24 : COPY VERSION /tmp/sdk 15:20:18 ---> 874cf6b063a8 15:20:18 Step 10/24 : COPY src /tmp/sdk/src 15:20:19 ---> 4beb1335b317 15:20:19 Step 11/24 : COPY include /tmp/sdk/include 15:20:20 ---> ceee56d06909 15:20:20 Step 12/24 : COPY scripts /tmp/sdk/scripts 15:20:21 ---> 07f05d65d8ce 15:20:21 Step 13/24 : COPY LICENSE /tmp/sdk 15:20:21 ---> 1e140fcd3ef6 15:20:21 Step 14/24 : COPY Attribution.txt /tmp/sdk 15:20:22 ---> edd540693b91 15:20:22 Step 15/24 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 15:20:22 ---> Running in 4154e660fb9f 15:20:24 + CPPCHECK=false 15:20:24 + DOCGEN=false 15:20:24 + TOMLVER=SDK-0.2 15:20:24 + CUTILVER=1.2.2 15:20:24 + '[' 0 -gt 0 ] 15:20:24 + readlink -f ./scripts/build.sh 15:20:24 + dirname /tmp/sdk/scripts/build.sh 15:20:24 + dirname /tmp/sdk/scripts 15:20:24 + ROOT=/tmp/sdk 15:20:24 + cd /tmp/sdk 15:20:24 + '[' '!' -d deps ] 15:20:24 + mkdir deps 15:20:24 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 15:20:24 + tar -C deps -z -x -f - 15:20:24 --2021-10-14 15:20:23-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 15:20:24 Resolving github.com (github.com)... 140.82.113.3 15:20:24 Connecting to github.com (github.com)|140.82.113.3|:443... connected. 15:20:24 HTTP request sent, awaiting response... 302 Found 15:20:24 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 15:20:24 --2021-10-14 15:20:24-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 15:20:24 Resolving codeload.github.com (codeload.github.com)... 140.82.114.10 15:20:24 Connecting to codeload.github.com (codeload.github.com)|140.82.114.10|:443... connected. 15:20:24 HTTP request sent, awaiting response... 200 OK 15:20:24 Length: unspecified [application/x-gzip] 15:20:24 Saving to: 'STDOUT' 15:20:24  15:20:24 0K .......... ...... 736K=0.02s 15:20:24 15:20:24 2021-10-14 15:20:24 (736 KB/s) - written to stdout [16451] 15:20:24 15:20:24 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 15:20:24 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 15:20:24 + tar -C deps -z -x -f - 15:20:24 --2021-10-14 15:20:24-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 15:20:27 Resolving github.com (github.com)... 140.82.113.3 15:20:27 Connecting to github.com (github.com)|140.82.113.3|:443... connected. 15:20:27 HTTP request sent, awaiting response... 302 Found 15:20:27 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [following] 15:20:27 --2021-10-14 15:20:27-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 15:20:27 Resolving codeload.github.com (codeload.github.com)... 140.82.114.10 15:20:27 Connecting to codeload.github.com (codeload.github.com)|140.82.114.10|:443... connected. 15:20:27 HTTP request sent, awaiting response... 200 OK 15:20:27 Length: unspecified [application/x-gzip] 15:20:27 Saving to: 'STDOUT' 15:20:27  15:20:27 0K .......... .......... .......... .......... .......... 918K 15:20:27 50K .......... .......... .......... .......... .......... 1.86M 15:20:27 100K .......... .......... .......... .......... .......... 1.99M 15:20:27 150K .......... .......... .......... .........  5.27M=0.1s 15:20:27 15:20:27 2021-10-14 15:20:27 (1.64 MB/s) - written to stdout [193961] 15:20:27 15:20:27 + mkdir -p src/c/iot 15:20:27 + 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 15:20:27 + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot 15:20:27 + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot 15:20:27 + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot 15:20:27 + mkdir -p include/iot 15:20:27 + 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 15:20:27 + mkdir -p include/iot/os 15:20:27 + 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 15:20:27 + mkdir -p /tmp/sdk/build/release 15:20:27 + cd /tmp/sdk/build/release 15:20:27 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 15:20:27 -- The C compiler identification is GNU 10.3.1 15:20:27 -- Detecting C compiler ABI info 15:20:28 -- Detecting C compiler ABI info - done 15:20:28 -- Check for working C compiler: /usr/bin/cc - skipped 15:20:28 -- Detecting C compile features 15:20:28 -- Detecting C compile features - done 15:20:28 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 15:20:28 -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") 15:20:28 -- Found LIBYAML: /usr/lib/libyaml.so 15:20:28 -- Found LIBUUID: /usr/lib/libuuid.so 15:20:28 -- Found LIBCBOR: /usr/local/lib/libcbor.so 15:20:28 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 15:20:28 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 15:20:28 -- C SDK 2.0.1-dev.11 for Linux 15:20:28 -- Performing Test CSDK_HAVE_ATOMIC 15:20:28 -- Performing Test CSDK_HAVE_ATOMIC - Success 15:20:29 -- Found Curses: /usr/lib/libcurses.so 15:20:29 -- Configuring done 15:20:29 -- Generating done 15:20:29 -- Build files have been written to: /tmp/sdk/build/release 15:20:29 + + teemake release.log all 15:20:29 package 15:20:29 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 15:20:30 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 15:20:30 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 15:20:33 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 15:20:33 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 15:20:33 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 15:20:34 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 15:20:35 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 15:20:35 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 15:20:37 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 15:20:39 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 15:20:39 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 15:20:40 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 15:20:41 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 15:20:41 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 15:20:42 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 15:20:42 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 15:20:45 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 15:20:45 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 15:20:46 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 15:20:46 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 15:20:47 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 15:20:47 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 15:20:47 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 15:20:47 275 | const iot_component_factory_t * factory; 15:20:47 | ^~~~~~~ 15:20:47 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 15:20:53 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 15:20:53 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 15:20:53 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 15:20:53 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 15:20:54 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 15:20:54 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 15:20:55 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 15:20:56 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 15:20:57 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 15:20:57 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 15:20:57 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 15:21:00 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 15:21:00 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 15:21:01 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 15:21:01 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 15:21:07 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 15:21:07 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 15:21:07 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 15:21:08 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 15:21:08 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 15:21:08 /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] 15:21:08 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 15:21:08 | ^~~~~~~~~~~~~ 15:21:08 | | 15:21:08 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 15:21:08 In file included from /tmp/sdk/src/c/rest-server.c:21: 15:21:08 /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 *)' 15:21:08 2714 | MHD_KeyValueIterator iterator, 15:21:08 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 15:21:08 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 15:21:08 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 15:21:08 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 15:21:08 | ^~~~~~~~~~~~ 15:21:08 | | 15:21:08 | 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 **)} 15:21:08 In file included from /tmp/sdk/src/c/rest-server.c:21: 15:21:08 /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 **)'} 15:21:08 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 15:21:08 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 15:21:08 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 15:21:08 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 15:21:08 | ^~~~~~~~~~~~ 15:21:08 | | 15:21:08 | 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 **)} 15:21:08 In file included from /tmp/sdk/src/c/rest-server.c:21: 15:21:08 /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 **)'} 15:21:08 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 15:21:08 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 15:21:09 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 15:21:11 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 15:21:11 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 15:21:12 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 15:21:12 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 15:21:15 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 15:21:18 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 15:21:19 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 15:21:20 [ 76%] Linking C shared library libcsdk.so 15:21:20 [ 76%] Built target csdk 15:21:20 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 15:21:21 [ 79%] Linking C executable template 15:21:21 [ 79%] Built target template 15:21:21 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 15:21:22 [ 82%] Linking C executable device-counter 15:21:22 [ 82%] Built target device-counter 15:21:22 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 15:21:23 [ 85%] Linking C executable device-random 15:21:23 [ 85%] Built target device-random 15:21:23 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 15:21:23 [ 88%] Linking C executable device-gyro 15:21:23 [ 88%] Built target device-gyro 15:21:23 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 15:21:24 [ 91%] Linking C executable device-bitfields 15:21:24 [ 91%] Built target device-bitfields 15:21:24 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 15:21:25 [ 94%] Linking C executable template-discovery 15:21:25 [ 94%] Built target template-discovery 15:21:26 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 15:21:26 [ 97%] Linking C executable device-file 15:21:27 [ 97%] Built target device-file 15:21:27 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 15:21:27 [100%] Linking C executable device-terminal 15:21:27 [100%] Built target device-terminal 15:21:27 Run CPack packaging tool... 15:21:27 CPack: Create package using TGZ 15:21:27 CPack: Install projects 15:21:27 CPack: - Run preinstall target for: Csdk 15:21:28 CPack: - Install project: Csdk [] 15:21:28 CPack: Create package 15:21:28 CPack: - package: /tmp/sdk/build/release/csdk-2.0.1-dev.11.tar.gz generated. 15:21:28 + '[' false '=' true ] 15:21:28 + '[' false '=' true ] 15:21:28 + mkdir -p /tmp/sdk/build/debug 15:21:28 + cd /tmp/sdk/build/debug 15:21:28 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 15:21:29 -- The C compiler identification is GNU 10.3.1 15:21:29 -- Detecting C compiler ABI info 15:21:29 -- Detecting C compiler ABI info - done 15:21:29 -- Check for working C compiler: /usr/bin/cc - skipped 15:21:29 -- Detecting C compile features 15:21:29 -- Detecting C compile features - done 15:21:29 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 15:21:29 -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") 15:21:29 -- Found LIBYAML: /usr/lib/libyaml.so 15:21:29 -- Found LIBUUID: /usr/lib/libuuid.so 15:21:29 -- Found LIBCBOR: /usr/local/lib/libcbor.so 15:21:29 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 15:21:29 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 15:21:29 -- C SDK 2.0.1-dev.11 for Linux 15:21:29 -- Performing Test CSDK_HAVE_ATOMIC 15:21:30 -- Performing Test CSDK_HAVE_ATOMIC - Success 15:21:30 -- Found Curses: /usr/lib/libcurses.so 15:21:30 -- Configuring done 15:21:30 -- Generating done 15:21:30 -- Build files have been written to: /tmp/sdk/build/debug 15:21:30 + + maketee 15:21:30 debug.log 15:21:30 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 15:21:31 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 15:21:31 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 15:21:32 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 15:21:32 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 15:21:32 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 15:21:32 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 15:21:33 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 15:21:33 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 15:21:34 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 15:21:34 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 15:21:34 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 15:21:35 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 15:21:35 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 15:21:35 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 15:21:36 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 15:21:36 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 15:21:37 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 15:21:37 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 15:21:37 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 15:21:37 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 15:21:38 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 15:21:38 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 15:21:38 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 15:21:38 275 | const iot_component_factory_t * factory; 15:21:38 | ^~~~~~~ 15:21:38 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 15:21:39 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 15:21:39 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 15:21:40 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 15:21:40 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 15:21:40 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 15:21:40 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 15:21:41 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 15:21:41 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 15:21:41 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 15:21:41 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 15:21:42 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 15:21:42 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 15:21:42 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 15:21:43 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 15:21:43 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 15:21:44 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 15:21:45 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 15:21:45 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 15:21:45 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 15:21:45 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 15:21:45 /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] 15:21:45 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 15:21:45 | ^~~~~~~~~~~~~ 15:21:45 | | 15:21:45 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 15:21:45 In file included from /tmp/sdk/src/c/rest-server.c:21: 15:21:45 /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 *)' 15:21:45 2714 | MHD_KeyValueIterator iterator, 15:21:45 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 15:21:45 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 15:21:45 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 15:21:45 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 15:21:45 | ^~~~~~~~~~~~ 15:21:45 | | 15:21:45 | 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 **)} 15:21:45 In file included from /tmp/sdk/src/c/rest-server.c:21: 15:21:45 /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 **)'} 15:21:45 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 15:21:45 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 15:21:45 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 15:21:45 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 15:21:45 | ^~~~~~~~~~~~ 15:21:45 | | 15:21:45 | 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 **)} 15:21:45 In file included from /tmp/sdk/src/c/rest-server.c:21: 15:21:45 /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 **)'} 15:21:45 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 15:21:45 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 15:21:46 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 15:21:47 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 15:21:47 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 15:21:48 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 15:21:48 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 15:21:49 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 15:21:50 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 15:21:50 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 15:21:50 [ 76%] Linking C shared library libcsdk.so 15:21:50 [ 76%] Built target csdk 15:21:50 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 15:21:51 [ 79%] Linking C executable template 15:21:51 [ 79%] Built target template 15:21:51 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 15:21:51 [ 82%] Linking C executable device-counter 15:21:52 [ 82%] Built target device-counter 15:21:52 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 15:21:52 [ 85%] Linking C executable device-random 15:21:52 [ 85%] Built target device-random 15:21:52 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 15:21:52 [ 88%] Linking C executable device-gyro 15:21:53 [ 88%] Built target device-gyro 15:21:53 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 15:21:53 [ 91%] Linking C executable device-bitfields 15:21:53 [ 91%] Built target device-bitfields 15:21:53 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 15:21:53 [ 94%] Linking C executable template-discovery 15:21:54 [ 94%] Built target template-discovery 15:21:54 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 15:21:54 [ 97%] Linking C executable device-file 15:21:54 [ 97%] Built target device-file 15:21:54 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 15:21:55 [100%] Linking C executable device-terminal 15:21:55 [100%] Built target device-terminal 15:21:55 make: Entering directory '/tmp/sdk/build/release' 15:21:55 make[1]: Entering directory '/tmp/sdk/build/release' 15:21:55 make[2]: Entering directory '/tmp/sdk/build/release' 15:21:55 make[2]: Leaving directory '/tmp/sdk/build/release' 15:21:55 [ 76%] Built target csdk 15:21:55 make[2]: Entering directory '/tmp/sdk/build/release' 15:21:55 make[2]: Leaving directory '/tmp/sdk/build/release' 15:21:55 [ 79%] Built target template 15:21:55 make[2]: Entering directory '/tmp/sdk/build/release' 15:21:56 make[2]: Leaving directory '/tmp/sdk/build/release' 15:21:56 [ 82%] Built target device-counter 15:21:56 make[2]: Entering directory '/tmp/sdk/build/release' 15:21:56 make[2]: Leaving directory '/tmp/sdk/build/release' 15:21:56 [ 85%] Built target device-random 15:21:56 make[2]: Entering directory '/tmp/sdk/build/release' 15:21:56 make[2]: Leaving directory '/tmp/sdk/build/release' 15:21:56 [ 88%] Built target device-gyro 15:21:56 make[2]: Entering directory '/tmp/sdk/build/release' 15:21:56 make[2]: Leaving directory '/tmp/sdk/build/release' 15:21:56 [ 91%] Built target device-bitfields 15:21:56 make[2]: Entering directory '/tmp/sdk/build/release' 15:21:56 make[2]: Leaving directory '/tmp/sdk/build/release' 15:21:56 [ 94%] Built target template-discovery 15:21:56 make[2]: Entering directory '/tmp/sdk/build/release' 15:21:56 make[2]: Leaving directory '/tmp/sdk/build/release' 15:21:56 [ 97%] Built target device-file 15:21:56 make[2]: Entering directory '/tmp/sdk/build/release' 15:21:56 make[2]: Leaving directory '/tmp/sdk/build/release' 15:21:56 [100%] Built target device-terminal 15:21:56 make[1]: Leaving directory '/tmp/sdk/build/release' 15:21:56 Install the project... 15:21:56 -- Install configuration: "Release" 15:21:56 -- Installing: /usr/local/lib/libcsdk.so 15:21:56 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 15:21:56 -- Up-to-date: /usr/local/include 15:21:56 -- Installing: /usr/local/include/edgex 15:21:56 -- Installing: /usr/local/include/edgex/rest-server.h 15:21:56 -- Installing: /usr/local/include/edgex/edgex-base.h 15:21:56 -- Installing: /usr/local/include/edgex/edgex.h 15:21:56 -- Installing: /usr/local/include/edgex/devices.h 15:21:56 -- Installing: /usr/local/include/edgex/profiles.h 15:21:56 -- Installing: /usr/local/include/edgex/csdk-defs.h 15:21:56 -- Installing: /usr/local/include/devsdk 15:21:56 -- Installing: /usr/local/include/devsdk/devsdk-base.h 15:21:56 -- Installing: /usr/local/include/devsdk/devsdk.h 15:21:56 -- Installing: /usr/local/include/iot 15:21:56 -- Installing: /usr/local/include/iot/json.h 15:21:56 -- Installing: /usr/local/include/iot/container.h 15:21:56 -- Installing: /usr/local/include/iot/component.h 15:21:56 -- Installing: /usr/local/include/iot/typecode.h 15:21:56 -- Installing: /usr/local/include/iot/iot.h 15:21:56 -- Installing: /usr/local/include/iot/uuid.h 15:21:56 -- Installing: /usr/local/include/iot/time.h 15:21:56 -- Installing: /usr/local/include/iot/hash.h 15:21:56 -- Installing: /usr/local/include/iot/logger.h 15:21:56 -- Installing: /usr/local/include/iot/os 15:21:56 -- Installing: /usr/local/include/iot/os/zephyr.h 15:21:56 -- Installing: /usr/local/include/iot/os/linux.h 15:21:56 -- Installing: /usr/local/include/iot/os/macos.h 15:21:56 -- Installing: /usr/local/include/iot/scheduler.h 15:21:56 -- Installing: /usr/local/include/iot/data.h 15:21:56 -- Installing: /usr/local/include/iot/thread.h 15:21:56 -- Installing: /usr/local/include/iot/os.h 15:21:56 -- Installing: /usr/local/include/iot/base64.h 15:21:56 -- Installing: /usr/local/include/iot/defs.h 15:21:56 -- Installing: /usr/local/include/iot/threadpool.h 15:21:56 -- Installing: /usr/local/include/iot/config.h 15:21:56 -- Installing: /usr/local/share/device-sdk-c/LICENSE 15:21:56 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 15:21:56 make: Leaving directory '/tmp/sdk/build/release' 15:21:58 Removing intermediate container 4154e660fb9f 15:21:58 ---> 1b3729ec1d94 15:21:58 Step 16/24 : FROM ${BASE} 15:21:58 ---> b6d714ea7bf2 15:21:58 Step 17/24 : LABEL maintainer="IOTech " 15:21:58 ---> Running in 247aba43ea4d 15:21:59 Removing intermediate container 247aba43ea4d 15:21:59 ---> 43e125a84d28 15:21:59 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 15:21:59 ---> Running in 54a90b720844 15:22:00 Connecting to iotech.jfrog.io (54.72.115.12:443) 15:22:00 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 15:22:00 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 15:22:00 '/etc/apk/keys/alpine.dev.rsa.pub' saved 15:22:01 Removing intermediate container 54a90b720844 15:22:01 ---> dd2baee18ec3 15:22:01 Step 19/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 15:22:02 ---> Running in a1883ee2bdc3 15:22:04 Removing intermediate container a1883ee2bdc3 15:22:04 ---> 66440323a925 15:22:04 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 15:22:04 ---> Running in ab51b4b9e651 15:22:05 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 15:22:06 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 15:22:07 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz 15:22:08 WARNING: This apk-tools is OLD! Some packages might not function properly. 15:22:08 (1/7) Installing curl (7.79.1-r0) 15:22:08 (2/7) Installing hiredis (1.0.0-r0) 15:22:08 (3/7) Installing hiredis-dev (1.0.0-r0) 15:22:08 (4/7) Installing libuuid (2.37-r0) 15:22:08 (5/7) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 15:22:09 (6/7) Installing libidn2 (2.3.1-r0) 15:22:09 (7/7) Installing wget (1.21.1-r1) 15:22:09 Executing busybox-1.33.1-r3.trigger 15:22:09 OK: 276 MiB in 84 packages 15:22:11 Removing intermediate container ab51b4b9e651 15:22:11 ---> a89ee423c696 15:22:11 Step 21/24 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 15:22:11 ---> 20629004892e 15:22:11 Step 22/24 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 15:22:12 ---> b6cf1d2eed51 15:22:12 Step 23/24 : COPY --from=builder /usr/local/lib /usr/local/lib 15:22:13 ---> 3486d7bcb557 15:22:13 Step 24/24 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 15:22:14 ---> 156cf52fb225 15:22:14 Successfully built 156cf52fb225 15:22:14 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:22:14 + docker inspect -f . ci-base-image-arm64 15:22:14 . [Pipeline] withDockerContainer 15:22:15 prd-ubuntu18.04-docker-arm64-4c-16g-1450 does not seem to be running inside a container 15:22:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/12 -v /w/workspace/device-sdk-c/12:/w/workspace/device-sdk-c/12:rw,z -v /w/workspace/device-sdk-c/12@tmp:/w/workspace/device-sdk-c/12@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 ******** ci-base-image-arm64 cat 15:22:16 $ docker top 4a4408e3a75bc79881f1c244fe43e82e5d3c5f1a8943e2cf084ad5780296eaa5 -eo pid,comm [Pipeline] { [Pipeline] sh 15:22:17 + make test 15:22:17 echo "make test" 15:22:17 make test [Pipeline] } 15:22:17 $ docker stop --time=1 4a4408e3a75bc79881f1c244fe43e82e5d3c5f1a8943e2cf084ad5780296eaa5 15:22:19 $ docker rm -f 4a4408e3a75bc79881f1c244fe43e82e5d3c5f1a8943e2cf084ad5780296eaa5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:22:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:22:21 + ls -al . 15:22:21 total 200 15:22:21 drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 15:18 . 15:22:21 drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 15:18 .. 15:22:21 drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 15:18 .git 15:22:21 drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 15:18 .github 15:22:21 -rw-rw-r-- 1 jenkins jenkins 176 Oct 14 15:18 .gitignore 15:22:21 -rw-rw-r-- 1 jenkins jenkins 3104 Oct 14 15:18 Attribution.txt 15:22:21 -rw-rw-r-- 1 jenkins jenkins 7767 Oct 14 15:18 CHANGES 15:22:21 -rw-rw-r-- 1 jenkins jenkins 108574 Oct 14 15:18 Doxyfile 15:22:21 -rw-rw-r-- 1 jenkins jenkins 677 Oct 14 15:18 GOVERNANCE.md 15:22:21 -rw-rw-r-- 1 jenkins jenkins 784 Oct 14 15:18 Jenkinsfile 15:22:21 -rw-rw-r-- 1 jenkins jenkins 10174 Oct 14 15:18 LICENSE 15:22:21 -rw-rw-r-- 1 jenkins jenkins 444 Oct 14 15:18 Makefile 15:22:21 -rw-rw-r-- 1 jenkins jenkins 618 Oct 14 15:18 OWNERS.md 15:22:21 -rw-rw-r-- 1 jenkins jenkins 4086 Oct 14 15:18 README.md 15:22:21 -rw-rw-r-- 1 jenkins jenkins 7422 Oct 14 15:18 README.v2.md 15:22:21 -rw-rw-r-- 1 jenkins jenkins 12 Oct 14 15:14 VERSION 15:22:21 drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 15:18 docs 15:22:21 drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 15:18 include 15:22:21 drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 15:18 scripts 15:22:21 drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 15:18 src [Pipeline] isUnix [Pipeline] sh 15:22:21 + 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=989fcf480b12b46cf08b8d06d57a888d847882bb --label arch=arm64 --label version=2.0.1-dev.11 . 15:22:22 Sending build context to Docker daemon 2.706MB 15:22:22 Step 1/17 : ARG BASE=alpine:3.14 15:22:22 Step 2/17 : FROM ${BASE} 15:22:22 ---> 156cf52fb225 15:22:22 Step 3/17 : LABEL maintainer="IOTech " 15:22:22 ---> Running in a830bc72bcd1 15:22:22 Removing intermediate container a830bc72bcd1 15:22:22 ---> f6b24d5f9a24 15:22:22 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 15:22:22 ---> Running in 81e310ec8490 15:22:24 --2021-10-14 15:22:24-- https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release 15:22:24 Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.195.244.87, 54.72.115.12, 54.229.110.245 15:22:24 Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.195.244.87|:443... connected. 15:22:24 HTTP request sent, awaiting response... 200 OK 15:22:24 Length: unspecified [application/json] 15:22:24 Saving to: '/etc/apk/keys/alpine.dev.rsa.pub' 15:22:24  15:22:24 0K  46.1M=0s 15:22:24 15:22:24 2021-10-14 15:22:24 (46.1 MB/s) - '/etc/apk/keys/alpine.dev.rsa.pub' saved [451] 15:22:24 15:22:25 Removing intermediate container 81e310ec8490 15:22:25 ---> 88f803aa83a7 15:22:25 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 15:22:25 ---> Running in ce3206a7d8c5 15:22:28 Removing intermediate container ce3206a7d8c5 15:22:28 ---> 190480813388 15:22:28 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 15:22:28 ---> Running in 87650cddac15 15:22:29 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 15:22:30 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 15:22:30 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz 15:22:31 WARNING: This apk-tools is OLD! Some packages might not function properly. 15:22:31 (1/21) Installing ncurses-dev (6.2_p20210612-r0) 15:22:31 (2/21) Installing libblkid (2.37-r0) 15:22:31 (3/21) Installing blkid (2.37-r0) 15:22:31 (4/21) Installing libcap-ng (0.8.2-r0) 15:22:32 (5/21) Installing setpriv (2.37-r0) 15:22:32 (6/21) Installing libmount (2.37-r0) 15:22:32 (7/21) Installing libsmartcols (2.37-r0) 15:22:32 (8/21) Installing findmnt (2.37-r0) 15:22:32 (9/21) Installing mcookie (2.37-r0) 15:22:32 (10/21) Installing hexdump (2.37-r0) 15:22:32 (11/21) Installing lsblk (2.37-r0) 15:22:32 (12/21) Installing libfdisk (2.37-r0) 15:22:32 (13/21) Installing sfdisk (2.37-r0) 15:22:32 (14/21) Installing cfdisk (2.37-r0) 15:22:32 (15/21) Installing partx (2.37-r0) 15:22:32 (16/21) Installing flock (2.37-r0) 15:22:33 (17/21) Installing logger (2.37-r0) 15:22:33 (18/21) Installing uuidgen (2.37-r0) 15:22:33 (19/21) Installing libeconf (0.3.8-r1) 15:22:33 (20/21) Installing util-linux (2.37-r0) 15:22:33 (21/21) Installing util-linux-dev (2.37-r0) 15:22:33 Executing busybox-1.33.1-r3.trigger 15:22:33 OK: 286 MiB in 105 packages 15:22:35 Removing intermediate container 87650cddac15 15:22:35 ---> b8df7800372e 15:22:35 Step 7/17 : COPY VERSION /edgex-c-sdk/ 15:22:36 ---> e768a068008d 15:22:36 Step 8/17 : COPY src /edgex-c-sdk/src/ 15:22:37 ---> 4e3e4089ea09 15:22:37 Step 9/17 : COPY include /edgex-c-sdk/include/ 15:22:38 ---> e792d985b5fb 15:22:38 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 15:22:38 ---> 4fabfd1eeb54 15:22:38 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 15:22:39 ---> f4833e813bb9 15:22:39 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 15:22:40 ---> 7140f8837291 15:22:40 Step 13/17 : WORKDIR /edgex-c-sdk 15:22:40 ---> Running in 742daa5dea24 15:22:40 Removing intermediate container 742daa5dea24 15:22:40 ---> c70642840b06 15:22:40 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 15:22:40 ---> Running in 410f4d6f938c 15:22:41 Removing intermediate container 410f4d6f938c 15:22:41 ---> 13357922ab50 15:22:41 Step 15/17 : LABEL arch=arm64 15:22:41 ---> Running in ced5a38e9283 15:22:42 Removing intermediate container ced5a38e9283 15:22:42 ---> 1f8279f31061 15:22:42 Step 16/17 : LABEL git_sha=989fcf480b12b46cf08b8d06d57a888d847882bb 15:22:42 ---> Running in 3f31e68213d8 15:22:42 Removing intermediate container 3f31e68213d8 15:22:42 ---> 70235cf8f7a0 15:22:42 Step 17/17 : LABEL version=2.0.1-dev.11 15:22:42 ---> Running in 18eccdc7767d 15:22:43 Removing intermediate container 18eccdc7767d 15:22:43 ---> bda6620399ae 15:22:43 [Warning] One or more build-args [ARCH MAKE] were not consumed 15:22:43 Successfully built bda6620399ae 15:22:43 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 15:22:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:22:43 15:22:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 15:22:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:22:44 arm64: Pulling from edgex-lftools-log-publisher 15:22:44 448f6bf000e3: Pulling fs layer 15:22:44 f757da607395: Pulling fs layer 15:22:44 05883995daec: Pulling fs layer 15:22:44 8603b9c90790: Pulling fs layer 15:22:44 1560dd03e051: Pulling fs layer 15:22:44 27f5ce0e4adf: Pulling fs layer 15:22:44 c2d8d7efcc4b: Pulling fs layer 15:22:44 1560dd03e051: Waiting 15:22:44 27f5ce0e4adf: Waiting 15:22:44 c2d8d7efcc4b: Waiting 15:22:44 8603b9c90790: Waiting 15:22:45 f757da607395: Verifying Checksum 15:22:45 f757da607395: Download complete 15:22:45 8603b9c90790: Verifying Checksum 15:22:45 8603b9c90790: Download complete 15:22:45 05883995daec: Verifying Checksum 15:22:45 05883995daec: Download complete 15:22:45 27f5ce0e4adf: Download complete 15:22:45 1560dd03e051: Verifying Checksum 15:22:45 1560dd03e051: Download complete 15:22:45 448f6bf000e3: Verifying Checksum 15:22:45 448f6bf000e3: Download complete 15:22:48 c2d8d7efcc4b: Verifying Checksum 15:22:48 c2d8d7efcc4b: Download complete 15:22:48 448f6bf000e3: Pull complete 15:22:49 f757da607395: Pull complete 15:22:50 05883995daec: Pull complete 15:22:51 8603b9c90790: Pull complete 15:22:52 1560dd03e051: Pull complete 15:22:52 27f5ce0e4adf: Pull complete 15:23:07 c2d8d7efcc4b: Pull complete 15:23:07 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 15:23:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:23:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 15:23:08 prd-ubuntu18.04-docker-arm64-4c-16g-1450 does not seem to be running inside a container 15:23:08 $ 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/12 -v /w/workspace/device-sdk-c/12:/w/workspace/device-sdk-c/12:rw,z -v /w/workspace/device-sdk-c/12@tmp:/w/workspace/device-sdk-c/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 15:23:13 $ docker top b4e83d3ba62458a6f738207ddbb3d5ad0dd5d1a218f478a2486cd51c1a2d727b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:23:14 ---> job-cost.sh 15:23:14 lf-activate-venv: SKIPPING 15:23:14 INFO: No Stack... 15:23:32 INFO: Retrieving Pricing Info for: v3-standard-4 15:23:32 INFO: Archiving Costs [Pipeline] sh 15:23:33 + cat /w/workspace/device-sdk-c/12/archives/cost.csv 15:23:33 + cut -d, -f6 [Pipeline] lock 15:23:33 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-12-stack-cost] 15:23:33 Resource [jenkins-edgexfoundry-device-sdk-c-main-12-stack-cost] did not exist. Created. 15:23:33 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:23:33 /w/workspace/device-sdk-c/12@tmp/durable-59bc8dfd/script.sh: 1: /w/workspace/device-sdk-c/12@tmp/durable-59bc8dfd/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 15:23:34 + echo total: 0.10999999940395355 [Pipeline] stash 15:23:34 Warning: overwriting stash ‘stack-cost’ 15:23:35 Stashed 1 file(s) [Pipeline] } 15:23:35 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-12-stack-cost] [Pipeline] // lock [Pipeline] } 15:23:35 $ docker stop --time=1 b4e83d3ba62458a6f738207ddbb3d5ad0dd5d1a218f478a2486cd51c1a2d727b 15:23:36 $ docker rm -f b4e83d3ba62458a6f738207ddbb3d5ad0dd5d1a218f478a2486cd51c1a2d727b [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] isUnix [Pipeline] sh 15:23:37 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:23:37 . [Pipeline] withDockerContainer 15:23:37 prd-centos7-docker-4c-2g-1447 does not seem to be running inside a container 15:23:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:23:38 $ docker top 498a52c11ded4ff4a7f9566ad9ffefaae19629eb1be3352d6200ededa1f48720 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:23:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:23:38 [ssh-agent] Looking for ssh-agent implementation... 15:23:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:23:38 $ docker exec 498a52c11ded4ff4a7f9566ad9ffefaae19629eb1be3352d6200ededa1f48720 ssh-agent 15:23:38 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlHICNc/agent.15 15:23:38 SSH_AGENT_PID=21 15:23:38 Running ssh-add (command line suppressed) 15:23:38 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_3230858525364453780.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_3230858525364453780.key) 15:23:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:23:39 + git semver tag 15:23:39 # -> Open(): unable to determine branch for HEAD 15:23:39 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.git 15:23:39 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_main 15:23:39 # $SEMVER_REMOTE_NAME = origin 15:23:39 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:23:39 # $SEMVER_USER_NAME = edgex-jenkins 15:23:39 # $SEMVER_BRANCH = main 15:23:39 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.semver 15:23:39 # 989fcf480b12b46cf08b8d06d57a888d847882bb HEAD 15:23:39 # -> Force: false 15:23:39 # 86a87194ab90bdb6a856853796635568bedff193 refs/tags/v2.0.1-dev.11 [Pipeline] } 15:23:39 $ docker exec --env ******** --env ******** 498a52c11ded4ff4a7f9566ad9ffefaae19629eb1be3352d6200ededa1f48720 ssh-agent -k 15:23:39 unset SSH_AUTH_SOCK; 15:23:39 unset SSH_AGENT_PID; 15:23:39 echo Agent pid 21 killed; 15:23:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:23:39 + git semver [Pipeline] } 15:23:39 $ docker stop --time=1 498a52c11ded4ff4a7f9566ad9ffefaae19629eb1be3352d6200ededa1f48720 15:23:40 $ docker rm -f 498a52c11ded4ff4a7f9566ad9ffefaae19629eb1be3352d6200ededa1f48720 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 15:23:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:23:41 15:23:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 15:23:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:23:41 0.23.1-centos7: Pulling from edgex-lftools 15:23:41 ab5ef0e58194: Pulling fs layer 15:23:41 9712f1f96733: Pulling fs layer 15:23:41 63f879dbbcfc: Pulling fs layer 15:23:41 0d9ebad4ef96: Pulling fs layer 15:23:41 e9a5061849ea: Pulling fs layer 15:23:41 d747dcd14b5f: Pulling fs layer 15:23:41 2de7ff778b66: Pulling fs layer 15:23:41 e9a5061849ea: Waiting 15:23:41 d747dcd14b5f: Waiting 15:23:41 2de7ff778b66: Waiting 15:23:41 0d9ebad4ef96: Waiting 15:23:41 9712f1f96733: Verifying Checksum 15:23:41 9712f1f96733: Download complete 15:23:41 63f879dbbcfc: Verifying Checksum 15:23:41 63f879dbbcfc: Download complete 15:23:42 0d9ebad4ef96: Verifying Checksum 15:23:42 0d9ebad4ef96: Download complete 15:23:42 d747dcd14b5f: Verifying Checksum 15:23:42 d747dcd14b5f: Download complete 15:23:42 e9a5061849ea: Verifying Checksum 15:23:42 e9a5061849ea: Download complete 15:23:42 ab5ef0e58194: Verifying Checksum 15:23:42 ab5ef0e58194: Download complete 15:23:42 2de7ff778b66: Verifying Checksum 15:23:42 2de7ff778b66: Download complete 15:23:44 ab5ef0e58194: Pull complete 15:23:44 9712f1f96733: Pull complete 15:23:45 63f879dbbcfc: Pull complete 15:23:49 0d9ebad4ef96: Pull complete 15:23:49 e9a5061849ea: Pull complete 15:23:49 d747dcd14b5f: Pull complete 15:23:51 2de7ff778b66: Pull complete 15:23:51 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 15:23:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:23:51 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 15:23:51 prd-centos7-docker-4c-2g-1447 does not seem to be running inside a container 15:23:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 15:23:54 $ docker top 29705a18fdfe5d9080eff7b84fd66dde4050b096b0036d54bb30d89bc730134f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 15:23:54 provisioning config files... 15:23:54 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config6049496548925357139tmp 15:23:54 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config6996389082987484572tmp 15:23:54 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config2807057196617906141tmp [Pipeline] { [Pipeline] echo 15:23:54 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 15:23:54 ---> sigul-configuration.sh 15:23:54 gpg: directory `/root/.gnupg' created 15:23:54 gpg: new configuration file `/root/.gnupg/gpg.conf' created 15:23:54 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 15:23:54 gpg: keyring `/root/.gnupg/secring.gpg' created 15:23:54 gpg: keyring `/root/.gnupg/pubring.gpg' created 15:23:54 gpg: CAST5 encrypted data 15:23:54 gpg: encrypted with 1 passphrase 15:23:54 gpg: WARNING: message was not integrity protected [Pipeline] sh 15:23:54 + mkdir /home/jenkins 15:23:54 + mkdir /home/jenkins/sigul [Pipeline] sh 15:23:55 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 15:23:55 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 15:23:55 ---> sigul-install.sh 15:23:55 Sigul already installed; skipping installation. [Pipeline] sh 15:23:55 + git tag --list 15:23:55 0.7.0 15:23:55 0.7.1 15:23:55 1.0.0 15:23:55 v1.0.1 15:23:55 v1.0.2 15:23:55 v1.0.3 15:23:55 v1.1.0 15:23:55 v1.1.1 15:23:55 v1.2.0 15:23:55 v1.2.1 15:23:55 v1.2.2 15:23:55 v1.3.0 15:23:55 v1.3.1 15:23:55 v2.0.0 15:23:55 v2.0.1-dev.1 15:23:55 v2.0.1-dev.10 15:23:55 v2.0.1-dev.11 15:23:55 v2.0.1-dev.2 15:23:55 v2.0.1-dev.3 15:23:55 v2.0.1-dev.4 15:23:55 v2.0.1-dev.5 15:23:55 v2.0.1-dev.6 15:23:55 v2.0.1-dev.7 15:23:55 v2.0.1-dev.8 15:23:55 v2.0.1-dev.9 [Pipeline] sh 15:23:56 + lftools sign git-tag v2.0.1-dev.11 15:23:56 Signing Git tag with Sigul... 15:23:56 Signing v2.0.1-dev.11 [Pipeline] echo 15:23:58 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 15:23:58 ---> sigul-configuration-cleanup.sh [Pipeline] } 15:23:58 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 15:23:58 $ docker stop --time=1 29705a18fdfe5d9080eff7b84fd66dde4050b096b0036d54bb30d89bc730134f 15:23:59 $ docker rm -f 29705a18fdfe5d9080eff7b84fd66dde4050b096b0036d54bb30d89bc730134f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 15:24:00 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:24:00 . [Pipeline] withDockerContainer 15:24:00 prd-centos7-docker-4c-2g-1447 does not seem to be running inside a container 15:24:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:24:00 $ docker top a6605f0ff2f28a6c91e2eecdad27e872496e62c5ff169521ccb110bf254f6bf7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:24:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:24:00 [ssh-agent] Looking for ssh-agent implementation... 15:24:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:24:00 $ docker exec a6605f0ff2f28a6c91e2eecdad27e872496e62c5ff169521ccb110bf254f6bf7 ssh-agent 15:24:00 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXiHAnpP/agent.14 15:24:00 SSH_AGENT_PID=21 15:24:00 Running ssh-add (command line suppressed) 15:24:01 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_546456902022294666.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_546456902022294666.key) 15:24:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:24:01 + git semver bump pre 15:24:01 # -> Open(): unable to determine branch for HEAD 15:24:01 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.git 15:24:01 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_main 15:24:01 # $SEMVER_REMOTE_NAME = origin 15:24:01 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:24:01 # $SEMVER_USER_NAME = edgex-jenkins 15:24:01 # $SEMVER_BRANCH = main 15:24:01 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.semver 15:24:01 2.0.1-dev.12 [Pipeline] } 15:24:01 $ docker exec --env ******** --env ******** a6605f0ff2f28a6c91e2eecdad27e872496e62c5ff169521ccb110bf254f6bf7 ssh-agent -k 15:24:01 unset SSH_AUTH_SOCK; 15:24:01 unset SSH_AGENT_PID; 15:24:01 echo Agent pid 21 killed; 15:24:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:24:01 + git semver [Pipeline] } 15:24:01 $ docker stop --time=1 a6605f0ff2f28a6c91e2eecdad27e872496e62c5ff169521ccb110bf254f6bf7 15:24:02 $ docker rm -f a6605f0ff2f28a6c91e2eecdad27e872496e62c5ff169521ccb110bf254f6bf7 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 15:24:03 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:24:03 . [Pipeline] withDockerContainer 15:24:03 prd-centos7-docker-4c-2g-1447 does not seem to be running inside a container 15:24:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:24:03 $ docker top 1c74687ee278122807874794c6aeef56257ab28fe4fe6c6a6e321be656f80498 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:24:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:24:03 [ssh-agent] Looking for ssh-agent implementation... 15:24:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:24:03 $ docker exec 1c74687ee278122807874794c6aeef56257ab28fe4fe6c6a6e321be656f80498 ssh-agent 15:24:04 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFefNPA/agent.15 15:24:04 SSH_AGENT_PID=21 15:24:04 Running ssh-add (command line suppressed) 15:24:04 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_3423418186628674411.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_3423418186628674411.key) 15:24:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:24:04 + git semver push 15:24:04 # -> Open(): unable to determine branch for HEAD 15:24:04 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.git 15:24:04 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_main 15:24:04 # $SEMVER_REMOTE_NAME = origin 15:24:04 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:24:04 # $SEMVER_USER_NAME = edgex-jenkins 15:24:04 # $SEMVER_BRANCH = main 15:24:04 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.semver [Pipeline] } 15:24:07 $ docker exec --env ******** --env ******** 1c74687ee278122807874794c6aeef56257ab28fe4fe6c6a6e321be656f80498 ssh-agent -k 15:24:07 unset SSH_AUTH_SOCK; 15:24:07 unset SSH_AGENT_PID; 15:24:07 echo Agent pid 21 killed; 15:24:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:24:08 + git semver [Pipeline] } 15:24:08 $ docker stop --time=1 1c74687ee278122807874794c6aeef56257ab28fe4fe6c6a6e321be656f80498 15:24:09 $ docker rm -f 1c74687ee278122807874794c6aeef56257ab28fe4fe6c6a6e321be656f80498 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 15:24:10 + '[' -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 15:24:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:24:10 ---> package-listing.sh 15:24:10 ++ facter osfamily 15:24:10 ++ tr '[:upper:]' '[:lower:]' 15:24:11 + OS_FAMILY=redhat 15:24:11 + workspace=/w/workspace/edgexfoundry_device-sdk-c_main 15:24:11 + START_PACKAGES=/tmp/packages_start.txt 15:24:11 + END_PACKAGES=/tmp/packages_end.txt 15:24:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:24:11 + PACKAGES=/tmp/packages_start.txt 15:24:11 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 15:24:11 + PACKAGES=/tmp/packages_end.txt 15:24:11 + case "${OS_FAMILY}" in 15:24:11 + rpm -qa 15:24:11 + sort 15:24:11 + '[' -f /tmp/packages_start.txt ']' 15:24:11 + '[' -f /tmp/packages_end.txt ']' 15:24:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:24:11 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 15:24:11 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ 15:24:11 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [Pipeline] echo 15:24:11 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_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:24:12 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 15:24:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:24:12 15:24:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 15:24:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:24:12 latest: Pulling from edgex-lftools-log-publisher 15:24:12 b4d181a07f80: Pulling fs layer 15:24:12 a1111a8f2ec3: Pulling fs layer 15:24:12 ed53099fbce6: Pulling fs layer 15:24:12 dc539afda2c1: Pulling fs layer 15:24:12 77bc0d833cb6: Pulling fs layer 15:24:12 9065ff56babe: Pulling fs layer 15:24:12 d287ab97295c: Pulling fs layer 15:24:12 dc539afda2c1: Waiting 15:24:12 77bc0d833cb6: Waiting 15:24:12 9065ff56babe: Waiting 15:24:12 d287ab97295c: Waiting 15:24:12 a1111a8f2ec3: Verifying Checksum 15:24:12 a1111a8f2ec3: Download complete 15:24:12 dc539afda2c1: Verifying Checksum 15:24:12 dc539afda2c1: Download complete 15:24:12 ed53099fbce6: Verifying Checksum 15:24:12 ed53099fbce6: Download complete 15:24:12 9065ff56babe: Verifying Checksum 15:24:12 9065ff56babe: Download complete 15:24:13 77bc0d833cb6: Verifying Checksum 15:24:13 77bc0d833cb6: Download complete 15:24:13 b4d181a07f80: Verifying Checksum 15:24:13 b4d181a07f80: Download complete 15:24:13 d287ab97295c: Verifying Checksum 15:24:13 d287ab97295c: Download complete 15:24:14 b4d181a07f80: Pull complete 15:24:15 a1111a8f2ec3: Pull complete 15:24:15 ed53099fbce6: Pull complete 15:24:15 dc539afda2c1: Pull complete 15:24:15 77bc0d833cb6: Pull complete 15:24:16 9065ff56babe: Pull complete 15:24:21 d287ab97295c: Pull complete 15:24:21 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 15:24:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:24:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 15:24:21 prd-centos7-docker-4c-2g-1447 does not seem to be running inside a container 15:24:21 $ 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_main/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_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:24:23 $ docker top 3c7d143cfd7f44574fd09e3bbd040a4a89c8d534befb565a1e83559f24287e46 -eo pid,comm [Pipeline] { [Pipeline] sh 15:24:24 + touch /tmp/pre-build-complete [Pipeline] sh 15:24:24 + mkdir -p /var/log/sysstat [Pipeline] sh 15:24:24 + ls /var/log/sa-host 15:24:24 + sadf -c /var/log/sa-host/sa14 15:24:24 file_magic: OK 15:24:24 HZ: Using current value: 100 15:24:24 file_header: OK 15:24:24 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 15:24:24 Statistics: 15:24:24 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 15:24:24 File successfully converted to sysstat format version 12.0.3 15:24:24 + sadf -c /var/log/sa-host/sa30 15:24:24 file_magic: OK 15:24:24 HZ: Using current value: 100 15:24:24 file_header: OK 15:24:24 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 15:24:24 Statistics: 15:24:24 Hnuu...uuuununununu...Hnuu...uuuununununu... 15:24:24 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:24:25 provisioning config files... 15:24:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config2702148370733755721tmp [Pipeline] { [Pipeline] echo 15:24:25 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:24:25 ---> create-netrc.sh [Pipeline] } 15:24:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:24:25 ---> python-tools-install.sh [Pipeline] echo 15:24:25 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:24:26 ---> sudo-logs.sh 15:24:26 Archiving 'sudo' log.. 15:24:26 sudo: unable to resolve host prd-centos7-docker-4c-2g-1447.novalocal: Name or service not known 15:24:26 sudo: unable to resolve host prd-centos7-docker-4c-2g-1447.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 15:24:26 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:24:26 ---> job-cost.sh 15:24:26 lf-activate-venv: SKIPPING 15:24:26 DEBUG: total: 0.10999999940395355 15:24:26 INFO: Retrieving Stack Cost... 15:24:26 INFO: Retrieving Pricing Info for: v3-standard-2 15:24:27 INFO: Archiving Costs [Pipeline] echo 15:24:27 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:24:27 ---> logs-deploy.sh 15:24:27 lf-activate-venv: SKIPPING 15:24:27 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/12 15:24:27 INFO: archiving workspace using pattern(s): 15:24:28 Archives upload complete. 15:24:28 INFO: archiving logs to Nexus 15:24:29 ---> uname -a: 15:24:29 Linux prd-centos7-docker-4c-2g-1447.novalocal 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64 GNU/Linux 15:24:29 15:24:29 15:24:29 ---> lscpu: 15:24:29 Architecture: x86_64 15:24:29 CPU op-mode(s): 32-bit, 64-bit 15:24:29 Byte Order: Little Endian 15:24:29 Address sizes: 40 bits physical, 48 bits virtual 15:24:29 CPU(s): 2 15:24:29 On-line CPU(s) list: 0,1 15:24:29 Thread(s) per core: 1 15:24:29 Core(s) per socket: 1 15:24:29 Socket(s): 2 15:24:29 NUMA node(s): 1 15:24:29 Vendor ID: AuthenticAMD 15:24:29 CPU family: 23 15:24:29 Model: 49 15:24:29 Model name: AMD EPYC-Rome Processor 15:24:29 Stepping: 0 15:24:29 CPU MHz: 2799.996 15:24:29 BogoMIPS: 5599.99 15:24:29 Virtualization: AMD-V 15:24:29 Hypervisor vendor: KVM 15:24:29 Virtualization type: full 15:24:29 L1d cache: 32K 15:24:29 L1i cache: 32K 15:24:29 L2 cache: 512K 15:24:29 L3 cache: 16384K 15:24:29 NUMA node0 CPU(s): 0,1 15:24:29 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 15:24:29 15:24:29 15:24:29 ---> nproc: 15:24:29 2 15:24:29 15:24:29 15:24:29 ---> df -h: 15:24:29 Filesystem Size Used Avail Use% Mounted on 15:24:29 overlay 40G 8.3G 32G 21% / 15:24:29 tmpfs 64M 0 64M 0% /dev 15:24:29 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 15:24:29 shm 64M 0 64M 0% /dev/shm 15:24:29 /dev/vda1 40G 8.3G 32G 21% /facter-os 15:24:29 15:24:29 15:24:29 ---> sar -b -r -n DEV: 15:24:29 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 10/14/21 _x86_64_ (2 CPU) 15:24:29 15:24:29 15:13:37 LINUX RESTART (2 CPU) 15:24:29 15:24:29 15:14:01 tps rtps wtps bread/s bwrtn/s 15:24:29 15:15:01 86.71 5.43 81.28 3108.08 3402.70 15:24:29 15:16:01 1.72 0.00 1.72 0.00 31.63 15:24:29 15:17:02 0.32 0.00 0.32 0.00 4.68 15:24:29 15:18:01 0.25 0.00 0.25 0.00 3.25 15:24:29 15:19:01 0.23 0.00 0.23 0.00 2.98 15:24:29 15:20:01 0.23 0.00 0.23 0.00 3.12 15:24:29 15:21:01 0.37 0.00 0.37 0.00 5.61 15:24:29 15:22:01 0.25 0.00 0.25 0.00 2.75 15:24:29 15:23:01 0.35 0.00 0.35 0.00 3.93 15:24:29 15:24:01 90.59 0.03 90.56 1.07 22138.27 15:24:29 Average: 18.14 0.55 17.59 311.51 2564.75 15:24:29 15:24:29 15:14:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 15:24:29 15:15:01 5680996 0 626160 7.82 2620 1699156 1270464 14.03 569308 1524048 16 15:24:29 15:16:01 5694316 0 612832 7.65 2620 1699164 1163692 12.85 558404 1524012 16 15:24:29 15:17:02 5693756 0 613392 7.66 2620 1699164 1163956 12.85 558332 1524564 16 15:24:29 15:18:01 5692664 0 614476 7.67 2620 1699172 1163692 12.85 560048 1524564 20 15:24:29 15:19:01 5693492 0 613640 7.66 2620 1699180 1163944 12.85 557992 1525492 16 15:24:29 15:20:01 5692644 0 614484 7.67 2620 1699184 1163872 12.85 558852 1525492 20 15:24:29 15:21:01 5693984 0 613140 7.66 2620 1699188 1163692 12.85 557844 1525588 8 15:24:29 15:22:01 5693140 0 613980 7.67 2620 1699192 1163692 12.85 558220 1525588 8 15:24:29 15:23:01 5684032 0 623084 7.78 2620 1699196 1163740 12.85 567704 1525700 16 15:24:29 15:24:01 4857368 0 845840 10.56 2620 2303104 1281224 14.15 726296 2049860 44 15:24:29 Average: 5607639 0 639103 7.98 2620 1759570 1186197 13.10 577300 1577491 18 15:24:29 15:24:29 15:14:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 15:24:29 15:15:01 eth0 420.13 254.37 897.27 70.51 0.00 0.00 0.00 0.00 15:24:29 15:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:24:29 15:15:01 docker0 7.16 4.03 1.00 26.46 0.00 0.00 0.00 0.00 15:24:29 15:16:01 eth0 0.63 0.08 0.06 0.01 0.00 0.00 0.00 0.00 15:24:29 15:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:24:29 15:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:24:29 15:17:02 eth0 1.10 0.27 0.32 0.17 0.00 0.00 0.00 0.00 15:24:29 15:17:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:24:29 15:17:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:24:29 15:18:01 eth0 0.63 0.12 0.06 0.04 0.00 0.00 0.00 0.00 15:24:29 15:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:24:29 15:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:24:29 15:19:01 eth0 0.50 0.48 0.27 0.21 0.00 0.00 0.00 0.00 15:24:29 15:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:24:29 15:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:24:29 15:20:01 eth0 0.27 0.22 0.09 0.07 0.00 0.00 0.00 0.00 15:24:29 15:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:24:29 15:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:24:29 15:21:01 eth0 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 15:24:29 15:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:24:29 15:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:24:29 15:22:01 eth0 0.13 0.10 0.01 0.01 0.00 0.00 0.00 0.00 15:24:29 15:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:24:29 15:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:24:29 15:23:01 eth0 0.18 0.13 0.07 0.01 0.00 0.00 0.00 0.00 15:24:29 15:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:24:29 15:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:24:29 15:24:01 vethe5674fe 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 15:24:29 15:24:01 eth0 159.42 98.90 3214.07 22.14 0.00 0.00 0.00 0.00 15:24:29 15:24:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:24:29 15:24:01 docker0 0.30 0.30 0.08 0.11 0.00 0.00 0.00 0.00 15:24:29 Average: vethe5674fe 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:24:29 Average: eth0 58.42 35.54 412.00 9.33 0.00 0.00 0.00 0.00 15:24:29 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:24:29 Average: docker0 0.75 0.43 0.11 2.66 0.00 0.00 0.00 0.00 15:24:29 15:24:29 15:24:29 ---> sar -P ALL: 15:24:29 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 10/14/21 _x86_64_ (2 CPU) 15:24:29 15:24:29 15:13:37 LINUX RESTART (2 CPU) 15:24:29 15:24:29 15:14:01 CPU %user %nice %system %iowait %steal %idle 15:24:29 15:15:01 all 8.84 0.00 2.57 1.89 0.07 86.64 15:24:29 15:15:01 0 9.45 0.00 2.70 1.55 0.07 86.23 15:24:29 15:15:01 1 8.24 0.00 2.43 2.22 0.07 87.04 15:24:29 15:16:01 all 0.22 0.00 0.03 0.00 0.03 99.72 15:24:29 15:16:01 0 0.38 0.00 0.03 0.00 0.03 99.55 15:24:29 15:16:01 1 0.05 0.00 0.03 0.00 0.02 99.90 15:24:29 15:17:02 all 0.23 0.00 0.05 0.00 0.02 99.70 15:24:29 15:17:02 0 0.38 0.00 0.03 0.00 0.00 99.58 15:24:29 15:17:02 1 0.08 0.00 0.07 0.00 0.03 99.82 15:24:29 15:18:01 all 0.17 0.00 0.03 0.00 0.03 99.77 15:24:29 15:18:01 0 0.29 0.00 0.03 0.00 0.02 99.66 15:24:29 15:18:01 1 0.05 0.00 0.03 0.00 0.03 99.88 15:24:29 15:19:01 all 0.19 0.00 0.07 0.00 0.03 99.72 15:24:29 15:19:01 0 0.30 0.00 0.05 0.00 0.02 99.63 15:24:29 15:19:01 1 0.08 0.00 0.08 0.00 0.03 99.80 15:24:29 15:20:01 all 0.17 0.00 0.03 0.00 0.01 99.79 15:24:29 15:20:01 0 0.27 0.00 0.02 0.00 0.00 99.72 15:24:29 15:20:01 1 0.07 0.00 0.05 0.00 0.02 99.87 15:24:29 15:21:01 all 0.20 0.00 0.05 0.00 0.03 99.72 15:24:29 15:21:01 0 0.32 0.00 0.02 0.00 0.02 99.65 15:24:29 15:21:01 1 0.08 0.00 0.08 0.00 0.03 99.80 15:24:29 15:22:01 all 0.19 0.00 0.04 0.00 0.03 99.74 15:24:29 15:22:01 0 0.35 0.00 0.03 0.00 0.02 99.60 15:24:29 15:22:01 1 0.03 0.00 0.05 0.00 0.03 99.88 15:24:29 15:23:01 all 0.19 0.00 0.05 0.00 0.01 99.75 15:24:29 15:23:01 0 0.30 0.00 0.02 0.00 0.00 99.68 15:24:29 15:23:01 1 0.08 0.00 0.08 0.00 0.02 99.82 15:24:29 15:24:01 all 11.20 0.00 4.73 0.57 0.06 83.44 15:24:29 15:24:01 0 10.93 0.00 4.77 0.45 0.05 83.80 15:24:29 15:24:01 1 11.47 0.00 4.69 0.69 0.07 83.09 15:24:29 Average: all 2.13 0.00 0.75 0.24 0.03 96.85 15:24:29 Average: 0 2.27 0.00 0.76 0.20 0.02 96.76 15:24:29 Average: 1 1.99 0.00 0.75 0.29 0.04 96.94 15:24:29 15:24:29 15:24:29