Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f9cc441c845f7b3b136fda20b0bd590713aa9127 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-ssh1954392144227566886.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-ssh7317993829419682064.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-ssh715789394860935144.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-ssh3289649008787598008.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-ssh1268630162845386215.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-896 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-ssh8049730355640553954.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 f9cc441c845f7b3b136fda20b0bd590713aa9127 (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 f9cc441c845f7b3b136fda20b0bd590713aa9127 # timeout=10 Commit message: "Fix: Remove trailing null from MQTT message envelope (383) (#384)" > git rev-list --no-walk 989fcf480b12b46cf08b8d06d57a888d847882bb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:02:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:02:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:02:29 ========================================================= 08:02:29 EdgeX Global Pipelines Version Info 08:02:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:02:30 ------------------- 08:02:30 stable info: 08:02:30 ------------------- 08:02:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:02:30 Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 08:02:30 Message: update stable to v1.0.210 08:02:30 ------------------- 08:02:30 experimental info: 08:02:30 ------------------- 08:02:30 Commited By: **** collab-it+edgex@linuxfoundation.org 08:02:30 Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 08:02:30 Message: update experimental to v1.0.210 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:02:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 08:02:30 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 08:02:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:02:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:02:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:02:30 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo 08:02:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 08:02:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 08:02:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:02:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:02:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 08:02:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:02:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:02:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:02:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 08:02:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:02:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:02:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:02:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 08:02:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 08:02:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 08:02:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f9cc441c845f7b3b136fda20b0bd590713aa9127 [Pipeline] echo 08:02:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f9cc441 [Pipeline] echo 08:02:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:02:31 provisioning config files... 08:02:31 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config5900016052000366351tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:02:31 ---> docker-login.sh 08:02:31 nexus3.edgexfoundry.org:10001 08:02:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:02:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:02:31 Configure a credential helper to remove this warning. See 08:02:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:02:31 08:02:31 Login Succeeded 08:02:31 nexus3.edgexfoundry.org:10002 08:02:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:02:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:02:31 Configure a credential helper to remove this warning. See 08:02:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:02:31 08:02:31 Login Succeeded 08:02:31 nexus3.edgexfoundry.org:10003 08:02:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:02:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:02:31 Configure a credential helper to remove this warning. See 08:02:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:02:31 08:02:31 Login Succeeded 08:02:31 nexus3.edgexfoundry.org:10004 08:02:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:02:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:02:31 Configure a credential helper to remove this warning. See 08:02:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:02:31 08:02:31 Login Succeeded 08:02:31 docker.io 08:02:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:02:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:02:32 Configure a credential helper to remove this warning. See 08:02:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:02:32 08:02:32 Login Succeeded 08:02:32 ---> docker-login.sh ends [Pipeline] } 08:02:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 08:02:33 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:02:33 08:02:33 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:02:33 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:02:33 latest: Pulling from edgex-devops/git-semver 08:02:33 a0d0a0d46f8b: Pulling fs layer 08:02:33 3e5f54012d9b: Pulling fs layer 08:02:33 4c7163046ea9: Pulling fs layer 08:02:33 0c2d73faf560: Pulling fs layer 08:02:33 0c2d73faf560: Waiting 08:02:33 3e5f54012d9b: Verifying Checksum 08:02:33 3e5f54012d9b: Download complete 08:02:33 a0d0a0d46f8b: Verifying Checksum 08:02:33 a0d0a0d46f8b: Download complete 08:02:33 0c2d73faf560: Verifying Checksum 08:02:33 0c2d73faf560: Download complete 08:02:33 4c7163046ea9: Verifying Checksum 08:02:33 4c7163046ea9: Download complete 08:02:34 a0d0a0d46f8b: Pull complete 08:02:34 3e5f54012d9b: Pull complete 08:02:34 4c7163046ea9: Pull complete 08:02:34 0c2d73faf560: Pull complete 08:02:34 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 08:02:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:02:34 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:02:34 prd-centos7-docker-4c-2g-896 does not seem to be running inside a container 08:02:34 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 08:02:35 $ docker top f7bc82dd67a4c7fc960f5c64f22db6c36816a815598fd0b7cfb6ecbdd9d31ad5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:02:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:02:35 [ssh-agent] Looking for ssh-agent implementation... 08:02:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:02:35 $ docker exec f7bc82dd67a4c7fc960f5c64f22db6c36816a815598fd0b7cfb6ecbdd9d31ad5 ssh-agent 08:02:35 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGPcdBM/agent.14 08:02:35 SSH_AGENT_PID=21 08:02:35 Running ssh-add (command line suppressed) 08:02:35 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_3391531873716955134.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_3391531873716955134.key) 08:02:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:02:36 + git tag --points-at HEAD [Pipeline] } 08:02:36 $ docker exec --env ******** --env ******** f7bc82dd67a4c7fc960f5c64f22db6c36816a815598fd0b7cfb6ecbdd9d31ad5 ssh-agent -k 08:02:36 unset SSH_AUTH_SOCK; 08:02:36 unset SSH_AGENT_PID; 08:02:36 echo Agent pid 21 killed; 08:02:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:02:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:02:36 [ssh-agent] Looking for ssh-agent implementation... 08:02:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:02:36 $ docker exec f7bc82dd67a4c7fc960f5c64f22db6c36816a815598fd0b7cfb6ecbdd9d31ad5 ssh-agent 08:02:36 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFjFeON/agent.54 08:02:36 SSH_AGENT_PID=60 08:02:36 Running ssh-add (command line suppressed) 08:02:36 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_1852906554715918613.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_1852906554715918613.key) 08:02:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:02:36 + git semver init 08:02:36 # -> Open(): unable to determine branch for HEAD 08:02:36 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.git 08:02:36 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_main 08:02:36 # $SEMVER_REMOTE_NAME = origin 08:02:36 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:02:36 # $SEMVER_USER_NAME = edgex-jenkins 08:02:36 # $SEMVER_BRANCH = main 08:02:36 # $SEMVER_TEMP = /tmp/semver-796481781 08:02:36 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 08:02:37 # '/tmp/semver-796481781' -> '/w/workspace/edgexfoundry_device-sdk-c_main/.semver' 08:02:37 # -> Force: false 08:02:37 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.semver [Pipeline] } 08:02:37 $ docker exec --env ******** --env ******** f7bc82dd67a4c7fc960f5c64f22db6c36816a815598fd0b7cfb6ecbdd9d31ad5 ssh-agent -k 08:02:37 unset SSH_AUTH_SOCK; 08:02:37 unset SSH_AGENT_PID; 08:02:37 echo Agent pid 60 killed; 08:02:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:02:38 + git semver [Pipeline] } 08:02:38 $ docker stop --time=1 f7bc82dd67a4c7fc960f5c64f22db6c36816a815598fd0b7cfb6ecbdd9d31ad5 08:02:39 $ docker rm -f f7bc82dd67a4c7fc960f5c64f22db6c36816a815598fd0b7cfb6ecbdd9d31ad5 [Pipeline] // withDockerContainer [Pipeline] sh 08:02:39 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:02:40 Stashed 1 file(s) [Pipeline] echo 08:02:40 [edgeXSemver]: initialized semver on version 2.0.1-dev.12 [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 08:02:55 Still waiting to schedule task 08:02:55 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-896’ 08:02:55 Still waiting to schedule task 08:02:55 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 08:05:10 Running on prd-ubuntu18.04-docker-arm64-4c-16g-897 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] ws 08:05:10 Running in /w/workspace/device-sdk-c/13 [Pipeline] { [Pipeline] checkout 08:05:10 Selected Git installation does not exist. Using Default 08:05:10 The recommended git tool is: NONE 08:05:16 using credential edgex-jenkins-ssh 08:05:16 Cloning the remote Git repository 08:05:16 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 08:05:17 > git init /w/workspace/device-sdk-c/13 # timeout=10 08:05:17 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 08:05:17 > git --version # timeout=10 08:05:17 > git --version # 'git version 2.17.1' 08:05:17 using GIT_SSH to set credentials SSH Credentials for GitHub 08:05:17 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:05:18 Avoid second fetch 08:05:18 Checking out Revision f9cc441c845f7b3b136fda20b0bd590713aa9127 (main) 08:05:18 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 08:05:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:05:18 > git config core.sparsecheckout # timeout=10 08:05:18 > git checkout -f f9cc441c845f7b3b136fda20b0bd590713aa9127 # timeout=10 08:05:19 Running on prd-centos7-docker-4c-2g-899 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] ws 08:05:19 Running in /w/workspace/device-sdk-c/13 [Pipeline] { [Pipeline] checkout 08:05:19 Selected Git installation does not exist. Using Default 08:05:19 The recommended git tool is: NONE 08:05:21 using credential edgex-jenkins-ssh 08:05:21 Cloning the remote Git repository 08:05:21 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 08:05:22 > git init /w/workspace/device-sdk-c/13 # timeout=10 08:05:22 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 08:05:22 > git --version # timeout=10 08:05:22 > git --version # 'git version 2.24.4' 08:05:22 using GIT_SSH to set credentials SSH Credentials for GitHub 08:05:22 [INFO] Currently running in a labeled security context 08:05:22 [INFO] Currently SELinux is 'enforcing' on the host 08:05:22 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/13@tmp/jenkins-gitclient-ssh2232172300947017050.key 08:05:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:05:23 Commit message: "Fix: Remove trailing null from MQTT message envelope (383) (#384)" 08:05:23 Avoid second fetch 08:05:23 Checking out Revision f9cc441c845f7b3b136fda20b0bd590713aa9127 (main) 08:05:23 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 08:05:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:05:23 > git config core.sparsecheckout # timeout=10 08:05:23 > git checkout -f f9cc441c845f7b3b136fda20b0bd590713aa9127 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:05:24 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:05:24 % Total % Received % Xferd Average Speed Time Time Time Current 08:05:24 Dload Upload Total Spent Left Speed 08:05:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 100 11824 100 11824 0 0 9060 0 0:00:01 0:00:01 --:--:-- 9060 [Pipeline] sh 08:05:25 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:05:26 + sudo tee /etc/docker/daemon.new 08:05:26 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 08:05:26 { 08:05:26 "registry-mirrors": [ 08:05:26 "https://nexus3.edgexfoundry.org:10001" 08:05:26 ], 08:05:26 "bip": "10.250.0.254/24", 08:05:26 "hosts": [ 08:05:26 "tcp://0.0.0.0:5555", 08:05:26 "unix:///var/run/docker.sock" 08:05:26 ], 08:05:26 "mtu": 1458, 08:05:26 "selinux-enabled": true, 08:05:26 "seccomp-profile": "/etc/docker/seccomp.json" 08:05:26 } [Pipeline] sh 08:05:26 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:05:26 Commit message: "Fix: Remove trailing null from MQTT message envelope (383) (#384)" 08:05:26 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:05:27 provisioning config files... 08:05:27 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/13@tmp/config2228757282921731143tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:05:27 ---> docker-login.sh 08:05:27 nexus3.edgexfoundry.org:10001 08:05:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:05:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:05:27 Configure a credential helper to remove this warning. See 08:05:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:05:27 08:05:27 Login Succeeded 08:05:27 nexus3.edgexfoundry.org:10002 08:05:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:05:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:05:27 Configure a credential helper to remove this warning. See 08:05:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:05:27 08:05:27 Login Succeeded 08:05:27 nexus3.edgexfoundry.org:10003 08:05:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:05:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:05:28 Configure a credential helper to remove this warning. See 08:05:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:05:28 08:05:28 Login Succeeded 08:05:28 nexus3.edgexfoundry.org:10004 08:05:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:05:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:05:28 Configure a credential helper to remove this warning. See 08:05:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:05:28 08:05:28 Login Succeeded 08:05:28 docker.io 08:05:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:05:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:05:28 Configure a credential helper to remove this warning. See 08:05:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:05:28 08:05:28 Login Succeeded 08:05:28 ---> docker-login.sh ends [Pipeline] } 08:05:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:05:28 ========================================================= 08:05:28 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 08:05:28 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 08:05:29 + 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 . 08:05:29 Sending build context to Docker daemon 2.71MB 08:05:29 Step 1/24 : ARG BASE=alpine:3.14 08:05:29 Step 2/24 : FROM ${BASE} as builder 08:05:29 latest: Pulling from edgex-devops/edgex-gcc-base 08:05:29 a0d0a0d46f8b: Pulling fs layer 08:05:29 39017ce70367: Pulling fs layer 08:05:29 dcf9283bb20a: Pulling fs layer 08:05:29 39017ce70367: Verifying Checksum 08:05:29 39017ce70367: Download complete 08:05:29 a0d0a0d46f8b: Verifying Checksum 08:05:29 a0d0a0d46f8b: Download complete 08:05:29 a0d0a0d46f8b: Pull complete 08:05:29 39017ce70367: Pull complete 08:05:29 dcf9283bb20a: Verifying Checksum 08:05:29 dcf9283bb20a: Download complete 08:05:32 dcf9283bb20a: Pull complete 08:05:32 Digest: sha256:2a2af42e0978abc69143d34e5140e0e2b13385d9fcf9e2292ee97f6b0c1f1d72 08:05:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 08:05:32 ---> a4e04833b611 08:05:32 Step 3/24 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 08:05:34 ---> Running in e9609246f26d 08:05:34 Connecting to iotech.jfrog.io (54.72.115.12:443) 08:05:34 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 08:05:34 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 08:05:34 '/etc/apk/keys/alpine.dev.rsa.pub' saved 08:05:35 Removing intermediate container e9609246f26d 08:05:35 ---> 13dd7fb83d87 08:05:35 Step 4/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 08:05:35 ---> Running in 9fe632f33d4e 08:05:35 Removing intermediate container 9fe632f33d4e 08:05:35 ---> ce68f86967c0 08:05:35 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 08:05:35 ---> Running in aa8864d0dcab 08:05:35 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 08:05:36 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 08:05:37 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz 08:05:37 WARNING: This apk-tools is OLD! Some packages might not function properly. 08:05:37 (1/27) Installing hiredis (1.0.0-r0) 08:05:37 (2/27) Installing hiredis-dev (1.0.0-r0) 08:05:37 (3/27) Installing ncurses-dev (6.2_p20210612-r0) 08:05:37 (4/27) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 08:05:38 (5/27) Installing libblkid (2.37-r0) 08:05:38 (6/27) Installing blkid (2.37-r0) 08:05:38 (7/27) Installing libcap-ng (0.8.2-r0) 08:05:39 (8/27) Installing setpriv (2.37-r0) 08:05:39 (9/27) Installing libmount (2.37-r0) 08:05:39 (10/27) Installing libsmartcols (2.37-r0) 08:05:39 (11/27) Installing findmnt (2.37-r0) 08:05:39 (12/27) Installing mcookie (2.37-r0) 08:05:39 (13/27) Installing hexdump (2.37-r0) 08:05:39 (14/27) Installing lsblk (2.37-r0) 08:05:39 (15/27) Installing libuuid (2.37-r0) 08:05:39 (16/27) Installing libfdisk (2.37-r0) 08:05:39 (17/27) Installing sfdisk (2.37-r0) 08:05:39 (18/27) Installing cfdisk (2.37-r0) 08:05:39 (19/27) Installing partx (2.37-r0) 08:05:40 (20/27) Installing flock (2.37-r0) 08:05:40 (21/27) Installing logger (2.37-r0) 08:05:40 (22/27) Installing uuidgen (2.37-r0) 08:05:40 (23/27) Installing libeconf (0.3.8-r1) 08:05:40 (24/27) Installing util-linux (2.37-r0) 08:05:40 (25/27) Installing util-linux-dev (2.37-r0) 08:05:41 (26/27) Installing libidn2 (2.3.1-r0) 08:05:41 (27/27) Installing wget (1.21.1-r1) 08:05:41 Executing busybox-1.33.1-r3.trigger 08:05:41 OK: 291 MiB in 104 packages 08:05:41 Removing intermediate container aa8864d0dcab 08:05:41 ---> d50c3e2db274 08:05:41 Step 6/24 : ENV CBOR_VERSION=0.5.0 08:05:41 ---> Running in 010350ed946d 08:05:41 Removing intermediate container 010350ed946d 08:05:41 ---> 4a91f3e08be2 08:05:41 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 08:05:41 ---> Running in d2f8103093dc 08:05:42 --2021-10-21 08:05:41-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 08:05:42 Resolving github.com (github.com)... 140.82.113.4 08:05:42 Connecting to github.com (github.com)|140.82.113.4|:443... connected. 08:05:42 HTTP request sent, awaiting response... 302 Found 08:05:42 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 08:05:42 --2021-10-21 08:05:42-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 08:05:42 Resolving codeload.github.com (codeload.github.com)... 140.82.114.9 08:05:42 Connecting to codeload.github.com (codeload.github.com)|140.82.114.9|:443... connected. 08:05:42 HTTP request sent, awaiting response... 200 OK 08:05:42 Length: unspecified [application/x-gzip] 08:05:42 Saving to: 'STDOUT' 08:05:42 08:05:42 0K .......... .......... .......... .......... .......... 1.25M 08:05:42 50K .......... .......... .......... .......... .......... 2.49M 08:05:42 100K .......... .......... .......... .......... .......... 48.7M 08:05:42 150K .......... .......... .......... .......... .......... 2.71M 08:05:42 200K .......... .......... .......... .......... .......... 24.7M 08:05:42 250K .......... .......... .......... .......... .......... 8.86M 08:05:42 300K .......... .......... .......... .......... .......... 10.3M 08:05:42 350K .......... .......... .......... .......... .......... 6.55M 08:05:42 400K .......... .......... .......... .......... .......... 24.0M 08:05:42 450K .......... .......... .......... .......... .......... 8.05M 08:05:42 500K .......... .......... .......... .......... .......... 23.2M 08:05:42 550K .......... .......... .......... .......... .......... 6.44M 08:05:42 600K .......... .......... .......... .......... .......... 3.98M 08:05:42 650K .......... .......... .......... .......... .......... 7.23M 08:05:42 700K .. 75.7M=0.1s 08:05:42 08:05:42 2021-10-21 08:05:42 (5.11 MB/s) - written to stdout [719348] 08:05:42 08:05:42 -- The C compiler identification is GNU 10.3.1 08:05:42 -- The CXX compiler identification is GNU 10.3.1 08:05:42 -- Detecting C compiler ABI info 08:05:42 -- Detecting C compiler ABI info - done 08:05:42 -- Check for working C compiler: /usr/bin/cc - skipped 08:05:42 -- Detecting C compile features 08:05:42 -- Detecting C compile features - done 08:05:42 -- Detecting CXX compiler ABI info 08:05:42 -- Detecting CXX compiler ABI info - done 08:05:42 -- Check for working CXX compiler: /usr/bin/c++ - skipped 08:05:42 -- Detecting CXX compile features 08:05:42 -- Detecting CXX compile features - done 08:05:42 -- Looking for include file endian.h 08:05:42 -- Looking for include file endian.h - found 08:05:42 -- Looking for sys/types.h 08:05:42 -- Looking for sys/types.h - found 08:05:42 -- Looking for stdint.h 08:05:42 -- Looking for stdint.h - found 08:05:42 -- Looking for stddef.h 08:05:43 -- Looking for stddef.h - found 08:05:43 -- Check size of size_t 08:05:43 -- Check size of size_t - done 08:05:43 CMake Warning at examples/CMakeLists.txt:16 (find_package): 08:05:43 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 08:05:43 asked CMake to find a package configuration file provided by "cJSON", but 08:05:43 CMake did not find one. 08:05:43 08:05:43 Could not find a package configuration file provided by "cJSON" with any of 08:05:43 the following names: 08:05:43 08:05:43 cJSONConfig.cmake 08:05:43 cjson-config.cmake 08:05:43 08:05:43 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 08:05:43 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 08:05:43 provides a separate development package or SDK, be sure it has been 08:05:43 installed. 08:05:43 08:05:43 08:05:43 -- Configuring done 08:05:43 -- Generating done 08:05:43 -- Build files have been written to: /tmp/cbor 08:05:43 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 08:05:43 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 08:05:43 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 08:05:43 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 08:05:43 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 08:05:43 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 08:05:43 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 08:05:43 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 08:05:43 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 08:05:43 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 08:05:44 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 08:05:44 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 08:05:44 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 08:05:44 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 08:05:44 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 08:05:44 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 08:05:44 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 08:05:44 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 08:05:44 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 08:05:44 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 08:05:44 [ 40%] Linking C shared library libcbor.so 08:05:44 [ 40%] Built target cbor_shared 08:05:44 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 08:05:44 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:05:45 provisioning config files... 08:05:45 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 08:05:45 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 08:05:45 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/13@tmp/config6829497594484391617tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:05:45 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 08:05:45 ---> docker-login.sh 08:05:45 nexus3.edgexfoundry.org:10001 08:05:45 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 08:05:45 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 08:05:45 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 08:05:45 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 08:05:46 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 08:05:46 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 08:05:46 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 08:05:46 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 08:05:46 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 08:05:46 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 08:05:46 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 08:05:46 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 08:05:46 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 08:05:46 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 08:05:46 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 08:05:46 [ 80%] Linking C static library libcbor.a 08:05:46 [ 80%] Built target cbor 08:05:46 [ 82%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 08:05:46 [ 84%] Linking C executable readfile 08:05:47 [ 84%] Built target readfile 08:05:47 [ 86%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 08:05:47 [ 88%] Linking C executable create_items 08:05:47 [ 88%] Built target create_items 08:05:47 [ 90%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 08:05:47 [ 92%] Linking C executable sort 08:05:47 [ 92%] Built target sort 08:05:47 [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 08:05:47 [ 96%] Linking C executable hello 08:05:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:05:47 [ 96%] Built target hello 08:05:47 [ 98%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 08:05:47 [100%] Linking C executable streaming_parser 08:05:47 [100%] Built target streaming_parser 08:05:47 Install the project... 08:05:47 -- Install configuration: "Release" 08:05:47 -- Installing: /usr/local/include/cbor/configuration.h 08:05:47 -- Installing: /usr/local/lib/libcbor.a 08:05:47 -- Installing: /usr/local/lib/libcbor.so.0.0.0 08:05:47 -- Installing: /usr/local/lib/libcbor.so.0 08:05:47 -- Installing: /usr/local/lib/libcbor.so 08:05:47 -- Up-to-date: /usr/local/include/cbor 08:05:47 -- Installing: /usr/local/include/cbor/arrays.h 08:05:47 -- Installing: /usr/local/include/cbor/bytestrings.h 08:05:47 -- Installing: /usr/local/include/cbor/callbacks.h 08:05:47 -- Installing: /usr/local/include/cbor/common.h 08:05:47 -- Installing: /usr/local/include/cbor/data.h 08:05:47 -- Installing: /usr/local/include/cbor/encoding.h 08:05:47 -- Installing: /usr/local/include/cbor/floats_ctrls.h 08:05:47 -- Installing: /usr/local/include/cbor/internal 08:05:47 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 08:05:47 -- Installing: /usr/local/include/cbor/internal/encoders.h 08:05:47 -- Installing: /usr/local/include/cbor/internal/loaders.h 08:05:47 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 08:05:47 -- Installing: /usr/local/include/cbor/internal/stack.h 08:05:47 -- Installing: /usr/local/include/cbor/internal/unicode.h 08:05:47 -- Installing: /usr/local/include/cbor/ints.h 08:05:47 -- Installing: /usr/local/include/cbor/maps.h 08:05:47 -- Installing: /usr/local/include/cbor/serialization.h 08:05:47 -- Installing: /usr/local/include/cbor/streaming.h 08:05:47 -- Installing: /usr/local/include/cbor/strings.h 08:05:47 -- Installing: /usr/local/include/cbor/tags.h 08:05:47 -- Installing: /usr/local/include/cbor.h 08:05:47 -- Installing: /usr/local/lib/pkgconfig/libcbor.pc 08:05:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:05:47 Configure a credential helper to remove this warning. See 08:05:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:05:47 08:05:47 Login Succeeded 08:05:47 nexus3.edgexfoundry.org:10002 08:05:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:05:47 Removing intermediate container d2f8103093dc 08:05:47 ---> 52c197ca689a 08:05:47 Step 8/24 : RUN mkdir /tmp/sdk 08:05:47 ---> Running in e459ef73f462 08:05:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:05:47 Configure a credential helper to remove this warning. See 08:05:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:05:47 08:05:47 Login Succeeded 08:05:47 nexus3.edgexfoundry.org:10003 08:05:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:05:48 Removing intermediate container e459ef73f462 08:05:48 ---> ae29c1fae0ea 08:05:48 Step 9/24 : COPY VERSION /tmp/sdk 08:05:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:05:48 Configure a credential helper to remove this warning. See 08:05:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:05:48 08:05:48 Login Succeeded 08:05:48 nexus3.edgexfoundry.org:10004 08:05:48 ---> 82313bc4ce03 08:05:48 Step 10/24 : COPY src /tmp/sdk/src 08:05:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:05:49 ---> 295adf71551f 08:05:49 Step 11/24 : COPY include /tmp/sdk/include 08:05:49 ---> 803879cde64d 08:05:49 Step 12/24 : COPY scripts /tmp/sdk/scripts 08:05:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:05:49 Configure a credential helper to remove this warning. See 08:05:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:05:49 08:05:49 Login Succeeded 08:05:49 docker.io 08:05:49 ---> cbd61e0f243d 08:05:49 Step 13/24 : COPY LICENSE /tmp/sdk 08:05:49 ---> bc5e6f7ab210 08:05:49 Step 14/24 : COPY Attribution.txt /tmp/sdk 08:05:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:05:49 ---> 80ae6c421ad0 08:05:49 Step 15/24 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 08:05:49 ---> Running in 23940808d196 08:05:49 + CPPCHECK=false 08:05:49 + DOCGEN=false 08:05:49 + TOMLVER=SDK-0.2 08:05:49 + CUTILVER=1.2.2 08:05:49 + '[' 0 -gt 0 ] 08:05:49 + readlink -f ./scripts/build.sh 08:05:49 + dirname /tmp/sdk/scripts/build.sh 08:05:49 + dirname /tmp/sdk/scripts 08:05:49 + ROOT=/tmp/sdk 08:05:49 + cd /tmp/sdk 08:05:49 + '[' '!' -d deps ] 08:05:49 + mkdir deps 08:05:49 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 08:05:49 + tar -C deps -z -x -f - 08:05:49 --2021-10-21 08:05:49-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 08:05:49 Resolving github.com (github.com)... 140.82.112.3 08:05:49 Connecting to github.com (github.com)|140.82.112.3|:443... connected. 08:05:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:05:49 Configure a credential helper to remove this warning. See 08:05:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:05:49 08:05:49 Login Succeeded 08:05:49 ---> docker-login.sh ends [Pipeline] } 08:05:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 08:05:50 HTTP request sent, awaiting response... 302 Found 08:05:50 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 08:05:50 --2021-10-21 08:05:49-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 08:05:50 Resolving codeload.github.com (codeload.github.com)... 140.82.114.9 08:05:50 Connecting to codeload.github.com (codeload.github.com)|140.82.114.9|:443... connected. 08:05:50 HTTP request sent, awaiting response... 200 OK 08:05:50 Length: 16451 (16K) [application/x-gzip] 08:05:50 Saving to: 'STDOUT' 08:05:50  08:05:50 0K .......... ...... 100% 857K=0.02s 08:05:50 08:05:50 2021-10-21 08:05:50 (857 KB/s) - written to stdout [16451/16451] 08:05:50 08:05:50 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 08:05:50 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 08:05:50 + tar -C deps -z -x -f - 08:05:50 --2021-10-21 08:05:50-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 08:05:50 Resolving github.com (github.com)... 140.82.112.3 [Pipeline] echo 08:05:50 ========================================================= 08:05:50 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 08:05:50 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 08:05:50 Connecting to github.com (github.com)|140.82.112.3|:443... connected. 08:05:50 HTTP request sent, awaiting response... 302 Found 08:05:50 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [following] 08:05:50 --2021-10-21 08:05:50-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 08:05:50 Resolving codeload.github.com (codeload.github.com)... 140.82.114.9 08:05:50 Connecting to codeload.github.com (codeload.github.com)|140.82.114.9|:443... connected. 08:05:50 HTTP request sent, awaiting response... 200 OK 08:05:50 Length: unspecified [application/x-gzip] 08:05:50 Saving to: 'STDOUT' 08:05:50 08:05:50 0K .......... .......... .......... .......... .......... 1.26M 08:05:50 50K .......... .......... .......... .......... .......... 2.55M 08:05:50 100K .......... .......... .......... .......... .......... 23.8M 08:05:50 150K .......... .......... .......... ......... 3.74M=0.07s 08:05:50 08:05:50 2021-10-21 08:05:50 (2.63 MB/s) - written to stdout [193961] 08:05:50 08:05:50 + mkdir -p src/c/iot 08:05:50 + 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 08:05:50 + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot 08:05:50 + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot 08:05:50 + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot 08:05:50 + mkdir -p include/iot 08:05:50 + 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 08:05:50 + mkdir -p include/iot/os 08:05:50 + 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 08:05:50 + mkdir -p /tmp/sdk/build/release 08:05:50 + cd /tmp/sdk/build/release 08:05:50 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 08:05:50 + 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 . 08:05:50 -- The C compiler identification is GNU 10.3.1 08:05:50 -- Detecting C compiler ABI info 08:05:50 -- Detecting C compiler ABI info - done 08:05:50 -- Check for working C compiler: /usr/bin/cc - skipped 08:05:50 -- Detecting C compile features 08:05:50 -- Detecting C compile features - done 08:05:50 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 08:05:50 -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") 08:05:50 -- Found LIBYAML: /usr/lib/libyaml.so 08:05:50 -- Found LIBUUID: /usr/lib/libuuid.so 08:05:50 -- Found LIBCBOR: /usr/local/lib/libcbor.so 08:05:50 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 08:05:50 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 08:05:50 -- C SDK 2.0.1-dev.12 for Linux 08:05:50 -- Performing Test CSDK_HAVE_ATOMIC 08:05:50 -- Performing Test CSDK_HAVE_ATOMIC - Success 08:05:51 -- Found Curses: /usr/lib/libcurses.so 08:05:51 -- Configuring done 08:05:51 -- Generating done 08:05:51 -- Build files have been written to: /tmp/sdk/build/release 08:05:51 + make all package 08:05:51 + tee release.log 08:05:51 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 08:05:51 Sending build context to Docker daemon 2.709MB 08:05:51 Step 1/24 : ARG BASE=alpine:3.14 08:05:51 Step 2/24 : FROM ${BASE} as builder 08:05:51 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 08:05:51 552d1f2373af: Pulling fs layer 08:05:51 f2be2b6548c6: Pulling fs layer 08:05:51 ee4ac2fe028c: Pulling fs layer 08:05:51 f2be2b6548c6: Verifying Checksum 08:05:51 f2be2b6548c6: Download complete 08:05:51 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 08:05:51 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 08:05:51 552d1f2373af: Verifying Checksum 08:05:51 552d1f2373af: Download complete 08:05:51 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 08:05:51 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 08:05:51 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 08:05:52 552d1f2373af: Pull complete 08:05:52 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 08:05:52 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 08:05:52 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 08:05:52 f2be2b6548c6: Pull complete 08:05:52 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 08:05:53 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 08:05:53 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 08:05:53 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 08:05:53 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 08:05:53 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 08:05:53 ee4ac2fe028c: Verifying Checksum 08:05:53 ee4ac2fe028c: Download complete 08:05:53 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 08:05:53 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 08:05:54 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 08:05:54 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 08:05:54 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 08:05:54 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 08:05:54 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 08:05:54 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 08:05:54 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 08:05:54 275 | const iot_component_factory_t * factory; 08:05:54 | ^~~~~~~ 08:05:54 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 08:05:55 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 08:05:55 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 08:05:55 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 08:05:55 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 08:05:55 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 08:05:55 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 08:05:56 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 08:05:56 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 08:05:56 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 08:05:56 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 08:05:56 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 08:05:56 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 08:05:57 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 08:05:57 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 08:05:57 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 08:05:58 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 08:05:58 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 08:05:58 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 08:05:58 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 08:05:58 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 08:05:58 /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] 08:05:58 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 08:05:58 | ^~~~~~~~~~~~~ 08:05:58 | | 08:05:58 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 08:05:58 In file included from /tmp/sdk/src/c/rest-server.c:21: 08:05:58 /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 *)' 08:05:58 2714 | MHD_KeyValueIterator iterator, 08:05:58 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 08:05:58 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 08:05:58 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 08:05:58 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 08:05:58 | ^~~~~~~~~~~~ 08:05:58 | | 08:05:58 | 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 **)} 08:05:58 In file included from /tmp/sdk/src/c/rest-server.c:21: 08:05:58 /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 **)'} 08:05:58 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 08:05:58 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 08:05:58 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 08:05:58 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 08:05:58 | ^~~~~~~~~~~~ 08:05:58 | | 08:05:58 | 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 **)} 08:05:58 In file included from /tmp/sdk/src/c/rest-server.c:21: 08:05:58 /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 **)'} 08:05:58 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 08:05:58 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 08:05:58 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 08:05:59 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 08:05:59 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 08:05:59 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 08:05:59 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 08:05:59 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 08:06:00 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 08:06:00 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 08:06:00 [ 76%] Linking C shared library libcsdk.so 08:06:00 [ 76%] Built target csdk 08:06:00 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 08:06:00 [ 79%] Linking C executable template 08:06:00 [ 79%] Built target template 08:06:00 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 08:06:01 [ 82%] Linking C executable device-counter 08:06:01 [ 82%] Built target device-counter 08:06:01 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 08:06:01 [ 85%] Linking C executable device-random 08:06:01 [ 85%] Built target device-random 08:06:01 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 08:06:01 [ 88%] Linking C executable device-gyro 08:06:01 [ 88%] Built target device-gyro 08:06:01 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 08:06:01 [ 91%] Linking C executable device-bitfields 08:06:01 [ 91%] Built target device-bitfields 08:06:01 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 08:06:01 ee4ac2fe028c: Pull complete 08:06:01 Digest: sha256:4c85ded81933cf54d6808eb239bc3fea8e3bb42c9130537b51c88bfc6b01a02b 08:06:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 08:06:01 ---> b6d714ea7bf2 08:06:01 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 08:06:02 [ 94%] Linking C executable template-discovery 08:06:02 [ 94%] Built target template-discovery 08:06:02 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 08:06:02 [ 97%] Linking C executable device-file 08:06:02 [ 97%] Built target device-file 08:06:02 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 08:06:02 [100%] Linking C executable device-terminal 08:06:02 [100%] Built target device-terminal 08:06:02 Run CPack packaging tool... 08:06:02 CPack: Create package using TGZ 08:06:02 CPack: Install projects 08:06:02 CPack: - Run preinstall target for: Csdk 08:06:02 CPack: - Install project: Csdk [] 08:06:02 CPack: Create package 08:06:02 CPack: - package: /tmp/sdk/build/release/csdk-2.0.1-dev.12.tar.gz generated. 08:06:02 + '[' false '=' true ] 08:06:02 + '[' false '=' true ] 08:06:02 + mkdir -p /tmp/sdk/build/debug 08:06:02 + cd /tmp/sdk/build/debug 08:06:02 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 08:06:02 -- The C compiler identification is GNU 10.3.1 08:06:02 -- Detecting C compiler ABI info 08:06:02 -- Detecting C compiler ABI info - done 08:06:02 -- Check for working C compiler: /usr/bin/cc - skipped 08:06:02 -- Detecting C compile features 08:06:02 -- Detecting C compile features - done 08:06:02 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 08:06:03 -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") 08:06:03 -- Found LIBYAML: /usr/lib/libyaml.so 08:06:03 -- Found LIBUUID: /usr/lib/libuuid.so 08:06:03 -- Found LIBCBOR: /usr/local/lib/libcbor.so 08:06:03 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 08:06:03 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 08:06:03 -- C SDK 2.0.1-dev.12 for Linux 08:06:03 -- Performing Test CSDK_HAVE_ATOMIC 08:06:03 -- Performing Test CSDK_HAVE_ATOMIC - Success 08:06:03 -- Found Curses: /usr/lib/libcurses.so 08:06:03 -- Configuring done 08:06:03 -- Generating done 08:06:03 -- Build files have been written to: /tmp/sdk/build/debug 08:06:03 + make 08:06:03 + tee debug.log 08:06:03 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 08:06:03 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 08:06:03 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 08:06:03 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 08:06:03 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 08:06:03 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 08:06:03 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 08:06:03 ---> Running in 6c444a19b26b 08:06:03 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 08:06:03 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 08:06:03 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 08:06:04 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 08:06:04 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 08:06:04 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 08:06:04 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 08:06:04 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 08:06:04 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 08:06:04 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 08:06:04 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 08:06:04 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 08:06:04 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 08:06:04 Connecting to iotech.jfrog.io (54.195.244.87:443) 08:06:04 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 08:06:04 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 08:06:04 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 08:06:04 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 08:06:04 275 | const iot_component_factory_t * factory; 08:06:04 | ^~~~~~~ 08:06:04 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 08:06:05 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 08:06:05 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 08:06:05 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 08:06:05 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 08:06:05 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 08:06:05 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 08:06:05 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 08:06:05 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 08:06:05 '/etc/apk/keys/alpine.dev.rsa.pub' saved 08:06:05 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 08:06:05 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 08:06:05 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 08:06:05 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 08:06:05 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 08:06:05 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 08:06:05 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 08:06:05 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 08:06:06 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 08:06:06 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 08:06:06 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 08:06:06 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 08:06:06 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 08:06:06 Removing intermediate container 6c444a19b26b 08:06:06 ---> f0ab6810ff45 08:06:06 Step 4/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 08:06:06 ---> Running in 60d5f7498654 08:06:06 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 08:06:06 /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] 08:06:06 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 08:06:06 | ^~~~~~~~~~~~~ 08:06:06 | | 08:06:06 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 08:06:06 In file included from /tmp/sdk/src/c/rest-server.c:21: 08:06:06 /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 *)' 08:06:06 2714 | MHD_KeyValueIterator iterator, 08:06:06 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 08:06:06 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 08:06:06 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 08:06:06 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 08:06:06 | ^~~~~~~~~~~~ 08:06:06 | | 08:06:06 | 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 **)} 08:06:06 In file included from /tmp/sdk/src/c/rest-server.c:21: 08:06:06 /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 **)'} 08:06:06 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 08:06:06 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 08:06:06 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 08:06:06 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 08:06:06 | ^~~~~~~~~~~~ 08:06:06 | | 08:06:06 | 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 **)} 08:06:06 In file included from /tmp/sdk/src/c/rest-server.c:21: 08:06:06 /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 **)'} 08:06:06 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 08:06:06 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 08:06:06 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 08:06:06 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 08:06:06 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 08:06:06 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 08:06:07 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 08:06:07 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 08:06:07 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 08:06:07 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 08:06:07 [ 76%] Linking C shared library libcsdk.so 08:06:07 [ 76%] Built target csdk 08:06:07 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 08:06:07 [ 79%] Linking C executable template 08:06:07 [ 79%] Built target template 08:06:07 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 08:06:07 [ 82%] Linking C executable device-counter 08:06:08 [ 82%] Built target device-counter 08:06:08 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 08:06:08 [ 85%] Linking C executable device-random 08:06:08 [ 85%] Built target device-random 08:06:08 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 08:06:08 [ 88%] Linking C executable device-gyro 08:06:08 [ 88%] Built target device-gyro 08:06:08 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 08:06:08 [ 91%] Linking C executable device-bitfields 08:06:08 [ 91%] Built target device-bitfields 08:06:08 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 08:06:08 [ 94%] Linking C executable template-discovery 08:06:08 [ 94%] Built target template-discovery 08:06:08 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 08:06:08 [ 97%] Linking C executable device-file 08:06:08 [ 97%] Built target device-file 08:06:08 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 08:06:08 Removing intermediate container 60d5f7498654 08:06:08 ---> 21868bab8e68 08:06:08 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 08:06:08 [100%] Linking C executable device-terminal 08:06:08 [100%] Built target device-terminal 08:06:08 make: Entering directory '/tmp/sdk/build/release' 08:06:08 make[1]: Entering directory '/tmp/sdk/build/release' 08:06:08 make[2]: Entering directory '/tmp/sdk/build/release' 08:06:08 make[2]: Leaving directory '/tmp/sdk/build/release' 08:06:08 [ 76%] Built target csdk 08:06:08 make[2]: Entering directory '/tmp/sdk/build/release' 08:06:08 make[2]: Leaving directory '/tmp/sdk/build/release' 08:06:08 [ 79%] Built target template 08:06:08 make[2]: Entering directory '/tmp/sdk/build/release' 08:06:08 make[2]: Leaving directory '/tmp/sdk/build/release' 08:06:08 [ 82%] Built target device-counter 08:06:08 make[2]: Entering directory '/tmp/sdk/build/release' 08:06:08 make[2]: Leaving directory '/tmp/sdk/build/release' 08:06:08 [ 85%] Built target device-random 08:06:08 make[2]: Entering directory '/tmp/sdk/build/release' 08:06:08 make[2]: Leaving directory '/tmp/sdk/build/release' 08:06:08 [ 88%] Built target device-gyro 08:06:08 make[2]: Entering directory '/tmp/sdk/build/release' 08:06:08 make[2]: Leaving directory '/tmp/sdk/build/release' 08:06:08 [ 91%] Built target device-bitfields 08:06:08 ---> Running in 79394b2e2832 08:06:09 make[2]: Entering directory '/tmp/sdk/build/release' 08:06:09 make[2]: Leaving directory '/tmp/sdk/build/release' 08:06:09 [ 94%] Built target template-discovery 08:06:09 make[2]: Entering directory '/tmp/sdk/build/release' 08:06:09 make[2]: Leaving directory '/tmp/sdk/build/release' 08:06:09 [ 97%] Built target device-file 08:06:09 make[2]: Entering directory '/tmp/sdk/build/release' 08:06:09 make[2]: Leaving directory '/tmp/sdk/build/release' 08:06:09 [100%] Built target device-terminal 08:06:09 make[1]: Leaving directory '/tmp/sdk/build/release' 08:06:09 Install the project... 08:06:09 -- Install configuration: "Release" 08:06:09 -- Installing: /usr/local/lib/libcsdk.so 08:06:09 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 08:06:09 -- Up-to-date: /usr/local/include 08:06:09 -- Installing: /usr/local/include/devsdk 08:06:09 -- Installing: /usr/local/include/devsdk/devsdk-base.h 08:06:09 -- Installing: /usr/local/include/devsdk/devsdk.h 08:06:09 -- Installing: /usr/local/include/edgex 08:06:09 -- Installing: /usr/local/include/edgex/devices.h 08:06:09 -- Installing: /usr/local/include/edgex/edgex-base.h 08:06:09 -- Installing: /usr/local/include/edgex/edgex.h 08:06:09 -- Installing: /usr/local/include/edgex/profiles.h 08:06:09 -- Installing: /usr/local/include/edgex/rest-server.h 08:06:09 -- Installing: /usr/local/include/edgex/csdk-defs.h 08:06:09 -- Installing: /usr/local/include/iot 08:06:09 -- Installing: /usr/local/include/iot/base64.h 08:06:09 -- Installing: /usr/local/include/iot/component.h 08:06:09 -- Installing: /usr/local/include/iot/config.h 08:06:09 -- Installing: /usr/local/include/iot/container.h 08:06:09 -- Installing: /usr/local/include/iot/data.h 08:06:09 -- Installing: /usr/local/include/iot/hash.h 08:06:09 -- Installing: /usr/local/include/iot/iot.h 08:06:09 -- Installing: /usr/local/include/iot/json.h 08:06:09 -- Installing: /usr/local/include/iot/logger.h 08:06:09 -- Installing: /usr/local/include/iot/os.h 08:06:09 -- Installing: /usr/local/include/iot/scheduler.h 08:06:09 -- Installing: /usr/local/include/iot/thread.h 08:06:09 -- Installing: /usr/local/include/iot/threadpool.h 08:06:09 -- Installing: /usr/local/include/iot/time.h 08:06:09 -- Installing: /usr/local/include/iot/typecode.h 08:06:09 -- Installing: /usr/local/include/iot/uuid.h 08:06:09 -- Installing: /usr/local/include/iot/os 08:06:09 -- Installing: /usr/local/include/iot/os/linux.h 08:06:09 -- Installing: /usr/local/include/iot/os/macos.h 08:06:09 -- Installing: /usr/local/include/iot/os/zephyr.h 08:06:09 -- Installing: /usr/local/include/iot/defs.h 08:06:09 -- Installing: /usr/local/share/device-sdk-c/LICENSE 08:06:09 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 08:06:09 make: Leaving directory '/tmp/sdk/build/release' 08:06:09 Removing intermediate container 23940808d196 08:06:09 ---> 2c85abe18115 08:06:09 Step 16/24 : FROM ${BASE} 08:06:09 ---> a4e04833b611 08:06:09 Step 17/24 : LABEL maintainer="IOTech " 08:06:09 ---> Running in 1a4340001739 08:06:09 Removing intermediate container 1a4340001739 08:06:09 ---> dcc0b91941aa 08:06:09 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 08:06:09 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 08:06:09 ---> Running in 801cb1e2ec10 08:06:10 Connecting to iotech.jfrog.io (54.229.110.245:443) 08:06:10 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 08:06:10 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 08:06:10 '/etc/apk/keys/alpine.dev.rsa.pub' saved 08:06:10 Removing intermediate container 801cb1e2ec10 08:06:10 ---> f797ea45a226 08:06:10 Step 19/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 08:06:10 ---> Running in 981398aede86 08:06:10 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 08:06:11 Removing intermediate container 981398aede86 08:06:11 ---> 74eaa616076c 08:06:11 Step 20/24 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid paho-mqtt-c-dev-1.3 hiredis-dev 08:06:11 ---> Running in 81ce439aea6d 08:06:11 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz 08:06:11 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 08:06:12 WARNING: This apk-tools is OLD! Some packages might not function properly. 08:06:12 (1/27) Installing hiredis (1.0.0-r0) 08:06:12 (2/27) Installing hiredis-dev (1.0.0-r0) 08:06:12 (3/27) Installing ncurses-dev (6.2_p20210612-r0) 08:06:12 (4/27) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 08:06:12 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 08:06:12 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz 08:06:13 (5/27) Installing libblkid (2.37-r0) 08:06:13 WARNING: This apk-tools is OLD! Some packages might not function properly. 08:06:13 (1/7) Installing curl (7.79.1-r0) 08:06:13 (2/7) Installing hiredis (1.0.0-r0) 08:06:13 (3/7) Installing hiredis-dev (1.0.0-r0) 08:06:13 (4/7) Installing libuuid (2.37-r0) 08:06:13 (6/27) Installing blkid (2.37-r0) 08:06:13 (5/7) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 08:06:13 (7/27) Installing libcap-ng (0.8.2-r0) 08:06:13 (8/27) Installing setpriv (2.37-r0) 08:06:13 (9/27) Installing libmount (2.37-r0) 08:06:13 (10/27) Installing libsmartcols (2.37-r0) 08:06:14 (11/27) Installing findmnt (2.37-r0) 08:06:14 (12/27) Installing mcookie (2.37-r0) 08:06:14 (13/27) Installing hexdump (2.37-r0) 08:06:14 (14/27) Installing lsblk (2.37-r0) 08:06:14 (15/27) Installing libuuid (2.37-r0) 08:06:14 (6/7) Installing libidn2 (2.3.1-r0) 08:06:14 (7/7) Installing wget (1.21.1-r1) 08:06:14 (16/27) Installing libfdisk (2.37-r0) 08:06:14 (17/27) Installing sfdisk (2.37-r0) 08:06:14 (18/27) Installing cfdisk (2.37-r0) 08:06:14 Executing busybox-1.33.1-r3.trigger 08:06:14 OK: 282 MiB in 84 packages 08:06:14 (19/27) Installing partx (2.37-r0) 08:06:14 (20/27) Installing flock (2.37-r0) 08:06:14 (21/27) Installing logger (2.37-r0) 08:06:15 Removing intermediate container 81ce439aea6d 08:06:15 ---> ce87bd44a088 08:06:15 Step 21/24 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 08:06:15 ---> 70e4e71e2c75 08:06:15 Step 22/24 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 08:06:15 (22/27) Installing uuidgen (2.37-r0) 08:06:15 (23/27) Installing libeconf (0.3.8-r1) 08:06:15 (24/27) Installing util-linux (2.37-r0) 08:06:15 ---> 1171a655b5da 08:06:15 Step 23/24 : COPY --from=builder /usr/local/lib /usr/local/lib 08:06:15 ---> a46eedfeb63b 08:06:15 Step 24/24 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 08:06:15 ---> 660b150284d0 08:06:15 Successfully built 660b150284d0 08:06:15 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 08:06:15 (25/27) Installing util-linux-dev (2.37-r0) 08:06:15 (26/27) Installing libidn2 (2.3.1-r0) 08:06:15 (27/27) Installing wget (1.21.1-r1) 08:06:16 + docker inspect -f . ci-base-image-x86_64 08:06:16 . [Pipeline] withDockerContainer 08:06:16 prd-centos7-docker-4c-2g-899 does not seem to be running inside a container 08:06:16 Executing busybox-1.33.1-r3.trigger 08:06:16 OK: 286 MiB in 104 packages 08:06:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/13 -v /w/workspace/device-sdk-c/13:/w/workspace/device-sdk-c/13:rw,z -v /w/workspace/device-sdk-c/13@tmp:/w/workspace/device-sdk-c/13@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 08:06:16 $ docker top 06ac4c22e7e24a7af1b030939e191bdafe02e8d350fc5a464e7ef5ff73bdc20e -eo pid,comm [Pipeline] { [Pipeline] sh 08:06:16 + make test 08:06:16 echo "make test" 08:06:16 make test [Pipeline] } 08:06:16 $ docker stop --time=1 06ac4c22e7e24a7af1b030939e191bdafe02e8d350fc5a464e7ef5ff73bdc20e 08:06:17 Removing intermediate container 79394b2e2832 08:06:17 ---> aecbf9a88166 08:06:17 Step 6/24 : ENV CBOR_VERSION=0.5.0 08:06:17 ---> Running in 1272d30906c4 08:06:18 $ docker rm -f 06ac4c22e7e24a7af1b030939e191bdafe02e8d350fc5a464e7ef5ff73bdc20e [Pipeline] // withDockerContainer 08:06:18 Removing intermediate container 1272d30906c4 08:06:18 ---> 4ab86a496b70 08:06:18 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 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 08:06:18 ---> Running in 8e849f5762d9 [Pipeline] sh 08:06:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:06:19 --2021-10-21 08:06:19-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 08:06:19 Resolving github.com (github.com)... 140.82.112.3 08:06:19 Connecting to github.com (github.com)|140.82.112.3|:443... connected. 08:06:19 HTTP request sent, awaiting response... 302 Found 08:06:19 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 08:06:19 --2021-10-21 08:06:19-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 08:06:19 Resolving codeload.github.com (codeload.github.com)... 140.82.114.9 08:06:19 Connecting to codeload.github.com (codeload.github.com)|140.82.114.9|:443... connected. 08:06:19 HTTP request sent, awaiting response... 200 OK 08:06:19 Length: unspecified [application/x-gzip] 08:06:19 Saving to: 'STDOUT' 08:06:19  08:06:19 0K .......... .......... .......... .......... .......... 1.13M 08:06:19 + ls -al . 08:06:19 total 172 08:06:19 drwxrwxr-x. 8 jenkins jenkins 4096 Oct 21 08:05 . 08:06:19 drwxrwxr-x. 4 jenkins jenkins 30 Oct 21 08:05 .. 08:06:19 -rw-rw-r--. 1 jenkins jenkins 3104 Oct 21 08:05 Attribution.txt 08:06:19 -rw-rw-r--. 1 jenkins jenkins 7767 Oct 21 08:05 CHANGES 08:06:19 drwxrwxr-x. 2 jenkins jenkins 121 Oct 21 08:05 docs 08:06:19 -rw-rw-r--. 1 jenkins jenkins 108574 Oct 21 08:05 Doxyfile 08:06:19 drwxrwxr-x. 8 jenkins jenkins 162 Oct 21 08:05 .git 08:06:19 drwxrwxr-x. 3 jenkins jenkins 103 Oct 21 08:05 .github 08:06:19 -rw-rw-r--. 1 jenkins jenkins 176 Oct 21 08:05 .gitignore 08:06:19 -rw-rw-r--. 1 jenkins jenkins 677 Oct 21 08:05 GOVERNANCE.md 08:06:19 drwxrwxr-x. 4 jenkins jenkins 33 Oct 21 08:05 include 08:06:19 -rw-rw-r--. 1 jenkins jenkins 784 Oct 21 08:05 Jenkinsfile 08:06:19 -rw-rw-r--. 1 jenkins jenkins 10174 Oct 21 08:05 LICENSE 08:06:19 -rw-rw-r--. 1 jenkins jenkins 444 Oct 21 08:05 Makefile 08:06:19 -rw-rw-r--. 1 jenkins jenkins 618 Oct 21 08:05 OWNERS.md 08:06:19 -rw-rw-r--. 1 jenkins jenkins 4086 Oct 21 08:05 README.md 08:06:19 -rw-rw-r--. 1 jenkins jenkins 7422 Oct 21 08:05 README.v2.md 08:06:19 drwxrwxr-x. 2 jenkins jenkins 98 Oct 21 08:05 scripts 08:06:19 drwxrwxr-x. 4 jenkins jenkins 50 Oct 21 08:05 src 08:06:19 -rw-rw-r--. 1 jenkins jenkins 12 Oct 21 08:02 VERSION [Pipeline] isUnix [Pipeline] sh 08:06:20 50K .......... .......... .......... .......... .......... 2.13M 08:06:20 100K .......... .......... .......... .......... .......... 2.46M 08:06:20 150K .......... .......... .......... .......... .......... 16.7M 08:06:20 200K .......... .......... .......... .......... .......... 16.1M 08:06:20 250K .......... .......... .......... .......... .......... 2.80M 08:06:20 300K .......... .......... .......... .......... .......... 4.97M 08:06:20 350K .......... .......... .......... .......... .......... 5.75M 08:06:20 400K .......... .......... .......... .......... .......... 3.12M 08:06:20 450K .......... .......... .......... .......... .......... 3.81M 08:06:20 500K .......... .......... .......... .......... .......... 7.73M 08:06:20 550K .......... .......... .......... .......... .......... 2.28M 08:06:20 600K .......... .......... .......... .......... .......... 930K 08:06:20 650K .......... .......... .......... .......... .......... 2.50M 08:06:20 700K .. 337K=0.3s 08:06:20 08:06:20 2021-10-21 08:06:20 (2.59 MB/s) - written to stdout [719348] 08:06:20 08:06:20 + 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=f9cc441c845f7b3b136fda20b0bd590713aa9127 --label arch=amd64 --label version=2.0.1-dev.12 . 08:06:20 Sending build context to Docker daemon 2.71MB 08:06:20 Step 1/17 : ARG BASE=alpine:3.14 08:06:20 Step 2/17 : FROM ${BASE} 08:06:20 ---> 660b150284d0 08:06:20 Step 3/17 : LABEL maintainer="IOTech " 08:06:20 ---> Running in 9cac81630164 08:06:20 Removing intermediate container 9cac81630164 08:06:20 ---> 662eff2ae89d 08:06:20 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 08:06:20 -- The C compiler identification is GNU 10.3.1 08:06:20 ---> Running in daae93717261 08:06:20 -- The CXX compiler identification is GNU 10.3.1 08:06:20 -- Detecting C compiler ABI info 08:06:20 --2021-10-21 08:06:20-- https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release 08:06:20 Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.195.244.87, 54.72.115.12, 54.229.110.245 08:06:20 Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.195.244.87|:443... connected. 08:06:20 -- Detecting C compiler ABI info - done 08:06:21 HTTP request sent, awaiting response... 200 OK 08:06:21 Length: unspecified [application/json] 08:06:21 Saving to: '/etc/apk/keys/alpine.dev.rsa.pub' 08:06:21  08:06:21 0K 148M=0s 08:06:21 08:06:21 2021-10-21 08:06:20 (148 MB/s) - '/etc/apk/keys/alpine.dev.rsa.pub' saved [451] 08:06:21 08:06:21 -- Check for working C compiler: /usr/bin/cc - skipped 08:06:21 -- Detecting C compile features 08:06:21 -- Detecting C compile features - done 08:06:21 -- Detecting CXX compiler ABI info 08:06:21 Removing intermediate container daae93717261 08:06:21 ---> 96b504587061 08:06:21 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 08:06:21 ---> Running in 0c3d6541b438 08:06:21 -- Detecting CXX compiler ABI info - done 08:06:21 -- Check for working CXX compiler: /usr/bin/c++ - skipped 08:06:21 -- Detecting CXX compile features 08:06:21 -- Detecting CXX compile features - done 08:06:21 -- Looking for include file endian.h 08:06:21 Removing intermediate container 0c3d6541b438 08:06:21 ---> 018128d5d229 08:06:21 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 08:06:21 ---> Running in 4d75878421a8 08:06:21 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 08:06:21 -- Looking for include file endian.h - found 08:06:21 -- Looking for sys/types.h 08:06:22 -- Looking for sys/types.h - found 08:06:22 -- Looking for stdint.h 08:06:22 -- Looking for stdint.h - found 08:06:22 -- Looking for stddef.h 08:06:22 -- Looking for stddef.h - found 08:06:22 -- Check size of size_t 08:06:22 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 08:06:22 -- Check size of size_t - done 08:06:22 CMake Warning at examples/CMakeLists.txt:16 (find_package): 08:06:22 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 08:06:22 asked CMake to find a package configuration file provided by "cJSON", but 08:06:22 CMake did not find one. 08:06:22 08:06:22 Could not find a package configuration file provided by "cJSON" with any of 08:06:22 the following names: 08:06:22 08:06:22 cJSONConfig.cmake 08:06:22 cjson-config.cmake 08:06:22 08:06:22 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 08:06:22 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 08:06:22 provides a separate development package or SDK, be sure it has been 08:06:22 installed. 08:06:22 08:06:22 08:06:22 -- Configuring done 08:06:23 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz 08:06:23 -- Generating done 08:06:23 -- Build files have been written to: /tmp/cbor 08:06:23 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 08:06:23 WARNING: This apk-tools is OLD! Some packages might not function properly. 08:06:23 (1/21) Installing ncurses-dev (6.2_p20210612-r0) 08:06:23 (2/21) Installing libblkid (2.37-r0) 08:06:23 (3/21) Installing blkid (2.37-r0) 08:06:23 (4/21) Installing libcap-ng (0.8.2-r0) 08:06:23 (5/21) Installing setpriv (2.37-r0) 08:06:24 (6/21) Installing libmount (2.37-r0) 08:06:24 (7/21) Installing libsmartcols (2.37-r0) 08:06:24 (8/21) Installing findmnt (2.37-r0) 08:06:24 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 08:06:24 (9/21) Installing mcookie (2.37-r0) 08:06:24 (10/21) Installing hexdump (2.37-r0) 08:06:24 (11/21) Installing lsblk (2.37-r0) 08:06:24 (12/21) Installing libfdisk (2.37-r0) 08:06:24 (13/21) Installing sfdisk (2.37-r0) 08:06:24 (14/21) Installing cfdisk (2.37-r0) 08:06:24 (15/21) Installing partx (2.37-r0) 08:06:24 (16/21) Installing flock (2.37-r0) 08:06:24 (17/21) Installing logger (2.37-r0) 08:06:25 (18/21) Installing uuidgen (2.37-r0) 08:06:25 (19/21) Installing libeconf (0.3.8-r1) 08:06:25 (20/21) Installing util-linux (2.37-r0) 08:06:25 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 08:06:25 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 08:06:25 (21/21) Installing util-linux-dev (2.37-r0) 08:06:25 Executing busybox-1.33.1-r3.trigger 08:06:25 OK: 291 MiB in 105 packages 08:06:26 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 08:06:26 Removing intermediate container 4d75878421a8 08:06:26 ---> b4e8473afde9 08:06:26 Step 7/17 : COPY VERSION /edgex-c-sdk/ 08:06:26 ---> 12727784a02e 08:06:26 Step 8/17 : COPY src /edgex-c-sdk/src/ 08:06:26 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 08:06:26 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 08:06:26 ---> d8371abbbb67 08:06:26 Step 9/17 : COPY include /edgex-c-sdk/include/ 08:06:26 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 08:06:26 ---> 0510838bdcd2 08:06:26 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 08:06:27 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 08:06:27 ---> ff62f01c6d3e 08:06:27 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 08:06:27 ---> d10ba394b93b 08:06:27 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 08:06:27 ---> 0fa55b0f2404 08:06:27 Step 13/17 : WORKDIR /edgex-c-sdk 08:06:27 ---> Running in cecab6fc0913 08:06:27 Removing intermediate container cecab6fc0913 08:06:27 ---> 944bfd60a38d 08:06:27 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 08:06:27 ---> Running in eaf71fc5db1b 08:06:27 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 08:06:27 Removing intermediate container eaf71fc5db1b 08:06:27 ---> 31acc141f140 08:06:27 Step 15/17 : LABEL arch=amd64 08:06:27 ---> Running in 7a5e26c23385 08:06:28 Removing intermediate container 7a5e26c23385 08:06:28 ---> 917e2d754729 08:06:28 Step 16/17 : LABEL git_sha=f9cc441c845f7b3b136fda20b0bd590713aa9127 08:06:28 ---> Running in 9764e513885c 08:06:28 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 08:06:28 Removing intermediate container 9764e513885c 08:06:28 ---> c538f393b19a 08:06:28 Step 17/17 : LABEL version=2.0.1-dev.12 08:06:28 ---> Running in e104660afb7d 08:06:28 Removing intermediate container e104660afb7d 08:06:28 ---> 46895258119a 08:06:28 [Warning] One or more build-args [ARCH MAKE] were not consumed 08:06:28 Successfully built 46895258119a 08:06:28 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 08:06:28 Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) 08:06:28 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 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 08:06:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:06:29 08:06:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 08:06:29 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 08:06:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:06:29 latest: Pulling from edgex-lftools-log-publisher 08:06:29 b4d181a07f80: Pulling fs layer 08:06:29 a1111a8f2ec3: Pulling fs layer 08:06:29 ed53099fbce6: Pulling fs layer 08:06:29 dc539afda2c1: Pulling fs layer 08:06:29 77bc0d833cb6: Pulling fs layer 08:06:29 9065ff56babe: Pulling fs layer 08:06:29 d287ab97295c: Pulling fs layer 08:06:29 77bc0d833cb6: Waiting 08:06:29 9065ff56babe: Waiting 08:06:29 d287ab97295c: Waiting 08:06:29 dc539afda2c1: Waiting 08:06:29 a1111a8f2ec3: Verifying Checksum 08:06:29 a1111a8f2ec3: Download complete 08:06:29 dc539afda2c1: Verifying Checksum 08:06:29 dc539afda2c1: Download complete 08:06:29 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 08:06:29 ed53099fbce6: Verifying Checksum 08:06:29 ed53099fbce6: Download complete 08:06:29 9065ff56babe: Verifying Checksum 08:06:29 9065ff56babe: Download complete 08:06:29 77bc0d833cb6: Verifying Checksum 08:06:29 77bc0d833cb6: Download complete 08:06:29 b4d181a07f80: Verifying Checksum 08:06:29 b4d181a07f80: Download complete 08:06:29 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 08:06:30 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 08:06:30 d287ab97295c: Verifying Checksum 08:06:30 d287ab97295c: Download complete 08:06:30 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 08:06:30 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 08:06:31 b4d181a07f80: Pull complete 08:06:31 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 08:06:31 [ 40%] Linking C shared library libcbor.so 08:06:31 [ 40%] Built target cbor_shared 08:06:31 a1111a8f2ec3: Pull complete 08:06:31 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 08:06:32 ed53099fbce6: Pull complete 08:06:32 dc539afda2c1: Pull complete 08:06:32 77bc0d833cb6: Pull complete 08:06:32 9065ff56babe: Pull complete 08:06:32 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 08:06:33 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 08:06:33 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 08:06:35 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 08:06:35 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 08:06:36 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 08:06:36 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 08:06:36 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 08:06:37 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 08:06:37 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 08:06:37 d287ab97295c: Pull complete 08:06:37 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 08:06:38 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 08:06:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:06:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 08:06:38 prd-centos7-docker-4c-2g-899 does not seem to be running inside a container 08:06:38 $ 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/13 -v /w/workspace/device-sdk-c/13:/w/workspace/device-sdk-c/13:rw,z -v /w/workspace/device-sdk-c/13@tmp:/w/workspace/device-sdk-c/13@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 08:06:38 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 08:06:39 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 08:06:39 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 08:06:39 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 08:06:39 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 08:06:40 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 08:06:40 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 08:06:41 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 08:06:41 [ 80%] Linking C static library libcbor.a 08:06:41 [ 80%] Built target cbor 08:06:41 [ 82%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 08:06:41 [ 84%] Linking C executable readfile 08:06:41 [ 84%] Built target readfile 08:06:41 [ 86%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 08:06:41 [ 88%] Linking C executable create_items 08:06:41 [ 88%] Built target create_items 08:06:42 [ 90%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 08:06:42 [ 92%] Linking C executable sort 08:06:42 [ 92%] Built target sort 08:06:42 [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 08:06:42 [ 96%] Linking C executable hello 08:06:42 [ 96%] Built target hello 08:06:42 [ 98%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 08:06:43 [100%] Linking C executable streaming_parser 08:06:43 [100%] Built target streaming_parser 08:06:43 Install the project... 08:06:43 -- Install configuration: "Release" 08:06:43 -- Installing: /usr/local/include/cbor/configuration.h 08:06:43 -- Installing: /usr/local/lib/libcbor.a 08:06:43 -- Installing: /usr/local/lib/libcbor.so.0.0.0 08:06:43 -- Installing: /usr/local/lib/libcbor.so.0 08:06:43 -- Installing: /usr/local/lib/libcbor.so 08:06:43 -- Up-to-date: /usr/local/include/cbor 08:06:43 -- Installing: /usr/local/include/cbor/streaming.h 08:06:43 -- Installing: /usr/local/include/cbor/ints.h 08:06:43 -- Installing: /usr/local/include/cbor/floats_ctrls.h 08:06:43 -- Installing: /usr/local/include/cbor/bytestrings.h 08:06:43 -- Installing: /usr/local/include/cbor/encoding.h 08:06:43 -- Installing: /usr/local/include/cbor/serialization.h 08:06:43 -- Installing: /usr/local/include/cbor/data.h 08:06:43 -- Installing: /usr/local/include/cbor/common.h 08:06:43 -- Installing: /usr/local/include/cbor/callbacks.h 08:06:43 -- Installing: /usr/local/include/cbor/strings.h 08:06:43 -- Installing: /usr/local/include/cbor/tags.h 08:06:43 -- Installing: /usr/local/include/cbor/internal 08:06:43 -- Installing: /usr/local/include/cbor/internal/encoders.h 08:06:43 -- Installing: /usr/local/include/cbor/internal/loaders.h 08:06:43 -- Installing: /usr/local/include/cbor/internal/stack.h 08:06:43 -- Installing: /usr/local/include/cbor/internal/unicode.h 08:06:43 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 08:06:43 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 08:06:43 -- Installing: /usr/local/include/cbor/arrays.h 08:06:43 -- Installing: /usr/local/include/cbor/maps.h 08:06:43 -- Installing: /usr/local/include/cbor.h 08:06:43 -- Installing: /usr/local/lib/pkgconfig/libcbor.pc 08:06:43 $ docker top 47a3a532e680b9c375d76ebdf364320218e62fbd5e54212303f563aaf0461c40 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:06:44 ---> job-cost.sh 08:06:44 lf-activate-venv: SKIPPING 08:06:44 INFO: No Stack... 08:06:44 INFO: Retrieving Pricing Info for: v3-standard-2 08:06:44 INFO: Archiving Costs [Pipeline] sh 08:06:44 + cat /w/workspace/device-sdk-c/13/archives/cost.csv 08:06:44 + cut -d, -f6 [Pipeline] lock 08:06:44 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-13-stack-cost] 08:06:44 Resource [jenkins-edgexfoundry-device-sdk-c-main-13-stack-cost] did not exist. Created. 08:06:44 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:06:45 + echo total: 0.05999999865889549 [Pipeline] stash 08:06:45 Removing intermediate container 8e849f5762d9 08:06:45 ---> 2a44801d6af8 08:06:45 Step 8/24 : RUN mkdir /tmp/sdk 08:06:45 Stashed 1 file(s) [Pipeline] } 08:06:45 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-13-stack-cost] [Pipeline] // lock [Pipeline] } 08:06:45 $ docker stop --time=1 47a3a532e680b9c375d76ebdf364320218e62fbd5e54212303f563aaf0461c40 08:06:45 ---> Running in a04bb23c76a0 08:06:46 $ docker rm -f 47a3a532e680b9c375d76ebdf364320218e62fbd5e54212303f563aaf0461c40 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 08:06:47 Removing intermediate container a04bb23c76a0 08:06:47 ---> 550d94aeefe0 08:06:47 Step 9/24 : COPY VERSION /tmp/sdk 08:06:48 ---> c437265669e2 08:06:48 Step 10/24 : COPY src /tmp/sdk/src 08:06:49 ---> 3618a8a2b2b1 08:06:49 Step 11/24 : COPY include /tmp/sdk/include 08:06:50 ---> 2837d6378a49 08:06:50 Step 12/24 : COPY scripts /tmp/sdk/scripts 08:06:50 ---> ecb3e8ce4a60 08:06:50 Step 13/24 : COPY LICENSE /tmp/sdk 08:06:51 ---> 923f2b11227b 08:06:51 Step 14/24 : COPY Attribution.txt /tmp/sdk 08:06:52 ---> d11b20fce4aa 08:06:52 Step 15/24 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 08:06:52 ---> Running in 8717935c368f 08:06:53 + CPPCHECK=false 08:06:53 + DOCGEN=false 08:06:53 + TOMLVER=SDK-0.2 08:06:53 + CUTILVER=1.2.2 08:06:53 + '[' 0 -gt 0 ] 08:06:53 + readlink -f ./scripts/build.sh 08:06:53 + dirname /tmp/sdk/scripts/build.sh 08:06:53 + dirname /tmp/sdk/scripts 08:06:53 + ROOT=/tmp/sdk 08:06:53 + cd /tmp/sdk 08:06:53 + '[' '!' -d deps ] 08:06:53 + mkdir deps 08:06:53 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 08:06:53 + tar -C deps -z -x -f - 08:06:53 --2021-10-21 08:06:53-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 08:06:53 Resolving github.com (github.com)... 140.82.114.4 08:06:53 Connecting to github.com (github.com)|140.82.114.4|:443... connected. 08:06:53 HTTP request sent, awaiting response... 302 Found 08:06:53 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 08:06:53 --2021-10-21 08:06:53-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 08:06:53 Resolving codeload.github.com (codeload.github.com)... 140.82.112.10 08:06:53 Connecting to codeload.github.com (codeload.github.com)|140.82.112.10|:443... connected. 08:06:54 HTTP request sent, awaiting response... 200 OK 08:06:54 Length: unspecified [application/x-gzip] 08:06:54 Saving to: 'STDOUT' 08:06:54  08:06:54 0K .......... ......    795K=0.02s 08:06:54 08:06:54 2021-10-21 08:06:53 (795 KB/s) - written to stdout [16451] 08:06:54 08:06:54 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 08:06:54 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 08:06:54 + tar -C deps -z -x -f - 08:06:54 --2021-10-21 08:06:53-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 08:06:54 Resolving github.com (github.com)... 140.82.114.4 08:06:54 Connecting to github.com (github.com)|140.82.114.4|:443... connected. 08:06:54 HTTP request sent, awaiting response... 302 Found 08:06:54 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [following] 08:06:54 --2021-10-21 08:06:54-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 08:06:54 Resolving codeload.github.com (codeload.github.com)... 140.82.112.10 08:06:54 Connecting to codeload.github.com (codeload.github.com)|140.82.112.10|:443... connected. 08:06:54 HTTP request sent, awaiting response... 200 OK 08:06:54 Length: unspecified [application/x-gzip] 08:06:54 Saving to: 'STDOUT' 08:06:54  08:06:54 0K .......... .......... .......... .......... .......... 1.18M 08:06:54 50K .......... .......... .......... .......... .......... 2.29M 08:06:54 100K .......... .......... .......... .......... .......... 4.89M 08:06:54 150K .......... .......... .......... ......... 2.10M=0.09s 08:06:54 08:06:54 2021-10-21 08:06:54 (2.03 MB/s) - written to stdout [193961] 08:06:54 08:06:54 + mkdir -p src/c/iot 08:06:54 + 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 08:06:54 + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot 08:06:54 + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot 08:06:54 + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot 08:06:54 + mkdir -p include/iot 08:06:54 + 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 08:06:54 + mkdir -p include/iot/os 08:06:54 + 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 08:06:54 + mkdir -p /tmp/sdk/build/release 08:06:54 + cd /tmp/sdk/build/release 08:06:54 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 08:06:55 -- The C compiler identification is GNU 10.3.1 08:06:55 -- Detecting C compiler ABI info 08:06:55 -- Detecting C compiler ABI info - done 08:06:55 -- Check for working C compiler: /usr/bin/cc - skipped 08:06:55 -- Detecting C compile features 08:06:55 -- Detecting C compile features - done 08:06:55 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 08:06:55 -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") 08:06:55 -- Found LIBYAML: /usr/lib/libyaml.so 08:06:55 -- Found LIBUUID: /usr/lib/libuuid.so 08:06:55 -- Found LIBCBOR: /usr/local/lib/libcbor.so 08:06:55 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 08:06:55 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 08:06:55 -- C SDK 2.0.1-dev.12 for Linux 08:06:55 -- Performing Test CSDK_HAVE_ATOMIC 08:06:55 -- Performing Test CSDK_HAVE_ATOMIC - Success 08:06:56 -- Found Curses: /usr/lib/libcurses.so 08:06:56 -- Configuring done 08:06:56 -- Generating done 08:06:56 -- Build files have been written to: /tmp/sdk/build/release 08:06:56 + + maketee all release.log package 08:06:56 08:06:56 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 08:06:57 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 08:06:57 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 08:07:00 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 08:07:00 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 08:07:00 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 08:07:01 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 08:07:02 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 08:07:02 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 08:07:04 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 08:07:06 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 08:07:06 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 08:07:07 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 08:07:08 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 08:07:08 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 08:07:09 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 08:07:09 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 08:07:12 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 08:07:12 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 08:07:13 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 08:07:13 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 08:07:14 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 08:07:14 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 08:07:14 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 08:07:14 275 | const iot_component_factory_t * factory; 08:07:14 | ^~~~~~~ 08:07:15 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 08:07:19 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 08:07:19 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 08:07:20 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 08:07:21 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 08:07:21 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 08:07:21 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 08:07:23 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 08:07:23 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 08:07:24 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 08:07:24 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 08:07:24 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 08:07:27 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 08:07:27 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 08:07:29 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 08:07:29 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 08:07:34 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 08:07:34 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 08:07:34 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 08:07:35 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 08:07:35 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 08:07:35 /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] 08:07:35 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 08:07:35 | ^~~~~~~~~~~~~ 08:07:35 | | 08:07:35 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 08:07:35 In file included from /tmp/sdk/src/c/rest-server.c:21: 08:07:35 /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 *)' 08:07:35 2714 | MHD_KeyValueIterator iterator, 08:07:35 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 08:07:35 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 08:07:35 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 08:07:35 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 08:07:35 | ^~~~~~~~~~~~ 08:07:35 | | 08:07:35 | 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 **)} 08:07:35 In file included from /tmp/sdk/src/c/rest-server.c:21: 08:07:35 /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 **)'} 08:07:35 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 08:07:35 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 08:07:35 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 08:07:35 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 08:07:35 | ^~~~~~~~~~~~ 08:07:35 | | 08:07:35 | 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 **)} 08:07:35 In file included from /tmp/sdk/src/c/rest-server.c:21: 08:07:35 /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 **)'} 08:07:35 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 08:07:35 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 08:07:36 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 08:07:38 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 08:07:39 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 08:07:39 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 08:07:40 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 08:07:42 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 08:07:46 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 08:07:46 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 08:07:47 [ 76%] Linking C shared library libcsdk.so 08:07:47 [ 76%] Built target csdk 08:07:47 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 08:07:48 [ 79%] Linking C executable template 08:07:48 [ 79%] Built target template 08:07:48 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 08:07:49 [ 82%] Linking C executable device-counter 08:07:49 [ 82%] Built target device-counter 08:07:49 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 08:07:50 [ 85%] Linking C executable device-random 08:07:50 [ 85%] Built target device-random 08:07:50 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 08:07:50 [ 88%] Linking C executable device-gyro 08:07:51 [ 88%] Built target device-gyro 08:07:51 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 08:07:51 [ 91%] Linking C executable device-bitfields 08:07:52 [ 91%] Built target device-bitfields 08:07:52 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 08:07:53 [ 94%] Linking C executable template-discovery 08:07:53 [ 94%] Built target template-discovery 08:07:53 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 08:07:53 [ 97%] Linking C executable device-file 08:07:54 [ 97%] Built target device-file 08:07:54 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 08:07:54 [100%] Linking C executable device-terminal 08:07:55 [100%] Built target device-terminal 08:07:55 Run CPack packaging tool... 08:07:55 CPack: Create package using TGZ 08:07:55 CPack: Install projects 08:07:55 CPack: - Run preinstall target for: Csdk 08:07:55 CPack: - Install project: Csdk [] 08:07:55 CPack: Create package 08:07:55 CPack: - package: /tmp/sdk/build/release/csdk-2.0.1-dev.12.tar.gz generated. 08:07:55 + '[' false '=' true ] 08:07:55 + '[' false '=' true ] 08:07:55 + mkdir -p /tmp/sdk/build/debug 08:07:55 + cd /tmp/sdk/build/debug 08:07:55 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 08:07:56 -- The C compiler identification is GNU 10.3.1 08:07:56 -- Detecting C compiler ABI info 08:07:56 -- Detecting C compiler ABI info - done 08:07:56 -- Check for working C compiler: /usr/bin/cc - skipped 08:07:56 -- Detecting C compile features 08:07:56 -- Detecting C compile features - done 08:07:56 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 08:07:56 -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") 08:07:56 -- Found LIBYAML: /usr/lib/libyaml.so 08:07:56 -- Found LIBUUID: /usr/lib/libuuid.so 08:07:56 -- Found LIBCBOR: /usr/local/lib/libcbor.so 08:07:56 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 08:07:56 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 08:07:56 -- C SDK 2.0.1-dev.12 for Linux 08:07:56 -- Performing Test CSDK_HAVE_ATOMIC 08:07:57 -- Performing Test CSDK_HAVE_ATOMIC - Success 08:07:57 -- Found Curses: /usr/lib/libcurses.so 08:07:57 -- Configuring done 08:07:57 -- Generating done 08:07:57 -- Build files have been written to: /tmp/sdk/build/debug 08:07:57 + + teemake debug.log 08:07:57 08:07:57 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 08:07:58 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 08:07:58 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 08:07:59 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 08:07:59 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 08:07:59 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 08:07:59 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 08:08:00 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 08:08:00 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 08:08:01 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 08:08:01 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 08:08:01 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 08:08:02 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 08:08:02 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 08:08:03 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 08:08:03 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 08:08:03 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 08:08:04 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 08:08:04 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 08:08:04 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 08:08:04 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 08:08:05 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 08:08:05 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 08:08:05 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 08:08:05 275 | const iot_component_factory_t * factory; 08:08:05 | ^~~~~~~ 08:08:05 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 08:08:06 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 08:08:06 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 08:08:07 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 08:08:07 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 08:08:07 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 08:08:07 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 08:08:08 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 08:08:08 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 08:08:08 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 08:08:08 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 08:08:09 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 08:08:09 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 08:08:09 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 08:08:10 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 08:08:10 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 08:08:11 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 08:08:11 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 08:08:12 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 08:08:12 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 08:08:12 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 08:08:12 /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] 08:08:12 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 08:08:12 | ^~~~~~~~~~~~~ 08:08:12 | | 08:08:12 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 08:08:12 In file included from /tmp/sdk/src/c/rest-server.c:21: 08:08:12 /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 *)' 08:08:12 2714 | MHD_KeyValueIterator iterator, 08:08:12 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 08:08:12 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 08:08:12 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 08:08:12 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 08:08:12 | ^~~~~~~~~~~~ 08:08:12 | | 08:08:12 | 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 **)} 08:08:12 In file included from /tmp/sdk/src/c/rest-server.c:21: 08:08:12 /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 **)'} 08:08:12 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 08:08:12 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 08:08:12 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 08:08:12 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 08:08:12 | ^~~~~~~~~~~~ 08:08:12 | | 08:08:12 | 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 **)} 08:08:12 In file included from /tmp/sdk/src/c/rest-server.c:21: 08:08:12 /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 **)'} 08:08:12 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 08:08:12 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 08:08:13 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 08:08:14 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 08:08:14 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 08:08:15 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 08:08:15 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 08:08:15 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 08:08:16 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 08:08:17 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 08:08:17 [ 76%] Linking C shared library libcsdk.so 08:08:17 [ 76%] Built target csdk 08:08:17 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 08:08:18 [ 79%] Linking C executable template 08:08:18 [ 79%] Built target template 08:08:18 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 08:08:18 [ 82%] Linking C executable device-counter 08:08:18 [ 82%] Built target device-counter 08:08:18 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 08:08:19 [ 85%] Linking C executable device-random 08:08:19 [ 85%] Built target device-random 08:08:19 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 08:08:19 [ 88%] Linking C executable device-gyro 08:08:20 [ 88%] Built target device-gyro 08:08:20 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 08:08:20 [ 91%] Linking C executable device-bitfields 08:08:20 [ 91%] Built target device-bitfields 08:08:20 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 08:08:21 [ 94%] Linking C executable template-discovery 08:08:21 [ 94%] Built target template-discovery 08:08:21 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 08:08:21 [ 97%] Linking C executable device-file 08:08:21 [ 97%] Built target device-file 08:08:21 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 08:08:22 [100%] Linking C executable device-terminal 08:08:22 [100%] Built target device-terminal 08:08:22 make: Entering directory '/tmp/sdk/build/release' 08:08:22 make[1]: Entering directory '/tmp/sdk/build/release' 08:08:22 make[2]: Entering directory '/tmp/sdk/build/release' 08:08:22 make[2]: Leaving directory '/tmp/sdk/build/release' 08:08:22 [ 76%] Built target csdk 08:08:22 make[2]: Entering directory '/tmp/sdk/build/release' 08:08:22 make[2]: Leaving directory '/tmp/sdk/build/release' 08:08:22 [ 79%] Built target template 08:08:22 make[2]: Entering directory '/tmp/sdk/build/release' 08:08:22 make[2]: Leaving directory '/tmp/sdk/build/release' 08:08:23 [ 82%] Built target device-counter 08:08:23 make[2]: Entering directory '/tmp/sdk/build/release' 08:08:23 make[2]: Leaving directory '/tmp/sdk/build/release' 08:08:23 [ 85%] Built target device-random 08:08:23 make[2]: Entering directory '/tmp/sdk/build/release' 08:08:23 make[2]: Leaving directory '/tmp/sdk/build/release' 08:08:23 [ 88%] Built target device-gyro 08:08:23 make[2]: Entering directory '/tmp/sdk/build/release' 08:08:23 make[2]: Leaving directory '/tmp/sdk/build/release' 08:08:23 [ 91%] Built target device-bitfields 08:08:23 make[2]: Entering directory '/tmp/sdk/build/release' 08:08:23 make[2]: Leaving directory '/tmp/sdk/build/release' 08:08:23 [ 94%] Built target template-discovery 08:08:23 make[2]: Entering directory '/tmp/sdk/build/release' 08:08:23 make[2]: Leaving directory '/tmp/sdk/build/release' 08:08:23 [ 97%] Built target device-file 08:08:23 make[2]: Entering directory '/tmp/sdk/build/release' 08:08:23 make[2]: Leaving directory '/tmp/sdk/build/release' 08:08:23 [100%] Built target device-terminal 08:08:23 make[1]: Leaving directory '/tmp/sdk/build/release' 08:08:23 Install the project... 08:08:23 -- Install configuration: "Release" 08:08:23 -- Installing: /usr/local/lib/libcsdk.so 08:08:23 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 08:08:23 -- Up-to-date: /usr/local/include 08:08:23 -- Installing: /usr/local/include/edgex 08:08:23 -- Installing: /usr/local/include/edgex/rest-server.h 08:08:23 -- Installing: /usr/local/include/edgex/edgex-base.h 08:08:23 -- Installing: /usr/local/include/edgex/edgex.h 08:08:23 -- Installing: /usr/local/include/edgex/devices.h 08:08:23 -- Installing: /usr/local/include/edgex/profiles.h 08:08:23 -- Installing: /usr/local/include/edgex/csdk-defs.h 08:08:23 -- Installing: /usr/local/include/devsdk 08:08:23 -- Installing: /usr/local/include/devsdk/devsdk-base.h 08:08:23 -- Installing: /usr/local/include/devsdk/devsdk.h 08:08:23 -- Installing: /usr/local/include/iot 08:08:23 -- Installing: /usr/local/include/iot/json.h 08:08:23 -- Installing: /usr/local/include/iot/container.h 08:08:23 -- Installing: /usr/local/include/iot/component.h 08:08:23 -- Installing: /usr/local/include/iot/typecode.h 08:08:23 -- Installing: /usr/local/include/iot/iot.h 08:08:23 -- Installing: /usr/local/include/iot/uuid.h 08:08:23 -- Installing: /usr/local/include/iot/time.h 08:08:23 -- Installing: /usr/local/include/iot/hash.h 08:08:23 -- Installing: /usr/local/include/iot/logger.h 08:08:23 -- Installing: /usr/local/include/iot/os 08:08:23 -- Installing: /usr/local/include/iot/os/zephyr.h 08:08:23 -- Installing: /usr/local/include/iot/os/linux.h 08:08:23 -- Installing: /usr/local/include/iot/os/macos.h 08:08:23 -- Installing: /usr/local/include/iot/scheduler.h 08:08:23 -- Installing: /usr/local/include/iot/data.h 08:08:23 -- Installing: /usr/local/include/iot/thread.h 08:08:23 -- Installing: /usr/local/include/iot/os.h 08:08:23 -- Installing: /usr/local/include/iot/base64.h 08:08:23 -- Installing: /usr/local/include/iot/defs.h 08:08:23 -- Installing: /usr/local/include/iot/threadpool.h 08:08:23 -- Installing: /usr/local/include/iot/config.h 08:08:23 -- Installing: /usr/local/share/device-sdk-c/LICENSE 08:08:23 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 08:08:23 make: Leaving directory '/tmp/sdk/build/release' 08:08:25 Removing intermediate container 8717935c368f 08:08:25 ---> 64e314ddb1f3 08:08:25 Step 16/24 : FROM ${BASE} 08:08:25 ---> b6d714ea7bf2 08:08:25 Step 17/24 : LABEL maintainer="IOTech " 08:08:25 ---> Running in aaddcce3e215 08:08:25 Removing intermediate container aaddcce3e215 08:08:25 ---> d03152a73895 08:08:25 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 08:08:26 ---> Running in 85b8c0864a72 08:08:27 Connecting to iotech.jfrog.io (54.72.115.12:443) 08:08:27 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 08:08:27 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 08:08:27 '/etc/apk/keys/alpine.dev.rsa.pub' saved 08:08:28 Removing intermediate container 85b8c0864a72 08:08:28 ---> e964a944a479 08:08:28 Step 19/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 08:08:28 ---> Running in ca94f4820406 08:08:31 Removing intermediate container ca94f4820406 08:08:31 ---> 54033e9aeff2 08:08:31 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 08:08:31 ---> Running in c66beea36176 08:08:32 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 08:08:33 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 08:08:33 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz 08:08:34 WARNING: This apk-tools is OLD! Some packages might not function properly. 08:08:34 (1/7) Installing curl (7.79.1-r0) 08:08:34 (2/7) Installing hiredis (1.0.0-r0) 08:08:34 (3/7) Installing hiredis-dev (1.0.0-r0) 08:08:35 (4/7) Installing libuuid (2.37-r0) 08:08:35 (5/7) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 08:08:36 (6/7) Installing libidn2 (2.3.1-r0) 08:08:36 (7/7) Installing wget (1.21.1-r1) 08:08:36 Executing busybox-1.33.1-r3.trigger 08:08:36 OK: 276 MiB in 84 packages 08:08:37 Removing intermediate container c66beea36176 08:08:37 ---> 0c34b1a35d8c 08:08:37 Step 21/24 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 08:08:38 ---> 715c5175342e 08:08:38 Step 22/24 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 08:08:38 ---> ff4941673092 08:08:38 Step 23/24 : COPY --from=builder /usr/local/lib /usr/local/lib 08:08:39 ---> 390d089505aa 08:08:39 Step 24/24 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 08:08:40 ---> d63e951d6adc 08:08:40 Successfully built d63e951d6adc 08:08:40 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:08:41 + docker inspect -f . ci-base-image-arm64 08:08:41 . [Pipeline] withDockerContainer 08:08:41 prd-ubuntu18.04-docker-arm64-4c-16g-897 does not seem to be running inside a container 08:08:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/13 -v /w/workspace/device-sdk-c/13:/w/workspace/device-sdk-c/13:rw,z -v /w/workspace/device-sdk-c/13@tmp:/w/workspace/device-sdk-c/13@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 08:08:43 $ docker top 60dadd00ffd1602b48fceeab328bf6bb3c1a41d0f31882c8d95f11d726ad2cec -eo pid,comm [Pipeline] { [Pipeline] sh 08:08:44 + make test 08:08:44 echo "make test" 08:08:44 make test [Pipeline] } 08:08:44 $ docker stop --time=1 60dadd00ffd1602b48fceeab328bf6bb3c1a41d0f31882c8d95f11d726ad2cec 08:08:46 $ docker rm -f 60dadd00ffd1602b48fceeab328bf6bb3c1a41d0f31882c8d95f11d726ad2cec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:08:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:08:47 + ls -al . 08:08:47 total 200 08:08:47 drwxrwxr-x 8 jenkins jenkins 4096 Oct 21 08:05 . 08:08:47 drwxrwxr-x 4 jenkins jenkins 4096 Oct 21 08:05 .. 08:08:47 drwxrwxr-x 8 jenkins jenkins 4096 Oct 21 08:05 .git 08:08:47 drwxrwxr-x 3 jenkins jenkins 4096 Oct 21 08:05 .github 08:08:47 -rw-rw-r-- 1 jenkins jenkins 176 Oct 21 08:05 .gitignore 08:08:47 -rw-rw-r-- 1 jenkins jenkins 3104 Oct 21 08:05 Attribution.txt 08:08:47 -rw-rw-r-- 1 jenkins jenkins 7767 Oct 21 08:05 CHANGES 08:08:47 -rw-rw-r-- 1 jenkins jenkins 108574 Oct 21 08:05 Doxyfile 08:08:47 -rw-rw-r-- 1 jenkins jenkins 677 Oct 21 08:05 GOVERNANCE.md 08:08:47 -rw-rw-r-- 1 jenkins jenkins 784 Oct 21 08:05 Jenkinsfile 08:08:47 -rw-rw-r-- 1 jenkins jenkins 10174 Oct 21 08:05 LICENSE 08:08:47 -rw-rw-r-- 1 jenkins jenkins 444 Oct 21 08:05 Makefile 08:08:47 -rw-rw-r-- 1 jenkins jenkins 618 Oct 21 08:05 OWNERS.md 08:08:47 -rw-rw-r-- 1 jenkins jenkins 4086 Oct 21 08:05 README.md 08:08:47 -rw-rw-r-- 1 jenkins jenkins 7422 Oct 21 08:05 README.v2.md 08:08:47 -rw-rw-r-- 1 jenkins jenkins 12 Oct 21 08:02 VERSION 08:08:47 drwxrwxr-x 2 jenkins jenkins 4096 Oct 21 08:05 docs 08:08:47 drwxrwxr-x 4 jenkins jenkins 4096 Oct 21 08:05 include 08:08:47 drwxrwxr-x 2 jenkins jenkins 4096 Oct 21 08:05 scripts 08:08:47 drwxrwxr-x 4 jenkins jenkins 4096 Oct 21 08:05 src [Pipeline] isUnix [Pipeline] sh 08:08:47 + 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=f9cc441c845f7b3b136fda20b0bd590713aa9127 --label arch=arm64 --label version=2.0.1-dev.12 . 08:08:48 Sending build context to Docker daemon 2.709MB 08:08:48 Step 1/17 : ARG BASE=alpine:3.14 08:08:48 Step 2/17 : FROM ${BASE} 08:08:48 ---> d63e951d6adc 08:08:48 Step 3/17 : LABEL maintainer="IOTech " 08:08:48 ---> Running in 1fe5b197650c 08:08:48 Removing intermediate container 1fe5b197650c 08:08:48 ---> 5b9c0cf315ed 08:08:48 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 08:08:48 ---> Running in 6b92444488c4 08:08:50 --2021-10-21 08:08:49-- https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release 08:08:50 Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.229.110.245, 54.72.115.12, 54.195.244.87 08:08:50 Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.229.110.245|:443... connected. 08:08:50 HTTP request sent, awaiting response... 200 OK 08:08:50 Length: unspecified [application/json] 08:08:50 Saving to: '/etc/apk/keys/alpine.dev.rsa.pub' 08:08:50  08:08:50 0K    46.9M=0s 08:08:50 08:08:50 2021-10-21 08:08:50 (46.9 MB/s) - '/etc/apk/keys/alpine.dev.rsa.pub' saved [451] 08:08:50 08:08:51 Removing intermediate container 6b92444488c4 08:08:51 ---> 9df0fd58901b 08:08:51 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 08:08:51 ---> Running in 50f1a86f4e62 08:08:53 Removing intermediate container 50f1a86f4e62 08:08:53 ---> b7dbb5615480 08:08:53 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 08:08:53 ---> Running in f518972c3ac9 08:08:54 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 08:08:55 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 08:08:56 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz 08:08:56 WARNING: This apk-tools is OLD! Some packages might not function properly. 08:08:56 (1/21) Installing ncurses-dev (6.2_p20210612-r0) 08:08:56 (2/21) Installing libblkid (2.37-r0) 08:08:57 (3/21) Installing blkid (2.37-r0) 08:08:57 (4/21) Installing libcap-ng (0.8.2-r0) 08:08:57 (5/21) Installing setpriv (2.37-r0) 08:08:57 (6/21) Installing libmount (2.37-r0) 08:08:57 (7/21) Installing libsmartcols (2.37-r0) 08:08:57 (8/21) Installing findmnt (2.37-r0) 08:08:57 (9/21) Installing mcookie (2.37-r0) 08:08:57 (10/21) Installing hexdump (2.37-r0) 08:08:57 (11/21) Installing lsblk (2.37-r0) 08:08:57 (12/21) Installing libfdisk (2.37-r0) 08:08:57 (13/21) Installing sfdisk (2.37-r0) 08:08:58 (14/21) Installing cfdisk (2.37-r0) 08:08:58 (15/21) Installing partx (2.37-r0) 08:08:58 (16/21) Installing flock (2.37-r0) 08:08:58 (17/21) Installing logger (2.37-r0) 08:08:58 (18/21) Installing uuidgen (2.37-r0) 08:08:58 (19/21) Installing libeconf (0.3.8-r1) 08:08:58 (20/21) Installing util-linux (2.37-r0) 08:08:59 (21/21) Installing util-linux-dev (2.37-r0) 08:08:59 Executing busybox-1.33.1-r3.trigger 08:08:59 OK: 286 MiB in 105 packages 08:09:01 Removing intermediate container f518972c3ac9 08:09:01 ---> a4871e9f757c 08:09:01 Step 7/17 : COPY VERSION /edgex-c-sdk/ 08:09:01 ---> e2adddd3c68e 08:09:01 Step 8/17 : COPY src /edgex-c-sdk/src/ 08:09:02 ---> 6d2a1d44025c 08:09:02 Step 9/17 : COPY include /edgex-c-sdk/include/ 08:09:03 ---> eb2241f080f0 08:09:03 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 08:09:04 ---> 108bbe19bb78 08:09:04 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 08:09:05 ---> 54a0c201cfbe 08:09:05 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 08:09:05 ---> c3d3df1d97cf 08:09:05 Step 13/17 : WORKDIR /edgex-c-sdk 08:09:06 ---> Running in d93a4356cc39 08:09:06 Removing intermediate container d93a4356cc39 08:09:06 ---> 9f944615a347 08:09:06 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 08:09:06 ---> Running in 264caafc7537 08:09:06 Removing intermediate container 264caafc7537 08:09:06 ---> edcc89ea58b6 08:09:06 Step 15/17 : LABEL arch=arm64 08:09:07 ---> Running in 7925687fbbac 08:09:07 Removing intermediate container 7925687fbbac 08:09:07 ---> d543efaabd14 08:09:07 Step 16/17 : LABEL git_sha=f9cc441c845f7b3b136fda20b0bd590713aa9127 08:09:07 ---> Running in 34c5ce70e2ae 08:09:07 Removing intermediate container 34c5ce70e2ae 08:09:07 ---> a8f97eab06fb 08:09:07 Step 17/17 : LABEL version=2.0.1-dev.12 08:09:08 ---> Running in f4fb402da8c7 08:09:08 Removing intermediate container f4fb402da8c7 08:09:08 ---> de2db80f542d 08:09:08 [Warning] One or more build-args [ARCH MAKE] were not consumed 08:09:08 Successfully built de2db80f542d 08:09:08 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 08:09:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:09:09 08:09:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 08:09:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:09:10 arm64: Pulling from edgex-lftools-log-publisher 08:09:10 448f6bf000e3: Pulling fs layer 08:09:10 f757da607395: Pulling fs layer 08:09:10 05883995daec: Pulling fs layer 08:09:10 8603b9c90790: Pulling fs layer 08:09:10 1560dd03e051: Pulling fs layer 08:09:10 27f5ce0e4adf: Pulling fs layer 08:09:10 c2d8d7efcc4b: Pulling fs layer 08:09:10 8603b9c90790: Waiting 08:09:10 27f5ce0e4adf: Waiting 08:09:10 1560dd03e051: Waiting 08:09:10 c2d8d7efcc4b: Waiting 08:09:10 f757da607395: Verifying Checksum 08:09:10 f757da607395: Download complete 08:09:10 8603b9c90790: Verifying Checksum 08:09:10 8603b9c90790: Download complete 08:09:10 05883995daec: Verifying Checksum 08:09:10 05883995daec: Download complete 08:09:10 1560dd03e051: Verifying Checksum 08:09:10 1560dd03e051: Download complete 08:09:10 27f5ce0e4adf: Verifying Checksum 08:09:10 27f5ce0e4adf: Download complete 08:09:10 448f6bf000e3: Verifying Checksum 08:09:10 448f6bf000e3: Download complete 08:09:13 c2d8d7efcc4b: Verifying Checksum 08:09:13 c2d8d7efcc4b: Download complete 08:09:14 448f6bf000e3: Pull complete 08:09:15 f757da607395: Pull complete 08:09:16 05883995daec: Pull complete 08:09:16 8603b9c90790: Pull complete 08:09:17 1560dd03e051: Pull complete 08:09:17 27f5ce0e4adf: Pull complete 08:09:30 c2d8d7efcc4b: Pull complete 08:09:30 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 08:09:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:09:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 08:09:30 prd-ubuntu18.04-docker-arm64-4c-16g-897 does not seem to be running inside a container 08:09:30 $ 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/13 -v /w/workspace/device-sdk-c/13:/w/workspace/device-sdk-c/13:rw,z -v /w/workspace/device-sdk-c/13@tmp:/w/workspace/device-sdk-c/13@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 08:09:35 $ docker top 2d85cc6074f48ce7ed33d974fec85c9f516645b64d12238173249a90e0361998 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:09:36 ---> job-cost.sh 08:09:36 lf-activate-venv: SKIPPING 08:09:36 INFO: No Stack... 08:09:54 INFO: Retrieving Pricing Info for: v3-standard-4 08:09:54 INFO: Archiving Costs [Pipeline] sh 08:09:55 + cat /w/workspace/device-sdk-c/13/archives/cost.csv 08:09:55 + cut -d, -f6 [Pipeline] lock 08:09:55 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-13-stack-cost] 08:09:55 Resource [jenkins-edgexfoundry-device-sdk-c-main-13-stack-cost] did not exist. Created. 08:09:55 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:09:56 /w/workspace/device-sdk-c/13@tmp/durable-aff505bd/script.sh: 1: /w/workspace/device-sdk-c/13@tmp/durable-aff505bd/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 08:09:57 + echo total: 0.10999999940395355 [Pipeline] stash 08:09:57 Warning: overwriting stash ‘stack-cost’ 08:09:57 Stashed 1 file(s) [Pipeline] } 08:09:57 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-13-stack-cost] [Pipeline] // lock [Pipeline] } 08:09:57 $ docker stop --time=1 2d85cc6074f48ce7ed33d974fec85c9f516645b64d12238173249a90e0361998 08:09:59 $ docker rm -f 2d85cc6074f48ce7ed33d974fec85c9f516645b64d12238173249a90e0361998 [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 08:10:00 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:10:00 . [Pipeline] withDockerContainer 08:10:00 prd-centos7-docker-4c-2g-896 does not seem to be running inside a container 08:10: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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 08:10:00 $ docker top 54818240adb2b660e8a2c4070d3c35dada500b492c9122a10853e5434f796f1e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:10:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:10:00 [ssh-agent] Looking for ssh-agent implementation... 08:10:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:10:00 $ docker exec 54818240adb2b660e8a2c4070d3c35dada500b492c9122a10853e5434f796f1e ssh-agent 08:10:00 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXnppcBH/agent.14 08:10:00 SSH_AGENT_PID=21 08:10:00 Running ssh-add (command line suppressed) 08:10:01 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_5483344796311178173.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_5483344796311178173.key) 08:10:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:10:01 + git semver tag 08:10:01 # -> Open(): unable to determine branch for HEAD 08:10:01 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.git 08:10:01 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_main 08:10:01 # $SEMVER_REMOTE_NAME = origin 08:10:01 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:10:01 # $SEMVER_USER_NAME = edgex-jenkins 08:10:01 # $SEMVER_BRANCH = main 08:10:01 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.semver 08:10:01 # f9cc441c845f7b3b136fda20b0bd590713aa9127 HEAD 08:10:01 # -> Force: false 08:10:01 # e78ccd0982daa234d73a07c78965b30104e33f27 refs/tags/v2.0.1-dev.12 [Pipeline] } 08:10:01 $ docker exec --env ******** --env ******** 54818240adb2b660e8a2c4070d3c35dada500b492c9122a10853e5434f796f1e ssh-agent -k 08:10:01 unset SSH_AUTH_SOCK; 08:10:01 unset SSH_AGENT_PID; 08:10:01 echo Agent pid 21 killed; 08:10:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:10:01 + git semver [Pipeline] } 08:10:01 $ docker stop --time=1 54818240adb2b660e8a2c4070d3c35dada500b492c9122a10853e5434f796f1e 08:10:02 $ docker rm -f 54818240adb2b660e8a2c4070d3c35dada500b492c9122a10853e5434f796f1e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 08:10:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:10:03 08:10:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 08:10:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:10:03 0.23.1-centos7: Pulling from edgex-lftools 08:10:03 ab5ef0e58194: Pulling fs layer 08:10:03 9712f1f96733: Pulling fs layer 08:10:03 63f879dbbcfc: Pulling fs layer 08:10:03 0d9ebad4ef96: Pulling fs layer 08:10:03 e9a5061849ea: Pulling fs layer 08:10:03 d747dcd14b5f: Pulling fs layer 08:10:03 2de7ff778b66: Pulling fs layer 08:10:03 0d9ebad4ef96: Waiting 08:10:03 e9a5061849ea: Waiting 08:10:03 d747dcd14b5f: Waiting 08:10:03 2de7ff778b66: Waiting 08:10:03 9712f1f96733: Verifying Checksum 08:10:03 9712f1f96733: Download complete 08:10:03 63f879dbbcfc: Verifying Checksum 08:10:03 63f879dbbcfc: Download complete 08:10:04 ab5ef0e58194: Verifying Checksum 08:10:04 ab5ef0e58194: Download complete 08:10:04 0d9ebad4ef96: Verifying Checksum 08:10:04 0d9ebad4ef96: Download complete 08:10:04 d747dcd14b5f: Verifying Checksum 08:10:04 d747dcd14b5f: Download complete 08:10:04 e9a5061849ea: Verifying Checksum 08:10:04 e9a5061849ea: Download complete 08:10:04 2de7ff778b66: Verifying Checksum 08:10:04 2de7ff778b66: Download complete 08:10:07 ab5ef0e58194: Pull complete 08:10:07 9712f1f96733: Pull complete 08:10:08 63f879dbbcfc: Pull complete 08:10:11 0d9ebad4ef96: Pull complete 08:10:12 e9a5061849ea: Pull complete 08:10:12 d747dcd14b5f: Pull complete 08:10:13 2de7ff778b66: Pull complete 08:10:13 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 08:10:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:10:13 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 08:10:13 prd-centos7-docker-4c-2g-896 does not seem to be running inside a container 08:10:13 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 08:10:16 $ docker top 9917ab25357d728c92f90eaed61f370e801bea179b74a6fe24004be08f936d68 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 08:10:16 provisioning config files... 08:10:16 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config1846558457280012304tmp 08:10:16 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config4717512518232664513tmp 08:10:16 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config6857199913863780065tmp [Pipeline] { [Pipeline] echo 08:10:16 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 08:10:17 ---> sigul-configuration.sh 08:10:17 gpg: directory `/root/.gnupg' created 08:10:17 gpg: new configuration file `/root/.gnupg/gpg.conf' created 08:10:17 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 08:10:17 gpg: keyring `/root/.gnupg/secring.gpg' created 08:10:17 gpg: keyring `/root/.gnupg/pubring.gpg' created 08:10:17 gpg: CAST5 encrypted data 08:10:17 gpg: encrypted with 1 passphrase 08:10:17 gpg: WARNING: message was not integrity protected [Pipeline] sh 08:10:17 + mkdir /home/jenkins 08:10:17 + mkdir /home/jenkins/sigul [Pipeline] sh 08:10:17 + 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 08:10:17 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 08:10:17 ---> sigul-install.sh 08:10:17 Sigul already installed; skipping installation. [Pipeline] sh 08:10:18 + git tag --list 08:10:18 0.7.0 08:10:18 0.7.1 08:10:18 1.0.0 08:10:18 v1.0.1 08:10:18 v1.0.2 08:10:18 v1.0.3 08:10:18 v1.1.0 08:10:18 v1.1.1 08:10:18 v1.2.0 08:10:18 v1.2.1 08:10:18 v1.2.2 08:10:18 v1.3.0 08:10:18 v1.3.1 08:10:18 v2.0.0 08:10:18 v2.0.1-dev.1 08:10:18 v2.0.1-dev.10 08:10:18 v2.0.1-dev.11 08:10:18 v2.0.1-dev.12 08:10:18 v2.0.1-dev.2 08:10:18 v2.0.1-dev.3 08:10:18 v2.0.1-dev.4 08:10:18 v2.0.1-dev.5 08:10:18 v2.0.1-dev.6 08:10:18 v2.0.1-dev.7 08:10:18 v2.0.1-dev.8 08:10:18 v2.0.1-dev.9 [Pipeline] sh 08:10:18 + lftools sign git-tag v2.0.1-dev.12 08:10:19 Signing Git tag with Sigul... 08:10:19 Signing v2.0.1-dev.12 [Pipeline] echo 08:10:20 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 08:10:20 ---> sigul-configuration-cleanup.sh [Pipeline] } 08:10:20 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 08:10:20 $ docker stop --time=1 9917ab25357d728c92f90eaed61f370e801bea179b74a6fe24004be08f936d68 08:10:21 $ docker rm -f 9917ab25357d728c92f90eaed61f370e801bea179b74a6fe24004be08f936d68 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 08:10:22 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:10:22 . [Pipeline] withDockerContainer 08:10:22 prd-centos7-docker-4c-2g-896 does not seem to be running inside a container 08:10:22 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 08:10:22 $ docker top 1804659515eba852cb45d3ffc090dbfd02fb178feacabf063221fb238295e996 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:10:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:10:22 [ssh-agent] Looking for ssh-agent implementation... 08:10:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:10:22 $ docker exec 1804659515eba852cb45d3ffc090dbfd02fb178feacabf063221fb238295e996 ssh-agent 08:10:23 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXgajAEH/agent.13 08:10:23 SSH_AGENT_PID=19 08:10:23 Running ssh-add (command line suppressed) 08:10:23 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_1193770968277799758.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_1193770968277799758.key) 08:10:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:10:23 + git semver bump pre 08:10:23 # -> Open(): unable to determine branch for HEAD 08:10:23 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.git 08:10:23 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_main 08:10:23 # $SEMVER_REMOTE_NAME = origin 08:10:23 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:10:23 # $SEMVER_USER_NAME = edgex-jenkins 08:10:23 # $SEMVER_BRANCH = main 08:10:23 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.semver 08:10:23 2.0.1-dev.13 [Pipeline] } 08:10:23 $ docker exec --env ******** --env ******** 1804659515eba852cb45d3ffc090dbfd02fb178feacabf063221fb238295e996 ssh-agent -k 08:10:23 unset SSH_AUTH_SOCK; 08:10:23 unset SSH_AGENT_PID; 08:10:23 echo Agent pid 19 killed; 08:10:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:10:23 + git semver [Pipeline] } 08:10:23 $ docker stop --time=1 1804659515eba852cb45d3ffc090dbfd02fb178feacabf063221fb238295e996 08:10:25 $ docker rm -f 1804659515eba852cb45d3ffc090dbfd02fb178feacabf063221fb238295e996 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 08:10:25 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:10:25 . [Pipeline] withDockerContainer 08:10:25 prd-centos7-docker-4c-2g-896 does not seem to be running inside a container 08:10:25 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 08:10:25 $ docker top 86db57ae72bc6b793b770ec6c8041a3d2a0db023fc410d51f86920ac9ccefed4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:10:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:10:26 [ssh-agent] Looking for ssh-agent implementation... 08:10:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:10:26 $ docker exec 86db57ae72bc6b793b770ec6c8041a3d2a0db023fc410d51f86920ac9ccefed4 ssh-agent 08:10:26 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXmeiKjJ/agent.14 08:10:26 SSH_AGENT_PID=20 08:10:26 Running ssh-add (command line suppressed) 08:10:26 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_7226631223494728402.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_7226631223494728402.key) 08:10:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:10:26 + git semver push 08:10:26 # -> Open(): unable to determine branch for HEAD 08:10:26 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.git 08:10:26 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_main 08:10:26 # $SEMVER_REMOTE_NAME = origin 08:10:26 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:10:26 # $SEMVER_USER_NAME = edgex-jenkins 08:10:26 # $SEMVER_BRANCH = main 08:10:26 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.semver [Pipeline] } 08:10:28 $ docker exec --env ******** --env ******** 86db57ae72bc6b793b770ec6c8041a3d2a0db023fc410d51f86920ac9ccefed4 ssh-agent -k 08:10:28 unset SSH_AUTH_SOCK; 08:10:28 unset SSH_AGENT_PID; 08:10:28 echo Agent pid 20 killed; 08:10:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:10:28 + git semver [Pipeline] } 08:10:29 $ docker stop --time=1 86db57ae72bc6b793b770ec6c8041a3d2a0db023fc410d51f86920ac9ccefed4 08:10:30 $ docker rm -f 86db57ae72bc6b793b770ec6c8041a3d2a0db023fc410d51f86920ac9ccefed4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 08:10:31 + '[' -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 08:10:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:10:31 ---> package-listing.sh 08:10:31 ++ tr '[:upper:]' '[:lower:]' 08:10:31 ++ facter osfamily 08:10:32 + OS_FAMILY=redhat 08:10:32 + workspace=/w/workspace/edgexfoundry_device-sdk-c_main 08:10:32 + START_PACKAGES=/tmp/packages_start.txt 08:10:32 + END_PACKAGES=/tmp/packages_end.txt 08:10:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:10:32 + PACKAGES=/tmp/packages_start.txt 08:10:32 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 08:10:32 + PACKAGES=/tmp/packages_end.txt 08:10:32 + case "${OS_FAMILY}" in 08:10:32 + rpm -qa 08:10:32 + sort 08:10:32 + '[' -f /tmp/packages_start.txt ']' 08:10:32 + '[' -f /tmp/packages_end.txt ']' 08:10:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:10:32 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 08:10:32 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ 08:10:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [Pipeline] echo 08:10:32 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 08:10:33 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 08:10:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:10:33 08:10:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 08:10:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:10:33 latest: Pulling from edgex-lftools-log-publisher 08:10:33 b4d181a07f80: Pulling fs layer 08:10:33 a1111a8f2ec3: Pulling fs layer 08:10:33 ed53099fbce6: Pulling fs layer 08:10:33 dc539afda2c1: Pulling fs layer 08:10:33 77bc0d833cb6: Pulling fs layer 08:10:33 9065ff56babe: Pulling fs layer 08:10:33 d287ab97295c: Pulling fs layer 08:10:33 dc539afda2c1: Waiting 08:10:33 77bc0d833cb6: Waiting 08:10:33 9065ff56babe: Waiting 08:10:33 d287ab97295c: Waiting 08:10:33 a1111a8f2ec3: Verifying Checksum 08:10:33 a1111a8f2ec3: Download complete 08:10:33 dc539afda2c1: Download complete 08:10:34 ed53099fbce6: Verifying Checksum 08:10:34 ed53099fbce6: Download complete 08:10:34 77bc0d833cb6: Verifying Checksum 08:10:34 77bc0d833cb6: Download complete 08:10:34 9065ff56babe: Verifying Checksum 08:10:34 9065ff56babe: Download complete 08:10:34 b4d181a07f80: Verifying Checksum 08:10:34 b4d181a07f80: Download complete 08:10:34 d287ab97295c: Verifying Checksum 08:10:34 d287ab97295c: Download complete 08:10:35 b4d181a07f80: Pull complete 08:10:35 a1111a8f2ec3: Pull complete 08:10:36 ed53099fbce6: Pull complete 08:10:36 dc539afda2c1: Pull complete 08:10:36 77bc0d833cb6: Pull complete 08:10:37 9065ff56babe: Pull complete 08:10:42 d287ab97295c: Pull complete 08:10:42 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 08:10:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:10:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 08:10:42 prd-centos7-docker-4c-2g-896 does not seem to be running inside a container 08:10:42 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:10:44 $ docker top c0f4338b8a2c125af0349ebe8d739fae8381333a4f460da3ea8ff45cef8f97db -eo pid,comm [Pipeline] { [Pipeline] sh 08:10:45 + touch /tmp/pre-build-complete [Pipeline] sh 08:10:45 + mkdir -p /var/log/sysstat [Pipeline] sh 08:10:45 + ls /var/log/sa-host 08:10:45 + sadf -c /var/log/sa-host/sa21 08:10:45 file_magic: OK 08:10:45 HZ: Using current value: 100 08:10:45 file_header: OK 08:10:45 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 08:10:45 Statistics: 08:10:45 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 08:10:45 File successfully converted to sysstat format version 12.0.3 08:10:45 + sadf -c /var/log/sa-host/sa30 08:10:45 file_magic: OK 08:10:45 HZ: Using current value: 100 08:10:45 file_header: OK 08:10:45 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 08:10:45 Statistics: 08:10:45 Hnuu...uuuununununu...Hnuu...uuuununununu... 08:10:45 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:10:46 provisioning config files... 08:10:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config562861850087696942tmp [Pipeline] { [Pipeline] echo 08:10:46 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:10:46 ---> create-netrc.sh [Pipeline] } 08:10:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:10:46 ---> python-tools-install.sh [Pipeline] echo 08:10:46 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:10:46 ---> sudo-logs.sh 08:10:46 Archiving 'sudo' log.. 08:10:46 sudo: unable to resolve host prd-centos7-docker-4c-2g-896.novalocal: Name or service not known 08:10:46 sudo: unable to resolve host prd-centos7-docker-4c-2g-896.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 08:10:47 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:10:47 ---> job-cost.sh 08:10:47 lf-activate-venv: SKIPPING 08:10:47 DEBUG: total: 0.10999999940395355 08:10:47 INFO: Retrieving Stack Cost... 08:10:50 INFO: Retrieving Pricing Info for: v3-standard-2 08:10:50 INFO: Archiving Costs [Pipeline] echo 08:10:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:10:50 ---> logs-deploy.sh 08:10:50 lf-activate-venv: SKIPPING 08:10:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/13 08:10:50 INFO: archiving workspace using pattern(s): 08:10:51 Archives upload complete. 08:10:51 INFO: archiving logs to Nexus 08:10:52 ---> uname -a: 08:10:52 Linux prd-centos7-docker-4c-2g-896.novalocal 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64 GNU/Linux 08:10:52 08:10:52 08:10:52 ---> lscpu: 08:10:52 Architecture: x86_64 08:10:52 CPU op-mode(s): 32-bit, 64-bit 08:10:52 Byte Order: Little Endian 08:10:52 Address sizes: 40 bits physical, 48 bits virtual 08:10:52 CPU(s): 2 08:10:52 On-line CPU(s) list: 0,1 08:10:52 Thread(s) per core: 1 08:10:52 Core(s) per socket: 1 08:10:52 Socket(s): 2 08:10:52 NUMA node(s): 1 08:10:52 Vendor ID: AuthenticAMD 08:10:52 CPU family: 23 08:10:52 Model: 49 08:10:52 Model name: AMD EPYC-Rome Processor 08:10:52 Stepping: 0 08:10:52 CPU MHz: 2799.998 08:10:52 BogoMIPS: 5599.99 08:10:52 Virtualization: AMD-V 08:10:52 Hypervisor vendor: KVM 08:10:52 Virtualization type: full 08:10:52 L1d cache: 32K 08:10:52 L1i cache: 32K 08:10:52 L2 cache: 512K 08:10:52 L3 cache: 16384K 08:10:52 NUMA node0 CPU(s): 0,1 08:10:52 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 08:10:52 08:10:52 08:10:52 ---> nproc: 08:10:52 2 08:10:52 08:10:52 08:10:52 ---> df -h: 08:10:52 Filesystem Size Used Avail Use% Mounted on 08:10:52 overlay 40G 8.3G 32G 21% / 08:10:52 tmpfs 64M 0 64M 0% /dev 08:10:52 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 08:10:52 shm 64M 0 64M 0% /dev/shm 08:10:52 /dev/vda1 40G 8.3G 32G 21% /facter-os 08:10:52 08:10:52 08:10:52 ---> sar -b -r -n DEV: 08:10:52 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 10/21/21 _x86_64_ (2 CPU) 08:10:52 08:10:52 08:01:51 LINUX RESTART (2 CPU) 08:10:52 08:10:52 08:03:01 tps rtps wtps bread/s bwrtn/s 08:10:52 08:04:01 0.92 0.05 0.87 1.60 20.69 08:10:52 08:05:01 0.18 0.00 0.18 0.00 2.70 08:10:52 08:06:01 0.27 0.00 0.27 0.00 3.86 08:10:52 08:07:01 0.23 0.00 0.23 0.00 3.33 08:10:52 08:08:01 0.35 0.00 0.35 0.00 4.26 08:10:52 08:09:01 0.28 0.00 0.28 0.00 3.25 08:10:52 08:10:01 1.88 0.00 1.88 0.00 24.18 08:10:52 Average: 0.59 0.01 0.58 0.23 8.90 08:10:52 08:10:52 08:03:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 08:10:52 08:04:01 5694956 0 612144 7.64 2620 1699220 1164568 12.86 557100 1524284 24 08:10:52 08:05:01 5700284 0 606808 7.58 2620 1699228 1164208 12.85 551776 1524576 12 08:10:52 08:06:01 5695268 0 611824 7.64 2620 1699228 1164520 12.86 556732 1524576 8 08:10:52 08:07:01 5697524 0 609560 7.61 2620 1699236 1164208 12.85 554032 1525536 8 08:10:52 08:08:01 5699288 0 607792 7.59 2620 1699240 1164304 12.85 551968 1525536 8 08:10:52 08:09:01 5699816 0 607260 7.58 2620 1699244 1164256 12.85 551564 1525704 12 08:10:52 08:10:01 5657840 0 649096 8.10 2620 1699384 1444976 15.95 589044 1526524 48 08:10:52 Average: 5692139 0 614926 7.68 2620 1699254 1204434 13.30 558888 1525248 17 08:10:52 08:10:52 08:03:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 08:10:52 08:04:01 eth0 3.65 1.43 2.47 0.26 0.00 0.00 0.00 0.00 08:10:52 08:04:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:10:52 08:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:10:52 08:05:01 eth0 0.58 0.10 0.06 0.04 0.00 0.00 0.00 0.00 08:10:52 08:05:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:10:52 08:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:10:52 08:06:01 eth0 1.52 0.95 0.68 0.45 0.00 0.00 0.00 0.00 08:10:52 08:06:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:10:52 08:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:10:52 08:07:01 eth0 0.57 0.10 0.06 0.01 0.00 0.00 0.00 0.00 08:10:52 08:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:10:52 08:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:10:52 08:08:01 eth0 0.22 0.23 0.08 0.07 0.00 0.00 0.00 0.00 08:10:52 08:08:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:10:52 08:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:10:52 08:09:01 eth0 0.22 0.17 0.07 0.01 0.00 0.00 0.00 0.00 08:10:52 08:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:10:52 08:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:10:52 08:10:01 veth5f08187 0.00 0.05 0.00 0.00 0.00 0.00 0.00 0.00 08:10:52 08:10:01 eth0 9.69 7.16 12.40 4.01 0.00 0.00 0.00 0.00 08:10:52 08:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:10:52 08:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:10:52 Average: veth5f08187 0.00 0.01 0.00 0.00 0.00 0.00 0.00 0.00 08:10:52 Average: eth0 2.35 1.45 2.26 0.69 0.00 0.00 0.00 0.00 08:10:52 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:10:52 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:10:52 08:10:52 08:10:52 ---> sar -P ALL: 08:10:52 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 10/21/21 _x86_64_ (2 CPU) 08:10:52 08:10:52 08:01:51 LINUX RESTART (2 CPU) 08:10:52 08:10:52 08:03:01 CPU %user %nice %system %iowait %steal %idle 08:10:52 08:04:01 all 0.16 0.00 0.05 0.00 0.03 99.77 08:10:52 08:04:01 0 0.22 0.00 0.05 0.00 0.02 99.72 08:10:52 08:04:01 1 0.10 0.00 0.05 0.00 0.03 99.82 08:10:52 08:05:01 all 0.15 0.00 0.03 0.00 0.04 99.78 08:10:52 08:05:01 0 0.23 0.00 0.03 0.00 0.05 99.68 08:10:52 08:05:01 1 0.07 0.00 0.02 0.00 0.03 99.88 08:10:52 08:06:01 all 0.19 0.00 0.05 0.00 0.03 99.72 08:10:52 08:06:01 0 0.35 0.00 0.07 0.00 0.03 99.55 08:10:52 08:06:01 1 0.03 0.00 0.03 0.00 0.03 99.90 08:10:52 08:07:01 all 0.26 0.00 0.03 0.00 0.03 99.69 08:10:52 08:07:01 0 0.48 0.00 0.03 0.00 0.03 99.45 08:10:52 08:07:01 1 0.03 0.00 0.02 0.00 0.02 99.93 08:10:52 08:08:01 all 0.14 0.00 0.05 0.00 0.03 99.78 08:10:52 08:08:01 0 0.27 0.00 0.07 0.00 0.05 99.62 08:10:52 08:08:01 1 0.02 0.00 0.03 0.00 0.00 99.95 08:10:52 08:09:01 all 0.04 0.00 0.03 0.00 0.03 99.90 08:10:52 08:09:01 0 0.03 0.00 0.03 0.00 0.03 99.90 08:10:52 08:09:01 1 0.05 0.00 0.03 0.00 0.02 99.90 08:10:52 08:10:01 all 0.78 0.00 0.44 0.03 0.04 98.72 08:10:52 08:10:01 0 0.72 0.00 0.42 0.02 0.05 98.80 08:10:52 08:10:01 1 0.84 0.00 0.45 0.03 0.03 98.64 08:10:52 Average: all 0.25 0.00 0.10 0.00 0.03 99.62 08:10:52 Average: 0 0.33 0.00 0.10 0.00 0.04 99.53 08:10:52 Average: 1 0.16 0.00 0.09 0.00 0.02 99.72 08:10:52 08:10:52 08:10:52