Pull request #401 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from e16c89daf6826d526ada798cd830d9ad1f5db0fd+02161a6b4618232bfcf286377d256226a622bc2b (25f11f492b4f128b3f88d98ff1baedcc4c037c71) 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-ssh17133434347639254094.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-ssh18327920874136969418.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-401/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-401/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh121041277190178252.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-401/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh18018838830673770079.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f efdbc04638cc485a1a2a98c60e49a0e43cac6f53 # timeout=10 Commit message: "Merge pull request #376 from ernestojeda/add-ireland-release-stream" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh766949230705266701.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-401/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-401/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1533336880798418406.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object efdbc04638cc485a1a2a98c60e49a0e43cac6f53 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-5643 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-ssh3881574822742906027.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 e16c89daf6826d526ada798cd830d9ad1f5db0fd Merge succeeded, producing e16c89daf6826d526ada798cd830d9ad1f5db0fd Checking out Revision e16c89daf6826d526ada798cd830d9ad1f5db0fd (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-ssh6987788092949713846.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 e16c89daf6826d526ada798cd830d9ad1f5db0fd # 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-ssh3131099749100727266.key > git merge 02161a6b4618232bfcf286377d256226a622bc2b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e16c89daf6826d526ada798cd830d9ad1f5db0fd # timeout=10 Commit message: "build(deps): bump Alpine to 3.15" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:37:41 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:37:41 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:37:41 ========================================================= 15:37:41 EdgeX Global Pipelines Version Info 15:37:41 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:37:43 ------------------- 15:37:43 stable info: 15:37:43 ------------------- 15:37:43 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:37:43 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 15:37:43 Message: update stable to v1.0.220 15:37:43 ------------------- 15:37:43 experimental info: 15:37:43 ------------------- 15:37:43 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:37:43 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 15:37:43 Message: update experimental to v1.0.220 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:37:43 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 15:37:43 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 15:37:43 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:37:43 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:37:44 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:37:44 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 15:37:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 15:37:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:37:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:37:44 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 15:37:44 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:37:44 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:37:44 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:37:44 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 15:37:44 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:37:44 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:37:44 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:37:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-401 [Pipeline] echo 15:37:44 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-401 [Pipeline] echo 15:37:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-401 [Pipeline] echo 15:37:44 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e16c89daf6826d526ada798cd830d9ad1f5db0fd [Pipeline] echo 15:37:44 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e16c89d [Pipeline] echo 15:37:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:37:44 provisioning config files... 15:37:44 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-401@tmp/config8375322257461049861tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:37:45 ---> docker-login.sh 15:37:45 nexus3.edgexfoundry.org:10001 15:37:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:37:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:37:45 Configure a credential helper to remove this warning. See 15:37:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:37:45 15:37:45 Login Succeeded 15:37:45 nexus3.edgexfoundry.org:10002 15:37:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:37:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:37:45 Configure a credential helper to remove this warning. See 15:37:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:37:45 15:37:45 Login Succeeded 15:37:45 nexus3.edgexfoundry.org:10003 15:37:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:37:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:37:45 Configure a credential helper to remove this warning. See 15:37:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:37:45 15:37:45 Login Succeeded 15:37:45 nexus3.edgexfoundry.org:10004 15:37:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:37:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:37:45 Configure a credential helper to remove this warning. See 15:37:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:37:45 15:37:45 Login Succeeded 15:37:45 docker.io 15:37:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:37:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:37:46 Configure a credential helper to remove this warning. See 15:37:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:37:46 15:37:46 Login Succeeded 15:37:46 ---> docker-login.sh ends [Pipeline] } 15:37:46 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:37:46 + git rev-list -1 --merges e16c89daf6826d526ada798cd830d9ad1f5db0fd~1..e16c89daf6826d526ada798cd830d9ad1f5db0fd [Pipeline] echo 15:37:46 -----------> git rev-list -1 --merges e16c89daf6826d526ada798cd830d9ad1f5db0fd~1..e16c89daf6826d526ada798cd830d9ad1f5db0fd e16c89daf6826d526ada798cd830d9ad1f5db0fd [false] [Pipeline] sh 15:37:47 + git log --format=format:%s -1 e16c89daf6826d526ada798cd830d9ad1f5db0fd [Pipeline] echo 15:37:47 ========================================================= 15:37:47 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:37:47 ========================================================= 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:37:48 + git rev-list -1 --merges e16c89daf6826d526ada798cd830d9ad1f5db0fd~1..e16c89daf6826d526ada798cd830d9ad1f5db0fd [Pipeline] echo 15:37:48 -----------> git rev-list -1 --merges e16c89daf6826d526ada798cd830d9ad1f5db0fd~1..e16c89daf6826d526ada798cd830d9ad1f5db0fd e16c89daf6826d526ada798cd830d9ad1f5db0fd [false] [Pipeline] sh 15:37:48 + git log --format=format:%s -1 e16c89daf6826d526ada798cd830d9ad1f5db0fd [Pipeline] echo 15:37:48 ========================================================= 15:37:48 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:37:48 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 15:37:49 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 15:37:49 + grep -v github /etc/ssh/ssh_known_hosts 15:37:49 + '[' -e /tmp/ssh_known_hosts ']' 15:37:49 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:37:49 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 15:37:49 + sudo tee -a /etc/ssh/ssh_known_hosts 15:37:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:37:49 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:37:49 15:37:49 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:37:49 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:37:49 latest: Pulling from edgex-devops/git-semver 15:37:49 a0d0a0d46f8b: Pulling fs layer 15:37:49 3e5f54012d9b: Pulling fs layer 15:37:49 4c7163046ea9: Pulling fs layer 15:37:49 0c2d73faf560: Pulling fs layer 15:37:49 0c2d73faf560: Waiting 15:37:49 3e5f54012d9b: Verifying Checksum 15:37:49 3e5f54012d9b: Download complete 15:37:49 a0d0a0d46f8b: Verifying Checksum 15:37:49 a0d0a0d46f8b: Download complete 15:37:49 4c7163046ea9: Verifying Checksum 15:37:49 4c7163046ea9: Download complete 15:37:49 0c2d73faf560: Verifying Checksum 15:37:49 0c2d73faf560: Download complete 15:37:50 a0d0a0d46f8b: Pull complete 15:37:50 3e5f54012d9b: Pull complete 15:37:50 4c7163046ea9: Pull complete 15:37:50 0c2d73faf560: Pull complete 15:37:50 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 15:37:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:37:50 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 15:37:50 prd-centos7-docker-4c-2g-5643 does not seem to be running inside a container 15:37:50 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:37:51 $ docker top a31e1a1cf9d960b496324c814f759bd3d0f711c1751997e681a32d4a4635392b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:37:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:37:51 [ssh-agent] Looking for ssh-agent implementation... 15:37:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:37:51 $ docker exec a31e1a1cf9d960b496324c814f759bd3d0f711c1751997e681a32d4a4635392b ssh-agent 15:37:51 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLiALDg/agent.14 15:37:51 SSH_AGENT_PID=20 15:37:51 Running ssh-add (command line suppressed) 15:37:51 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-401@tmp/private_key_4793169427401007031.key (/w/workspace/edgexfoundry_device-sdk-c_PR-401@tmp/private_key_4793169427401007031.key) 15:37:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:37:52 + git tag --points-at HEAD [Pipeline] } 15:37:52 $ docker exec --env ******** --env ******** a31e1a1cf9d960b496324c814f759bd3d0f711c1751997e681a32d4a4635392b ssh-agent -k 15:37:52 unset SSH_AUTH_SOCK; 15:37:52 unset SSH_AGENT_PID; 15:37:52 echo Agent pid 20 killed; 15:37:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:37:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:37:52 [ssh-agent] Looking for ssh-agent implementation... 15:37:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:37:52 $ docker exec a31e1a1cf9d960b496324c814f759bd3d0f711c1751997e681a32d4a4635392b ssh-agent 15:37:52 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXHfCAfG/agent.54 15:37:52 SSH_AGENT_PID=60 15:37:52 Running ssh-add (command line suppressed) 15:37:52 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-401@tmp/private_key_2975201360550373007.key (/w/workspace/edgexfoundry_device-sdk-c_PR-401@tmp/private_key_2975201360550373007.key) 15:37:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:37:53 + git semver init 15:37:53 # -> Open(): unable to determine branch for HEAD 15:37:53 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-401/.git 15:37:53 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-401 15:37:53 # $SEMVER_REMOTE_NAME = origin 15:37:53 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:37:53 # $SEMVER_USER_NAME = edgex-jenkins 15:37:53 # $SEMVER_BRANCH = PR-401 15:37:53 # $SEMVER_TEMP = /tmp/semver-280291790 15:37:53 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 15:37:54 # '/tmp/semver-280291790' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-401/.semver' 15:37:54 # -> Force: false 15:37:54 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-401/.semver [Pipeline] } 15:37:54 $ docker exec --env ******** --env ******** a31e1a1cf9d960b496324c814f759bd3d0f711c1751997e681a32d4a4635392b ssh-agent -k 15:37:54 unset SSH_AUTH_SOCK; 15:37:54 unset SSH_AGENT_PID; 15:37:54 echo Agent pid 60 killed; 15:37:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:37:54 + git semver [Pipeline] } 15:37:54 $ docker stop --time=1 a31e1a1cf9d960b496324c814f759bd3d0f711c1751997e681a32d4a4635392b 15:37:56 $ docker rm -f a31e1a1cf9d960b496324c814f759bd3d0f711c1751997e681a32d4a4635392b [Pipeline] // withDockerContainer [Pipeline] sh 15:37:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:37:56 Stashed 1 file(s) [Pipeline] echo 15:37:56 [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:37:57 provisioning config files... 15:37:57 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-401@tmp/config4208588542654138937tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:37:57 ---> docker-login.sh 15:37:57 nexus3.edgexfoundry.org:10001 15:37:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:37:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:37:57 Configure a credential helper to remove this warning. See 15:37:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:37:57 15:37:57 Login Succeeded 15:37:57 nexus3.edgexfoundry.org:10002 15:37:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:37:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:37:57 Configure a credential helper to remove this warning. See 15:37:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:37:57 15:37:57 Login Succeeded 15:37:57 nexus3.edgexfoundry.org:10003 15:37:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:37:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:37:57 Configure a credential helper to remove this warning. See 15:37:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:37:57 15:37:57 Login Succeeded 15:37:57 nexus3.edgexfoundry.org:10004 15:37:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:37:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:37:58 Configure a credential helper to remove this warning. See 15:37:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:37:58 15:37:58 Login Succeeded 15:37:58 docker.io 15:37:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:37:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:37:58 Configure a credential helper to remove this warning. See 15:37:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:37:58 15:37:58 Login Succeeded 15:37:58 ---> docker-login.sh ends [Pipeline] } 15:37:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:37:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:37:58 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 15:37:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:37:58 ========================================================= 15:37:58 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 15:37:58 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 15:37:59 + 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:37:59 Sending build context to Docker daemon 4.507MB 15:37:59 Step 1/22 : ARG BASE=alpine:3.15 15:37:59 Step 2/22 : FROM ${BASE} as builder 15:37:59 latest: Pulling from edgex-devops/edgex-gcc-base 15:37:59 59bf1c3509f3: Pulling fs layer 15:37:59 c743a93c8381: Pulling fs layer 15:37:59 a2ad9f71ba65: Pulling fs layer 15:37:59 c743a93c8381: Verifying Checksum 15:37:59 c743a93c8381: Download complete 15:37:59 59bf1c3509f3: Verifying Checksum 15:37:59 59bf1c3509f3: Download complete 15:37:59 59bf1c3509f3: Pull complete 15:37:59 c743a93c8381: Pull complete 15:37:59 a2ad9f71ba65: Verifying Checksum 15:37:59 a2ad9f71ba65: Download complete 15:38:03 a2ad9f71ba65: Pull complete 15:38:03 Digest: sha256:1add200577aa6f30a3653c04583074abbdfe99a16f60a8a3474aeff88a149476 15:38:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 15:38:03 ---> c9e13ccc37c5 15:38:03 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:38:04 ---> Running in 4f5e79da65d4 15:38:04 Connecting to iotech.jfrog.io (34.243.182.113:443) 15:38:04 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 15:38:04 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 15:38:04 '/etc/apk/keys/alpine.dev.rsa.pub' saved 15:38:04 Removing intermediate container 4f5e79da65d4 15:38:04 ---> 50d7f7e0ed2e 15:38:04 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 15:38:05 ---> Running in 52892b2b52d1 15:38:05 Removing intermediate container 52892b2b52d1 15:38:05 ---> 8732d0e5b9d5 15:38:05 Step 5/22 : RUN apk add --update --no-cache build-base git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev 15:38:05 ---> Running in f4c678cd4488 15:38:05 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:38:06 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:38:07 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz 15:38:07 WARNING: This apk-tools is OLD! Some packages might not function properly. 15:38:07 (1/31) Installing hiredis (1.0.2-r0) 15:38:07 (2/31) Installing hiredis-dev (1.0.2-r0) 15:38:07 (3/31) Installing libcbor (0.8.0-r0) 15:38:07 (4/31) Installing libcbor-dev (0.8.0-r0) 15:38:07 (5/31) Installing ncurses-dev (6.3_p20211120-r0) 15:38:07 (6/31) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 15:38:08 (7/31) Installing util-linux (2.37.4-r0) 15:38:08 (8/31) Installing libblkid (2.37.4-r0) 15:38:08 (9/31) Installing libeconf (0.4.2-r0) 15:38:09 (10/31) Installing libuuid (2.37.4-r0) 15:38:09 (11/31) Installing libfdisk (2.37.4-r0) 15:38:09 (12/31) Installing libmount (2.37.4-r0) 15:38:09 (13/31) Installing libsmartcols (2.37.4-r0) 15:38:09 (14/31) Installing util-linux-misc (2.37.4-r0) 15:38:09 (15/31) Installing linux-pam (1.5.2-r0) 15:38:09 (16/31) Installing runuser (2.37.4-r0) 15:38:09 (17/31) Installing hexdump (2.37.4-r0) 15:38:09 (18/31) Installing uuidgen (2.37.4-r0) 15:38:10 (19/31) Installing blkid (2.37.4-r0) 15:38:10 (20/31) Installing sfdisk (2.37.4-r0) 15:38:10 (21/31) Installing mcookie (2.37.4-r0) 15:38:10 (22/31) Installing wipefs (2.37.4-r0) 15:38:10 (23/31) Installing cfdisk (2.37.4-r0) 15:38:10 (24/31) Installing flock (2.37.4-r0) 15:38:10 (25/31) Installing lsblk (2.37.4-r0) 15:38:10 (26/31) Installing libcap-ng (0.8.2-r1) 15:38:10 (27/31) Installing setpriv (2.37.4-r0) 15:38:10 (28/31) Installing logger (2.37.4-r0) 15:38:10 (29/31) Installing partx (2.37.4-r0) 15:38:11 (30/31) Installing findmnt (2.37.4-r0) 15:38:11 (31/31) Installing util-linux-dev (2.37.4-r0) 15:38:11 Executing busybox-1.34.1-r3.trigger 15:38:11 OK: 293 MiB in 108 packages 15:38:11 Removing intermediate container f4c678cd4488 15:38:11 ---> c3c7c77000a5 15:38:11 Step 6/22 : RUN mkdir /tmp/sdk 15:38:11 ---> Running in ec253f71d2ea 15:38:12 Still waiting to schedule task 15:38:12 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 15:38:12 Removing intermediate container ec253f71d2ea 15:38:12 ---> 8706eb69c8bf 15:38:12 Step 7/22 : COPY VERSION /tmp/sdk 15:38:12 ---> dbebf09d42bb 15:38:12 Step 8/22 : COPY src /tmp/sdk/src 15:38:12 ---> 1d1f4a1d681e 15:38:12 Step 9/22 : COPY include /tmp/sdk/include 15:38:12 ---> e27c8012f3a8 15:38:12 Step 10/22 : COPY scripts /tmp/sdk/scripts 15:38:12 ---> 623d84d5e323 15:38:12 Step 11/22 : COPY LICENSE /tmp/sdk 15:38:13 ---> f37641669330 15:38:13 Step 12/22 : COPY Attribution.txt /tmp/sdk 15:38:13 ---> fe5fb843ec3f 15:38:13 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 15:38:13 ---> Running in d319047d1ce8 15:38:13 + CPPCHECK=false 15:38:13 + DOCGEN=false 15:38:13 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 15:38:13 + TOMLVER=SDK-0.2 15:38:13 + CUTILVER=1.2.2 15:38:13 + '[' 0 -gt 0 ] 15:38:13 + readlink -f ./scripts/build.sh 15:38:13 + dirname /tmp/sdk/scripts/build.sh 15:38:13 + dirname /tmp/sdk/scripts 15:38:13 + ROOT=/tmp/sdk 15:38:13 + cd /tmp/sdk 15:38:13 + '[' '!' -d deps ] 15:38:13 + mkdir deps 15:38:13 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 15:38:13 + tar -C deps -z -x -f - 15:38:13 Connecting to github.com (140.82.114.3:443) 15:38:13 Connecting to codeload.github.com (140.82.114.10:443) 15:38:14 writing to stdout 15:38:14 - 100% |********************************| 16451 0:00:00 ETA 15:38:14 written to stdout 15:38:14 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 15:38:14 + + tar -C deps -zwget -x -f - -O 15:38:14 - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 15:38:14 Connecting to github.com (140.82.114.3:443) 15:38:14 Connecting to codeload.github.com (140.82.114.10:443) 15:38:14 writing to stdout 15:38:14 - 100% |********************************| 189k 0:00:00 ETA 15:38:14 written to stdout 15:38:14 + mkdir -p src/c/iot 15:38:14 + 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:38:14 + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot 15:38:14 + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot 15:38:14 + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot 15:38:14 + mkdir -p include/iot 15:38:14 + 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:38:14 + mkdir -p include/iot/os 15:38:14 + 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:38:14 + mkdir -p /tmp/sdk/build/release 15:38:14 + cd /tmp/sdk/build/release 15:38:14 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 15:38:14 -- The C compiler identification is GNU 10.3.1 15:38:14 -- Detecting C compiler ABI info 15:38:14 -- Detecting C compiler ABI info - done 15:38:14 -- Check for working C compiler: /usr/bin/cc - skipped 15:38:14 -- Detecting C compile features 15:38:14 -- Detecting C compile features - done 15:38:14 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 15:38:14 -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") 15:38:14 -- Found LIBYAML: /usr/lib/libyaml.so 15:38:14 -- Found LIBUUID: /usr/lib/libuuid.so 15:38:14 -- Found LIBCBOR: /usr/lib/libcbor.so 15:38:14 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 15:38:14 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 15:38:14 -- C SDK 0.0.0 for Linux 15:38:14 -- Performing Test CSDK_HAVE_ATOMIC 15:38:14 -- Performing Test CSDK_HAVE_ATOMIC - Success 15:38:14 -- Found Curses: /usr/lib/libcurses.so 15:38:14 -- Configuring done 15:38:14 -- Generating done 15:38:14 -- Build files have been written to: /tmp/sdk/build/release 15:38:14 + make all package 15:38:14 + tee release.log 15:38:14 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 15:38:15 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 15:38:15 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 15:38:15 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 15:38:15 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 15:38:15 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 15:38:15 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 15:38:15 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 15:38:15 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 15:38:16 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 15:38:16 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 15:38:16 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 15:38:16 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 15:38:17 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 15:38:17 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 15:38:17 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 15:38:17 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 15:38:17 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 15:38:17 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 15:38:17 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 15:38:17 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 15:38:18 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 15:38:18 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 15:38:18 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 15:38:18 275 | const iot_component_factory_t * factory; 15:38:18 | ^~~~~~~ 15:38:18 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 15:38:19 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 15:38:19 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 15:38:19 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 15:38:19 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 15:38:19 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 15:38:19 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 15:38:19 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 15:38:19 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 15:38:19 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 15:38:19 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 15:38:19 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 15:38:20 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 15:38:20 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 15:38:20 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 15:38:20 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 15:38:21 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 15:38:21 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 15:38:21 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 15:38:21 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 15:38:21 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 15:38:21 /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:38:21 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 15:38:21 | ^~~~~~~~~~~~~ 15:38:21 | | 15:38:21 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 15:38:21 In file included from /tmp/sdk/src/c/rest-server.c:21: 15:38:21 /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:38:21 2784 | MHD_KeyValueIterator iterator, 15:38:21 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 15:38:21 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 15:38:21 /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:38:21 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 15:38:21 | ^~~~~~~~~~~~ 15:38:21 | | 15:38:21 | 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:38:21 In file included from /tmp/sdk/src/c/rest-server.c:21: 15:38:21 /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:38:21 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 15:38:21 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 15:38:21 /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:38:21 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 15:38:21 | ^~~~~~~~~~~~ 15:38:21 | | 15:38:21 | 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:38:21 In file included from /tmp/sdk/src/c/rest-server.c:21: 15:38:21 /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:38:21 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 15:38:21 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 15:38:22 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 15:38:22 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 15:38:22 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 15:38:22 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 15:38:22 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 15:38:23 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 15:38:23 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 15:38:23 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 15:38:24 [ 76%] Linking C shared library libcsdk.so 15:38:24 [ 76%] Built target csdk 15:38:24 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 15:38:24 [ 79%] Linking C executable template 15:38:24 [ 79%] Built target template 15:38:24 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 15:38:24 [ 82%] Linking C executable device-counter 15:38:24 [ 82%] Built target device-counter 15:38:24 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 15:38:24 [ 85%] Linking C executable device-random 15:38:24 [ 85%] Built target device-random 15:38:24 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 15:38:24 [ 88%] Linking C executable device-gyro 15:38:24 [ 88%] Built target device-gyro 15:38:24 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 15:38:24 [ 91%] Linking C executable device-bitfields 15:38:25 [ 91%] Built target device-bitfields 15:38:25 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 15:38:25 [ 94%] Linking C executable template-discovery 15:38:25 [ 94%] Built target template-discovery 15:38:25 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 15:38:25 [ 97%] Linking C executable device-file 15:38:25 [ 97%] Built target device-file 15:38:25 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 15:38:25 [100%] Linking C executable device-terminal 15:38:25 [100%] Built target device-terminal 15:38:25 Run CPack packaging tool... 15:38:25 CPack: Create package using TGZ 15:38:25 CPack: Install projects 15:38:25 CPack: - Run preinstall target for: Csdk 15:38:25 CPack: - Install project: Csdk [] 15:38:25 CPack: Create package 15:38:25 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 15:38:25 + '[' false '=' true ] 15:38:25 + '[' false '=' true ] 15:38:25 + mkdir -p /tmp/sdk/build/debug 15:38:25 + cd /tmp/sdk/build/debug 15:38:25 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 15:38:25 -- The C compiler identification is GNU 10.3.1 15:38:25 -- Detecting C compiler ABI info 15:38:25 -- Detecting C compiler ABI info - done 15:38:25 -- Check for working C compiler: /usr/bin/cc - skipped 15:38:25 -- Detecting C compile features 15:38:25 -- Detecting C compile features - done 15:38:25 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 15:38:26 -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") 15:38:26 -- Found LIBYAML: /usr/lib/libyaml.so 15:38:26 -- Found LIBUUID: /usr/lib/libuuid.so 15:38:26 -- Found LIBCBOR: /usr/lib/libcbor.so 15:38:26 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 15:38:26 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 15:38:26 -- C SDK 0.0.0 for Linux 15:38:26 -- Performing Test CSDK_HAVE_ATOMIC 15:38:26 -- Performing Test CSDK_HAVE_ATOMIC - Success 15:38:26 -- Found Curses: /usr/lib/libcurses.so 15:38:26 -- Configuring done 15:38:26 -- Generating done 15:38:26 -- Build files have been written to: /tmp/sdk/build/debug 15:38:26 + tee debug.log 15:38:26 + make 15:38:26 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 15:38:26 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 15:38:26 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 15:38:26 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 15:38:26 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 15:38:26 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 15:38:26 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 15:38:26 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 15:38:26 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 15:38:26 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 15:38:26 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 15:38:27 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 15:38:27 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 15:38:27 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 15:38:27 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 15:38:27 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 15:38:27 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 15:38:27 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 15:38:27 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 15:38:27 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 15:38:27 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 15:38:27 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 15:38:27 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 15:38:27 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 15:38:27 275 | const iot_component_factory_t * factory; 15:38:27 | ^~~~~~~ 15:38:28 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 15:38:28 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 15:38:28 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 15:38:28 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 15:38:28 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 15:38:28 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 15:38:28 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 15:38:28 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 15:38:28 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 15:38:28 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 15:38:28 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 15:38:28 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 15:38:28 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 15:38:28 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 15:38:29 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 15:38:29 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 15:38:29 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 15:38:29 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 15:38:29 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 15:38:29 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 15:38:29 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 15:38:29 /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:38:29 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 15:38:29 | ^~~~~~~~~~~~~ 15:38:29 | | 15:38:29 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 15:38:29 In file included from /tmp/sdk/src/c/rest-server.c:21: 15:38:29 /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:38:29 2784 | MHD_KeyValueIterator iterator, 15:38:29 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 15:38:29 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 15:38:29 /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:38:29 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 15:38:29 | ^~~~~~~~~~~~ 15:38:29 | | 15:38:29 | 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:38:29 In file included from /tmp/sdk/src/c/rest-server.c:21: 15:38:29 /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:38:29 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 15:38:29 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 15:38:29 /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:38:29 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 15:38:29 | ^~~~~~~~~~~~ 15:38:29 | | 15:38:29 | 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:38:29 In file included from /tmp/sdk/src/c/rest-server.c:21: 15:38:29 /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:38:29 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 15:38:29 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 15:38:29 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 15:38:29 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 15:38:29 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 15:38:29 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 15:38:29 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 15:38:30 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 15:38:30 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 15:38:30 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 15:38:30 [ 76%] Linking C shared library libcsdk.so 15:38:30 [ 76%] Built target csdk 15:38:30 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 15:38:30 [ 79%] Linking C executable template 15:38:30 [ 79%] Built target template 15:38:30 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 15:38:30 [ 82%] Linking C executable device-counter 15:38:30 [ 82%] Built target device-counter 15:38:30 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 15:38:30 [ 85%] Linking C executable device-random 15:38:30 [ 85%] Built target device-random 15:38:30 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 15:38:30 [ 88%] Linking C executable device-gyro 15:38:30 [ 88%] Built target device-gyro 15:38:30 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 15:38:31 [ 91%] Linking C executable device-bitfields 15:38:31 [ 91%] Built target device-bitfields 15:38:31 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 15:38:31 [ 94%] Linking C executable template-discovery 15:38:31 [ 94%] Built target template-discovery 15:38:31 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 15:38:31 [ 97%] Linking C executable device-file 15:38:31 [ 97%] Built target device-file 15:38:31 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 15:38:31 [100%] Linking C executable device-terminal 15:38:31 [100%] Built target device-terminal 15:38:31 make: Entering directory '/tmp/sdk/build/release' 15:38:31 make[1]: Entering directory '/tmp/sdk/build/release' 15:38:31 make[2]: Entering directory '/tmp/sdk/build/release' 15:38:31 make[2]: Leaving directory '/tmp/sdk/build/release' 15:38:31 [ 76%] Built target csdk 15:38:31 make[2]: Entering directory '/tmp/sdk/build/release' 15:38:31 make[2]: Leaving directory '/tmp/sdk/build/release' 15:38:31 [ 79%] Built target template 15:38:31 make[2]: Entering directory '/tmp/sdk/build/release' 15:38:31 make[2]: Leaving directory '/tmp/sdk/build/release' 15:38:31 [ 82%] Built target device-counter 15:38:31 make[2]: Entering directory '/tmp/sdk/build/release' 15:38:31 make[2]: Leaving directory '/tmp/sdk/build/release' 15:38:31 [ 85%] Built target device-random 15:38:31 make[2]: Entering directory '/tmp/sdk/build/release' 15:38:31 make[2]: Leaving directory '/tmp/sdk/build/release' 15:38:31 [ 88%] Built target device-gyro 15:38:31 make[2]: Entering directory '/tmp/sdk/build/release' 15:38:31 make[2]: Leaving directory '/tmp/sdk/build/release' 15:38:31 [ 91%] Built target device-bitfields 15:38:31 make[2]: Entering directory '/tmp/sdk/build/release' 15:38:31 make[2]: Leaving directory '/tmp/sdk/build/release' 15:38:31 [ 94%] Built target template-discovery 15:38:31 make[2]: Entering directory '/tmp/sdk/build/release' 15:38:31 make[2]: Leaving directory '/tmp/sdk/build/release' 15:38:31 [ 97%] Built target device-file 15:38:31 make[2]: Entering directory '/tmp/sdk/build/release' 15:38:31 make[2]: Leaving directory '/tmp/sdk/build/release' 15:38:31 [100%] Built target device-terminal 15:38:31 make[1]: Leaving directory '/tmp/sdk/build/release' 15:38:31 Install the project... 15:38:31 -- Install configuration: "Release" 15:38:31 -- Installing: /usr/local/lib/libcsdk.so 15:38:31 -- Installing: /usr/local/include 15:38:31 -- Installing: /usr/local/include/devsdk 15:38:31 -- Installing: /usr/local/include/devsdk/devsdk-base.h 15:38:31 -- Installing: /usr/local/include/devsdk/devsdk.h 15:38:31 -- Installing: /usr/local/include/edgex 15:38:31 -- Installing: /usr/local/include/edgex/devices.h 15:38:31 -- Installing: /usr/local/include/edgex/edgex-base.h 15:38:31 -- Installing: /usr/local/include/edgex/edgex.h 15:38:31 -- Installing: /usr/local/include/edgex/profiles.h 15:38:31 -- Installing: /usr/local/include/edgex/rest-server.h 15:38:31 -- Installing: /usr/local/include/edgex/csdk-defs.h 15:38:31 -- Installing: /usr/local/include/iot 15:38:31 -- Installing: /usr/local/include/iot/base64.h 15:38:31 -- Installing: /usr/local/include/iot/component.h 15:38:31 -- Installing: /usr/local/include/iot/config.h 15:38:31 -- Installing: /usr/local/include/iot/container.h 15:38:31 -- Installing: /usr/local/include/iot/data.h 15:38:31 -- Installing: /usr/local/include/iot/hash.h 15:38:31 -- Installing: /usr/local/include/iot/iot.h 15:38:31 -- Installing: /usr/local/include/iot/json.h 15:38:31 -- Installing: /usr/local/include/iot/logger.h 15:38:31 -- Installing: /usr/local/include/iot/os.h 15:38:31 -- Installing: /usr/local/include/iot/scheduler.h 15:38:31 -- Installing: /usr/local/include/iot/thread.h 15:38:31 -- Installing: /usr/local/include/iot/threadpool.h 15:38:31 -- Installing: /usr/local/include/iot/time.h 15:38:31 -- Installing: /usr/local/include/iot/typecode.h 15:38:31 -- Installing: /usr/local/include/iot/uuid.h 15:38:31 -- Installing: /usr/local/include/iot/os 15:38:31 -- Installing: /usr/local/include/iot/os/linux.h 15:38:31 -- Installing: /usr/local/include/iot/os/macos.h 15:38:31 -- Installing: /usr/local/include/iot/os/zephyr.h 15:38:31 -- Installing: /usr/local/include/iot/defs.h 15:38:31 -- Installing: /usr/local/share/device-sdk-c/LICENSE 15:38:31 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 15:38:31 make: Leaving directory '/tmp/sdk/build/release' 15:38:32 Removing intermediate container d319047d1ce8 15:38:32 ---> 43464e3f29bc 15:38:32 Step 14/22 : FROM ${BASE} 15:38:32 ---> c9e13ccc37c5 15:38:32 Step 15/22 : LABEL maintainer="IOTech " 15:38:32 ---> Running in 888d9e76c32a 15:38:32 Removing intermediate container 888d9e76c32a 15:38:32 ---> 6230cd0e0c5f 15:38:32 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:38:32 ---> Running in 8da5cbc4ef5f 15:38:32 Connecting to iotech.jfrog.io (34.243.182.113:443) 15:38:33 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 15:38:33 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 15:38:33 '/etc/apk/keys/alpine.dev.rsa.pub' saved 15:38:33 Removing intermediate container 8da5cbc4ef5f 15:38:33 ---> 880637e0c5a3 15:38:33 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 15:38:33 ---> Running in 9d27a0a19a99 15:38:33 Removing intermediate container 9d27a0a19a99 15:38:33 ---> 888db21ccc39 15:38:33 Step 18/22 : RUN apk add --update --no-cache build-base git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 hiredis-dev 15:38:33 ---> Running in d8d38b88ba33 15:38:34 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:38:35 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:38:35 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz 15:38:35 WARNING: This apk-tools is OLD! Some packages might not function properly. 15:38:35 (1/6) Installing curl (7.80.0-r0) 15:38:35 (2/6) Installing hiredis (1.0.2-r0) 15:38:35 (3/6) Installing hiredis-dev (1.0.2-r0) 15:38:36 (4/6) Installing libcbor (0.8.0-r0) 15:38:36 (5/6) Installing libuuid (2.37.4-r0) 15:38:36 (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 15:38:37 Executing busybox-1.34.1-r3.trigger 15:38:37 OK: 283 MiB in 83 packages 15:38:37 Removing intermediate container d8d38b88ba33 15:38:37 ---> 2b4ce584da41 15:38:37 Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 15:38:37 ---> cd71972f4ded 15:38:37 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 15:38:37 ---> eb29f07c68ee 15:38:37 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 15:38:37 ---> 7fa1a75108c6 15:38:37 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 15:38:37 ---> 56e2d8aef035 15:38:37 Successfully built 56e2d8aef035 15:38:37 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:38:38 + docker inspect -f . ci-base-image-x86_64 15:38:38 . [Pipeline] withDockerContainer 15:38:38 prd-centos7-docker-4c-2g-5643 does not seem to be running inside a container 15:38:38 $ 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 ******** ci-base-image-x86_64 cat 15:38:39 $ docker top 883fe561acaf0def20a3a1570867901d5c30866f22c4294d04246884a611a8b0 -eo pid,comm [Pipeline] { [Pipeline] sh 15:38:39 + make test 15:38:39 echo "make test" 15:38:39 make test [Pipeline] } 15:38:39 $ docker stop --time=1 883fe561acaf0def20a3a1570867901d5c30866f22c4294d04246884a611a8b0 15:38:40 $ docker rm -f 883fe561acaf0def20a3a1570867901d5c30866f22c4294d04246884a611a8b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:38:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:38:42 + ls -al . 15:38:42 total 176 15:38:42 drwxrwxr-x. 9 jenkins jenkins 4096 Feb 18 15:37 . 15:38:42 drwxrwxr-x. 4 jenkins jenkins 112 Feb 18 15:37 .. 15:38:42 -rw-rw-r--. 1 jenkins jenkins 3104 Feb 18 15:37 Attribution.txt 15:38:42 -rw-rw-r--. 1 jenkins jenkins 8222 Feb 18 15:37 CHANGES 15:38:42 drwxrwxr-x. 2 jenkins jenkins 121 Feb 18 15:37 docs 15:38:42 -rw-rw-r--. 1 jenkins jenkins 108574 Feb 18 15:37 Doxyfile 15:38:42 drwxrwxr-x. 8 jenkins jenkins 179 Feb 18 15:37 .git 15:38:42 drwxrwxr-x. 3 jenkins jenkins 103 Feb 18 15:37 .github 15:38:42 -rw-rw-r--. 1 jenkins jenkins 176 Feb 18 15:37 .gitignore 15:38:42 -rw-rw-r--. 1 jenkins jenkins 677 Feb 18 15:37 GOVERNANCE.md 15:38:42 drwxrwxr-x. 4 jenkins jenkins 33 Feb 18 15:37 include 15:38:42 -rw-rw-r--. 1 jenkins jenkins 784 Feb 18 15:37 Jenkinsfile 15:38:42 -rw-rw-r--. 1 jenkins jenkins 10174 Feb 18 15:37 LICENSE 15:38:42 -rw-rw-r--. 1 jenkins jenkins 444 Feb 18 15:37 Makefile 15:38:42 -rw-rw-r--. 1 jenkins jenkins 618 Feb 18 15:37 OWNERS.md 15:38:42 -rw-rw-r--. 1 jenkins jenkins 4086 Feb 18 15:37 README.md 15:38:42 -rw-rw-r--. 1 jenkins jenkins 7422 Feb 18 15:37 README.v2.md 15:38:42 drwxrwxr-x. 2 jenkins jenkins 98 Feb 18 15:37 scripts 15:38:42 drwx------. 3 jenkins jenkins 85 Feb 18 15:37 .semver 15:38:42 drwxrwxr-x. 4 jenkins jenkins 50 Feb 18 15:37 src 15:38:42 -rw-rw-r--. 1 jenkins jenkins 5 Feb 18 15:37 VERSION [Pipeline] isUnix [Pipeline] sh 15:38:42 + 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=e16c89daf6826d526ada798cd830d9ad1f5db0fd --label arch=amd64 --label version=0.0.0 . 15:38:42 Sending build context to Docker daemon 4.507MB 15:38:42 Step 1/17 : ARG BASE=alpine:3.15 15:38:42 Step 2/17 : FROM ${BASE} 15:38:42 ---> 56e2d8aef035 15:38:42 Step 3/17 : LABEL maintainer="IOTech " 15:38:42 ---> Running in 2b32f718585b 15:38:43 Removing intermediate container 2b32f718585b 15:38:43 ---> 3bb307aa5895 15:38:43 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:38:43 ---> Running in 8aaac6bb12f3 15:38:43 Connecting to iotech.jfrog.io (34.243.182.113:443) 15:38:43 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 15:38:43 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 15:38:43 '/etc/apk/keys/alpine.dev.rsa.pub' saved 15:38:43 Removing intermediate container 8aaac6bb12f3 15:38:43 ---> b28a5260b80f 15:38:43 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 15:38:43 ---> Running in 461bd70927cd 15:38:44 Removing intermediate container 461bd70927cd 15:38:44 ---> 131f329103de 15:38:44 Step 6/17 : RUN apk add --update --no-cache build-base 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:38:44 ---> Running in 975d3c6b554a 15:38:44 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:38:45 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:38:45 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz 15:38:46 WARNING: This apk-tools is OLD! Some packages might not function properly. 15:38:46 (1/26) Installing libcbor-dev (0.8.0-r0) 15:38:46 (2/26) Installing ncurses-dev (6.3_p20211120-r0) 15:38:46 (3/26) Installing util-linux (2.37.4-r0) 15:38:46 (4/26) Installing libblkid (2.37.4-r0) 15:38:46 (5/26) Installing libeconf (0.4.2-r0) 15:38:46 (6/26) Installing libfdisk (2.37.4-r0) 15:38:46 (7/26) Installing libmount (2.37.4-r0) 15:38:46 (8/26) Installing libsmartcols (2.37.4-r0) 15:38:46 (9/26) Installing util-linux-misc (2.37.4-r0) 15:38:46 (10/26) Installing linux-pam (1.5.2-r0) 15:38:46 (11/26) Installing runuser (2.37.4-r0) 15:38:47 (12/26) Installing hexdump (2.37.4-r0) 15:38:47 (13/26) Installing uuidgen (2.37.4-r0) 15:38:47 (14/26) Installing blkid (2.37.4-r0) 15:38:47 (15/26) Installing sfdisk (2.37.4-r0) 15:38:47 (16/26) Installing mcookie (2.37.4-r0) 15:38:47 (17/26) Installing wipefs (2.37.4-r0) 15:38:47 (18/26) Installing cfdisk (2.37.4-r0) 15:38:47 (19/26) Installing flock (2.37.4-r0) 15:38:47 (20/26) Installing lsblk (2.37.4-r0) 15:38:47 (21/26) Installing libcap-ng (0.8.2-r1) 15:38:47 (22/26) Installing setpriv (2.37.4-r0) 15:38:47 (23/26) Installing logger (2.37.4-r0) 15:38:48 (24/26) Installing partx (2.37.4-r0) 15:38:48 (25/26) Installing findmnt (2.37.4-r0) 15:38:48 (26/26) Installing util-linux-dev (2.37.4-r0) 15:38:48 Executing busybox-1.34.1-r3.trigger 15:38:48 OK: 294 MiB in 109 packages 15:38:49 Removing intermediate container 975d3c6b554a 15:38:49 ---> 4cc69f0bb5e8 15:38:49 Step 7/17 : COPY VERSION /edgex-c-sdk/ 15:38:49 ---> cb4172ab1841 15:38:49 Step 8/17 : COPY src /edgex-c-sdk/src/ 15:38:49 ---> cdb832304c33 15:38:49 Step 9/17 : COPY include /edgex-c-sdk/include/ 15:38:49 ---> 6e1a5fe76588 15:38:49 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 15:38:49 ---> 8f9b6ca03912 15:38:49 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 15:38:49 ---> 5e6060f3b32f 15:38:49 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 15:38:49 ---> 5288d7808aca 15:38:49 Step 13/17 : WORKDIR /edgex-c-sdk 15:38:49 ---> Running in 8d0f80da5a94 15:38:49 Removing intermediate container 8d0f80da5a94 15:38:49 ---> a8c7a4d7d8e5 15:38:49 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 15:38:49 ---> Running in b997064a9f18 15:38:49 Removing intermediate container b997064a9f18 15:38:49 ---> dd69c11b0a9a 15:38:49 Step 15/17 : LABEL arch=amd64 15:38:50 ---> Running in 59f7f1283d31 15:38:50 Removing intermediate container 59f7f1283d31 15:38:50 ---> 259fc54dcad1 15:38:50 Step 16/17 : LABEL git_sha=e16c89daf6826d526ada798cd830d9ad1f5db0fd 15:38:50 ---> Running in 404237d28032 15:38:50 Removing intermediate container 404237d28032 15:38:50 ---> a84b16335fe0 15:38:50 Step 17/17 : LABEL version=0.0.0 15:38:50 ---> Running in e6587aa1e000 15:38:50 Removing intermediate container e6587aa1e000 15:38:50 ---> 81be373fe255 15:38:50 [Warning] One or more build-args [ARCH MAKE] were not consumed 15:38:50 Successfully built 81be373fe255 15:38:50 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:38:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:38:51 15:38:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 15:38:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:38:51 latest: Pulling from edgex-lftools-log-publisher 15:38:51 b4d181a07f80: Pulling fs layer 15:38:51 a1111a8f2ec3: Pulling fs layer 15:38:51 ed53099fbce6: Pulling fs layer 15:38:51 dc539afda2c1: Pulling fs layer 15:38:51 77bc0d833cb6: Pulling fs layer 15:38:51 9065ff56babe: Pulling fs layer 15:38:51 d287ab97295c: Pulling fs layer 15:38:51 dc539afda2c1: Waiting 15:38:51 77bc0d833cb6: Waiting 15:38:51 9065ff56babe: Waiting 15:38:51 d287ab97295c: Waiting 15:38:51 a1111a8f2ec3: Verifying Checksum 15:38:51 a1111a8f2ec3: Download complete 15:38:51 dc539afda2c1: Verifying Checksum 15:38:51 dc539afda2c1: Download complete 15:38:51 ed53099fbce6: Verifying Checksum 15:38:51 ed53099fbce6: Download complete 15:38:51 77bc0d833cb6: Verifying Checksum 15:38:51 77bc0d833cb6: Download complete 15:38:51 9065ff56babe: Verifying Checksum 15:38:51 9065ff56babe: Download complete 15:38:51 b4d181a07f80: Verifying Checksum 15:38:51 b4d181a07f80: Download complete 15:38:52 d287ab97295c: Verifying Checksum 15:38:52 d287ab97295c: Download complete 15:38:53 b4d181a07f80: Pull complete 15:38:53 a1111a8f2ec3: Pull complete 15:38:53 ed53099fbce6: Pull complete 15:38:53 dc539afda2c1: Pull complete 15:38:54 77bc0d833cb6: Pull complete 15:38:54 9065ff56babe: Pull complete 15:38:59 d287ab97295c: Pull complete 15:38:59 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 15:38:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:38:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 15:38:59 prd-centos7-docker-4c-2g-5643 does not seem to be running inside a container 15:38:59 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:39:01 $ docker top 33ce486cd0f92fff66ee25cbe70b4434778d008ad3191bf7fe3886dc4e21f9d8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:39:02 ---> job-cost.sh 15:39:02 lf-activate-venv: SKIPPING 15:39:02 INFO: No Stack... 15:39:02 INFO: Retrieving Pricing Info for: v3-standard-2 15:39:02 INFO: Archiving Costs [Pipeline] sh 15:39:03 + cat /w/workspace/edgexfoundry_device-sdk-c_PR-401/archives/cost.csv 15:39:03 + cut -d, -f6 [Pipeline] lock 15:39:03 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-401-1-stack-cost] 15:39:03 Resource [jenkins-edgexfoundry-device-sdk-c-PR-401-1-stack-cost] did not exist. Created. 15:39:03 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-401-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:39:03 + echo total: 0.05999999865889549 [Pipeline] stash 15:39:03 Stashed 1 file(s) [Pipeline] } 15:39:03 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-401-1-stack-cost] [Pipeline] // lock [Pipeline] } 15:39:03 $ docker stop --time=1 33ce486cd0f92fff66ee25cbe70b4434778d008ad3191bf7fe3886dc4e21f9d8 15:39:05 $ docker rm -f 33ce486cd0f92fff66ee25cbe70b4434778d008ad3191bf7fe3886dc4e21f9d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:39:36 Running on prd-ubuntu18.04-docker-arm64-4c-16g-5644 in /w/workspace/edgexfoundry_device-sdk-c_PR-401 [Pipeline] { [Pipeline] ws 15:39:36 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 15:39:36 Selected Git installation does not exist. Using Default 15:39:36 The recommended git tool is: NONE 15:39:41 using credential edgex-jenkins-ssh 15:39:41 Cloning the remote Git repository 15:39:41 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 15:39:41 > git init /w/workspace/device-sdk-c/1 # timeout=10 15:39:41 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 15:39:41 > git --version # timeout=10 15:39:41 > git --version # 'git version 2.17.1' 15:39:41 using GIT_SSH to set credentials SSH Credentials for GitHub 15:39:41 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:39:42 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 15:39:42 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:39:43 Merging remotes/origin/main commit 02161a6b4618232bfcf286377d256226a622bc2b into PR head commit e16c89daf6826d526ada798cd830d9ad1f5db0fd 15:39:43 Merge succeeded, producing e16c89daf6826d526ada798cd830d9ad1f5db0fd 15:39:43 Checking out Revision e16c89daf6826d526ada798cd830d9ad1f5db0fd (PR-401) 15:39:42 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 15:39:42 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 15:39:42 using GIT_SSH to set credentials SSH Credentials for GitHub 15:39:42 > 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:39:43 > git config core.sparsecheckout # timeout=10 15:39:43 > git checkout -f e16c89daf6826d526ada798cd830d9ad1f5db0fd # timeout=10 15:39:43 > git remote # timeout=10 15:39:43 > git config --get remote.origin.url # timeout=10 15:39:43 using GIT_SSH to set credentials SSH Credentials for GitHub 15:39:43 > git merge 02161a6b4618232bfcf286377d256226a622bc2b # timeout=10 15:39:43 > git rev-parse HEAD^{commit} # timeout=10 15:39:43 > git config core.sparsecheckout # timeout=10 15:39:43 > git checkout -f e16c89daf6826d526ada798cd830d9ad1f5db0fd # timeout=10 15:39:47 Commit message: "build(deps): bump Alpine to 3.15" 15:39:47 > git --version # timeout=10 15:39:47 > git --version # 'git version 2.17.1' 15:39:47 fatal: bad object efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:39:49 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:39:49 % Total % Received % Xferd Average Speed Time Time Time Current 15:39:49 Dload Upload Total Spent Left Speed 15:39:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 88380 0 --:--:-- --:--:-- --:--:-- 88380 [Pipeline] sh 15:39:49 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:39:50 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:39:50 + sudo tee /etc/docker/daemon.new 15:39:50 { 15:39:50 "registry-mirrors": [ 15:39:50 "https://nexus3.edgexfoundry.org:10001" 15:39:50 ], 15:39:50 "bip": "10.250.0.254/24", 15:39:50 "hosts": [ 15:39:50 "tcp://0.0.0.0:5555", 15:39:50 "unix:///var/run/docker.sock" 15:39:50 ], 15:39:50 "mtu": 1458, 15:39:50 "selinux-enabled": true, 15:39:50 "seccomp-profile": "/etc/docker/seccomp.json" 15:39:50 } [Pipeline] sh 15:39:50 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:39:50 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:40:09 provisioning config files... 15:40:09 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config9162449228035280052tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:40:09 ---> docker-login.sh 15:40:09 nexus3.edgexfoundry.org:10001 15:40:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:40:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:40:10 Configure a credential helper to remove this warning. See 15:40:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:40:10 15:40:10 Login Succeeded 15:40:10 nexus3.edgexfoundry.org:10002 15:40:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:40:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:40:10 Configure a credential helper to remove this warning. See 15:40:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:40:10 15:40:10 Login Succeeded 15:40:10 nexus3.edgexfoundry.org:10003 15:40:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:40:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:40:10 Configure a credential helper to remove this warning. See 15:40:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:40:10 15:40:10 Login Succeeded 15:40:10 nexus3.edgexfoundry.org:10004 15:40:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:40:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:40:11 Configure a credential helper to remove this warning. See 15:40:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:40:11 15:40:11 Login Succeeded 15:40:11 docker.io 15:40:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:40:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:40:12 Configure a credential helper to remove this warning. See 15:40:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:40:12 15:40:12 Login Succeeded 15:40:12 ---> docker-login.sh ends [Pipeline] } 15:40:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:40:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:40:12 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 15:40:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:40:12 ========================================================= 15:40:12 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 15:40:12 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 15:40:13 + 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:40:13 Sending build context to Docker daemon 2.746MB 15:40:13 Step 1/22 : ARG BASE=alpine:3.15 15:40:13 Step 2/22 : FROM ${BASE} as builder 15:40:13 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 15:40:13 9b3977197b4f: Pulling fs layer 15:40:13 2a93055cfd06: Pulling fs layer 15:40:13 ff5fdaca7850: Pulling fs layer 15:40:13 2a93055cfd06: Verifying Checksum 15:40:13 2a93055cfd06: Download complete 15:40:13 9b3977197b4f: Verifying Checksum 15:40:13 9b3977197b4f: Download complete 15:40:14 9b3977197b4f: Pull complete 15:40:14 2a93055cfd06: Pull complete 15:40:15 ff5fdaca7850: Verifying Checksum 15:40:15 ff5fdaca7850: Download complete 15:40:23 ff5fdaca7850: Pull complete 15:40:23 Digest: sha256:bf249b2a65b15776358c73a8f9886e573022f6b9ba75e542fbdefbaa4c9006da 15:40:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 15:40:23 ---> 0af3d9908a83 15:40:23 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:40:24 ---> Running in 3683c0192efa 15:40:25 Connecting to iotech.jfrog.io (54.170.66.44:443) 15:40:25 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 15:40:25 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 15:40:25 '/etc/apk/keys/alpine.dev.rsa.pub' saved 15:40:26 Removing intermediate container 3683c0192efa 15:40:26 ---> 8fc343bbbd42 15:40:26 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 15:40:26 ---> Running in 81c3679d4a76 15:40:28 Removing intermediate container 81c3679d4a76 15:40:28 ---> 3857130ae96f 15:40:28 Step 5/22 : RUN apk add --update --no-cache build-base git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev 15:40:28 ---> Running in 7a9c78dbc653 15:40:29 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 15:40:30 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 15:40:30 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz 15:40:31 WARNING: This apk-tools is OLD! Some packages might not function properly. 15:40:31 (1/31) Installing hiredis (1.0.2-r0) 15:40:31 (2/31) Installing hiredis-dev (1.0.2-r0) 15:40:31 (3/31) Installing libcbor (0.8.0-r0) 15:40:31 (4/31) Installing libcbor-dev (0.8.0-r0) 15:40:32 (5/31) Installing ncurses-dev (6.3_p20211120-r0) 15:40:32 (6/31) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 15:40:32 (7/31) Installing util-linux (2.37.4-r0) 15:40:32 (8/31) Installing libblkid (2.37.4-r0) 15:40:33 (9/31) Installing libeconf (0.4.2-r0) 15:40:33 (10/31) Installing libuuid (2.37.4-r0) 15:40:33 (11/31) Installing libfdisk (2.37.4-r0) 15:40:33 (12/31) Installing libmount (2.37.4-r0) 15:40:33 (13/31) Installing libsmartcols (2.37.4-r0) 15:40:33 (14/31) Installing util-linux-misc (2.37.4-r0) 15:40:34 (15/31) Installing linux-pam (1.5.2-r0) 15:40:34 (16/31) Installing runuser (2.37.4-r0) 15:40:34 (17/31) Installing hexdump (2.37.4-r0) 15:40:34 (18/31) Installing uuidgen (2.37.4-r0) 15:40:34 (19/31) Installing blkid (2.37.4-r0) 15:40:34 (20/31) Installing sfdisk (2.37.4-r0) 15:40:34 (21/31) Installing mcookie (2.37.4-r0) 15:40:34 (22/31) Installing wipefs (2.37.4-r0) 15:40:34 (23/31) Installing cfdisk (2.37.4-r0) 15:40:34 (24/31) Installing flock (2.37.4-r0) 15:40:35 (25/31) Installing lsblk (2.37.4-r0) 15:40:35 (26/31) Installing libcap-ng (0.8.2-r1) 15:40:35 (27/31) Installing setpriv (2.37.4-r0) 15:40:35 (28/31) Installing logger (2.37.4-r0) 15:40:35 (29/31) Installing partx (2.37.4-r0) 15:40:35 (30/31) Installing findmnt (2.37.4-r0) 15:40:35 (31/31) Installing util-linux-dev (2.37.4-r0) 15:40:35 Executing busybox-1.34.1-r3.trigger 15:40:35 OK: 289 MiB in 108 packages 15:40:37 Removing intermediate container 7a9c78dbc653 15:40:37 ---> 6f260a4d4429 15:40:37 Step 6/22 : RUN mkdir /tmp/sdk 15:40:37 ---> Running in 44583ef5da34 15:40:38 Removing intermediate container 44583ef5da34 15:40:38 ---> dd872bc81fb7 15:40:38 Step 7/22 : COPY VERSION /tmp/sdk 15:40:39 ---> ee45a8b55bae 15:40:39 Step 8/22 : COPY src /tmp/sdk/src 15:40:40 ---> ad8266270de2 15:40:40 Step 9/22 : COPY include /tmp/sdk/include 15:40:40 ---> 4b4caccae6c5 15:40:40 Step 10/22 : COPY scripts /tmp/sdk/scripts 15:40:41 ---> d0fc809c38b3 15:40:41 Step 11/22 : COPY LICENSE /tmp/sdk 15:40:42 ---> 7d3c91bd314e 15:40:42 Step 12/22 : COPY Attribution.txt /tmp/sdk 15:40:42 ---> ea1534a279cd 15:40:42 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 15:40:42 ---> Running in 9091b8e5955a 15:40:43 + CPPCHECK=false 15:40:43 + DOCGEN=false 15:40:43 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 15:40:43 + TOMLVER=SDK-0.2 15:40:43 + CUTILVER=1.2.2 15:40:43 + '[' 0 -gt 0 ] 15:40:43 + readlink -f ./scripts/build.sh 15:40:43 + dirname /tmp/sdk/scripts/build.sh 15:40:43 + dirname /tmp/sdk/scripts 15:40:43 + ROOT=/tmp/sdk 15:40:43 + cd /tmp/sdk 15:40:43 + '[' '!' -d deps ] 15:40:43 + mkdir deps 15:40:43 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 15:40:43 + tar -C deps -z -x -f - 15:40:43 Connecting to github.com (140.82.113.3:443) 15:40:44 Connecting to codeload.github.com (140.82.112.9:443) 15:40:44 writing to stdout 15:40:44 - 100% |********************************| 16451 0:00:00 ETA 15:40:44 written to stdout 15:40:44 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 15:40:44 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 15:40:44 + tar -C deps -z -x -f - 15:40:44 Connecting to github.com (140.82.113.3:443) 15:40:44 Connecting to codeload.github.com (140.82.112.9:443) 15:40:44 writing to stdout 15:40:44 - 13031 --:--:-- ETA 15:40:44 - 100% |********************************|  189k 0:00:00 ETA 15:40:44 written to stdout 15:40:44 + mkdir -p src/c/iot 15:40:44 + 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:40:44 + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot 15:40:44 + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot 15:40:44 + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot 15:40:44 + mkdir -p include/iot 15:40:44 + 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:40:44 + mkdir -p include/iot/os 15:40:44 + 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:40:44 + mkdir -p /tmp/sdk/build/release 15:40:44 + cd /tmp/sdk/build/release 15:40:44 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 15:40:45 -- The C compiler identification is GNU 10.3.1 15:40:45 -- Detecting C compiler ABI info 15:40:45 -- Detecting C compiler ABI info - done 15:40:45 -- Check for working C compiler: /usr/bin/cc - skipped 15:40:45 -- Detecting C compile features 15:40:45 -- Detecting C compile features - done 15:40:45 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 15:40:45 -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") 15:40:45 -- Found LIBYAML: /usr/lib/libyaml.so 15:40:45 -- Found LIBUUID: /usr/lib/libuuid.so 15:40:45 -- Found LIBCBOR: /usr/lib/libcbor.so 15:40:45 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 15:40:45 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 15:40:45 -- C SDK 0.0.0 for Linux 15:40:45 -- Performing Test CSDK_HAVE_ATOMIC 15:40:45 -- Performing Test CSDK_HAVE_ATOMIC - Success 15:40:46 -- Found Curses: /usr/lib/libcurses.so 15:40:46 -- Configuring done 15:40:46 -- Generating done 15:40:46 -- Build files have been written to: /tmp/sdk/build/release 15:40:46 + + teemake release.log all 15:40:46 package 15:40:46 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 15:40:47 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 15:40:47 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 15:40:50 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 15:40:50 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 15:40:51 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 15:40:52 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 15:40:52 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 15:40:52 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 15:40:54 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 15:40:56 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 15:40:56 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 15:40:57 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 15:40:58 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 15:40:58 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 15:40:58 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 15:40:58 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 15:41:02 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 15:41:02 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 15:41:02 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 15:41:03 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 15:41:03 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 15:41:04 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 15:41:04 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 15:41:04 275 | const iot_component_factory_t * factory; 15:41:04 | ^~~~~~~ 15:41:04 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 15:41:10 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 15:41:10 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 15:41:10 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 15:41:10 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 15:41:10 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 15:41:11 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 15:41:12 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 15:41:12 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 15:41:13 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 15:41:13 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 15:41:14 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 15:41:16 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 15:41:17 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 15:41:18 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 15:41:18 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 15:41:23 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 15:41:23 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 15:41:24 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 15:41:24 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 15:41:24 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 15:41:24 /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:41:24 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 15:41:24 | ^~~~~~~~~~~~~ 15:41:24 | | 15:41:24 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 15:41:24 In file included from /tmp/sdk/src/c/rest-server.c:21: 15:41:24 /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:41:24 2784 | MHD_KeyValueIterator iterator, 15:41:24 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 15:41:24 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 15:41:24 /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:41:24 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 15:41:24 | ^~~~~~~~~~~~ 15:41:24 | | 15:41:24 | 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:41:24 In file included from /tmp/sdk/src/c/rest-server.c:21: 15:41:24 /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:41:24 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 15:41:24 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 15:41:24 /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:41:24 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 15:41:24 | ^~~~~~~~~~~~ 15:41:24 | | 15:41:24 | 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:41:24 In file included from /tmp/sdk/src/c/rest-server.c:21: 15:41:24 /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:41:24 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 15:41:24 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 15:41:25 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 15:41:28 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 15:41:28 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 15:41:28 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 15:41:29 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 15:41:31 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 15:41:35 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 15:41:36 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 15:41:36 [ 76%] Linking C shared library libcsdk.so 15:41:36 [ 76%] Built target csdk 15:41:37 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 15:41:37 [ 79%] Linking C executable template 15:41:37 [ 79%] Built target template 15:41:37 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 15:41:38 [ 82%] Linking C executable device-counter 15:41:38 [ 82%] Built target device-counter 15:41:38 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 15:41:39 [ 85%] Linking C executable device-random 15:41:39 [ 85%] Built target device-random 15:41:39 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 15:41:39 [ 88%] Linking C executable device-gyro 15:41:40 [ 88%] Built target device-gyro 15:41:40 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 15:41:40 [ 91%] Linking C executable device-bitfields 15:41:41 [ 91%] Built target device-bitfields 15:41:41 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 15:41:42 [ 94%] Linking C executable template-discovery 15:41:42 [ 94%] Built target template-discovery 15:41:42 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 15:41:43 [ 97%] Linking C executable device-file 15:41:43 [ 97%] Built target device-file 15:41:43 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 15:41:43 [100%] Linking C executable device-terminal 15:41:43 [100%] Built target device-terminal 15:41:44 Run CPack packaging tool... 15:41:44 CPack: Create package using TGZ 15:41:44 CPack: Install projects 15:41:44 CPack: - Run preinstall target for: Csdk 15:41:44 CPack: - Install project: Csdk [] 15:41:44 CPack: Create package 15:41:45 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 15:41:45 + '[' false '=' true ] 15:41:45 + '[' false '=' true ] 15:41:45 + mkdir -p /tmp/sdk/build/debug 15:41:45 + cd /tmp/sdk/build/debug 15:41:45 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 15:41:45 -- The C compiler identification is GNU 10.3.1 15:41:45 -- Detecting C compiler ABI info 15:41:45 -- Detecting C compiler ABI info - done 15:41:45 -- Check for working C compiler: /usr/bin/cc - skipped 15:41:45 -- Detecting C compile features 15:41:45 -- Detecting C compile features - done 15:41:45 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 15:41:45 -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") 15:41:45 -- Found LIBYAML: /usr/lib/libyaml.so 15:41:45 -- Found LIBUUID: /usr/lib/libuuid.so 15:41:45 -- Found LIBCBOR: /usr/lib/libcbor.so 15:41:45 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 15:41:45 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 15:41:45 -- C SDK 0.0.0 for Linux 15:41:45 -- Performing Test CSDK_HAVE_ATOMIC 15:41:46 -- Performing Test CSDK_HAVE_ATOMIC - Success 15:41:46 -- Found Curses: /usr/lib/libcurses.so 15:41:46 -- Configuring done 15:41:46 -- Generating done 15:41:46 -- Build files have been written to: /tmp/sdk/build/debug 15:41:46 + make 15:41:46 + tee debug.log 15:41:46 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 15:41:46 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 15:41:47 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 15:41:48 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 15:41:48 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 15:41:48 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 15:41:49 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 15:41:49 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 15:41:49 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 15:41:49 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 15:41:50 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 15:41:50 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 15:41:51 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 15:41:51 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 15:41:51 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 15:41:52 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 15:41:52 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 15:41:53 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 15:41:53 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 15:41:53 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 15:41:54 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 15:41:54 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 15:41:54 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 15:41:54 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 15:41:54 275 | const iot_component_factory_t * factory; 15:41:54 | ^~~~~~~ 15:41:54 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 15:41:56 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 15:41:56 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 15:41:56 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 15:41:56 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 15:41:56 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 15:41:56 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 15:41:57 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 15:41:57 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 15:41:58 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 15:41:58 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 15:41:58 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 15:41:58 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 15:41:58 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 15:41:59 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 15:41:59 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 15:42:00 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 15:42:01 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 15:42:01 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 15:42:01 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 15:42:01 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 15:42:01 /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:42:01 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 15:42:01 | ^~~~~~~~~~~~~ 15:42:01 | | 15:42:01 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 15:42:01 In file included from /tmp/sdk/src/c/rest-server.c:21: 15:42:01 /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:42:01 2784 | MHD_KeyValueIterator iterator, 15:42:01 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 15:42:01 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 15:42:01 /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:42:01 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 15:42:01 | ^~~~~~~~~~~~ 15:42:01 | | 15:42:01 | 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:42:01 In file included from /tmp/sdk/src/c/rest-server.c:21: 15:42:01 /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:42:01 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 15:42:01 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 15:42:01 /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:42:01 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 15:42:01 | ^~~~~~~~~~~~ 15:42:01 | | 15:42:01 | 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:42:01 In file included from /tmp/sdk/src/c/rest-server.c:21: 15:42:01 /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:42:01 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 15:42:01 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 15:42:02 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 15:42:03 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 15:42:03 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 15:42:04 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 15:42:04 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 15:42:05 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 15:42:05 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 15:42:06 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 15:42:06 [ 76%] Linking C shared library libcsdk.so 15:42:06 [ 76%] Built target csdk 15:42:06 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 15:42:07 [ 79%] Linking C executable template 15:42:07 [ 79%] Built target template 15:42:07 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 15:42:07 [ 82%] Linking C executable device-counter 15:42:07 [ 82%] Built target device-counter 15:42:07 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 15:42:08 [ 85%] Linking C executable device-random 15:42:08 [ 85%] Built target device-random 15:42:08 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 15:42:08 [ 88%] Linking C executable device-gyro 15:42:08 [ 88%] Built target device-gyro 15:42:08 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 15:42:09 [ 91%] Linking C executable device-bitfields 15:42:09 [ 91%] Built target device-bitfields 15:42:09 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 15:42:09 [ 94%] Linking C executable template-discovery 15:42:10 [ 94%] Built target template-discovery 15:42:10 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 15:42:10 [ 97%] Linking C executable device-file 15:42:10 [ 97%] Built target device-file 15:42:10 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 15:42:11 [100%] Linking C executable device-terminal 15:42:11 [100%] Built target device-terminal 15:42:11 make: Entering directory '/tmp/sdk/build/release' 15:42:11 make[1]: Entering directory '/tmp/sdk/build/release' 15:42:11 make[2]: Entering directory '/tmp/sdk/build/release' 15:42:11 make[2]: Leaving directory '/tmp/sdk/build/release' 15:42:11 [ 76%] Built target csdk 15:42:11 make[2]: Entering directory '/tmp/sdk/build/release' 15:42:11 make[2]: Leaving directory '/tmp/sdk/build/release' 15:42:11 [ 79%] Built target template 15:42:11 make[2]: Entering directory '/tmp/sdk/build/release' 15:42:11 make[2]: Leaving directory '/tmp/sdk/build/release' 15:42:11 [ 82%] Built target device-counter 15:42:11 make[2]: Entering directory '/tmp/sdk/build/release' 15:42:11 make[2]: Leaving directory '/tmp/sdk/build/release' 15:42:11 [ 85%] Built target device-random 15:42:11 make[2]: Entering directory '/tmp/sdk/build/release' 15:42:11 make[2]: Leaving directory '/tmp/sdk/build/release' 15:42:11 [ 88%] Built target device-gyro 15:42:11 make[2]: Entering directory '/tmp/sdk/build/release' 15:42:11 make[2]: Leaving directory '/tmp/sdk/build/release' 15:42:11 [ 91%] Built target device-bitfields 15:42:11 make[2]: Entering directory '/tmp/sdk/build/release' 15:42:11 make[2]: Leaving directory '/tmp/sdk/build/release' 15:42:11 [ 94%] Built target template-discovery 15:42:11 make[2]: Entering directory '/tmp/sdk/build/release' 15:42:11 make[2]: Leaving directory '/tmp/sdk/build/release' 15:42:11 [ 97%] Built target device-file 15:42:11 make[2]: Entering directory '/tmp/sdk/build/release' 15:42:11 make[2]: Leaving directory '/tmp/sdk/build/release' 15:42:11 [100%] Built target device-terminal 15:42:11 make[1]: Leaving directory '/tmp/sdk/build/release' 15:42:11 Install the project... 15:42:11 -- Install configuration: "Release" 15:42:11 -- Installing: /usr/local/lib/libcsdk.so 15:42:11 -- Installing: /usr/local/include 15:42:11 -- Installing: /usr/local/include/edgex 15:42:11 -- Installing: /usr/local/include/edgex/edgex-base.h 15:42:11 -- Installing: /usr/local/include/edgex/devices.h 15:42:11 -- Installing: /usr/local/include/edgex/rest-server.h 15:42:11 -- Installing: /usr/local/include/edgex/profiles.h 15:42:11 -- Installing: /usr/local/include/edgex/edgex.h 15:42:11 -- Installing: /usr/local/include/edgex/csdk-defs.h 15:42:11 -- Installing: /usr/local/include/devsdk 15:42:11 -- Installing: /usr/local/include/devsdk/devsdk.h 15:42:11 -- Installing: /usr/local/include/devsdk/devsdk-base.h 15:42:11 -- Installing: /usr/local/include/iot 15:42:11 -- Installing: /usr/local/include/iot/data.h 15:42:11 -- Installing: /usr/local/include/iot/config.h 15:42:11 -- Installing: /usr/local/include/iot/container.h 15:42:11 -- Installing: /usr/local/include/iot/typecode.h 15:42:11 -- Installing: /usr/local/include/iot/thread.h 15:42:11 -- Installing: /usr/local/include/iot/hash.h 15:42:11 -- Installing: /usr/local/include/iot/iot.h 15:42:11 -- Installing: /usr/local/include/iot/defs.h 15:42:11 -- Installing: /usr/local/include/iot/uuid.h 15:42:11 -- Installing: /usr/local/include/iot/component.h 15:42:11 -- Installing: /usr/local/include/iot/threadpool.h 15:42:11 -- Installing: /usr/local/include/iot/time.h 15:42:11 -- Installing: /usr/local/include/iot/logger.h 15:42:11 -- Installing: /usr/local/include/iot/os 15:42:11 -- Installing: /usr/local/include/iot/os/zephyr.h 15:42:11 -- Installing: /usr/local/include/iot/os/macos.h 15:42:11 -- Installing: /usr/local/include/iot/os/linux.h 15:42:11 -- Installing: /usr/local/include/iot/json.h 15:42:11 -- Installing: /usr/local/include/iot/scheduler.h 15:42:11 -- Installing: /usr/local/include/iot/base64.h 15:42:11 -- Installing: /usr/local/include/iot/os.h 15:42:11 -- Installing: /usr/local/share/device-sdk-c/LICENSE 15:42:11 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 15:42:11 make: Leaving directory '/tmp/sdk/build/release' 15:42:13 Removing intermediate container 9091b8e5955a 15:42:13 ---> 69a1de137757 15:42:13 Step 14/22 : FROM ${BASE} 15:42:13 ---> 0af3d9908a83 15:42:13 Step 15/22 : LABEL maintainer="IOTech " 15:42:13 ---> Running in e9d80f8471fd 15:42:14 Removing intermediate container e9d80f8471fd 15:42:14 ---> 6b0e548a9341 15:42:14 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:42:14 ---> Running in 35199af27ae1 15:42:15 Connecting to iotech.jfrog.io (34.243.182.113:443) 15:42:15 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 15:42:15 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 15:42:15 '/etc/apk/keys/alpine.dev.rsa.pub' saved 15:42:16 Removing intermediate container 35199af27ae1 15:42:16 ---> 3a162b474d50 15:42:16 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 15:42:16 ---> Running in f7f6da0931c1 15:42:18 Removing intermediate container f7f6da0931c1 15:42:18 ---> 7a83658b44b7 15:42:18 Step 18/22 : RUN apk add --update --no-cache build-base git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 hiredis-dev 15:42:18 ---> Running in ab6d8eb9da72 15:42:19 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 15:42:20 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 15:42:20 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz 15:42:21 WARNING: This apk-tools is OLD! Some packages might not function properly. 15:42:21 (1/6) Installing curl (7.80.0-r0) 15:42:21 (2/6) Installing hiredis (1.0.2-r0) 15:42:21 (3/6) Installing hiredis-dev (1.0.2-r0) 15:42:21 (4/6) Installing libcbor (0.8.0-r0) 15:42:21 (5/6) Installing libuuid (2.37.4-r0) 15:42:21 (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 15:42:22 Executing busybox-1.34.1-r3.trigger 15:42:22 OK: 278 MiB in 83 packages 15:42:23 Removing intermediate container ab6d8eb9da72 15:42:23 ---> 77a361e86491 15:42:23 Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 15:42:24 ---> cc59b34c2a25 15:42:24 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 15:42:25 ---> df737ecb2c31 15:42:25 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 15:42:26 ---> cd1c3efbed44 15:42:26 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 15:42:26 ---> 401a617b5bd4 15:42:26 Successfully built 401a617b5bd4 15:42:26 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:42:27 + docker inspect -f . ci-base-image-arm64 15:42:27 . [Pipeline] withDockerContainer 15:42:27 prd-ubuntu18.04-docker-arm64-4c-16g-5644 does not seem to be running inside a container 15:42:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:42:28 $ docker top 2721890dc6b007b627786018c0d4b53891eeda540cb0216602b11f9c1e5e3010 -eo pid,comm [Pipeline] { [Pipeline] sh 15:42:29 + make test 15:42:29 echo "make test" 15:42:29 make test [Pipeline] } 15:42:29 $ docker stop --time=1 2721890dc6b007b627786018c0d4b53891eeda540cb0216602b11f9c1e5e3010 15:42:31 $ docker rm -f 2721890dc6b007b627786018c0d4b53891eeda540cb0216602b11f9c1e5e3010 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:42:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:42:32 + ls -al . 15:42:32 total 204 15:42:32 drwxrwxr-x 8 jenkins jenkins 4096 Feb 18 15:39 . 15:42:32 drwxrwxr-x 4 jenkins jenkins 4096 Feb 18 15:39 .. 15:42:32 drwxrwxr-x 8 jenkins jenkins 4096 Feb 18 15:39 .git 15:42:32 drwxrwxr-x 3 jenkins jenkins 4096 Feb 18 15:39 .github 15:42:32 -rw-rw-r-- 1 jenkins jenkins 176 Feb 18 15:39 .gitignore 15:42:32 -rw-rw-r-- 1 jenkins jenkins 3104 Feb 18 15:39 Attribution.txt 15:42:32 -rw-rw-r-- 1 jenkins jenkins 8222 Feb 18 15:39 CHANGES 15:42:32 -rw-rw-r-- 1 jenkins jenkins 108574 Feb 18 15:39 Doxyfile 15:42:32 -rw-rw-r-- 1 jenkins jenkins 677 Feb 18 15:39 GOVERNANCE.md 15:42:32 -rw-rw-r-- 1 jenkins jenkins 784 Feb 18 15:39 Jenkinsfile 15:42:32 -rw-rw-r-- 1 jenkins jenkins 10174 Feb 18 15:39 LICENSE 15:42:32 -rw-rw-r-- 1 jenkins jenkins 444 Feb 18 15:39 Makefile 15:42:32 -rw-rw-r-- 1 jenkins jenkins 618 Feb 18 15:39 OWNERS.md 15:42:32 -rw-rw-r-- 1 jenkins jenkins 4086 Feb 18 15:39 README.md 15:42:32 -rw-rw-r-- 1 jenkins jenkins 7422 Feb 18 15:39 README.v2.md 15:42:32 -rw-rw-r-- 1 jenkins jenkins 5 Feb 18 15:37 VERSION 15:42:32 drwxrwxr-x 2 jenkins jenkins 4096 Feb 18 15:39 docs 15:42:32 drwxrwxr-x 4 jenkins jenkins 4096 Feb 18 15:39 include 15:42:32 drwxrwxr-x 2 jenkins jenkins 4096 Feb 18 15:39 scripts 15:42:32 drwxrwxr-x 4 jenkins jenkins 4096 Feb 18 15:39 src [Pipeline] isUnix [Pipeline] sh 15:42:33 + 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=e16c89daf6826d526ada798cd830d9ad1f5db0fd --label arch=arm64 --label version=0.0.0 . 15:42:33 Sending build context to Docker daemon 2.746MB 15:42:33 Step 1/17 : ARG BASE=alpine:3.15 15:42:33 Step 2/17 : FROM ${BASE} 15:42:33 ---> 401a617b5bd4 15:42:33 Step 3/17 : LABEL maintainer="IOTech " 15:42:33 ---> Running in ec63455498bf 15:42:34 Removing intermediate container ec63455498bf 15:42:34 ---> 0fd0d77aa833 15:42:34 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:42:34 ---> Running in 5f00691f0589 15:42:35 Connecting to iotech.jfrog.io (54.229.110.245:443) 15:42:35 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 15:42:35 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 15:42:35 '/etc/apk/keys/alpine.dev.rsa.pub' saved 15:42:36 Removing intermediate container 5f00691f0589 15:42:36 ---> 35d5c1a4d65a 15:42:36 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 15:42:36 ---> Running in 333d97356059 15:42:38 Removing intermediate container 333d97356059 15:42:38 ---> 71fd7155af53 15:42:38 Step 6/17 : RUN apk add --update --no-cache build-base 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:42:38 ---> Running in 544c1fb4f15c 15:42:39 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 15:42:40 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 15:42:40 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz 15:42:41 WARNING: This apk-tools is OLD! Some packages might not function properly. 15:42:41 (1/26) Installing libcbor-dev (0.8.0-r0) 15:42:41 (2/26) Installing ncurses-dev (6.3_p20211120-r0) 15:42:41 (3/26) Installing util-linux (2.37.4-r0) 15:42:41 (4/26) Installing libblkid (2.37.4-r0) 15:42:41 (5/26) Installing libeconf (0.4.2-r0) 15:42:41 (6/26) Installing libfdisk (2.37.4-r0) 15:42:41 (7/26) Installing libmount (2.37.4-r0) 15:42:41 (8/26) Installing libsmartcols (2.37.4-r0) 15:42:42 (9/26) Installing util-linux-misc (2.37.4-r0) 15:42:43 (10/26) Installing linux-pam (1.5.2-r0) 15:42:43 (11/26) Installing runuser (2.37.4-r0) 15:42:43 (12/26) Installing hexdump (2.37.4-r0) 15:42:43 (13/26) Installing uuidgen (2.37.4-r0) 15:42:43 (14/26) Installing blkid (2.37.4-r0) 15:42:43 (15/26) Installing sfdisk (2.37.4-r0) 15:42:43 (16/26) Installing mcookie (2.37.4-r0) 15:42:43 (17/26) Installing wipefs (2.37.4-r0) 15:42:43 (18/26) Installing cfdisk (2.37.4-r0) 15:42:44 (19/26) Installing flock (2.37.4-r0) 15:42:44 (20/26) Installing lsblk (2.37.4-r0) 15:42:44 (21/26) Installing libcap-ng (0.8.2-r1) 15:42:44 (22/26) Installing setpriv (2.37.4-r0) 15:42:44 (23/26) Installing logger (2.37.4-r0) 15:42:44 (24/26) Installing partx (2.37.4-r0) 15:42:44 (25/26) Installing findmnt (2.37.4-r0) 15:42:44 (26/26) Installing util-linux-dev (2.37.4-r0) 15:42:45 Executing busybox-1.34.1-r3.trigger 15:42:45 OK: 290 MiB in 109 packages 15:42:46 Removing intermediate container 544c1fb4f15c 15:42:46 ---> 0dcc982545e0 15:42:46 Step 7/17 : COPY VERSION /edgex-c-sdk/ 15:42:47 ---> 3ce77aee06b9 15:42:47 Step 8/17 : COPY src /edgex-c-sdk/src/ 15:42:47 ---> 9a56d939f8c4 15:42:47 Step 9/17 : COPY include /edgex-c-sdk/include/ 15:42:48 ---> 533150f3e625 15:42:48 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 15:42:49 ---> 685da0bf9c2c 15:42:49 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 15:42:49 ---> c6455a1334b0 15:42:49 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 15:42:50 ---> 7dcba96a9824 15:42:50 Step 13/17 : WORKDIR /edgex-c-sdk 15:42:50 ---> Running in 5a46b3ea9a78 15:42:50 Removing intermediate container 5a46b3ea9a78 15:42:50 ---> 1c97685fed7a 15:42:50 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 15:42:51 ---> Running in 606a1b94e1c2 15:42:51 Removing intermediate container 606a1b94e1c2 15:42:51 ---> c66af50dc4f2 15:42:51 Step 15/17 : LABEL arch=arm64 15:42:51 ---> Running in 10df2f4f4b2c 15:42:51 Removing intermediate container 10df2f4f4b2c 15:42:51 ---> a1c862552698 15:42:51 Step 16/17 : LABEL git_sha=e16c89daf6826d526ada798cd830d9ad1f5db0fd 15:42:51 ---> Running in 0d0cbf533ed7 15:42:52 Removing intermediate container 0d0cbf533ed7 15:42:52 ---> efb33076629d 15:42:52 Step 17/17 : LABEL version=0.0.0 15:42:52 ---> Running in 301ee2a17e9d 15:42:52 Removing intermediate container 301ee2a17e9d 15:42:52 ---> 51d6cd476334 15:42:52 [Warning] One or more build-args [ARCH MAKE] were not consumed 15:42:52 Successfully built 51d6cd476334 15:42:52 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:42:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:42:53 15:42:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 15:42:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:42:54 arm64: Pulling from edgex-lftools-log-publisher 15:42:54 448f6bf000e3: Pulling fs layer 15:42:54 f757da607395: Pulling fs layer 15:42:54 05883995daec: Pulling fs layer 15:42:54 8603b9c90790: Pulling fs layer 15:42:54 1560dd03e051: Pulling fs layer 15:42:54 27f5ce0e4adf: Pulling fs layer 15:42:54 c2d8d7efcc4b: Pulling fs layer 15:42:54 8603b9c90790: Waiting 15:42:54 1560dd03e051: Waiting 15:42:54 27f5ce0e4adf: Waiting 15:42:54 c2d8d7efcc4b: Waiting 15:42:54 f757da607395: Verifying Checksum 15:42:54 f757da607395: Download complete 15:42:54 8603b9c90790: Verifying Checksum 15:42:54 8603b9c90790: Download complete 15:42:54 1560dd03e051: Verifying Checksum 15:42:54 1560dd03e051: Download complete 15:42:54 27f5ce0e4adf: Verifying Checksum 15:42:54 27f5ce0e4adf: Download complete 15:42:54 05883995daec: Verifying Checksum 15:42:54 05883995daec: Download complete 15:42:54 448f6bf000e3: Verifying Checksum 15:42:54 448f6bf000e3: Download complete 15:42:57 c2d8d7efcc4b: Verifying Checksum 15:42:57 c2d8d7efcc4b: Download complete 15:42:58 448f6bf000e3: Pull complete 15:42:58 f757da607395: Pull complete 15:43:00 05883995daec: Pull complete 15:43:00 8603b9c90790: Pull complete 15:43:01 1560dd03e051: Pull complete 15:43:01 27f5ce0e4adf: Pull complete 15:43:16 c2d8d7efcc4b: Pull complete 15:43:16 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 15:43:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:43:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 15:43:16 prd-ubuntu18.04-docker-arm64-4c-16g-5644 does not seem to be running inside a container 15:43:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 15:43:19 $ docker top 920a748bb68fe26fc2de80c9765bf6914401897050bd43f76b7495e1f191ed29 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:43:20 ---> job-cost.sh 15:43:20 lf-activate-venv: SKIPPING 15:43:20 INFO: No Stack... 15:43:20 INFO: Retrieving Pricing Info for: v3-standard-4 15:43:20 INFO: Archiving Costs [Pipeline] sh 15:43:21 + cut -d, -f6 15:43:21 + cat /w/workspace/device-sdk-c/1/archives/cost.csv [Pipeline] lock 15:43:21 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-401-1-stack-cost] 15:43:21 Resource [jenkins-edgexfoundry-device-sdk-c-PR-401-1-stack-cost] did not exist. Created. 15:43:21 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-401-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:43:22 /w/workspace/device-sdk-c/1@tmp/durable-87966c72/script.sh: 1: /w/workspace/device-sdk-c/1@tmp/durable-87966c72/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 15:43:23 + echo total: 0.10999999940395355 [Pipeline] stash 15:43:23 Warning: overwriting stash ‘stack-cost’ 15:43:23 Stashed 1 file(s) [Pipeline] } 15:43:23 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-401-1-stack-cost] [Pipeline] // lock [Pipeline] } 15:43:23 $ docker stop --time=1 920a748bb68fe26fc2de80c9765bf6914401897050bd43f76b7495e1f191ed29 15:43:25 $ docker rm -f 920a748bb68fe26fc2de80c9765bf6914401897050bd43f76b7495e1f191ed29 [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:43:27 + '[' -d /w/workspace/edgexfoundry_device-sdk-c_PR-401/archives ']' 15:43:27 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-401/archives 15:43:27 total 8 15:43:27 drwxr-xr-x. 3 root root 34 Feb 18 15:39 . 15:43:27 drwxrwxr-x. 10 jenkins jenkins 4096 Feb 18 15:39 .. 15:43:27 drwxr-xr-x. 2 root root 6 Feb 18 15:39 cost 15:43:27 -rw-r--r--. 1 root root 83 Feb 18 15:39 cost.csv 15:43:27 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-401/archives 15:43:27 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-401/archives 15:43:27 total 8 15:43:27 drwxr-xr-x. 3 jenkins jenkins 34 Feb 18 15:39 . 15:43:27 drwxrwxr-x. 10 jenkins jenkins 4096 Feb 18 15:39 .. 15:43:27 drwxr-xr-x. 2 jenkins jenkins 6 Feb 18 15:39 cost 15:43:27 -rw-r--r--. 1 jenkins jenkins 83 Feb 18 15:39 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:43:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:43:28 ---> package-listing.sh 15:43:28 ++ facter osfamily 15:43:28 ++ tr '[:upper:]' '[:lower:]' 15:43:28 + OS_FAMILY=redhat 15:43:28 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-401 15:43:28 + START_PACKAGES=/tmp/packages_start.txt 15:43:28 + END_PACKAGES=/tmp/packages_end.txt 15:43:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:43:28 + PACKAGES=/tmp/packages_start.txt 15:43:28 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-401 ']' 15:43:28 + PACKAGES=/tmp/packages_end.txt 15:43:28 + case "${OS_FAMILY}" in 15:43:28 + rpm -qa 15:43:28 + sort 15:43:28 + '[' -f /tmp/packages_start.txt ']' 15:43:28 + '[' -f /tmp/packages_end.txt ']' 15:43:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:43:28 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-401 ']' 15:43:28 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-401/archives/ 15:43:28 + 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:43:28 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:43:29 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 15:43:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:43:29 . [Pipeline] withDockerContainer 15:43:29 prd-centos7-docker-4c-2g-5643 does not seem to be running inside a container 15:43:29 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:43:30 $ docker top 89e77a3c57b08e5c21e32ed7542d5d8441a9415ea19eff81aaad342e15935331 -eo pid,comm [Pipeline] { [Pipeline] sh 15:43:30 + touch /tmp/pre-build-complete [Pipeline] sh 15:43:30 + mkdir -p /var/log/sysstat [Pipeline] sh 15:43:31 + ls /var/log/sa-host 15:43:31 + sadf -c /var/log/sa-host/sa17 15:43:31 file_magic: OK 15:43:31 HZ: Using current value: 100 15:43:31 file_header: OK 15:43:31 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:43:31 Statistics: 15:43:31 Hnuu...uuuununununu...Hnuu...uuuununununu... 15:43:31 File successfully converted to sysstat format version 12.0.3 15:43:31 + sadf -c /var/log/sa-host/sa18 15:43:31 file_magic: OK 15:43:31 HZ: Using current value: 100 15:43:31 file_header: OK 15:43:31 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:43:31 Statistics: 15:43:31 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 15:43:31 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:43:31 provisioning config files... 15:43:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-401@tmp/config5983768832669608103tmp [Pipeline] { [Pipeline] echo 15:43:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:43:31 ---> create-netrc.sh [Pipeline] } 15:43:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:43:32 ---> python-tools-install.sh [Pipeline] echo 15:43:32 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:43:32 ---> sudo-logs.sh 15:43:32 Archiving 'sudo' log.. 15:43:32 sudo: unable to resolve host prd-centos7-docker-4c-2g-5643.novalocal: Name or service not known 15:43:32 sudo: unable to resolve host prd-centos7-docker-4c-2g-5643.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 15:43:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:43:33 ---> job-cost.sh 15:43:33 lf-activate-venv: SKIPPING 15:43:33 DEBUG: total: 0.05999999865889549 15:43:33 INFO: Retrieving Stack Cost... 15:43:33 INFO: Retrieving Pricing Info for: v3-standard-2 15:43:33 INFO: Archiving Costs [Pipeline] echo 15:43:33 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:43:34 ---> logs-deploy.sh 15:43:34 lf-activate-venv: SKIPPING 15:43:34 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-401/1 15:43:34 INFO: archiving workspace using pattern(s): 15:43:34 Archives upload complete. 15:43:35 INFO: archiving logs to Nexus