Pull request #401 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 2a4638433ec196b4d26870a14923a99a4b2577f4+02161a6b4618232bfcf286377d256226a622bc2b (ec27c3410924e234e3236b5c385576335b67620a) 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-ssh16353948592341487276.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2628132576610712051.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-401/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-401/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh10323563656171122305.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f efdbc04638cc485a1a2a98c60e49a0e43cac6f53 # timeout=10 Commit message: "Merge pull request #376 from ernestojeda/add-ireland-release-stream" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh6972030829545759012.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-401/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-401/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh16131293277700517269.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_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 ‘prd-centos7-docker-4c-2g-5643’ is offline Running on prd-centos7-docker-4c-2g-5645 in /w/workspace/edgexfoundry_device-sdk-c_PR-401 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-401 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-401@tmp/jenkins-gitclient-ssh1011950841077315255.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 02161a6b4618232bfcf286377d256226a622bc2b into PR head commit 2a4638433ec196b4d26870a14923a99a4b2577f4 Merge succeeded, producing 2a4638433ec196b4d26870a14923a99a4b2577f4 Checking out Revision 2a4638433ec196b4d26870a14923a99a4b2577f4 (PR-401) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-401@tmp/jenkins-gitclient-ssh3485344359707983596.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/401/head:refs/remotes/origin/PR-401 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2a4638433ec196b4d26870a14923a99a4b2577f4 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-401@tmp/jenkins-gitclient-ssh7881244045990039345.key > git merge 02161a6b4618232bfcf286377d256226a622bc2b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2a4638433ec196b4d26870a14923a99a4b2577f4 # timeout=10 Commit message: "build(deps): bump Alpine to 3.15" First time build. Skipping changelog. > git rev-list --no-walk e16c89daf6826d526ada798cd830d9ad1f5db0fd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:53:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:53:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:53:14 ========================================================= 15:53:14 EdgeX Global Pipelines Version Info 15:53:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:53:15 ------------------- 15:53:15 stable info: 15:53:15 ------------------- 15:53:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:53:15 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 15:53:15 Message: update stable to v1.0.220 15:53:16 ------------------- 15:53:16 experimental info: 15:53:16 ------------------- 15:53:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:53:16 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 15:53:16 Message: update experimental to v1.0.220 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:53:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 15:53:16 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 15:53:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:53:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:53:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:53:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 15:53:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 15:53:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:53:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:53:16 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 15:53:16 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:53:16 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:53:16 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:53:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 15:53:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:53:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:53:16 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:53:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-401 [Pipeline] echo 15:53:16 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-401 [Pipeline] echo 15:53:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-401 [Pipeline] echo 15:53:16 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2a4638433ec196b4d26870a14923a99a4b2577f4 [Pipeline] echo 15:53:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2a46384 [Pipeline] echo 15:53:16 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:53:16 provisioning config files... 15:53:16 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-401@tmp/config9162371959725962427tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:53:17 ---> docker-login.sh 15:53:17 nexus3.edgexfoundry.org:10001 15:53:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:53:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:53:17 Configure a credential helper to remove this warning. See 15:53:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:53:17 15:53:17 Login Succeeded 15:53:17 nexus3.edgexfoundry.org:10002 15:53:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:53:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:53:17 Configure a credential helper to remove this warning. See 15:53:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:53:17 15:53:17 Login Succeeded 15:53:17 nexus3.edgexfoundry.org:10003 15:53:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:53:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:53:17 Configure a credential helper to remove this warning. See 15:53:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:53:17 15:53:17 Login Succeeded 15:53:17 nexus3.edgexfoundry.org:10004 15:53:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:53:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:53:17 Configure a credential helper to remove this warning. See 15:53:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:53:17 15:53:17 Login Succeeded 15:53:17 docker.io 15:53:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:53:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:53:17 Configure a credential helper to remove this warning. See 15:53:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:53:17 15:53:17 Login Succeeded 15:53:17 ---> docker-login.sh ends [Pipeline] } 15:53:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 15:53:18 + git rev-list -1 --merges 2a4638433ec196b4d26870a14923a99a4b2577f4~1..2a4638433ec196b4d26870a14923a99a4b2577f4 [Pipeline] echo 15:53:18 -----------> git rev-list -1 --merges 2a4638433ec196b4d26870a14923a99a4b2577f4~1..2a4638433ec196b4d26870a14923a99a4b2577f4 2a4638433ec196b4d26870a14923a99a4b2577f4 [false] [Pipeline] sh 15:53:18 + git log --format=format:%s -1 2a4638433ec196b4d26870a14923a99a4b2577f4 [Pipeline] echo 15:53:18 ========================================================= 15:53:18 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:53:18 ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:53:19 + git rev-list -1 --merges 2a4638433ec196b4d26870a14923a99a4b2577f4~1..2a4638433ec196b4d26870a14923a99a4b2577f4 [Pipeline] echo 15:53:19 -----------> git rev-list -1 --merges 2a4638433ec196b4d26870a14923a99a4b2577f4~1..2a4638433ec196b4d26870a14923a99a4b2577f4 2a4638433ec196b4d26870a14923a99a4b2577f4 [false] [Pipeline] sh 15:53:19 + git log --format=format:%s -1 2a4638433ec196b4d26870a14923a99a4b2577f4 [Pipeline] echo 15:53:19 ========================================================= 15:53:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:53:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 15:53:19 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 15:53:19 + grep -v github /etc/ssh/ssh_known_hosts 15:53:19 + '[' -e /tmp/ssh_known_hosts ']' 15:53:19 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:53:19 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 15:53:19 + sudo tee -a /etc/ssh/ssh_known_hosts 15:53:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:53:20 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:53:20 15:53:20 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:53:20 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:53:20 latest: Pulling from edgex-devops/git-semver 15:53:20 a0d0a0d46f8b: Pulling fs layer 15:53:20 3e5f54012d9b: Pulling fs layer 15:53:20 4c7163046ea9: Pulling fs layer 15:53:20 0c2d73faf560: Pulling fs layer 15:53:20 0c2d73faf560: Waiting 15:53:20 3e5f54012d9b: Verifying Checksum 15:53:20 3e5f54012d9b: Download complete 15:53:20 a0d0a0d46f8b: Verifying Checksum 15:53:20 a0d0a0d46f8b: Download complete 15:53:20 4c7163046ea9: Verifying Checksum 15:53:20 4c7163046ea9: Download complete 15:53:20 0c2d73faf560: Verifying Checksum 15:53:20 0c2d73faf560: Download complete 15:53:20 a0d0a0d46f8b: Pull complete 15:53:20 3e5f54012d9b: Pull complete 15:53:21 4c7163046ea9: Pull complete 15:53:21 0c2d73faf560: Pull complete 15:53:21 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 15:53:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:53:21 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 15:53:21 prd-centos7-docker-4c-2g-5645 does not seem to be running inside a container 15:53:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-401 -v /w/workspace/edgexfoundry_device-sdk-c_PR-401:/w/workspace/edgexfoundry_device-sdk-c_PR-401:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-401@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-401@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:53:22 $ docker top 97e90e373e27ab388972a66ce0b5e9e1e04443821af4c64eec2c40a3adaa253e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:53:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:53:22 [ssh-agent] Looking for ssh-agent implementation... 15:53:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:53:22 $ docker exec 97e90e373e27ab388972a66ce0b5e9e1e04443821af4c64eec2c40a3adaa253e ssh-agent 15:53:22 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlnfdBf/agent.13 15:53:22 SSH_AGENT_PID=20 15:53:22 Running ssh-add (command line suppressed) 15:53:22 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-401@tmp/private_key_3409846860998909958.key (/w/workspace/edgexfoundry_device-sdk-c_PR-401@tmp/private_key_3409846860998909958.key) 15:53:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:53:22 + git tag --points-at HEAD [Pipeline] } 15:53:22 $ docker exec --env ******** --env ******** 97e90e373e27ab388972a66ce0b5e9e1e04443821af4c64eec2c40a3adaa253e ssh-agent -k 15:53:22 unset SSH_AUTH_SOCK; 15:53:22 unset SSH_AGENT_PID; 15:53:22 echo Agent pid 20 killed; 15:53:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:53:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:53:22 [ssh-agent] Looking for ssh-agent implementation... 15:53:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:53:23 $ docker exec 97e90e373e27ab388972a66ce0b5e9e1e04443821af4c64eec2c40a3adaa253e ssh-agent 15:53:23 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXnGdbJp/agent.54 15:53:23 SSH_AGENT_PID=60 15:53:23 Running ssh-add (command line suppressed) 15:53:23 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-401@tmp/private_key_1079086663962097529.key (/w/workspace/edgexfoundry_device-sdk-c_PR-401@tmp/private_key_1079086663962097529.key) 15:53:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:53:23 + git semver init 15:53:23 # -> Open(): unable to determine branch for HEAD 15:53:23 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-401/.git 15:53:23 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-401 15:53:23 # $SEMVER_REMOTE_NAME = origin 15:53:23 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:53:23 # $SEMVER_USER_NAME = edgex-jenkins 15:53:23 # $SEMVER_BRANCH = PR-401 15:53:23 # $SEMVER_TEMP = /tmp/semver-213446289 15:53:23 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 15:53:24 # '/tmp/semver-213446289' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-401/.semver' 15:53:24 # -> Force: false 15:53:24 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-401/.semver [Pipeline] } 15:53:24 $ docker exec --env ******** --env ******** 97e90e373e27ab388972a66ce0b5e9e1e04443821af4c64eec2c40a3adaa253e ssh-agent -k 15:53:24 unset SSH_AUTH_SOCK; 15:53:24 unset SSH_AGENT_PID; 15:53:24 echo Agent pid 60 killed; 15:53:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:53:24 + git semver [Pipeline] } 15:53:24 $ docker stop --time=1 97e90e373e27ab388972a66ce0b5e9e1e04443821af4c64eec2c40a3adaa253e 15:53:26 $ docker rm -f 97e90e373e27ab388972a66ce0b5e9e1e04443821af4c64eec2c40a3adaa253e [Pipeline] // withDockerContainer [Pipeline] sh 15:53:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:53:26 Stashed 1 file(s) [Pipeline] echo 15:53:26 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:53:26 provisioning config files... 15:53:26 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-401@tmp/config871911557138452611tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:53:27 ---> docker-login.sh 15:53:27 nexus3.edgexfoundry.org:10001 15:53:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:53:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:53:27 Configure a credential helper to remove this warning. See 15:53:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:53:27 15:53:27 Login Succeeded 15:53:27 nexus3.edgexfoundry.org:10002 15:53:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:53:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:53:27 Configure a credential helper to remove this warning. See 15:53:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:53:27 15:53:27 Login Succeeded 15:53:27 nexus3.edgexfoundry.org:10003 15:53:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:53:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:53:27 Configure a credential helper to remove this warning. See 15:53:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:53:27 15:53:27 Login Succeeded 15:53:27 nexus3.edgexfoundry.org:10004 15:53:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:53:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:53:27 Configure a credential helper to remove this warning. See 15:53:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:53:27 15:53:27 Login Succeeded 15:53:27 docker.io 15:53:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:53:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:53:27 Configure a credential helper to remove this warning. See 15:53:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:53:27 15:53:27 Login Succeeded 15:53:27 ---> docker-login.sh ends [Pipeline] } 15:53:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:53:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:53:27 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 15:53:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:53:27 ========================================================= 15:53:27 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 15:53:27 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 15:53:28 + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . 15:53:28 Sending build context to Docker daemon 4.505MB 15:53:28 Step 1/22 : ARG BASE=alpine:3.15 15:53:28 Step 2/22 : FROM ${BASE} as builder 15:53:28 latest: Pulling from edgex-devops/edgex-gcc-base 15:53:28 59bf1c3509f3: Pulling fs layer 15:53:28 c743a93c8381: Pulling fs layer 15:53:28 a2ad9f71ba65: Pulling fs layer 15:53:28 c743a93c8381: Verifying Checksum 15:53:28 c743a93c8381: Download complete 15:53:28 59bf1c3509f3: Verifying Checksum 15:53:28 59bf1c3509f3: Download complete 15:53:28 59bf1c3509f3: Pull complete 15:53:28 c743a93c8381: Pull complete 15:53:28 a2ad9f71ba65: Verifying Checksum 15:53:28 a2ad9f71ba65: Download complete 15:53:31 a2ad9f71ba65: Pull complete 15:53:31 Digest: sha256:1add200577aa6f30a3653c04583074abbdfe99a16f60a8a3474aeff88a149476 15:53:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 15:53:31 ---> c9e13ccc37c5 15:53:31 Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 15:53:32 ---> Running in 34c0215ef54d 15:53:32 Connecting to iotech.jfrog.io (54.229.110.245:443) 15:53:33 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 15:53:33 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 15:53:33 '/etc/apk/keys/alpine.dev.rsa.pub' saved 15:53:33 Removing intermediate container 34c0215ef54d 15:53:33 ---> 3b41c2ba160f 15:53:33 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 15:53:33 ---> Running in be74119af1d6 15:53:33 Removing intermediate container be74119af1d6 15:53:33 ---> f0c86beb43ae 15:53:33 Step 5/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev 15:53:33 ---> Running in 21769389b16c 15:53:34 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:53:34 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:53:35 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz 15:53:35 WARNING: This apk-tools is OLD! Some packages might not function properly. 15:53:35 (1/31) Installing hiredis (1.0.2-r0) 15:53:35 (2/31) Installing hiredis-dev (1.0.2-r0) 15:53:35 (3/31) Installing libcbor (0.8.0-r0) 15:53:35 (4/31) Installing libcbor-dev (0.8.0-r0) 15:53:36 (5/31) Installing ncurses-dev (6.3_p20211120-r0) 15:53:36 (6/31) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 15:53:37 (7/31) Installing util-linux (2.37.4-r0) 15:53:37 (8/31) Installing libblkid (2.37.4-r0) 15:53:37 (9/31) Installing libeconf (0.4.2-r0) 15:53:37 (10/31) Installing libuuid (2.37.4-r0) 15:53:37 (11/31) Installing libfdisk (2.37.4-r0) 15:53:37 (12/31) Installing libmount (2.37.4-r0) 15:53:37 (13/31) Installing libsmartcols (2.37.4-r0) 15:53:37 (14/31) Installing util-linux-misc (2.37.4-r0) 15:53:37 (15/31) Installing linux-pam (1.5.2-r0) 15:53:37 (16/31) Installing runuser (2.37.4-r0) 15:53:38 (17/31) Installing hexdump (2.37.4-r0) 15:53:38 (18/31) Installing uuidgen (2.37.4-r0) 15:53:38 (19/31) Installing blkid (2.37.4-r0) 15:53:38 (20/31) Installing sfdisk (2.37.4-r0) 15:53:38 (21/31) Installing mcookie (2.37.4-r0) 15:53:38 (22/31) Installing wipefs (2.37.4-r0) 15:53:38 (23/31) Installing cfdisk (2.37.4-r0) 15:53:38 (24/31) Installing flock (2.37.4-r0) 15:53:38 (25/31) Installing lsblk (2.37.4-r0) 15:53:38 (26/31) Installing libcap-ng (0.8.2-r1) 15:53:38 (27/31) Installing setpriv (2.37.4-r0) 15:53:38 (28/31) Installing logger (2.37.4-r0) 15:53:39 (29/31) Installing partx (2.37.4-r0) 15:53:39 (30/31) Installing findmnt (2.37.4-r0) 15:53:39 (31/31) Installing util-linux-dev (2.37.4-r0) 15:53:39 Executing busybox-1.34.1-r3.trigger 15:53:39 OK: 293 MiB in 108 packages 15:53:39 Removing intermediate container 21769389b16c 15:53:39 ---> 19792a0cdc0f 15:53:39 Step 6/22 : RUN mkdir /tmp/sdk 15:53:39 ---> Running in 5e217823fa02 15:53:40 Removing intermediate container 5e217823fa02 15:53:40 ---> 76ec23dd17ef 15:53:40 Step 7/22 : COPY VERSION /tmp/sdk 15:53:40 ---> f07e5d276a0f 15:53:40 Step 8/22 : COPY src /tmp/sdk/src 15:53:40 ---> f1cd32fd6d62 15:53:40 Step 9/22 : COPY include /tmp/sdk/include 15:53:40 ---> ab895cf01f5c 15:53:40 Step 10/22 : COPY scripts /tmp/sdk/scripts 15:53:41 ---> 482920714ad4 15:53:41 Step 11/22 : COPY LICENSE /tmp/sdk 15:53:41 ---> 498616d1fbf0 15:53:41 Step 12/22 : COPY Attribution.txt /tmp/sdk 15:53:41 ---> a60d3f172b5e 15:53:41 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 15:53:41 ---> Running in 8340b0762a5d 15:53:41 + CPPCHECK=false 15:53:41 + DOCGEN=false 15:53:41 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 15:53:41 + TOMLVER=SDK-0.2 15:53:41 + CUTILVER=1.2.2 15:53:41 + '[' 0 -gt 0 ] 15:53:41 + readlink -f ./scripts/build.sh 15:53:41 + dirname /tmp/sdk/scripts/build.sh 15:53:41 + dirname /tmp/sdk/scripts 15:53:41 + ROOT=/tmp/sdk 15:53:41 + cd /tmp/sdk 15:53:41 + '[' '!' -d deps ] 15:53:41 + mkdir deps 15:53:41 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 15:53:41 + tar -C deps -z -x -f - 15:53:41 Connecting to github.com (140.82.113.4:443) 15:53:41 Connecting to codeload.github.com (140.82.112.9:443) 15:53:41 Still waiting to schedule task 15:53:41 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 15:53:42 writing to stdout 15:53:42 - 100% |********************************| 16451 0:00:00 ETA 15:53:42 written to stdout 15:53:42 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 15:53:42 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 15:53:42 + tar -C deps -z -x -f - 15:53:42 Connecting to github.com (140.82.113.4:443) 15:53:42 Connecting to codeload.github.com (140.82.112.9:443) 15:53:42 writing to stdout 15:53:42 - 100% |********************************| 189k 0:00:00 ETA 15:53:42 written to stdout 15:53:42 + mkdir -p src/c/iot 15:53:42 + cp deps/iotech-c-utils-1.2.2/src/c/base64.c deps/iotech-c-utils-1.2.2/src/c/component.c deps/iotech-c-utils-1.2.2/src/c/config.c deps/iotech-c-utils-1.2.2/src/c/container.c deps/iotech-c-utils-1.2.2/src/c/data.c deps/iotech-c-utils-1.2.2/src/c/hash.c deps/iotech-c-utils-1.2.2/src/c/iot.c deps/iotech-c-utils-1.2.2/src/c/json.c deps/iotech-c-utils-1.2.2/src/c/logger.c deps/iotech-c-utils-1.2.2/src/c/os.c deps/iotech-c-utils-1.2.2/src/c/scheduler.c deps/iotech-c-utils-1.2.2/src/c/thread.c deps/iotech-c-utils-1.2.2/src/c/threadpool.c deps/iotech-c-utils-1.2.2/src/c/time.c deps/iotech-c-utils-1.2.2/src/c/uuid.c deps/iotech-c-utils-1.2.2/src/c/yxml.c src/c/iot 15:53:42 + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot 15:53:42 + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot 15:53:42 + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot 15:53:42 + mkdir -p include/iot 15:53:42 + cp deps/iotech-c-utils-1.2.2/include/iot/base64.h deps/iotech-c-utils-1.2.2/include/iot/component.h deps/iotech-c-utils-1.2.2/include/iot/config.h deps/iotech-c-utils-1.2.2/include/iot/container.h deps/iotech-c-utils-1.2.2/include/iot/data.h deps/iotech-c-utils-1.2.2/include/iot/hash.h deps/iotech-c-utils-1.2.2/include/iot/iot.h deps/iotech-c-utils-1.2.2/include/iot/json.h deps/iotech-c-utils-1.2.2/include/iot/logger.h deps/iotech-c-utils-1.2.2/include/iot/os.h deps/iotech-c-utils-1.2.2/include/iot/scheduler.h deps/iotech-c-utils-1.2.2/include/iot/thread.h deps/iotech-c-utils-1.2.2/include/iot/threadpool.h deps/iotech-c-utils-1.2.2/include/iot/time.h deps/iotech-c-utils-1.2.2/include/iot/typecode.h deps/iotech-c-utils-1.2.2/include/iot/uuid.h include/iot 15:53:42 + mkdir -p include/iot/os 15:53:42 + cp deps/iotech-c-utils-1.2.2/include/iot/os/linux.h deps/iotech-c-utils-1.2.2/include/iot/os/macos.h deps/iotech-c-utils-1.2.2/include/iot/os/zephyr.h include/iot/os 15:53:42 + mkdir -p /tmp/sdk/build/release 15:53:42 + cd /tmp/sdk/build/release 15:53:42 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 15:53:42 -- The C compiler identification is GNU 10.3.1 15:53:42 -- Detecting C compiler ABI info 15:53:42 -- Detecting C compiler ABI info - done 15:53:42 -- Check for working C compiler: /usr/bin/cc - skipped 15:53:42 -- Detecting C compile features 15:53:42 -- Detecting C compile features - done 15:53:42 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 15:53:42 -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") 15:53:42 -- Found LIBYAML: /usr/lib/libyaml.so 15:53:42 -- Found LIBUUID: /usr/lib/libuuid.so 15:53:42 -- Found LIBCBOR: /usr/lib/libcbor.so 15:53:42 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 15:53:42 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 15:53:42 -- C SDK 0.0.0 for Linux 15:53:42 -- Performing Test CSDK_HAVE_ATOMIC 15:53:42 -- Performing Test CSDK_HAVE_ATOMIC - Success 15:53:42 -- Found Curses: /usr/lib/libcurses.so 15:53:42 -- Configuring done 15:53:42 -- Generating done 15:53:42 -- Build files have been written to: /tmp/sdk/build/release 15:53:42 + make all package 15:53:42 + tee release.log 15:53:42 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 15:53:42 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 15:53:43 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 15:53:43 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 15:53:43 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 15:53:43 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 15:53:43 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 15:53:43 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 15:53:43 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 15:53:44 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 15:53:44 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 15:53:44 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 15:53:44 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 15:53:44 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 15:53:44 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 15:53:44 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 15:53:44 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 15:53:45 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 15:53:45 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 15:53:45 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 15:53:45 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 15:53:46 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 15:53:46 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 15:53:46 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 15:53:46 275 | const iot_component_factory_t * factory; 15:53:46 | ^~~~~~~ 15:53:46 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 15:53:47 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 15:53:47 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 15:53:47 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 15:53:47 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 15:53:47 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 15:53:47 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 15:53:47 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 15:53:47 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 15:53:47 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 15:53:47 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 15:53:47 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 15:53:48 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 15:53:48 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 15:53:48 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 15:53:48 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 15:53:49 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 15:53:49 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 15:53:49 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 15:53:49 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 15:53:49 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 15:53:49 /tmp/sdk/src/c/rest-server.c:250:65: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] 15:53:49 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 15:53:49 | ^~~~~~~~~~~~~ 15:53:49 | | 15:53:49 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 15:53:49 In file included from /tmp/sdk/src/c/rest-server.c:21: 15:53:49 /usr/include/microhttpd.h:2784:49: note: expected 'MHD_KeyValueIterator' {aka 'enum MHD_Result (*)(void *, enum MHD_ValueKind, const char *, const char *)'} but argument is of type 'int (*)(void *, enum MHD_ValueKind, const char *, const char *)' 15:53:49 2784 | MHD_KeyValueIterator iterator, 15:53:49 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 15:53:49 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 15:53:49 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 15:53:49 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 15:53:49 | ^~~~~~~~~~~~ 15:53:49 | | 15:53:49 | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} 15:53:49 In file included from /tmp/sdk/src/c/rest-server.c:21: 15:53:49 /usr/include/microhttpd.h:2480:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} 15:53:49 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 15:53:49 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 15:53:49 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 15:53:49 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 15:53:49 | ^~~~~~~~~~~~ 15:53:49 | | 15:53:49 | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} 15:53:49 In file included from /tmp/sdk/src/c/rest-server.c:21: 15:53:49 /usr/include/microhttpd.h:2480:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} 15:53:49 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 15:53:49 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 15:53:49 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 15:53:50 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 15:53:50 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 15:53:50 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 15:53:50 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 15:53:51 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 15:53:51 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 15:53:51 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 15:53:51 [ 76%] Linking C shared library libcsdk.so 15:53:51 [ 76%] Built target csdk 15:53:51 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 15:53:52 [ 79%] Linking C executable template 15:53:52 [ 79%] Built target template 15:53:52 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 15:53:52 [ 82%] Linking C executable device-counter 15:53:52 [ 82%] Built target device-counter 15:53:52 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 15:53:52 [ 85%] Linking C executable device-random 15:53:52 [ 85%] Built target device-random 15:53:52 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 15:53:52 [ 88%] Linking C executable device-gyro 15:53:52 [ 88%] Built target device-gyro 15:53:52 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 15:53:52 [ 91%] Linking C executable device-bitfields 15:53:52 [ 91%] Built target device-bitfields 15:53:52 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 15:53:52 [ 94%] Linking C executable template-discovery 15:53:52 [ 94%] Built target template-discovery 15:53:53 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 15:53:53 [ 97%] Linking C executable device-file 15:53:53 [ 97%] Built target device-file 15:53:53 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 15:53:53 [100%] Linking C executable device-terminal 15:53:53 [100%] Built target device-terminal 15:53:53 Run CPack packaging tool... 15:53:53 CPack: Create package using TGZ 15:53:53 CPack: Install projects 15:53:53 CPack: - Run preinstall target for: Csdk 15:53:53 CPack: - Install project: Csdk [] 15:53:53 CPack: Create package 15:53:53 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 15:53:53 + '[' false '=' true ] 15:53:53 + '[' false '=' true ] 15:53:53 + mkdir -p /tmp/sdk/build/debug 15:53:53 + cd /tmp/sdk/build/debug 15:53:53 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 15:53:53 -- The C compiler identification is GNU 10.3.1 15:53:53 -- Detecting C compiler ABI info 15:53:53 -- Detecting C compiler ABI info - done 15:53:53 -- Check for working C compiler: /usr/bin/cc - skipped 15:53:53 -- Detecting C compile features 15:53:53 -- Detecting C compile features - done 15:53:53 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 15:53:53 -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") 15:53:53 -- Found LIBYAML: /usr/lib/libyaml.so 15:53:53 -- Found LIBUUID: /usr/lib/libuuid.so 15:53:53 -- Found LIBCBOR: /usr/lib/libcbor.so 15:53:53 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 15:53:53 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 15:53:53 -- C SDK 0.0.0 for Linux 15:53:53 -- Performing Test CSDK_HAVE_ATOMIC 15:53:53 -- Performing Test CSDK_HAVE_ATOMIC - Success 15:53:53 -- Found Curses: /usr/lib/libcurses.so 15:53:53 -- Configuring done 15:53:53 -- Generating done 15:53:53 -- Build files have been written to: /tmp/sdk/build/debug 15:53:53 + tee debug.log 15:53:53 + make 15:53:53 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 15:53:54 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 15:53:54 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 15:53:54 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 15:53:54 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 15:53:54 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 15:53:54 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 15:53:54 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 15:53:54 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 15:53:54 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 15:53:55 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 15:53:55 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 15:53:55 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 15:53:55 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 15:53:55 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 15:53:55 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 15:53:55 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 15:53:55 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 15:53:55 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 15:53:55 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 15:53:55 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 15:53:55 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 15:53:55 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 15:53:55 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 15:53:55 275 | const iot_component_factory_t * factory; 15:53:55 | ^~~~~~~ 15:53:55 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 15:53:56 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 15:53:56 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 15:53:56 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 15:53:56 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 15:53:56 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 15:53:56 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 15:53:56 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 15:53:56 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 15:53:56 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 15:53:56 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 15:53:56 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 15:53:56 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 15:53:56 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 15:53:56 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 15:53:56 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 15:53:57 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 15:53:57 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 15:53:57 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 15:53:57 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 15:53:57 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 15:53:57 /tmp/sdk/src/c/rest-server.c:250:65: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] 15:53:57 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 15:53:57 | ^~~~~~~~~~~~~ 15:53:57 | | 15:53:57 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 15:53:57 In file included from /tmp/sdk/src/c/rest-server.c:21: 15:53:57 /usr/include/microhttpd.h:2784:49: note: expected 'MHD_KeyValueIterator' {aka 'enum MHD_Result (*)(void *, enum MHD_ValueKind, const char *, const char *)'} but argument is of type 'int (*)(void *, enum MHD_ValueKind, const char *, const char *)' 15:53:57 2784 | MHD_KeyValueIterator iterator, 15:53:57 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 15:53:57 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 15:53:57 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 15:53:57 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 15:53:57 | ^~~~~~~~~~~~ 15:53:57 | | 15:53:57 | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} 15:53:57 In file included from /tmp/sdk/src/c/rest-server.c:21: 15:53:57 /usr/include/microhttpd.h:2480:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} 15:53:57 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 15:53:57 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 15:53:57 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 15:53:57 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 15:53:57 | ^~~~~~~~~~~~ 15:53:57 | | 15:53:57 | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} 15:53:57 In file included from /tmp/sdk/src/c/rest-server.c:21: 15:53:57 /usr/include/microhttpd.h:2480:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} 15:53:57 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 15:53:57 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 15:53:57 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 15:53:57 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 15:53:57 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 15:53:57 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 15:53:57 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 15:53:57 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 15:53:58 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 15:53:58 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 15:53:58 [ 76%] Linking C shared library libcsdk.so 15:53:58 [ 76%] Built target csdk 15:53:58 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 15:53:58 [ 79%] Linking C executable template 15:53:58 [ 79%] Built target template 15:53:58 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 15:53:58 [ 82%] Linking C executable device-counter 15:53:58 [ 82%] Built target device-counter 15:53:58 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 15:53:58 [ 85%] Linking C executable device-random 15:53:58 [ 85%] Built target device-random 15:53:58 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 15:53:58 [ 88%] Linking C executable device-gyro 15:53:58 [ 88%] Built target device-gyro 15:53:58 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 15:53:58 [ 91%] Linking C executable device-bitfields 15:53:58 [ 91%] Built target device-bitfields 15:53:58 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 15:53:58 [ 94%] Linking C executable template-discovery 15:53:58 [ 94%] Built target template-discovery 15:53:58 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 15:53:59 [ 97%] Linking C executable device-file 15:53:59 [ 97%] Built target device-file 15:53:59 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 15:53:59 [100%] Linking C executable device-terminal 15:53:59 [100%] Built target device-terminal 15:53:59 make: Entering directory '/tmp/sdk/build/release' 15:53:59 make[1]: Entering directory '/tmp/sdk/build/release' 15:53:59 make[2]: Entering directory '/tmp/sdk/build/release' 15:53:59 make[2]: Leaving directory '/tmp/sdk/build/release' 15:53:59 [ 76%] Built target csdk 15:53:59 make[2]: Entering directory '/tmp/sdk/build/release' 15:53:59 make[2]: Leaving directory '/tmp/sdk/build/release' 15:53:59 [ 79%] Built target template 15:53:59 make[2]: Entering directory '/tmp/sdk/build/release' 15:53:59 make[2]: Leaving directory '/tmp/sdk/build/release' 15:53:59 [ 82%] Built target device-counter 15:53:59 make[2]: Entering directory '/tmp/sdk/build/release' 15:53:59 make[2]: Leaving directory '/tmp/sdk/build/release' 15:53:59 [ 85%] Built target device-random 15:53:59 make[2]: Entering directory '/tmp/sdk/build/release' 15:53:59 make[2]: Leaving directory '/tmp/sdk/build/release' 15:53:59 [ 88%] Built target device-gyro 15:53:59 make[2]: Entering directory '/tmp/sdk/build/release' 15:53:59 make[2]: Leaving directory '/tmp/sdk/build/release' 15:53:59 [ 91%] Built target device-bitfields 15:53:59 make[2]: Entering directory '/tmp/sdk/build/release' 15:53:59 make[2]: Leaving directory '/tmp/sdk/build/release' 15:53:59 [ 94%] Built target template-discovery 15:53:59 make[2]: Entering directory '/tmp/sdk/build/release' 15:53:59 make[2]: Leaving directory '/tmp/sdk/build/release' 15:53:59 [ 97%] Built target device-file 15:53:59 make[2]: Entering directory '/tmp/sdk/build/release' 15:53:59 make[2]: Leaving directory '/tmp/sdk/build/release' 15:53:59 [100%] Built target device-terminal 15:53:59 make[1]: Leaving directory '/tmp/sdk/build/release' 15:53:59 Install the project... 15:53:59 -- Install configuration: "Release" 15:53:59 -- Installing: /usr/local/lib/libcsdk.so 15:53:59 -- Installing: /usr/local/include 15:53:59 -- Installing: /usr/local/include/devsdk 15:53:59 -- Installing: /usr/local/include/devsdk/devsdk-base.h 15:53:59 -- Installing: /usr/local/include/devsdk/devsdk.h 15:53:59 -- Installing: /usr/local/include/edgex 15:53:59 -- Installing: /usr/local/include/edgex/devices.h 15:53:59 -- Installing: /usr/local/include/edgex/edgex-base.h 15:53:59 -- Installing: /usr/local/include/edgex/edgex.h 15:53:59 -- Installing: /usr/local/include/edgex/profiles.h 15:53:59 -- Installing: /usr/local/include/edgex/rest-server.h 15:53:59 -- Installing: /usr/local/include/edgex/csdk-defs.h 15:53:59 -- Installing: /usr/local/include/iot 15:53:59 -- Installing: /usr/local/include/iot/base64.h 15:53:59 -- Installing: /usr/local/include/iot/component.h 15:53:59 -- Installing: /usr/local/include/iot/config.h 15:53:59 -- Installing: /usr/local/include/iot/container.h 15:53:59 -- Installing: /usr/local/include/iot/data.h 15:53:59 -- Installing: /usr/local/include/iot/hash.h 15:53:59 -- Installing: /usr/local/include/iot/iot.h 15:53:59 -- Installing: /usr/local/include/iot/json.h 15:53:59 -- Installing: /usr/local/include/iot/logger.h 15:53:59 -- Installing: /usr/local/include/iot/os.h 15:53:59 -- Installing: /usr/local/include/iot/scheduler.h 15:53:59 -- Installing: /usr/local/include/iot/thread.h 15:53:59 -- Installing: /usr/local/include/iot/threadpool.h 15:53:59 -- Installing: /usr/local/include/iot/time.h 15:53:59 -- Installing: /usr/local/include/iot/typecode.h 15:53:59 -- Installing: /usr/local/include/iot/uuid.h 15:53:59 -- Installing: /usr/local/include/iot/os 15:53:59 -- Installing: /usr/local/include/iot/os/linux.h 15:53:59 -- Installing: /usr/local/include/iot/os/macos.h 15:53:59 -- Installing: /usr/local/include/iot/os/zephyr.h 15:53:59 -- Installing: /usr/local/include/iot/defs.h 15:53:59 -- Installing: /usr/local/share/device-sdk-c/LICENSE 15:53:59 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 15:53:59 make: Leaving directory '/tmp/sdk/build/release' 15:54:00 Removing intermediate container 8340b0762a5d 15:54:00 ---> 9a7a1dda163a 15:54:00 Step 14/22 : FROM ${BASE} 15:54:00 ---> c9e13ccc37c5 15:54:00 Step 15/22 : LABEL maintainer="IOTech " 15:54:00 ---> Running in 17535c4740d1 15:54:00 Removing intermediate container 17535c4740d1 15:54:00 ---> 1659d9c79051 15:54:00 Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 15:54:00 ---> Running in 0f2a11be6c5a 15:54:00 Connecting to iotech.jfrog.io (54.195.244.87:443) 15:54:00 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 15:54:00 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 15:54:00 '/etc/apk/keys/alpine.dev.rsa.pub' saved 15:54:00 Removing intermediate container 0f2a11be6c5a 15:54:00 ---> 0585bd78cbbc 15:54:00 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 15:54:01 ---> Running in fd0c02cef10c 15:54:01 Removing intermediate container fd0c02cef10c 15:54:01 ---> a46c1a29bf0e 15:54:01 Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 hiredis-dev 15:54:01 ---> Running in c4904a420602 15:54:01 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:54:02 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:54:02 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz 15:54:03 WARNING: This apk-tools is OLD! Some packages might not function properly. 15:54:03 (1/6) Installing curl (7.80.0-r0) 15:54:03 (2/6) Installing hiredis (1.0.2-r0) 15:54:03 (3/6) Installing hiredis-dev (1.0.2-r0) 15:54:03 (4/6) Installing libcbor (0.8.0-r0) 15:54:03 (5/6) Installing libuuid (2.37.4-r0) 15:54:03 (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 15:54:04 Executing busybox-1.34.1-r3.trigger 15:54:04 OK: 283 MiB in 83 packages 15:54:04 Removing intermediate container c4904a420602 15:54:04 ---> 5b48bc5110a5 15:54:04 Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 15:54:04 ---> f9ba49d76be6 15:54:04 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 15:54:05 ---> d52239c7da87 15:54:05 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 15:54:05 ---> feaaf14a4234 15:54:05 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 15:54:05 ---> e03e84ecd4c6 15:54:05 Successfully built e03e84ecd4c6 15:54:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:54:05 + docker inspect -f . ci-base-image-x86_64 15:54:05 . [Pipeline] withDockerContainer 15:54:05 prd-centos7-docker-4c-2g-5645 does not seem to be running inside a container 15:54:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-401 -v /w/workspace/edgexfoundry_device-sdk-c_PR-401:/w/workspace/edgexfoundry_device-sdk-c_PR-401:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-401@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-401@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:54:06 $ docker top 8196391f8078232c457185dd89f1f97ddbd61c35c94ac6073c5ed08bf8e0fd5b -eo pid,comm [Pipeline] { [Pipeline] sh 15:54:06 + make test 15:54:06 echo "make test" 15:54:06 make test [Pipeline] } 15:54:06 $ docker stop --time=1 8196391f8078232c457185dd89f1f97ddbd61c35c94ac6073c5ed08bf8e0fd5b 15:54:07 $ docker rm -f 8196391f8078232c457185dd89f1f97ddbd61c35c94ac6073c5ed08bf8e0fd5b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:54:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:54:09 + ls -al . 15:54:09 total 176 15:54:09 drwxrwxr-x. 9 jenkins jenkins 4096 Feb 18 15:53 . 15:54:09 drwxrwxr-x. 4 jenkins jenkins 112 Feb 18 15:53 .. 15:54:09 -rw-rw-r--. 1 jenkins jenkins 3104 Feb 18 15:53 Attribution.txt 15:54:09 -rw-rw-r--. 1 jenkins jenkins 8222 Feb 18 15:53 CHANGES 15:54:09 drwxrwxr-x. 2 jenkins jenkins 121 Feb 18 15:53 docs 15:54:09 -rw-rw-r--. 1 jenkins jenkins 108574 Feb 18 15:53 Doxyfile 15:54:09 drwxrwxr-x. 8 jenkins jenkins 179 Feb 18 15:53 .git 15:54:09 drwxrwxr-x. 3 jenkins jenkins 103 Feb 18 15:53 .github 15:54:09 -rw-rw-r--. 1 jenkins jenkins 176 Feb 18 15:53 .gitignore 15:54:09 -rw-rw-r--. 1 jenkins jenkins 677 Feb 18 15:53 GOVERNANCE.md 15:54:09 drwxrwxr-x. 4 jenkins jenkins 33 Feb 18 15:53 include 15:54:09 -rw-rw-r--. 1 jenkins jenkins 784 Feb 18 15:53 Jenkinsfile 15:54:09 -rw-rw-r--. 1 jenkins jenkins 10174 Feb 18 15:53 LICENSE 15:54:09 -rw-rw-r--. 1 jenkins jenkins 444 Feb 18 15:53 Makefile 15:54:09 -rw-rw-r--. 1 jenkins jenkins 618 Feb 18 15:53 OWNERS.md 15:54:09 -rw-rw-r--. 1 jenkins jenkins 4086 Feb 18 15:53 README.md 15:54:09 -rw-rw-r--. 1 jenkins jenkins 7422 Feb 18 15:53 README.v2.md 15:54:09 drwxrwxr-x. 2 jenkins jenkins 98 Feb 18 15:53 scripts 15:54:09 drwx------. 3 jenkins jenkins 85 Feb 18 15:53 .semver 15:54:09 drwxrwxr-x. 4 jenkins jenkins 50 Feb 18 15:53 src 15:54:09 -rw-rw-r--. 1 jenkins jenkins 5 Feb 18 15:53 VERSION [Pipeline] isUnix [Pipeline] sh 15:54:09 + 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=2a4638433ec196b4d26870a14923a99a4b2577f4 --label arch=amd64 --label version=0.0.0 . 15:54:09 Sending build context to Docker daemon 4.505MB 15:54:09 Step 1/17 : ARG BASE=alpine:3.15 15:54:09 Step 2/17 : FROM ${BASE} 15:54:09 ---> e03e84ecd4c6 15:54:09 Step 3/17 : LABEL maintainer="IOTech " 15:54:09 ---> Running in 310ebd56b733 15:54:09 Removing intermediate container 310ebd56b733 15:54:09 ---> d85a90c521a8 15:54:09 Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 15:54:09 ---> Running in 2ea86ef8affe 15:54:10 Connecting to iotech.jfrog.io (54.170.66.44:443) 15:54:10 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 15:54:10 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 15:54:10 '/etc/apk/keys/alpine.dev.rsa.pub' saved 15:54:10 Removing intermediate container 2ea86ef8affe 15:54:10 ---> 8ffb3eb96848 15:54:10 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 15:54:10 ---> Running in 0d3cc4230012 15:54:11 Removing intermediate container 0d3cc4230012 15:54:11 ---> 895358556a17 15:54:11 Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev && mkdir -p /edgex-c-sdk/build 15:54:11 ---> Running in 4110e3fad016 15:54:11 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:54:12 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:54:12 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz 15:54:12 WARNING: This apk-tools is OLD! Some packages might not function properly. 15:54:12 (1/26) Installing libcbor-dev (0.8.0-r0) 15:54:12 (2/26) Installing ncurses-dev (6.3_p20211120-r0) 15:54:13 (3/26) Installing util-linux (2.37.4-r0) 15:54:13 (4/26) Installing libblkid (2.37.4-r0) 15:54:13 (5/26) Installing libeconf (0.4.2-r0) 15:54:13 (6/26) Installing libfdisk (2.37.4-r0) 15:54:13 (7/26) Installing libmount (2.37.4-r0) 15:54:13 (8/26) Installing libsmartcols (2.37.4-r0) 15:54:13 (9/26) Installing util-linux-misc (2.37.4-r0) 15:54:14 (10/26) Installing linux-pam (1.5.2-r0) 15:54:14 (11/26) Installing runuser (2.37.4-r0) 15:54:14 (12/26) Installing hexdump (2.37.4-r0) 15:54:14 (13/26) Installing uuidgen (2.37.4-r0) 15:54:14 (14/26) Installing blkid (2.37.4-r0) 15:54:14 (15/26) Installing sfdisk (2.37.4-r0) 15:54:14 (16/26) Installing mcookie (2.37.4-r0) 15:54:14 (17/26) Installing wipefs (2.37.4-r0) 15:54:15 (18/26) Installing cfdisk (2.37.4-r0) 15:54:15 (19/26) Installing flock (2.37.4-r0) 15:54:15 (20/26) Installing lsblk (2.37.4-r0) 15:54:15 (21/26) Installing libcap-ng (0.8.2-r1) 15:54:15 (22/26) Installing setpriv (2.37.4-r0) 15:54:15 (23/26) Installing logger (2.37.4-r0) 15:54:15 (24/26) Installing partx (2.37.4-r0) 15:54:15 (25/26) Installing findmnt (2.37.4-r0) 15:54:15 (26/26) Installing util-linux-dev (2.37.4-r0) 15:54:16 Executing busybox-1.34.1-r3.trigger 15:54:16 OK: 294 MiB in 109 packages 15:54:16 Removing intermediate container 4110e3fad016 15:54:16 ---> eb182faf237d 15:54:16 Step 7/17 : COPY VERSION /edgex-c-sdk/ 15:54:16 ---> f802199af2ca 15:54:16 Step 8/17 : COPY src /edgex-c-sdk/src/ 15:54:16 ---> b25ef605fb5d 15:54:16 Step 9/17 : COPY include /edgex-c-sdk/include/ 15:54:17 ---> e79786ac58ba 15:54:17 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 15:54:17 ---> 11d6c226c7e2 15:54:17 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 15:54:17 ---> bb247e4fe538 15:54:17 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 15:54:17 ---> 2ba151745f1d 15:54:17 Step 13/17 : WORKDIR /edgex-c-sdk 15:54:17 ---> Running in 0bacdc735853 15:54:17 Removing intermediate container 0bacdc735853 15:54:17 ---> b33586cfec5a 15:54:17 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 15:54:17 ---> Running in 3b428e4f7e9c 15:54:17 Removing intermediate container 3b428e4f7e9c 15:54:17 ---> 5084a6a73dd1 15:54:17 Step 15/17 : LABEL arch=amd64 15:54:17 ---> Running in 5cbe4b97dece 15:54:17 Removing intermediate container 5cbe4b97dece 15:54:17 ---> 9f1850810b91 15:54:17 Step 16/17 : LABEL git_sha=2a4638433ec196b4d26870a14923a99a4b2577f4 15:54:17 ---> Running in 6c3d0b5b63b8 15:54:18 Removing intermediate container 6c3d0b5b63b8 15:54:18 ---> 58b4026c47e9 15:54:18 Step 17/17 : LABEL version=0.0.0 15:54:18 ---> Running in 79e2a4fe4e6e 15:54:18 Removing intermediate container 79e2a4fe4e6e 15:54:18 ---> d999ede3ef24 15:54:18 [Warning] One or more build-args [ARCH MAKE] were not consumed 15:54:18 Successfully built d999ede3ef24 15:54:18 Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:54:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:54:18 15:54:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 15:54:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:54:18 latest: Pulling from edgex-lftools-log-publisher 15:54:18 b4d181a07f80: Pulling fs layer 15:54:18 a1111a8f2ec3: Pulling fs layer 15:54:18 ed53099fbce6: Pulling fs layer 15:54:18 dc539afda2c1: Pulling fs layer 15:54:18 77bc0d833cb6: Pulling fs layer 15:54:18 9065ff56babe: Pulling fs layer 15:54:18 d287ab97295c: Pulling fs layer 15:54:18 77bc0d833cb6: Waiting 15:54:18 9065ff56babe: Waiting 15:54:18 d287ab97295c: Waiting 15:54:18 dc539afda2c1: Waiting 15:54:18 a1111a8f2ec3: Verifying Checksum 15:54:18 a1111a8f2ec3: Download complete 15:54:18 dc539afda2c1: Verifying Checksum 15:54:18 dc539afda2c1: Download complete 15:54:19 77bc0d833cb6: Verifying Checksum 15:54:19 77bc0d833cb6: Download complete 15:54:19 b4d181a07f80: Verifying Checksum 15:54:19 b4d181a07f80: Download complete 15:54:19 ed53099fbce6: Verifying Checksum 15:54:19 ed53099fbce6: Download complete 15:54:19 9065ff56babe: Verifying Checksum 15:54:19 9065ff56babe: Download complete 15:54:19 d287ab97295c: Verifying Checksum 15:54:19 d287ab97295c: Download complete 15:54:20 b4d181a07f80: Pull complete 15:54:20 a1111a8f2ec3: Pull complete 15:54:21 ed53099fbce6: Pull complete 15:54:21 dc539afda2c1: Pull complete 15:54:21 77bc0d833cb6: Pull complete 15:54:21 9065ff56babe: Pull complete 15:54:26 d287ab97295c: Pull complete 15:54:26 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 15:54:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:54:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 15:54:26 prd-centos7-docker-4c-2g-5645 does not seem to be running inside a container 15:54:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-401 -v /w/workspace/edgexfoundry_device-sdk-c_PR-401:/w/workspace/edgexfoundry_device-sdk-c_PR-401:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-401@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-401@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:54:29 $ docker top f02513d12baaa1c5e2456623f9c77c19aae796722d7e3a28125b400d2d040b2a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:54:29 ---> job-cost.sh 15:54:29 lf-activate-venv: SKIPPING 15:54:29 INFO: No Stack... 15:54:30 INFO: Retrieving Pricing Info for: v3-standard-2 15:54:30 INFO: Archiving Costs [Pipeline] sh 15:54:30 + cat /w/workspace/edgexfoundry_device-sdk-c_PR-401/archives/cost.csv 15:54:30 + cut -d, -f6 [Pipeline] lock 15:54:30 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-401-2-stack-cost] 15:54:30 Resource [jenkins-edgexfoundry-device-sdk-c-PR-401-2-stack-cost] did not exist. Created. 15:54:30 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-401-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:54:30 + echo total: 0.05999999865889549 [Pipeline] stash 15:54:30 Stashed 1 file(s) [Pipeline] } 15:54:30 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-401-2-stack-cost] [Pipeline] // lock [Pipeline] } 15:54:31 $ docker stop --time=1 f02513d12baaa1c5e2456623f9c77c19aae796722d7e3a28125b400d2d040b2a 15:54:32 $ docker rm -f f02513d12baaa1c5e2456623f9c77c19aae796722d7e3a28125b400d2d040b2a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:55:03 Running on prd-ubuntu18.04-docker-arm64-4c-16g-5646 in /w/workspace/edgexfoundry_device-sdk-c_PR-401 [Pipeline] { [Pipeline] ws 15:55:03 Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout 15:55:04 Selected Git installation does not exist. Using Default 15:55:04 The recommended git tool is: NONE 15:55:08 using credential edgex-jenkins-ssh 15:55:08 Cloning the remote Git repository 15:55:08 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 15:55:08 > git init /w/workspace/device-sdk-c/2 # timeout=10 15:55:08 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 15:55:08 > git --version # timeout=10 15:55:08 > git --version # 'git version 2.17.1' 15:55:08 using GIT_SSH to set credentials SSH Credentials for GitHub 15:55:08 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:55:09 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 15:55:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:55:09 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 15:55:09 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 15:55:09 using GIT_SSH to set credentials SSH Credentials for GitHub 15:55:09 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/401/head:refs/remotes/origin/PR-401 +refs/heads/main:refs/remotes/origin/main # timeout=10 15:55:10 Merging remotes/origin/main commit 02161a6b4618232bfcf286377d256226a622bc2b into PR head commit 2a4638433ec196b4d26870a14923a99a4b2577f4 15:55:10 Merge succeeded, producing 2a4638433ec196b4d26870a14923a99a4b2577f4 15:55:10 Checking out Revision 2a4638433ec196b4d26870a14923a99a4b2577f4 (PR-401) 15:55:10 > git config core.sparsecheckout # timeout=10 15:55:10 > git checkout -f 2a4638433ec196b4d26870a14923a99a4b2577f4 # timeout=10 15:55:10 > git remote # timeout=10 15:55:10 > git config --get remote.origin.url # timeout=10 15:55:10 using GIT_SSH to set credentials SSH Credentials for GitHub 15:55:10 > git merge 02161a6b4618232bfcf286377d256226a622bc2b # timeout=10 15:55:10 > git rev-parse HEAD^{commit} # timeout=10 15:55:10 > git config core.sparsecheckout # timeout=10 15:55:10 > git checkout -f 2a4638433ec196b4d26870a14923a99a4b2577f4 # timeout=10 15:55:14 Commit message: "build(deps): bump Alpine to 3.15" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:55:15 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:55:15 % Total % Received % Xferd Average Speed Time Time Time Current 15:55:15 Dload Upload Total Spent Left Speed 15:55:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 170k 0 --:--:-- --:--:-- --:--:-- 170k [Pipeline] sh 15:55:16 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:55:16 + sudo tee /etc/docker/daemon.new 15:55:16 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:55:16 { 15:55:16 "registry-mirrors": [ 15:55:16 "https://nexus3.edgexfoundry.org:10001" 15:55:16 ], 15:55:16 "bip": "10.250.0.254/24", 15:55:16 "hosts": [ 15:55:16 "tcp://0.0.0.0:5555", 15:55:16 "unix:///var/run/docker.sock" 15:55:16 ], 15:55:16 "mtu": 1458, 15:55:16 "selinux-enabled": true, 15:55:16 "seccomp-profile": "/etc/docker/seccomp.json" 15:55:16 } [Pipeline] sh 15:55:17 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:55:17 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:55:35 provisioning config files... 15:55:35 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/2@tmp/config7615117782178378661tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:55:36 ---> docker-login.sh 15:55:36 nexus3.edgexfoundry.org:10001 15:55:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:55:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:55:37 Configure a credential helper to remove this warning. See 15:55:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:55:37 15:55:37 Login Succeeded 15:55:37 nexus3.edgexfoundry.org:10002 15:55:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:55:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:55:37 Configure a credential helper to remove this warning. See 15:55:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:55:37 15:55:37 Login Succeeded 15:55:37 nexus3.edgexfoundry.org:10003 15:55:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:55:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:55:37 Configure a credential helper to remove this warning. See 15:55:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:55:37 15:55:37 Login Succeeded 15:55:37 nexus3.edgexfoundry.org:10004 15:55:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:55:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:55:38 Configure a credential helper to remove this warning. See 15:55:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:55:38 15:55:38 Login Succeeded 15:55:38 docker.io 15:55:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:55:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:55:39 Configure a credential helper to remove this warning. See 15:55:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:55:39 15:55:39 Login Succeeded 15:55:39 ---> docker-login.sh ends [Pipeline] } 15:55:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:55:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:55:39 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 15:55:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:55:39 ========================================================= 15:55:39 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 15:55:39 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 15:55:39 + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . 15:55:40 Sending build context to Docker daemon 2.746MB 15:55:40 Step 1/22 : ARG BASE=alpine:3.15 15:55:40 Step 2/22 : FROM ${BASE} as builder 15:55:40 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 15:55:40 9b3977197b4f: Pulling fs layer 15:55:40 2a93055cfd06: Pulling fs layer 15:55:40 ff5fdaca7850: Pulling fs layer 15:55:40 2a93055cfd06: Verifying Checksum 15:55:40 2a93055cfd06: Download complete 15:55:40 9b3977197b4f: Verifying Checksum 15:55:40 9b3977197b4f: Download complete 15:55:41 9b3977197b4f: Pull complete 15:55:41 2a93055cfd06: Pull complete 15:55:42 ff5fdaca7850: Verifying Checksum 15:55:42 ff5fdaca7850: Download complete 15:55:50 ff5fdaca7850: Pull complete 15:55:50 Digest: sha256:bf249b2a65b15776358c73a8f9886e573022f6b9ba75e542fbdefbaa4c9006da 15:55:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 15:55:50 ---> 0af3d9908a83 15:55:50 Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 15:55:51 ---> Running in 5b9e646a79cb 15:55:52 Connecting to iotech.jfrog.io (54.72.115.12:443) 15:55:52 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 15:55:52 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 15:55:52 '/etc/apk/keys/alpine.dev.rsa.pub' saved 15:55:53 Removing intermediate container 5b9e646a79cb 15:55:53 ---> 3ab6a663c5be 15:55:53 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 15:55:53 ---> Running in 487167736ed1 15:55:55 Removing intermediate container 487167736ed1 15:55:55 ---> 7a8435366a5a 15:55:55 Step 5/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev 15:55:55 ---> Running in 4815e6eda089 15:55:56 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 15:55:57 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 15:55:57 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz 15:55:58 WARNING: This apk-tools is OLD! Some packages might not function properly. 15:55:58 (1/31) Installing hiredis (1.0.2-r0) 15:55:58 (2/31) Installing hiredis-dev (1.0.2-r0) 15:55:58 (3/31) Installing libcbor (0.8.0-r0) 15:55:58 (4/31) Installing libcbor-dev (0.8.0-r0) 15:55:58 (5/31) Installing ncurses-dev (6.3_p20211120-r0) 15:55:58 (6/31) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 15:55:59 (7/31) Installing util-linux (2.37.4-r0) 15:55:59 (8/31) Installing libblkid (2.37.4-r0) 15:56:00 (9/31) Installing libeconf (0.4.2-r0) 15:56:00 (10/31) Installing libuuid (2.37.4-r0) 15:56:00 (11/31) Installing libfdisk (2.37.4-r0) 15:56:00 (12/31) Installing libmount (2.37.4-r0) 15:56:00 (13/31) Installing libsmartcols (2.37.4-r0) 15:56:00 (14/31) Installing util-linux-misc (2.37.4-r0) 15:56:01 (15/31) Installing linux-pam (1.5.2-r0) 15:56:01 (16/31) Installing runuser (2.37.4-r0) 15:56:01 (17/31) Installing hexdump (2.37.4-r0) 15:56:01 (18/31) Installing uuidgen (2.37.4-r0) 15:56:01 (19/31) Installing blkid (2.37.4-r0) 15:56:01 (20/31) Installing sfdisk (2.37.4-r0) 15:56:01 (21/31) Installing mcookie (2.37.4-r0) 15:56:01 (22/31) Installing wipefs (2.37.4-r0) 15:56:01 (23/31) Installing cfdisk (2.37.4-r0) 15:56:02 (24/31) Installing flock (2.37.4-r0) 15:56:02 (25/31) Installing lsblk (2.37.4-r0) 15:56:02 (26/31) Installing libcap-ng (0.8.2-r1) 15:56:02 (27/31) Installing setpriv (2.37.4-r0) 15:56:02 (28/31) Installing logger (2.37.4-r0) 15:56:02 (29/31) Installing partx (2.37.4-r0) 15:56:02 (30/31) Installing findmnt (2.37.4-r0) 15:56:02 (31/31) Installing util-linux-dev (2.37.4-r0) 15:56:02 Executing busybox-1.34.1-r3.trigger 15:56:02 OK: 289 MiB in 108 packages 15:56:04 Removing intermediate container 4815e6eda089 15:56:04 ---> b8c0dd2ffe89 15:56:04 Step 6/22 : RUN mkdir /tmp/sdk 15:56:04 ---> Running in f9e86abdcd61 15:56:06 Removing intermediate container f9e86abdcd61 15:56:06 ---> bb760f2234e7 15:56:06 Step 7/22 : COPY VERSION /tmp/sdk 15:56:06 ---> 0c10b884e45a 15:56:06 Step 8/22 : COPY src /tmp/sdk/src 15:56:07 ---> 63dd2351c874 15:56:07 Step 9/22 : COPY include /tmp/sdk/include 15:56:08 ---> b623043cfc9d 15:56:08 Step 10/22 : COPY scripts /tmp/sdk/scripts 15:56:08 ---> 2225ea770f6b 15:56:08 Step 11/22 : COPY LICENSE /tmp/sdk 15:56:09 ---> efb61bd70730 15:56:09 Step 12/22 : COPY Attribution.txt /tmp/sdk 15:56:09 ---> c3226319ba84 15:56:09 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 15:56:09 ---> Running in 574b587fe88c 15:56:10 + CPPCHECK=false 15:56:10 + DOCGEN=false 15:56:10 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 15:56:10 + TOMLVER=SDK-0.2 15:56:10 + CUTILVER=1.2.2 15:56:10 + '[' 0 -gt 0 ] 15:56:10 + readlink -f ./scripts/build.sh 15:56:10 + dirname /tmp/sdk/scripts/build.sh 15:56:10 + dirname /tmp/sdk/scripts 15:56:10 + ROOT=/tmp/sdk 15:56:10 + cd /tmp/sdk 15:56:10 + '[' '!' -d deps ] 15:56:10 + mkdir deps 15:56:10 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 15:56:10 + tar -C deps -z -x -f - 15:56:10 Connecting to github.com (140.82.113.3:443) 15:56:10 Connecting to codeload.github.com (140.82.112.9:443) 15:56:11 writing to stdout 15:56:11 - 100% |********************************| 16451 0:00:00 ETA 15:56:11 written to stdout 15:56:11 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 15:56:11 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 15:56:11 + tar -C deps -z -x -f - 15:56:11 Connecting to github.com (140.82.113.3:443) 15:56:11 Connecting to codeload.github.com (140.82.112.9:443) 15:56:11 writing to stdout 15:56:11 - 100% |********************************| 189k 0:00:00 ETA 15:56:11 written to stdout 15:56:11 + mkdir -p src/c/iot 15:56:11 + cp deps/iotech-c-utils-1.2.2/src/c/base64.c deps/iotech-c-utils-1.2.2/src/c/component.c deps/iotech-c-utils-1.2.2/src/c/config.c deps/iotech-c-utils-1.2.2/src/c/container.c deps/iotech-c-utils-1.2.2/src/c/data.c deps/iotech-c-utils-1.2.2/src/c/hash.c deps/iotech-c-utils-1.2.2/src/c/iot.c deps/iotech-c-utils-1.2.2/src/c/json.c deps/iotech-c-utils-1.2.2/src/c/logger.c deps/iotech-c-utils-1.2.2/src/c/os.c deps/iotech-c-utils-1.2.2/src/c/scheduler.c deps/iotech-c-utils-1.2.2/src/c/thread.c deps/iotech-c-utils-1.2.2/src/c/threadpool.c deps/iotech-c-utils-1.2.2/src/c/time.c deps/iotech-c-utils-1.2.2/src/c/uuid.c deps/iotech-c-utils-1.2.2/src/c/yxml.c src/c/iot 15:56:11 + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot 15:56:11 + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot 15:56:11 + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot 15:56:11 + mkdir -p include/iot 15:56:11 + cp deps/iotech-c-utils-1.2.2/include/iot/base64.h deps/iotech-c-utils-1.2.2/include/iot/component.h deps/iotech-c-utils-1.2.2/include/iot/config.h deps/iotech-c-utils-1.2.2/include/iot/container.h deps/iotech-c-utils-1.2.2/include/iot/data.h deps/iotech-c-utils-1.2.2/include/iot/hash.h deps/iotech-c-utils-1.2.2/include/iot/iot.h deps/iotech-c-utils-1.2.2/include/iot/json.h deps/iotech-c-utils-1.2.2/include/iot/logger.h deps/iotech-c-utils-1.2.2/include/iot/os.h deps/iotech-c-utils-1.2.2/include/iot/scheduler.h deps/iotech-c-utils-1.2.2/include/iot/thread.h deps/iotech-c-utils-1.2.2/include/iot/threadpool.h deps/iotech-c-utils-1.2.2/include/iot/time.h deps/iotech-c-utils-1.2.2/include/iot/typecode.h deps/iotech-c-utils-1.2.2/include/iot/uuid.h include/iot 15:56:11 + mkdir -p include/iot/os 15:56:11 + cp deps/iotech-c-utils-1.2.2/include/iot/os/linux.h deps/iotech-c-utils-1.2.2/include/iot/os/macos.h deps/iotech-c-utils-1.2.2/include/iot/os/zephyr.h include/iot/os 15:56:11 + mkdir -p /tmp/sdk/build/release 15:56:11 + cd /tmp/sdk/build/release 15:56:11 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 15:56:11 -- The C compiler identification is GNU 10.3.1 15:56:12 -- Detecting C compiler ABI info 15:56:12 -- Detecting C compiler ABI info - done 15:56:12 -- Check for working C compiler: /usr/bin/cc - skipped 15:56:12 -- Detecting C compile features 15:56:12 -- Detecting C compile features - done 15:56:12 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 15:56:12 -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") 15:56:12 -- Found LIBYAML: /usr/lib/libyaml.so 15:56:12 -- Found LIBUUID: /usr/lib/libuuid.so 15:56:12 -- Found LIBCBOR: /usr/lib/libcbor.so 15:56:12 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 15:56:12 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 15:56:12 -- C SDK 0.0.0 for Linux 15:56:12 -- Performing Test CSDK_HAVE_ATOMIC 15:56:13 -- Performing Test CSDK_HAVE_ATOMIC - Success 15:56:13 -- Found Curses: /usr/lib/libcurses.so 15:56:13 -- Configuring done 15:56:13 -- Generating done 15:56:13 -- Build files have been written to: /tmp/sdk/build/release 15:56:13 + tee release.log 15:56:13 + make all package 15:56:13 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 15:56:14 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 15:56:14 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 15:56:17 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 15:56:17 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 15:56:17 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 15:56:18 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 15:56:19 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 15:56:19 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 15:56:21 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 15:56:23 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 15:56:23 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 15:56:24 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 15:56:25 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 15:56:25 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 15:56:25 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 15:56:26 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 15:56:29 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 15:56:29 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 15:56:29 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 15:56:30 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 15:56:30 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 15:56:30 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 15:56:30 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 15:56:30 275 | const iot_component_factory_t * factory; 15:56:30 | ^~~~~~~ 15:56:31 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 15:56:36 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 15:56:36 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 15:56:36 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 15:56:37 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 15:56:37 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 15:56:38 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 15:56:39 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 15:56:39 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 15:56:40 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 15:56:40 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 15:56:41 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 15:56:43 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 15:56:43 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 15:56:45 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 15:56:45 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 15:56:50 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 15:56:50 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 15:56:51 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 15:56:51 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 15:56:51 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 15:56:51 /tmp/sdk/src/c/rest-server.c:250:65: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] 15:56:51 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 15:56:51 | ^~~~~~~~~~~~~ 15:56:51 | | 15:56:51 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 15:56:51 In file included from /tmp/sdk/src/c/rest-server.c:21: 15:56:51 /usr/include/microhttpd.h:2784:49: note: expected 'MHD_KeyValueIterator' {aka 'enum MHD_Result (*)(void *, enum MHD_ValueKind, const char *, const char *)'} but argument is of type 'int (*)(void *, enum MHD_ValueKind, const char *, const char *)' 15:56:51 2784 | MHD_KeyValueIterator iterator, 15:56:51 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 15:56:51 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 15:56:51 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 15:56:51 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 15:56:51 | ^~~~~~~~~~~~ 15:56:51 | | 15:56:51 | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} 15:56:51 In file included from /tmp/sdk/src/c/rest-server.c:21: 15:56:51 /usr/include/microhttpd.h:2480:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} 15:56:51 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 15:56:51 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 15:56:51 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 15:56:51 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 15:56:51 | ^~~~~~~~~~~~ 15:56:51 | | 15:56:51 | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} 15:56:51 In file included from /tmp/sdk/src/c/rest-server.c:21: 15:56:51 /usr/include/microhttpd.h:2480:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} 15:56:51 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 15:56:51 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 15:56:52 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 15:56:54 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 15:56:55 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 15:56:55 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 15:56:55 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 15:56:58 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 15:57:02 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 15:57:03 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 15:57:03 [ 76%] Linking C shared library libcsdk.so 15:57:03 [ 76%] Built target csdk 15:57:03 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 15:57:04 [ 79%] Linking C executable template 15:57:04 [ 79%] Built target template 15:57:04 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 15:57:05 [ 82%] Linking C executable device-counter 15:57:05 [ 82%] Built target device-counter 15:57:05 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 15:57:06 [ 85%] Linking C executable device-random 15:57:06 [ 85%] Built target device-random 15:57:06 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 15:57:06 [ 88%] Linking C executable device-gyro 15:57:06 [ 88%] Built target device-gyro 15:57:07 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 15:57:07 [ 91%] Linking C executable device-bitfields 15:57:07 [ 91%] Built target device-bitfields 15:57:07 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 15:57:08 [ 94%] Linking C executable template-discovery 15:57:08 [ 94%] Built target template-discovery 15:57:08 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 15:57:09 [ 97%] Linking C executable device-file 15:57:09 [ 97%] Built target device-file 15:57:09 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 15:57:10 [100%] Linking C executable device-terminal 15:57:10 [100%] Built target device-terminal 15:57:10 Run CPack packaging tool... 15:57:10 CPack: Create package using TGZ 15:57:10 CPack: Install projects 15:57:10 CPack: - Run preinstall target for: Csdk 15:57:11 CPack: - Install project: Csdk [] 15:57:11 CPack: Create package 15:57:11 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 15:57:11 + '[' false '=' true ] 15:57:11 + '[' false '=' true ] 15:57:11 + mkdir -p /tmp/sdk/build/debug 15:57:11 + cd /tmp/sdk/build/debug 15:57:11 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 15:57:11 -- The C compiler identification is GNU 10.3.1 15:57:11 -- Detecting C compiler ABI info 15:57:12 -- Detecting C compiler ABI info - done 15:57:12 -- Check for working C compiler: /usr/bin/cc - skipped 15:57:12 -- Detecting C compile features 15:57:12 -- Detecting C compile features - done 15:57:12 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 15:57:12 -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") 15:57:12 -- Found LIBYAML: /usr/lib/libyaml.so 15:57:12 -- Found LIBUUID: /usr/lib/libuuid.so 15:57:12 -- Found LIBCBOR: /usr/lib/libcbor.so 15:57:12 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 15:57:12 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 15:57:12 -- C SDK 0.0.0 for Linux 15:57:12 -- Performing Test CSDK_HAVE_ATOMIC 15:57:12 -- Performing Test CSDK_HAVE_ATOMIC - Success 15:57:12 -- Found Curses: /usr/lib/libcurses.so 15:57:13 -- Configuring done 15:57:13 -- Generating done 15:57:13 -- Build files have been written to: /tmp/sdk/build/debug 15:57:13 + make 15:57:13 + tee debug.log 15:57:13 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 15:57:13 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 15:57:13 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 15:57:14 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 15:57:15 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 15:57:15 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 15:57:15 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 15:57:15 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 15:57:15 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 15:57:16 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 15:57:17 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 15:57:17 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 15:57:17 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 15:57:17 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 15:57:18 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 15:57:18 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 15:57:18 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 15:57:19 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 15:57:19 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 15:57:19 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 15:57:20 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 15:57:20 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 15:57:20 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 15:57:20 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 15:57:20 275 | const iot_component_factory_t * factory; 15:57:20 | ^~~~~~~ 15:57:20 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 15:57:22 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 15:57:22 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 15:57:22 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 15:57:22 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 15:57:22 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 15:57:23 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 15:57:23 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 15:57:23 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 15:57:23 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 15:57:24 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 15:57:24 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 15:57:24 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 15:57:24 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 15:57:25 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 15:57:25 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 15:57:26 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 15:57:26 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 15:57:27 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 15:57:27 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 15:57:27 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 15:57:27 /tmp/sdk/src/c/rest-server.c:250:65: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] 15:57:27 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 15:57:27 | ^~~~~~~~~~~~~ 15:57:27 | | 15:57:27 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 15:57:27 In file included from /tmp/sdk/src/c/rest-server.c:21: 15:57:27 /usr/include/microhttpd.h:2784:49: note: expected 'MHD_KeyValueIterator' {aka 'enum MHD_Result (*)(void *, enum MHD_ValueKind, const char *, const char *)'} but argument is of type 'int (*)(void *, enum MHD_ValueKind, const char *, const char *)' 15:57:27 2784 | MHD_KeyValueIterator iterator, 15:57:27 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 15:57:27 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 15:57:27 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 15:57:27 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 15:57:27 | ^~~~~~~~~~~~ 15:57:27 | | 15:57:27 | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} 15:57:27 In file included from /tmp/sdk/src/c/rest-server.c:21: 15:57:27 /usr/include/microhttpd.h:2480:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} 15:57:27 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 15:57:27 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 15:57:27 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 15:57:27 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 15:57:27 | ^~~~~~~~~~~~ 15:57:27 | | 15:57:27 | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} 15:57:27 In file included from /tmp/sdk/src/c/rest-server.c:21: 15:57:27 /usr/include/microhttpd.h:2480:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} 15:57:27 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 15:57:27 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 15:57:28 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 15:57:29 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 15:57:29 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 15:57:29 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 15:57:29 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 15:57:30 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 15:57:31 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 15:57:31 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 15:57:32 [ 76%] Linking C shared library libcsdk.so 15:57:32 [ 76%] Built target csdk 15:57:32 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 15:57:32 [ 79%] Linking C executable template 15:57:32 [ 79%] Built target template 15:57:32 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 15:57:33 [ 82%] Linking C executable device-counter 15:57:33 [ 82%] Built target device-counter 15:57:33 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 15:57:33 [ 85%] Linking C executable device-random 15:57:33 [ 85%] Built target device-random 15:57:33 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 15:57:34 [ 88%] Linking C executable device-gyro 15:57:34 [ 88%] Built target device-gyro 15:57:34 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 15:57:34 [ 91%] Linking C executable device-bitfields 15:57:35 [ 91%] Built target device-bitfields 15:57:35 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 15:57:35 [ 94%] Linking C executable template-discovery 15:57:35 [ 94%] Built target template-discovery 15:57:35 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 15:57:36 [ 97%] Linking C executable device-file 15:57:36 [ 97%] Built target device-file 15:57:36 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 15:57:36 [100%] Linking C executable device-terminal 15:57:36 [100%] Built target device-terminal 15:57:37 make: Entering directory '/tmp/sdk/build/release' 15:57:37 make[1]: Entering directory '/tmp/sdk/build/release' 15:57:37 make[2]: Entering directory '/tmp/sdk/build/release' 15:57:37 make[2]: Leaving directory '/tmp/sdk/build/release' 15:57:37 [ 76%] Built target csdk 15:57:37 make[2]: Entering directory '/tmp/sdk/build/release' 15:57:37 make[2]: Leaving directory '/tmp/sdk/build/release' 15:57:37 [ 79%] Built target template 15:57:37 make[2]: Entering directory '/tmp/sdk/build/release' 15:57:37 make[2]: Leaving directory '/tmp/sdk/build/release' 15:57:37 [ 82%] Built target device-counter 15:57:37 make[2]: Entering directory '/tmp/sdk/build/release' 15:57:37 make[2]: Leaving directory '/tmp/sdk/build/release' 15:57:37 [ 85%] Built target device-random 15:57:37 make[2]: Entering directory '/tmp/sdk/build/release' 15:57:37 make[2]: Leaving directory '/tmp/sdk/build/release' 15:57:37 [ 88%] Built target device-gyro 15:57:37 make[2]: Entering directory '/tmp/sdk/build/release' 15:57:37 make[2]: Leaving directory '/tmp/sdk/build/release' 15:57:37 [ 91%] Built target device-bitfields 15:57:37 make[2]: Entering directory '/tmp/sdk/build/release' 15:57:37 make[2]: Leaving directory '/tmp/sdk/build/release' 15:57:37 [ 94%] Built target template-discovery 15:57:37 make[2]: Entering directory '/tmp/sdk/build/release' 15:57:37 make[2]: Leaving directory '/tmp/sdk/build/release' 15:57:37 [ 97%] Built target device-file 15:57:37 make[2]: Entering directory '/tmp/sdk/build/release' 15:57:37 make[2]: Leaving directory '/tmp/sdk/build/release' 15:57:37 [100%] Built target device-terminal 15:57:37 make[1]: Leaving directory '/tmp/sdk/build/release' 15:57:37 Install the project... 15:57:37 -- Install configuration: "Release" 15:57:37 -- Installing: /usr/local/lib/libcsdk.so 15:57:37 -- Installing: /usr/local/include 15:57:37 -- Installing: /usr/local/include/edgex 15:57:37 -- Installing: /usr/local/include/edgex/edgex-base.h 15:57:37 -- Installing: /usr/local/include/edgex/devices.h 15:57:37 -- Installing: /usr/local/include/edgex/rest-server.h 15:57:37 -- Installing: /usr/local/include/edgex/profiles.h 15:57:37 -- Installing: /usr/local/include/edgex/edgex.h 15:57:37 -- Installing: /usr/local/include/edgex/csdk-defs.h 15:57:37 -- Installing: /usr/local/include/devsdk 15:57:37 -- Installing: /usr/local/include/devsdk/devsdk.h 15:57:37 -- Installing: /usr/local/include/devsdk/devsdk-base.h 15:57:37 -- Installing: /usr/local/include/iot 15:57:37 -- Installing: /usr/local/include/iot/data.h 15:57:37 -- Installing: /usr/local/include/iot/config.h 15:57:37 -- Installing: /usr/local/include/iot/container.h 15:57:37 -- Installing: /usr/local/include/iot/typecode.h 15:57:37 -- Installing: /usr/local/include/iot/thread.h 15:57:37 -- Installing: /usr/local/include/iot/hash.h 15:57:37 -- Installing: /usr/local/include/iot/iot.h 15:57:37 -- Installing: /usr/local/include/iot/defs.h 15:57:37 -- Installing: /usr/local/include/iot/uuid.h 15:57:37 -- Installing: /usr/local/include/iot/component.h 15:57:37 -- Installing: /usr/local/include/iot/threadpool.h 15:57:37 -- Installing: /usr/local/include/iot/time.h 15:57:37 -- Installing: /usr/local/include/iot/logger.h 15:57:37 -- Installing: /usr/local/include/iot/os 15:57:37 -- Installing: /usr/local/include/iot/os/zephyr.h 15:57:37 -- Installing: /usr/local/include/iot/os/macos.h 15:57:37 -- Installing: /usr/local/include/iot/os/linux.h 15:57:37 -- Installing: /usr/local/include/iot/json.h 15:57:37 -- Installing: /usr/local/include/iot/scheduler.h 15:57:37 -- Installing: /usr/local/include/iot/base64.h 15:57:37 -- Installing: /usr/local/include/iot/os.h 15:57:37 -- Installing: /usr/local/share/device-sdk-c/LICENSE 15:57:37 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 15:57:37 make: Leaving directory '/tmp/sdk/build/release' 15:57:39 Removing intermediate container 574b587fe88c 15:57:39 ---> 2365144e703b 15:57:39 Step 14/22 : FROM ${BASE} 15:57:39 ---> 0af3d9908a83 15:57:39 Step 15/22 : LABEL maintainer="IOTech " 15:57:39 ---> Running in 9d669e3addfa 15:57:39 Removing intermediate container 9d669e3addfa 15:57:39 ---> 7e785caf6771 15:57:39 Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 15:57:39 ---> Running in dba166597788 15:57:40 Connecting to iotech.jfrog.io (54.195.244.87:443) 15:57:41 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 15:57:41 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 15:57:41 '/etc/apk/keys/alpine.dev.rsa.pub' saved 15:57:41 Removing intermediate container dba166597788 15:57:41 ---> 2537072971dd 15:57:41 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 15:57:41 ---> Running in 3c8757717f1f 15:57:43 Removing intermediate container 3c8757717f1f 15:57:43 ---> f1d2ac294c7a 15:57:43 Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 hiredis-dev 15:57:43 ---> Running in 4097062e890d 15:57:44 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 15:57:45 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 15:57:45 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz 15:57:46 WARNING: This apk-tools is OLD! Some packages might not function properly. 15:57:46 (1/6) Installing curl (7.80.0-r0) 15:57:46 (2/6) Installing hiredis (1.0.2-r0) 15:57:46 (3/6) Installing hiredis-dev (1.0.2-r0) 15:57:46 (4/6) Installing libcbor (0.8.0-r0) 15:57:46 (5/6) Installing libuuid (2.37.4-r0) 15:57:46 (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 15:57:47 Executing busybox-1.34.1-r3.trigger 15:57:47 OK: 278 MiB in 83 packages 15:57:48 Removing intermediate container 4097062e890d 15:57:48 ---> ed056cb13211 15:57:48 Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 15:57:49 ---> 7b250f26e0ec 15:57:49 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 15:57:49 ---> 3b5005550457 15:57:49 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 15:57:50 ---> 44b6ddbfc85d 15:57:50 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 15:57:50 ---> 03b60ee3269b 15:57:50 Successfully built 03b60ee3269b 15:57:50 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:57:51 + docker inspect -f . ci-base-image-arm64 15:57:51 . [Pipeline] withDockerContainer 15:57:51 prd-ubuntu18.04-docker-arm64-4c-16g-5646 does not seem to be running inside a container 15:57:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:57:52 $ docker top 396cb1588f0dcee614ac760f7f244ab7b8f0eb7a8483583c6170d2b6f1241c6c -eo pid,comm [Pipeline] { [Pipeline] sh 15:57:53 + make test 15:57:53 echo "make test" 15:57:53 make test [Pipeline] } 15:57:53 $ docker stop --time=1 396cb1588f0dcee614ac760f7f244ab7b8f0eb7a8483583c6170d2b6f1241c6c 15:57:55 $ docker rm -f 396cb1588f0dcee614ac760f7f244ab7b8f0eb7a8483583c6170d2b6f1241c6c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:57:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:57:56 + ls -al . 15:57:56 total 204 15:57:56 drwxrwxr-x 8 jenkins jenkins 4096 Feb 18 15:55 . 15:57:56 drwxrwxr-x 4 jenkins jenkins 4096 Feb 18 15:55 .. 15:57:56 drwxrwxr-x 8 jenkins jenkins 4096 Feb 18 15:55 .git 15:57:56 drwxrwxr-x 3 jenkins jenkins 4096 Feb 18 15:55 .github 15:57:56 -rw-rw-r-- 1 jenkins jenkins 176 Feb 18 15:55 .gitignore 15:57:56 -rw-rw-r-- 1 jenkins jenkins 3104 Feb 18 15:55 Attribution.txt 15:57:56 -rw-rw-r-- 1 jenkins jenkins 8222 Feb 18 15:55 CHANGES 15:57:56 -rw-rw-r-- 1 jenkins jenkins 108574 Feb 18 15:55 Doxyfile 15:57:56 -rw-rw-r-- 1 jenkins jenkins 677 Feb 18 15:55 GOVERNANCE.md 15:57:56 -rw-rw-r-- 1 jenkins jenkins 784 Feb 18 15:55 Jenkinsfile 15:57:56 -rw-rw-r-- 1 jenkins jenkins 10174 Feb 18 15:55 LICENSE 15:57:56 -rw-rw-r-- 1 jenkins jenkins 444 Feb 18 15:55 Makefile 15:57:56 -rw-rw-r-- 1 jenkins jenkins 618 Feb 18 15:55 OWNERS.md 15:57:56 -rw-rw-r-- 1 jenkins jenkins 4086 Feb 18 15:55 README.md 15:57:56 -rw-rw-r-- 1 jenkins jenkins 7422 Feb 18 15:55 README.v2.md 15:57:56 -rw-rw-r-- 1 jenkins jenkins 5 Feb 18 15:53 VERSION 15:57:56 drwxrwxr-x 2 jenkins jenkins 4096 Feb 18 15:55 docs 15:57:56 drwxrwxr-x 4 jenkins jenkins 4096 Feb 18 15:55 include 15:57:56 drwxrwxr-x 2 jenkins jenkins 4096 Feb 18 15:55 scripts 15:57:56 drwxrwxr-x 4 jenkins jenkins 4096 Feb 18 15:55 src [Pipeline] isUnix [Pipeline] sh 15:57:56 + 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=2a4638433ec196b4d26870a14923a99a4b2577f4 --label arch=arm64 --label version=0.0.0 . 15:57:56 Sending build context to Docker daemon 2.746MB 15:57:56 Step 1/17 : ARG BASE=alpine:3.15 15:57:56 Step 2/17 : FROM ${BASE} 15:57:56 ---> 03b60ee3269b 15:57:56 Step 3/17 : LABEL maintainer="IOTech " 15:57:56 ---> Running in 2f9e4e92ae6a 15:57:57 Removing intermediate container 2f9e4e92ae6a 15:57:57 ---> f98cbb4adfe0 15:57:57 Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 15:57:57 ---> Running in 4d33a0d34679 15:57:58 Connecting to iotech.jfrog.io (54.229.110.245:443) 15:57:58 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 15:57:58 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 15:57:58 '/etc/apk/keys/alpine.dev.rsa.pub' saved 15:57:59 Removing intermediate container 4d33a0d34679 15:57:59 ---> 3f8ee77734f2 15:57:59 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 15:57:59 ---> Running in d97d9e01e4cc 15:58:01 Removing intermediate container d97d9e01e4cc 15:58:01 ---> 519e40e24fea 15:58:01 Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev && mkdir -p /edgex-c-sdk/build 15:58:01 ---> Running in 2b22743a25cf 15:58:02 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 15:58:02 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 15:58:03 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz 15:58:04 WARNING: This apk-tools is OLD! Some packages might not function properly. 15:58:04 (1/26) Installing libcbor-dev (0.8.0-r0) 15:58:04 (2/26) Installing ncurses-dev (6.3_p20211120-r0) 15:58:04 (3/26) Installing util-linux (2.37.4-r0) 15:58:04 (4/26) Installing libblkid (2.37.4-r0) 15:58:04 (5/26) Installing libeconf (0.4.2-r0) 15:58:04 (6/26) Installing libfdisk (2.37.4-r0) 15:58:04 (7/26) Installing libmount (2.37.4-r0) 15:58:04 (8/26) Installing libsmartcols (2.37.4-r0) 15:58:04 (9/26) Installing util-linux-misc (2.37.4-r0) 15:58:05 (10/26) Installing linux-pam (1.5.2-r0) 15:58:05 (11/26) Installing runuser (2.37.4-r0) 15:58:05 (12/26) Installing hexdump (2.37.4-r0) 15:58:05 (13/26) Installing uuidgen (2.37.4-r0) 15:58:05 (14/26) Installing blkid (2.37.4-r0) 15:58:05 (15/26) Installing sfdisk (2.37.4-r0) 15:58:06 (16/26) Installing mcookie (2.37.4-r0) 15:58:06 (17/26) Installing wipefs (2.37.4-r0) 15:58:06 (18/26) Installing cfdisk (2.37.4-r0) 15:58:06 (19/26) Installing flock (2.37.4-r0) 15:58:06 (20/26) Installing lsblk (2.37.4-r0) 15:58:06 (21/26) Installing libcap-ng (0.8.2-r1) 15:58:06 (22/26) Installing setpriv (2.37.4-r0) 15:58:06 (23/26) Installing logger (2.37.4-r0) 15:58:06 (24/26) Installing partx (2.37.4-r0) 15:58:06 (25/26) Installing findmnt (2.37.4-r0) 15:58:06 (26/26) Installing util-linux-dev (2.37.4-r0) 15:58:07 Executing busybox-1.34.1-r3.trigger 15:58:07 OK: 290 MiB in 109 packages 15:58:08 Removing intermediate container 2b22743a25cf 15:58:08 ---> 8d46650b472a 15:58:08 Step 7/17 : COPY VERSION /edgex-c-sdk/ 15:58:08 ---> 62d41a05cca0 15:58:08 Step 8/17 : COPY src /edgex-c-sdk/src/ 15:58:09 ---> b957f7325fe7 15:58:09 Step 9/17 : COPY include /edgex-c-sdk/include/ 15:58:10 ---> 001828b77aa6 15:58:10 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 15:58:10 ---> 286a452a8256 15:58:10 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 15:58:11 ---> 857f97fbe346 15:58:11 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 15:58:12 ---> af89b7ad85d1 15:58:12 Step 13/17 : WORKDIR /edgex-c-sdk 15:58:12 ---> Running in 69d2343cd733 15:58:12 Removing intermediate container 69d2343cd733 15:58:12 ---> 6febfa433b83 15:58:12 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 15:58:12 ---> Running in f9511a828107 15:58:13 Removing intermediate container f9511a828107 15:58:13 ---> 61e2a71fb683 15:58:13 Step 15/17 : LABEL arch=arm64 15:58:13 ---> Running in ab7b9595edb6 15:58:13 Removing intermediate container ab7b9595edb6 15:58:13 ---> 68559d098795 15:58:13 Step 16/17 : LABEL git_sha=2a4638433ec196b4d26870a14923a99a4b2577f4 15:58:13 ---> Running in c5fb75586049 15:58:13 Removing intermediate container c5fb75586049 15:58:13 ---> 0d9c96b135d8 15:58:13 Step 17/17 : LABEL version=0.0.0 15:58:14 ---> Running in e725f500df8e 15:58:14 Removing intermediate container e725f500df8e 15:58:14 ---> 98cdaeecbd81 15:58:14 [Warning] One or more build-args [ARCH MAKE] were not consumed 15:58:14 Successfully built 98cdaeecbd81 15:58:14 Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:58:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:58:14 15:58:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 15:58:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:58:15 arm64: Pulling from edgex-lftools-log-publisher 15:58:15 448f6bf000e3: Pulling fs layer 15:58:15 f757da607395: Pulling fs layer 15:58:15 05883995daec: Pulling fs layer 15:58:15 8603b9c90790: Pulling fs layer 15:58:15 1560dd03e051: Pulling fs layer 15:58:15 27f5ce0e4adf: Pulling fs layer 15:58:15 c2d8d7efcc4b: Pulling fs layer 15:58:15 1560dd03e051: Waiting 15:58:15 27f5ce0e4adf: Waiting 15:58:15 8603b9c90790: Waiting 15:58:15 c2d8d7efcc4b: Waiting 15:58:15 f757da607395: Verifying Checksum 15:58:15 f757da607395: Download complete 15:58:15 8603b9c90790: Download complete 15:58:15 1560dd03e051: Verifying Checksum 15:58:15 1560dd03e051: Download complete 15:58:15 27f5ce0e4adf: Verifying Checksum 15:58:15 27f5ce0e4adf: Download complete 15:58:15 05883995daec: Download complete 15:58:16 448f6bf000e3: Verifying Checksum 15:58:16 448f6bf000e3: Download complete 15:58:18 c2d8d7efcc4b: Verifying Checksum 15:58:18 c2d8d7efcc4b: Download complete 15:58:19 448f6bf000e3: Pull complete 15:58:20 f757da607395: Pull complete 15:58:21 05883995daec: Pull complete 15:58:21 8603b9c90790: Pull complete 15:58:22 1560dd03e051: Pull complete 15:58:22 27f5ce0e4adf: Pull complete 15:58:37 c2d8d7efcc4b: Pull complete 15:58:37 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 15:58:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:58:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 15:58:38 prd-ubuntu18.04-docker-arm64-4c-16g-5646 does not seem to be running inside a container 15:58: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/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 15:58:40 $ docker top 336d074106c27d7eddc2dfd39a2b5a37d605aacd934673747ea23117bcb27f37 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:58:41 ---> job-cost.sh 15:58:41 lf-activate-venv: SKIPPING 15:58:41 INFO: No Stack... 15:58:41 INFO: Retrieving Pricing Info for: v3-standard-4 15:58:42 INFO: Archiving Costs [Pipeline] sh 15:58:42 + cat /w/workspace/device-sdk-c/2/archives/cost.csv 15:58:42 + cut -d, -f6 [Pipeline] lock 15:58:42 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-401-2-stack-cost] 15:58:42 Resource [jenkins-edgexfoundry-device-sdk-c-PR-401-2-stack-cost] did not exist. Created. 15:58:42 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-401-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:58:43 /w/workspace/device-sdk-c/2@tmp/durable-67cdc678/script.sh: 1: /w/workspace/device-sdk-c/2@tmp/durable-67cdc678/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 15:58:44 + echo total: 0.10999999940395355 [Pipeline] stash 15:58:44 Warning: overwriting stash ‘stack-cost’ 15:58:44 Stashed 1 file(s) [Pipeline] } 15:58:44 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-401-2-stack-cost] [Pipeline] // lock [Pipeline] } 15:58:44 $ docker stop --time=1 336d074106c27d7eddc2dfd39a2b5a37d605aacd934673747ea23117bcb27f37 15:58:46 $ docker rm -f 336d074106c27d7eddc2dfd39a2b5a37d605aacd934673747ea23117bcb27f37 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 15:58:47 + '[' -d /w/workspace/edgexfoundry_device-sdk-c_PR-401/archives ']' 15:58:47 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-401/archives 15:58:47 total 8 15:58:47 drwxr-xr-x. 3 root root 34 Feb 18 15:54 . 15:58:47 drwxrwxr-x. 10 jenkins jenkins 4096 Feb 18 15:54 .. 15:58:47 drwxr-xr-x. 2 root root 6 Feb 18 15:54 cost 15:58:47 -rw-r--r--. 1 root root 83 Feb 18 15:54 cost.csv 15:58:47 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-401/archives 15:58:47 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-401/archives 15:58:47 total 8 15:58:47 drwxr-xr-x. 3 jenkins jenkins 34 Feb 18 15:54 . 15:58:47 drwxrwxr-x. 10 jenkins jenkins 4096 Feb 18 15:54 .. 15:58:47 drwxr-xr-x. 2 jenkins jenkins 6 Feb 18 15:54 cost 15:58:47 -rw-r--r--. 1 jenkins jenkins 83 Feb 18 15:54 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:58:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:58:48 ---> package-listing.sh 15:58:48 ++ facter osfamily 15:58:48 ++ tr '[:upper:]' '[:lower:]' 15:58:48 + OS_FAMILY=redhat 15:58:48 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-401 15:58:48 + START_PACKAGES=/tmp/packages_start.txt 15:58:48 + END_PACKAGES=/tmp/packages_end.txt 15:58:48 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:58:48 + PACKAGES=/tmp/packages_start.txt 15:58:48 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-401 ']' 15:58:48 + PACKAGES=/tmp/packages_end.txt 15:58:48 + case "${OS_FAMILY}" in 15:58:48 + rpm -qa 15:58:48 + sort 15:58:49 + '[' -f /tmp/packages_start.txt ']' 15:58:49 + '[' -f /tmp/packages_end.txt ']' 15:58:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:58:49 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-401 ']' 15:58:49 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-401/archives/ 15:58:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-401/archives/ [Pipeline] echo 15:58:49 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-401/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:58:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 15:58:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:58:49 . [Pipeline] withDockerContainer 15:58:50 prd-centos7-docker-4c-2g-5645 does not seem to be running inside a container 15:58:50 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-401/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-401 -v /w/workspace/edgexfoundry_device-sdk-c_PR-401:/w/workspace/edgexfoundry_device-sdk-c_PR-401:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-401@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-401@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:58:50 $ docker top cdbe1f12623fc65434770cee91160557b66f688482a043db8fb992c30b2dbe6e -eo pid,comm [Pipeline] { [Pipeline] sh 15:58:50 + touch /tmp/pre-build-complete [Pipeline] sh 15:58:50 + mkdir -p /var/log/sysstat [Pipeline] sh 15:58:51 + ls /var/log/sa-host 15:58:51 + sadf -c /var/log/sa-host/sa17 15:58:51 file_magic: OK 15:58:51 HZ: Using current value: 100 15:58:51 file_header: OK 15:58:51 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 15:58:51 Statistics: 15:58:51 Hnuu...uuuununununu...Hnuu...uuuununununu... 15:58:51 File successfully converted to sysstat format version 12.0.3 15:58:51 + sadf -c /var/log/sa-host/sa18 15:58:51 file_magic: OK 15:58:51 HZ: Using current value: 100 15:58:51 file_header: OK 15:58:51 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 15:58:51 Statistics: 15:58:51 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 15:58:51 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:58:51 provisioning config files... 15:58:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-401@tmp/config4690414539672851834tmp [Pipeline] { [Pipeline] echo 15:58:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:58:51 ---> create-netrc.sh [Pipeline] } 15:58:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:58:52 ---> python-tools-install.sh [Pipeline] echo 15:58:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:58:52 ---> sudo-logs.sh 15:58:52 Archiving 'sudo' log.. 15:58:52 sudo: unable to resolve host prd-centos7-docker-4c-2g-5645.novalocal: Name or service not known 15:58:52 sudo: unable to resolve host prd-centos7-docker-4c-2g-5645.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 15:58:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:58:52 ---> job-cost.sh 15:58:52 lf-activate-venv: SKIPPING 15:58:52 DEBUG: total: 0.05999999865889549 15:58:52 INFO: Retrieving Stack Cost... 15:58:53 INFO: Retrieving Pricing Info for: v3-standard-2 15:58:53 INFO: Archiving Costs [Pipeline] echo 15:58:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:58:53 ---> logs-deploy.sh 15:58:53 lf-activate-venv: SKIPPING 15:58:53 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-401/2 15:58:53 INFO: archiving workspace using pattern(s): 15:58:54 Archives upload complete. 15:58:54 INFO: archiving logs to Nexus