Pull request #406 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 53254fbad6a5a3f95ae33ef4fcb9a02831f4392a+9af9a7b525d77e310f1ce7683ac0f4985a68b4c5 (3ba8161bed8f01ed519d9c2ec82f52c0ad9eeb69) 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-ssh7512507306742487572.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh12649088562429740395.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 c72b16708d6eed9a08be464a432ce22db7d90667 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-406/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-406/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh15631465760596306183.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-406/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh10186519641002020686.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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-ssh14640826790091811337.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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-406/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-406/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4363221601993638627.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 b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 c72b16708d6eed9a08be464a432ce22db7d90667 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: [[ubuntu20.04-docker-8c-8g, ubuntu20.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 ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9252 in /w/workspace/edgexfoundry_device-sdk-c_PR-406 [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-406 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > 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 9af9a7b525d77e310f1ce7683ac0f4985a68b4c5 into PR head commit 53254fbad6a5a3f95ae33ef4fcb9a02831f4392a Merge succeeded, producing 53254fbad6a5a3f95ae33ef4fcb9a02831f4392a Checking out Revision 53254fbad6a5a3f95ae33ef4fcb9a02831f4392a (PR-406) > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/406/head:refs/remotes/origin/PR-406 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 53254fbad6a5a3f95ae33ef4fcb9a02831f4392a # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 9af9a7b525d77e310f1ce7683ac0f4985a68b4c5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 53254fbad6a5a3f95ae33ef4fcb9a02831f4392a # timeout=10 Commit message: "feat: add CORS support (#389)" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:43:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:43:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:43:59 ========================================================= 13:43:59 EdgeX Global Pipelines Version Info 13:43:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:43:59 ------------------- 13:43:59 stable info: 13:43:59 ------------------- 13:43:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:43:59 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 13:43:59 Message: update stable to v1.0.221 13:44:00 ------------------- 13:44:00 experimental info: 13:44:00 ------------------- 13:44:00 Commited By: **** collab-it+edgex@linuxfoundation.org 13:44:00 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 13:44:00 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:44:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 13:44:00 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 13:44:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:44:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:44:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:44:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 13:44:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 13:44:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:44:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:44:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 13:44:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:44:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:44:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:44:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 13:44:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:44:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:44:01 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:44:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-406 [Pipeline] echo 13:44:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-406 [Pipeline] echo 13:44:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-406 [Pipeline] echo 13:44:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 53254fbad6a5a3f95ae33ef4fcb9a02831f4392a [Pipeline] echo 13:44:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 53254fb [Pipeline] echo 13:44:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:44:01 provisioning config files... 13:44:01 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-406@tmp/config4802721544212897055tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:44:02 ---> docker-login.sh 13:44:02 nexus3.edgexfoundry.org:10001 13:44:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:44:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:44:02 Configure a credential helper to remove this warning. See 13:44:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:44:02 13:44:02 Login Succeeded 13:44:02 nexus3.edgexfoundry.org:10002 13:44:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:44:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:44:02 Configure a credential helper to remove this warning. See 13:44:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:44:02 13:44:02 Login Succeeded 13:44:02 nexus3.edgexfoundry.org:10003 13:44:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:44:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:44:02 Configure a credential helper to remove this warning. See 13:44:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:44:02 13:44:02 Login Succeeded 13:44:02 nexus3.edgexfoundry.org:10004 13:44:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:44:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:44:02 Configure a credential helper to remove this warning. See 13:44:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:44:02 13:44:02 Login Succeeded 13:44:02 docker.io 13:44:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:44:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:44:03 Configure a credential helper to remove this warning. See 13:44:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:44:03 13:44:03 Login Succeeded 13:44:03 ---> docker-login.sh ends [Pipeline] } 13:44:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 13:44:04 + git rev-list -1 --merges 53254fbad6a5a3f95ae33ef4fcb9a02831f4392a~1..53254fbad6a5a3f95ae33ef4fcb9a02831f4392a [Pipeline] echo 13:44:04 -----------> git rev-list -1 --merges 53254fbad6a5a3f95ae33ef4fcb9a02831f4392a~1..53254fbad6a5a3f95ae33ef4fcb9a02831f4392a 53254fbad6a5a3f95ae33ef4fcb9a02831f4392a [false] [Pipeline] sh 13:44:04 + git log --format=format:%s -1 53254fbad6a5a3f95ae33ef4fcb9a02831f4392a [Pipeline] echo 13:44:04 ========================================================= 13:44:04 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:44:04 ========================================================= 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 13:44:05 + git rev-list -1 --merges 53254fbad6a5a3f95ae33ef4fcb9a02831f4392a~1..53254fbad6a5a3f95ae33ef4fcb9a02831f4392a [Pipeline] echo 13:44:05 -----------> git rev-list -1 --merges 53254fbad6a5a3f95ae33ef4fcb9a02831f4392a~1..53254fbad6a5a3f95ae33ef4fcb9a02831f4392a 53254fbad6a5a3f95ae33ef4fcb9a02831f4392a [false] [Pipeline] sh 13:44:05 + git log --format=format:%s -1 53254fbad6a5a3f95ae33ef4fcb9a02831f4392a [Pipeline] echo 13:44:05 ========================================================= 13:44:05 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:44:05 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 13:44:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:44:06 + grep -v github /etc/ssh/ssh_known_hosts 13:44:06 + [ -e /tmp/ssh_known_hosts ] 13:44:06 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:44:06 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:44:06 + sudo tee -a /etc/ssh/ssh_known_hosts 13:44:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 13:44:06 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:44:06 13:44:06 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 13:44:07 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:44:07 latest: Pulling from edgex-devops/git-semver 13:44:07 a0d0a0d46f8b: Pulling fs layer 13:44:07 3e5f54012d9b: Pulling fs layer 13:44:07 4c7163046ea9: Pulling fs layer 13:44:07 0c2d73faf560: Pulling fs layer 13:44:07 0c2d73faf560: Waiting 13:44:07 3e5f54012d9b: Verifying Checksum 13:44:07 3e5f54012d9b: Download complete 13:44:07 a0d0a0d46f8b: Download complete 13:44:07 0c2d73faf560: Download complete 13:44:07 4c7163046ea9: Download complete 13:44:07 a0d0a0d46f8b: Pull complete 13:44:07 3e5f54012d9b: Pull complete 13:44:07 4c7163046ea9: Pull complete 13:44:07 0c2d73faf560: Pull complete 13:44:07 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 13:44:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:44:07 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 13:44:08 prd-ubuntu20.04-docker-8c-8g-9252 does not seem to be running inside a container 13:44:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-406 -v /w/workspace/edgexfoundry_device-sdk-c_PR-406:/w/workspace/edgexfoundry_device-sdk-c_PR-406:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-406@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-406@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 13:44:08 $ docker top 74f79c8129764a248d5386d1644df40b62918119b3fc04027e0fe7c9693bdfe3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:44:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:44:09 [ssh-agent] Looking for ssh-agent implementation... 13:44:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:44:09 $ docker exec 74f79c8129764a248d5386d1644df40b62918119b3fc04027e0fe7c9693bdfe3 ssh-agent 13:44:09 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDcaBfb/agent.13 13:44:09 SSH_AGENT_PID=19 13:44:09 Running ssh-add (command line suppressed) 13:44:09 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-406@tmp/private_key_4364481265390701593.key (/w/workspace/edgexfoundry_device-sdk-c_PR-406@tmp/private_key_4364481265390701593.key) 13:44:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:44:09 + git tag --points-at HEAD [Pipeline] } 13:44:09 $ docker exec --env ******** --env ******** 74f79c8129764a248d5386d1644df40b62918119b3fc04027e0fe7c9693bdfe3 ssh-agent -k 13:44:09 unset SSH_AUTH_SOCK; 13:44:09 unset SSH_AGENT_PID; 13:44:09 echo Agent pid 19 killed; 13:44:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:44:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:44:10 [ssh-agent] Looking for ssh-agent implementation... 13:44:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:44:10 $ docker exec 74f79c8129764a248d5386d1644df40b62918119b3fc04027e0fe7c9693bdfe3 ssh-agent 13:44:10 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNoefIp/agent.53 13:44:10 SSH_AGENT_PID=59 13:44:10 Running ssh-add (command line suppressed) 13:44:10 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-406@tmp/private_key_7146479454543962834.key (/w/workspace/edgexfoundry_device-sdk-c_PR-406@tmp/private_key_7146479454543962834.key) 13:44:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:44:10 + git semver init 13:44:10 # -> Open(): unable to determine branch for HEAD 13:44:10 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-406/.git 13:44:10 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-406 13:44:10 # $SEMVER_REMOTE_NAME = origin 13:44:10 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 13:44:10 # $SEMVER_USER_NAME = edgex-jenkins 13:44:10 # $SEMVER_BRANCH = PR-406 13:44:10 # $SEMVER_TEMP = /tmp/semver-917538055 13:44:10 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 13:44:11 # '/tmp/semver-917538055' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-406/.semver' 13:44:11 # -> Force: false 13:44:11 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-406/.semver [Pipeline] } 13:44:11 $ docker exec --env ******** --env ******** 74f79c8129764a248d5386d1644df40b62918119b3fc04027e0fe7c9693bdfe3 ssh-agent -k 13:44:11 unset SSH_AUTH_SOCK; 13:44:11 unset SSH_AGENT_PID; 13:44:11 echo Agent pid 59 killed; 13:44:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:44:12 + git semver [Pipeline] } 13:44:12 $ docker stop --time=1 74f79c8129764a248d5386d1644df40b62918119b3fc04027e0fe7c9693bdfe3 13:44:13 $ docker rm -f 74f79c8129764a248d5386d1644df40b62918119b3fc04027e0fe7c9693bdfe3 [Pipeline] // withDockerContainer [Pipeline] sh 13:44:14 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:44:14 Stashed 1 file(s) [Pipeline] echo 13:44:14 [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 13:44:15 provisioning config files... 13:44:15 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-406@tmp/config126387006594299520tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:44:15 ---> docker-login.sh 13:44:15 nexus3.edgexfoundry.org:10001 13:44:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:44:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:44:15 Configure a credential helper to remove this warning. See 13:44:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:44:15 13:44:15 Login Succeeded 13:44:15 nexus3.edgexfoundry.org:10002 13:44:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:44:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:44:15 Configure a credential helper to remove this warning. See 13:44:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:44:15 13:44:15 Login Succeeded 13:44:15 nexus3.edgexfoundry.org:10003 13:44:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:44:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:44:15 Configure a credential helper to remove this warning. See 13:44:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:44:15 13:44:15 Login Succeeded 13:44:15 nexus3.edgexfoundry.org:10004 13:44:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:44:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:44:16 Configure a credential helper to remove this warning. See 13:44:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:44:16 13:44:16 Login Succeeded 13:44:16 docker.io 13:44:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:44:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:44:16 Configure a credential helper to remove this warning. See 13:44:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:44:16 13:44:16 Login Succeeded 13:44:16 ---> docker-login.sh ends [Pipeline] } 13:44:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:44:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:44:16 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 13:44:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:44:16 ========================================================= 13:44:16 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 13:44:16 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 13:44:16 + 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 . 13:44:16 Sending build context to Docker daemon 4.566MB 13:44:16 Step 1/22 : ARG BASE=alpine:3.15 13:44:16 Step 2/22 : FROM ${BASE} as builder 13:44:16 latest: Pulling from edgex-devops/edgex-gcc-base 13:44:16 59bf1c3509f3: Pulling fs layer 13:44:16 c743a93c8381: Pulling fs layer 13:44:16 a2ad9f71ba65: Pulling fs layer 13:44:17 c743a93c8381: Verifying Checksum 13:44:17 59bf1c3509f3: Verifying Checksum 13:44:17 59bf1c3509f3: Download complete 13:44:17 59bf1c3509f3: Pull complete 13:44:17 c743a93c8381: Pull complete 13:44:17 a2ad9f71ba65: Verifying Checksum 13:44:17 a2ad9f71ba65: Download complete 13:44:21 a2ad9f71ba65: Pull complete 13:44:21 Digest: sha256:1add200577aa6f30a3653c04583074abbdfe99a16f60a8a3474aeff88a149476 13:44:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 13:44:21 ---> c9e13ccc37c5 13:44:21 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 13:44:21 ---> Running in 99a814385bcb 13:44:21 Connecting to iotech.jfrog.io (52.30.156.103:443) 13:44:22 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 13:44:22 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 13:44:22 '/etc/apk/keys/alpine.dev.rsa.pub' saved 13:44:22 Removing intermediate container 99a814385bcb 13:44:22 ---> 698e807f7cc6 13:44:22 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 13:44:22 ---> Running in 2b69b3d84a74 13:44:23 Removing intermediate container 2b69b3d84a74 13:44:23 ---> 04a99ed649d5 13:44:23 Step 5/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev 13:44:23 ---> Running in 0881fee825d3 13:44:23 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 13:44:24 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 13:44:24 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz 13:44:25 WARNING: This apk-tools is OLD! Some packages might not function properly. 13:44:25 (1/31) Installing hiredis (1.0.2-r0) 13:44:25 (2/31) Installing hiredis-dev (1.0.2-r0) 13:44:25 (3/31) Installing libcbor (0.8.0-r0) 13:44:25 (4/31) Installing libcbor-dev (0.8.0-r0) 13:44:25 (5/31) Installing ncurses-dev (6.3_p20211120-r0) 13:44:25 (6/31) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 13:44:26 (7/31) Installing util-linux (2.37.4-r0) 13:44:26 (8/31) Installing libblkid (2.37.4-r0) 13:44:26 (9/31) Installing libeconf (0.4.2-r0) 13:44:26 (10/31) Installing libuuid (2.37.4-r0) 13:44:26 (11/31) Installing libfdisk (2.37.4-r0) 13:44:26 (12/31) Installing libmount (2.37.4-r0) 13:44:26 (13/31) Installing libsmartcols (2.37.4-r0) 13:44:27 (14/31) Installing util-linux-misc (2.37.4-r0) 13:44:27 (15/31) Installing linux-pam (1.5.2-r0) 13:44:27 (16/31) Installing runuser (2.37.4-r0) 13:44:27 (17/31) Installing hexdump (2.37.4-r0) 13:44:27 (18/31) Installing uuidgen (2.37.4-r0) 13:44:27 (19/31) Installing blkid (2.37.4-r0) 13:44:27 (20/31) Installing sfdisk (2.37.4-r0) 13:44:27 (21/31) Installing mcookie (2.37.4-r0) 13:44:27 (22/31) Installing wipefs (2.37.4-r0) 13:44:27 (23/31) Installing cfdisk (2.37.4-r0) 13:44:28 (24/31) Installing flock (2.37.4-r0) 13:44:28 (25/31) Installing lsblk (2.37.4-r0) 13:44:28 (26/31) Installing libcap-ng (0.8.2-r1) 13:44:28 (27/31) Installing setpriv (2.37.4-r0) 13:44:28 (28/31) Installing logger (2.37.4-r0) 13:44:28 (29/31) Installing partx (2.37.4-r0) 13:44:28 (30/31) Installing findmnt (2.37.4-r0) 13:44:28 (31/31) Installing util-linux-dev (2.37.4-r0) 13:44:28 Executing busybox-1.34.1-r3.trigger 13:44:28 OK: 293 MiB in 108 packages 13:44:29 Removing intermediate container 0881fee825d3 13:44:29 ---> bccc848cb357 13:44:29 Step 6/22 : RUN mkdir /tmp/sdk 13:44:29 ---> Running in f468f63adfee 13:44:29 Still waiting to schedule task 13:44:29 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 13:44:30 Removing intermediate container f468f63adfee 13:44:30 ---> 64312bba34e2 13:44:30 Step 7/22 : COPY VERSION /tmp/sdk 13:44:30 ---> 82a07228026a 13:44:30 Step 8/22 : COPY src /tmp/sdk/src 13:44:30 ---> 8f32ae0d4333 13:44:30 Step 9/22 : COPY include /tmp/sdk/include 13:44:30 ---> b80f9054fa8e 13:44:30 Step 10/22 : COPY scripts /tmp/sdk/scripts 13:44:31 ---> 3ce18a7a3b77 13:44:31 Step 11/22 : COPY LICENSE /tmp/sdk 13:44:31 ---> a0824b45c25b 13:44:31 Step 12/22 : COPY Attribution.txt /tmp/sdk 13:44:31 ---> 49c0d13cefe7 13:44:31 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 13:44:31 ---> Running in 1d4cf6221ee7 13:44:31 + CPPCHECK=false 13:44:31 + DOCGEN=false 13:44:31 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 13:44:31 + TOMLVER=SDK-0.2 13:44:31 + CUTILVER=1.2.2 13:44:31 + '[' 0 -gt 0 ] 13:44:31 + readlink -f ./scripts/build.sh 13:44:31 + dirname /tmp/sdk/scripts/build.sh 13:44:31 + dirname /tmp/sdk/scripts 13:44:31 + ROOT=/tmp/sdk 13:44:31 + cd /tmp/sdk 13:44:31 + '[' '!' -d deps ] 13:44:31 + mkdir deps 13:44:31 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 13:44:31 + tar -C deps -z -x -f - 13:44:31 Connecting to github.com (140.82.113.3:443) 13:44:31 Connecting to codeload.github.com (140.82.113.10:443) 13:44:32 writing to stdout 13:44:32 - 100% |********************************| 16451 0:00:00 ETA 13:44:32 written to stdout 13:44:32 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 13:44:32 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 13:44:32 + tar -C deps -z -x -f - 13:44:32 Connecting to github.com (140.82.113.3:443) 13:44:32 Connecting to codeload.github.com (140.82.113.10:443) 13:44:32 writing to stdout 13:44:32 - 100% |********************************| 189k 0:00:00 ETA 13:44:32 written to stdout 13:44:32 + mkdir -p src/c/iot 13:44:32 + 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 13:44:32 + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot 13:44:32 + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot 13:44:32 + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot 13:44:32 + mkdir -p include/iot 13:44:32 + 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 13:44:32 + mkdir -p include/iot/os 13:44:32 + 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 13:44:32 + mkdir -p /tmp/sdk/build/release 13:44:32 + cd /tmp/sdk/build/release 13:44:32 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 13:44:32 -- The C compiler identification is GNU 10.3.1 13:44:32 -- Detecting C compiler ABI info 13:44:32 -- Detecting C compiler ABI info - done 13:44:32 -- Check for working C compiler: /usr/bin/cc - skipped 13:44:32 -- Detecting C compile features 13:44:32 -- Detecting C compile features - done 13:44:32 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 13:44:32 -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") 13:44:32 -- Found LIBYAML: /usr/lib/libyaml.so 13:44:32 -- Found LIBUUID: /usr/lib/libuuid.so 13:44:32 -- Found LIBCBOR: /usr/lib/libcbor.so 13:44:32 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 13:44:32 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 13:44:32 -- C SDK 0.0.0 for Linux 13:44:32 -- Performing Test CSDK_HAVE_ATOMIC 13:44:32 -- Performing Test CSDK_HAVE_ATOMIC - Success 13:44:32 -- Found Curses: /usr/lib/libcurses.so 13:44:32 -- Configuring done 13:44:32 -- Generating done 13:44:32 -- Build files have been written to: /tmp/sdk/build/release 13:44:32 + make all package 13:44:32 + tee release.log 13:44:32 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 13:44:33 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 13:44:33 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 13:44:33 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 13:44:33 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 13:44:33 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 13:44:33 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 13:44:33 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 13:44:34 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 13:44:34 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 13:44:34 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 13:44:34 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 13:44:35 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 13:44:35 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 13:44:35 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 13:44:35 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 13:44:35 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 13:44:35 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 13:44:35 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 13:44:36 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 13:44:36 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 13:44:36 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 13:44:36 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 13:44:36 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 13:44:36 275 | const iot_component_factory_t * factory; 13:44:36 | ^~~~~~~ 13:44:36 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 13:44:37 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 13:44:37 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 13:44:37 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 13:44:37 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 13:44:37 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 13:44:37 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 13:44:37 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 13:44:37 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 13:44:38 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 13:44:38 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 13:44:38 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 13:44:38 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 13:44:38 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 13:44:38 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 13:44:38 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 13:44:39 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 13:44:39 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 13:44:39 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 13:44:40 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 13:44:40 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 13:44:40 /tmp/sdk/src/c/rest-server.c:394:67: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] 13:44:40 394 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 13:44:40 | ^~~~~~~~~~~~~ 13:44:40 | | 13:44:40 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 13:44:40 In file included from /tmp/sdk/src/c/rest-server.c:21: 13:44:40 /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 *)' 13:44:40 2784 | MHD_KeyValueIterator iterator, 13:44:40 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 13:44:40 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 13:44:40 /tmp/sdk/src/c/rest-server.c:501:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 13:44:40 501 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 13:44:40 | ^~~~~~~~~~~~ 13:44:40 | | 13:44:40 | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} 13:44:40 In file included from /tmp/sdk/src/c/rest-server.c:21: 13:44:40 /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 **)'} 13:44:40 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 13:44:40 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 13:44:40 /tmp/sdk/src/c/rest-server.c:512:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 13:44:40 512 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 13:44:40 | ^~~~~~~~~~~~ 13:44:40 | | 13:44:40 | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} 13:44:40 In file included from /tmp/sdk/src/c/rest-server.c:21: 13:44:40 /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 **)'} 13:44:40 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 13:44:40 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 13:44:40 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 13:44:40 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 13:44:40 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 13:44:41 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 13:44:41 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 13:44:41 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 13:44:42 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 13:44:42 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 13:44:42 [ 76%] Linking C shared library libcsdk.so 13:44:42 [ 76%] Built target csdk 13:44:42 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 13:44:42 [ 79%] Linking C executable template 13:44:42 [ 79%] Built target template 13:44:42 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 13:44:42 [ 82%] Linking C executable device-counter 13:44:42 [ 82%] Built target device-counter 13:44:42 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 13:44:43 [ 85%] Linking C executable device-random 13:44:43 [ 85%] Built target device-random 13:44:43 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 13:44:43 [ 88%] Linking C executable device-gyro 13:44:43 [ 88%] Built target device-gyro 13:44:43 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 13:44:43 [ 91%] Linking C executable device-bitfields 13:44:43 [ 91%] Built target device-bitfields 13:44:43 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 13:44:43 [ 94%] Linking C executable template-discovery 13:44:43 [ 94%] Built target template-discovery 13:44:43 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 13:44:44 [ 97%] Linking C executable device-file 13:44:44 [ 97%] Built target device-file 13:44:44 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 13:44:44 [100%] Linking C executable device-terminal 13:44:44 [100%] Built target device-terminal 13:44:44 Run CPack packaging tool... 13:44:44 CPack: Create package using TGZ 13:44:44 CPack: Install projects 13:44:44 CPack: - Run preinstall target for: Csdk 13:44:44 CPack: - Install project: Csdk [] 13:44:44 CPack: Create package 13:44:44 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 13:44:44 + '[' false '=' true ] 13:44:44 + '[' false '=' true ] 13:44:44 + mkdir -p /tmp/sdk/build/debug 13:44:44 + cd /tmp/sdk/build/debug 13:44:44 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 13:44:44 -- The C compiler identification is GNU 10.3.1 13:44:44 -- Detecting C compiler ABI info 13:44:44 -- Detecting C compiler ABI info - done 13:44:44 -- Check for working C compiler: /usr/bin/cc - skipped 13:44:44 -- Detecting C compile features 13:44:44 -- Detecting C compile features - done 13:44:44 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 13:44:44 -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") 13:44:44 -- Found LIBYAML: /usr/lib/libyaml.so 13:44:44 -- Found LIBUUID: /usr/lib/libuuid.so 13:44:44 -- Found LIBCBOR: /usr/lib/libcbor.so 13:44:44 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 13:44:44 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 13:44:44 -- C SDK 0.0.0 for Linux 13:44:44 -- Performing Test CSDK_HAVE_ATOMIC 13:44:45 -- Performing Test CSDK_HAVE_ATOMIC - Success 13:44:45 -- Found Curses: /usr/lib/libcurses.so 13:44:45 -- Configuring done 13:44:45 -- Generating done 13:44:45 -- Build files have been written to: /tmp/sdk/build/debug 13:44:45 + make 13:44:45 + tee debug.log 13:44:45 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 13:44:45 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 13:44:45 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 13:44:45 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 13:44:45 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 13:44:45 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 13:44:45 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 13:44:45 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 13:44:45 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 13:44:45 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 13:44:45 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 13:44:46 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 13:44:46 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 13:44:46 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 13:44:46 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 13:44:46 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 13:44:46 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 13:44:46 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 13:44:46 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 13:44:46 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 13:44:46 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 13:44:46 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 13:44:46 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 13:44:46 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 13:44:46 275 | const iot_component_factory_t * factory; 13:44:46 | ^~~~~~~ 13:44:46 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 13:44:47 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 13:44:47 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 13:44:47 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 13:44:47 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 13:44:47 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 13:44:47 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 13:44:47 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 13:44:47 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 13:44:47 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 13:44:47 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 13:44:47 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 13:44:47 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 13:44:47 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 13:44:47 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 13:44:47 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 13:44:48 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 13:44:48 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 13:44:48 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 13:44:48 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 13:44:48 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 13:44:48 /tmp/sdk/src/c/rest-server.c:394:67: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] 13:44:48 394 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 13:44:48 | ^~~~~~~~~~~~~ 13:44:48 | | 13:44:48 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 13:44:48 In file included from /tmp/sdk/src/c/rest-server.c:21: 13:44:48 /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 *)' 13:44:48 2784 | MHD_KeyValueIterator iterator, 13:44:48 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 13:44:48 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 13:44:48 /tmp/sdk/src/c/rest-server.c:501:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 13:44:48 501 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 13:44:48 | ^~~~~~~~~~~~ 13:44:48 | | 13:44:48 | 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 **)} 13:44:48 In file included from /tmp/sdk/src/c/rest-server.c:21: 13:44:48 /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 **)'} 13:44:48 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 13:44:48 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 13:44:48 /tmp/sdk/src/c/rest-server.c:512:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 13:44:48 512 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 13:44:48 | ^~~~~~~~~~~~ 13:44:48 | | 13:44:48 | 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 **)} 13:44:48 In file included from /tmp/sdk/src/c/rest-server.c:21: 13:44:48 /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 **)'} 13:44:48 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 13:44:48 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 13:44:48 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 13:44:48 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 13:44:48 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 13:44:48 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 13:44:48 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 13:44:48 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 13:44:49 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 13:44:49 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 13:44:49 [ 76%] Linking C shared library libcsdk.so 13:44:49 [ 76%] Built target csdk 13:44:49 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 13:44:49 [ 79%] Linking C executable template 13:44:49 [ 79%] Built target template 13:44:49 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 13:44:49 [ 82%] Linking C executable device-counter 13:44:49 [ 82%] Built target device-counter 13:44:49 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 13:44:49 [ 85%] Linking C executable device-random 13:44:50 [ 85%] Built target device-random 13:44:50 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 13:44:50 [ 88%] Linking C executable device-gyro 13:44:50 [ 88%] Built target device-gyro 13:44:50 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 13:44:50 [ 91%] Linking C executable device-bitfields 13:44:50 [ 91%] Built target device-bitfields 13:44:50 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 13:44:50 [ 94%] Linking C executable template-discovery 13:44:50 [ 94%] Built target template-discovery 13:44:50 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 13:44:50 [ 97%] Linking C executable device-file 13:44:50 [ 97%] Built target device-file 13:44:50 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 13:44:50 [100%] Linking C executable device-terminal 13:44:50 [100%] Built target device-terminal 13:44:50 make: Entering directory '/tmp/sdk/build/release' 13:44:50 make[1]: Entering directory '/tmp/sdk/build/release' 13:44:50 make[2]: Entering directory '/tmp/sdk/build/release' 13:44:50 make[2]: Leaving directory '/tmp/sdk/build/release' 13:44:50 [ 76%] Built target csdk 13:44:50 make[2]: Entering directory '/tmp/sdk/build/release' 13:44:50 make[2]: Leaving directory '/tmp/sdk/build/release' 13:44:50 [ 79%] Built target template 13:44:50 make[2]: Entering directory '/tmp/sdk/build/release' 13:44:50 make[2]: Leaving directory '/tmp/sdk/build/release' 13:44:50 [ 82%] Built target device-counter 13:44:50 make[2]: Entering directory '/tmp/sdk/build/release' 13:44:50 make[2]: Leaving directory '/tmp/sdk/build/release' 13:44:50 [ 85%] Built target device-random 13:44:50 make[2]: Entering directory '/tmp/sdk/build/release' 13:44:50 make[2]: Leaving directory '/tmp/sdk/build/release' 13:44:50 [ 88%] Built target device-gyro 13:44:50 make[2]: Entering directory '/tmp/sdk/build/release' 13:44:50 make[2]: Leaving directory '/tmp/sdk/build/release' 13:44:50 [ 91%] Built target device-bitfields 13:44:50 make[2]: Entering directory '/tmp/sdk/build/release' 13:44:50 make[2]: Leaving directory '/tmp/sdk/build/release' 13:44:50 [ 94%] Built target template-discovery 13:44:50 make[2]: Entering directory '/tmp/sdk/build/release' 13:44:50 make[2]: Leaving directory '/tmp/sdk/build/release' 13:44:51 [ 97%] Built target device-file 13:44:51 make[2]: Entering directory '/tmp/sdk/build/release' 13:44:51 make[2]: Leaving directory '/tmp/sdk/build/release' 13:44:51 [100%] Built target device-terminal 13:44:51 make[1]: Leaving directory '/tmp/sdk/build/release' 13:44:51 Install the project... 13:44:51 -- Install configuration: "Release" 13:44:51 -- Installing: /usr/local/lib/libcsdk.so 13:44:51 -- Installing: /usr/local/include 13:44:51 -- Installing: /usr/local/include/edgex 13:44:51 -- Installing: /usr/local/include/edgex/profiles.h 13:44:51 -- Installing: /usr/local/include/edgex/edgex.h 13:44:51 -- Installing: /usr/local/include/edgex/rest-server.h 13:44:51 -- Installing: /usr/local/include/edgex/edgex-base.h 13:44:51 -- Installing: /usr/local/include/edgex/devices.h 13:44:51 -- Installing: /usr/local/include/edgex/csdk-defs.h 13:44:51 -- Installing: /usr/local/include/devsdk 13:44:51 -- Installing: /usr/local/include/devsdk/devsdk.h 13:44:51 -- Installing: /usr/local/include/devsdk/devsdk-base.h 13:44:51 -- Installing: /usr/local/include/iot 13:44:51 -- Installing: /usr/local/include/iot/thread.h 13:44:51 -- Installing: /usr/local/include/iot/hash.h 13:44:51 -- Installing: /usr/local/include/iot/typecode.h 13:44:51 -- Installing: /usr/local/include/iot/threadpool.h 13:44:51 -- Installing: /usr/local/include/iot/uuid.h 13:44:51 -- Installing: /usr/local/include/iot/logger.h 13:44:51 -- Installing: /usr/local/include/iot/config.h 13:44:51 -- Installing: /usr/local/include/iot/os.h 13:44:51 -- Installing: /usr/local/include/iot/container.h 13:44:51 -- Installing: /usr/local/include/iot/scheduler.h 13:44:51 -- Installing: /usr/local/include/iot/defs.h 13:44:51 -- Installing: /usr/local/include/iot/iot.h 13:44:51 -- Installing: /usr/local/include/iot/component.h 13:44:51 -- Installing: /usr/local/include/iot/os 13:44:51 -- Installing: /usr/local/include/iot/os/linux.h 13:44:51 -- Installing: /usr/local/include/iot/os/zephyr.h 13:44:51 -- Installing: /usr/local/include/iot/os/macos.h 13:44:51 -- Installing: /usr/local/include/iot/base64.h 13:44:51 -- Installing: /usr/local/include/iot/time.h 13:44:51 -- Installing: /usr/local/include/iot/data.h 13:44:51 -- Installing: /usr/local/include/iot/json.h 13:44:51 -- Installing: /usr/local/share/device-sdk-c/LICENSE 13:44:51 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 13:44:51 make: Leaving directory '/tmp/sdk/build/release' 13:44:51 Removing intermediate container 1d4cf6221ee7 13:44:51 ---> 72baa199c2e8 13:44:51 Step 14/22 : FROM ${BASE} 13:44:51 ---> c9e13ccc37c5 13:44:51 Step 15/22 : LABEL maintainer="IOTech " 13:44:51 ---> Running in 2f1fbd798a8b 13:44:51 Removing intermediate container 2f1fbd798a8b 13:44:51 ---> de1236bac280 13:44:51 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 13:44:51 ---> Running in d862b58f4463 13:44:52 Connecting to iotech.jfrog.io (52.18.159.91:443) 13:44:52 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 13:44:52 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 13:44:52 '/etc/apk/keys/alpine.dev.rsa.pub' saved 13:44:53 Removing intermediate container d862b58f4463 13:44:53 ---> 14fdee49da1b 13:44:53 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 13:44:53 ---> Running in 0cff0b67afc4 13:44:53 Removing intermediate container 0cff0b67afc4 13:44:53 ---> 16ad18ebc4ae 13:44:53 Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 hiredis-dev 13:44:53 ---> Running in e6006464ed2a 13:44:53 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 13:44:54 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 13:44:54 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz 13:44:55 WARNING: This apk-tools is OLD! Some packages might not function properly. 13:44:55 (1/6) Installing curl (7.80.0-r0) 13:44:55 (2/6) Installing hiredis (1.0.2-r0) 13:44:55 (3/6) Installing hiredis-dev (1.0.2-r0) 13:44:55 (4/6) Installing libcbor (0.8.0-r0) 13:44:55 (5/6) Installing libuuid (2.37.4-r0) 13:44:55 (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 13:44:56 Executing busybox-1.34.1-r3.trigger 13:44:56 OK: 283 MiB in 83 packages 13:44:57 Removing intermediate container e6006464ed2a 13:44:57 ---> 0c52ee7ed1f5 13:44:57 Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 13:44:57 ---> 090b6d3425cb 13:44:57 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 13:44:57 ---> 43e2278f4581 13:44:57 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 13:44:57 ---> 6b802faf359f 13:44:57 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 13:44:57 ---> a15a5adb3d58 13:44:57 Successfully built a15a5adb3d58 13:44:57 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 13:44:58 + docker inspect -f . ci-base-image-x86_64 13:44:58 . [Pipeline] withDockerContainer 13:44:58 prd-ubuntu20.04-docker-8c-8g-9252 does not seem to be running inside a container 13:44:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-406 -v /w/workspace/edgexfoundry_device-sdk-c_PR-406:/w/workspace/edgexfoundry_device-sdk-c_PR-406:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-406@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-406@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-x86_64 cat 13:44:59 $ docker top e34969bb8fc86e1378ae16e87a75159bdb416b38eb76374fc59de1b6e410d49b -eo pid,comm [Pipeline] { [Pipeline] sh 13:44:59 + make test 13:44:59 echo "make test" 13:44:59 make test [Pipeline] } 13:44:59 $ docker stop --time=1 e34969bb8fc86e1378ae16e87a75159bdb416b38eb76374fc59de1b6e410d49b 13:45:00 $ docker rm -f e34969bb8fc86e1378ae16e87a75159bdb416b38eb76374fc59de1b6e410d49b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:45:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:45:02 + ls -al . 13:45:02 total 208 13:45:02 drwxrwxr-x 9 jenkins jenkins 4096 Mar 28 13:44 . 13:45:02 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 13:43 .. 13:45:02 drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 13:43 .git 13:45:02 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 13:43 .github 13:45:02 -rw-rw-r-- 1 jenkins jenkins 176 Mar 28 13:43 .gitignore 13:45:02 drwx------ 3 jenkins jenkins 4096 Mar 28 13:44 .semver 13:45:02 -rw-rw-r-- 1 jenkins jenkins 3104 Mar 28 13:43 Attribution.txt 13:45:02 -rw-rw-r-- 1 jenkins jenkins 8321 Mar 28 13:43 CHANGES 13:45:02 -rw-rw-r-- 1 jenkins jenkins 108574 Mar 28 13:43 Doxyfile 13:45:02 -rw-rw-r-- 1 jenkins jenkins 677 Mar 28 13:43 GOVERNANCE.md 13:45:02 -rw-rw-r-- 1 jenkins jenkins 784 Mar 28 13:43 Jenkinsfile 13:45:02 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 28 13:43 LICENSE 13:45:02 -rw-rw-r-- 1 jenkins jenkins 444 Mar 28 13:43 Makefile 13:45:02 -rw-rw-r-- 1 jenkins jenkins 618 Mar 28 13:43 OWNERS.md 13:45:02 -rw-rw-r-- 1 jenkins jenkins 4086 Mar 28 13:43 README.md 13:45:02 -rw-rw-r-- 1 jenkins jenkins 7422 Mar 28 13:43 README.v2.md 13:45:02 -rw-rw-r-- 1 jenkins jenkins 5 Mar 28 13:44 VERSION 13:45:02 drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 13:43 docs 13:45:02 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 13:43 include 13:45:02 drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 13:43 scripts 13:45:02 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 13:43 src [Pipeline] isUnix [Pipeline] sh 13:45:02 + 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=53254fbad6a5a3f95ae33ef4fcb9a02831f4392a --label arch=amd64 --label version=0.0.0 . 13:45:02 Sending build context to Docker daemon 4.566MB 13:45:02 Step 1/17 : ARG BASE=alpine:3.15 13:45:02 Step 2/17 : FROM ${BASE} 13:45:02 ---> a15a5adb3d58 13:45:02 Step 3/17 : LABEL maintainer="IOTech " 13:45:02 ---> Running in a6e32f226531 13:45:03 Removing intermediate container a6e32f226531 13:45:03 ---> f84d5423e961 13:45:03 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 13:45:03 ---> Running in 93d75bcf0241 13:45:03 Connecting to iotech.jfrog.io (52.18.159.91:443) 13:45:03 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 13:45:03 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 13:45:03 '/etc/apk/keys/alpine.dev.rsa.pub' saved 13:45:03 Removing intermediate container 93d75bcf0241 13:45:03 ---> c98d2209c21b 13:45:03 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 13:45:04 ---> Running in 80dac94f2c75 13:45:04 Removing intermediate container 80dac94f2c75 13:45:04 ---> b0febf5812fc 13:45:04 Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev && mkdir -p /edgex-c-sdk/build 13:45:04 ---> Running in 68ef62b3b3e5 13:45:04 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 13:45:05 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 13:45:06 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz 13:45:06 WARNING: This apk-tools is OLD! Some packages might not function properly. 13:45:06 (1/26) Installing libcbor-dev (0.8.0-r0) 13:45:06 (2/26) Installing ncurses-dev (6.3_p20211120-r0) 13:45:06 (3/26) Installing util-linux (2.37.4-r0) 13:45:06 (4/26) Installing libblkid (2.37.4-r0) 13:45:06 (5/26) Installing libeconf (0.4.2-r0) 13:45:06 (6/26) Installing libfdisk (2.37.4-r0) 13:45:07 (7/26) Installing libmount (2.37.4-r0) 13:45:07 (8/26) Installing libsmartcols (2.37.4-r0) 13:45:07 (9/26) Installing util-linux-misc (2.37.4-r0) 13:45:07 (10/26) Installing linux-pam (1.5.2-r0) 13:45:07 (11/26) Installing runuser (2.37.4-r0) 13:45:07 (12/26) Installing hexdump (2.37.4-r0) 13:45:07 (13/26) Installing uuidgen (2.37.4-r0) 13:45:07 (14/26) Installing blkid (2.37.4-r0) 13:45:07 (15/26) Installing sfdisk (2.37.4-r0) 13:45:07 (16/26) Installing mcookie (2.37.4-r0) 13:45:07 (17/26) Installing wipefs (2.37.4-r0) 13:45:08 (18/26) Installing cfdisk (2.37.4-r0) 13:45:08 (19/26) Installing flock (2.37.4-r0) 13:45:08 (20/26) Installing lsblk (2.37.4-r0) 13:45:08 (21/26) Installing libcap-ng (0.8.2-r1) 13:45:08 (22/26) Installing setpriv (2.37.4-r0) 13:45:08 (23/26) Installing logger (2.37.4-r0) 13:45:08 (24/26) Installing partx (2.37.4-r0) 13:45:08 (25/26) Installing findmnt (2.37.4-r0) 13:45:08 (26/26) Installing util-linux-dev (2.37.4-r0) 13:45:09 Executing busybox-1.34.1-r3.trigger 13:45:09 OK: 294 MiB in 109 packages 13:45:09 Removing intermediate container 68ef62b3b3e5 13:45:09 ---> 36ffad3bbb02 13:45:09 Step 7/17 : COPY VERSION /edgex-c-sdk/ 13:45:09 ---> 6d14cebe6364 13:45:09 Step 8/17 : COPY src /edgex-c-sdk/src/ 13:45:10 ---> b0ef19d708fd 13:45:10 Step 9/17 : COPY include /edgex-c-sdk/include/ 13:45:10 ---> 03da217e43a3 13:45:10 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 13:45:10 ---> 708f704b1355 13:45:10 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 13:45:10 ---> df7a8461d5ab 13:45:10 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 13:45:10 ---> 62607791e7cb 13:45:10 Step 13/17 : WORKDIR /edgex-c-sdk 13:45:10 ---> Running in 99a52976c6a5 13:45:10 Removing intermediate container 99a52976c6a5 13:45:10 ---> 3c8f9a8edd5f 13:45:10 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 13:45:10 ---> Running in b4adced22f94 13:45:10 Removing intermediate container b4adced22f94 13:45:10 ---> 51f8ab8b1ab9 13:45:10 Step 15/17 : LABEL arch=amd64 13:45:10 ---> Running in 4cb86829cc02 13:45:10 Removing intermediate container 4cb86829cc02 13:45:10 ---> 14472137e8f7 13:45:10 Step 16/17 : LABEL git_sha=53254fbad6a5a3f95ae33ef4fcb9a02831f4392a 13:45:11 ---> Running in 8ed7bd745432 13:45:11 Removing intermediate container 8ed7bd745432 13:45:11 ---> a2f18f89868f 13:45:11 Step 17/17 : LABEL version=0.0.0 13:45:11 ---> Running in 018a476e0175 13:45:11 Removing intermediate container 018a476e0175 13:45:11 ---> 6969235b861c 13:45:11 [Warning] One or more build-args [ARCH MAKE] were not consumed 13:45:11 Successfully built 6969235b861c 13:45:11 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 13:45:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:45:12 13:45:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 13:45:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:45:12 latest: Pulling from edgex-lftools-log-publisher 13:45:12 5eb5b503b376: Pulling fs layer 13:45:12 5c69ac0246d0: Pulling fs layer 13:45:12 ec43610c2a17: Pulling fs layer 13:45:12 3a2ae6a8a46f: Pulling fs layer 13:45:12 3a2ae6a8a46f: Waiting 13:45:12 33b1e0a273af: Pulling fs layer 13:45:12 5d3b04190fa2: Pulling fs layer 13:45:12 2f39f015ded8: Pulling fs layer 13:45:12 33b1e0a273af: Waiting 13:45:12 5d3b04190fa2: Waiting 13:45:12 5c69ac0246d0: Download complete 13:45:12 3a2ae6a8a46f: Verifying Checksum 13:45:12 3a2ae6a8a46f: Download complete 13:45:12 33b1e0a273af: Verifying Checksum 13:45:12 33b1e0a273af: Download complete 13:45:12 5d3b04190fa2: Verifying Checksum 13:45:12 5d3b04190fa2: Download complete 13:45:12 ec43610c2a17: Verifying Checksum 13:45:12 ec43610c2a17: Download complete 13:45:12 5eb5b503b376: Verifying Checksum 13:45:12 5eb5b503b376: Download complete 13:45:14 5eb5b503b376: Pull complete 13:45:14 5c69ac0246d0: Pull complete 13:45:15 ec43610c2a17: Pull complete 13:45:15 3a2ae6a8a46f: Pull complete 13:45:15 33b1e0a273af: Pull complete 13:45:15 5d3b04190fa2: Pull complete 13:45:20 2f39f015ded8: Pull complete 13:45:20 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:45:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:45:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 13:45:20 prd-ubuntu20.04-docker-8c-8g-9252 does not seem to be running inside a container 13:45:20 $ 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-406 -v /w/workspace/edgexfoundry_device-sdk-c_PR-406:/w/workspace/edgexfoundry_device-sdk-c_PR-406:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-406@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-406@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 13:45:22 $ docker top 59d1ca3e30b81e91970dfc09498bba0e5d3fc18c7a7fc7241c74a76bfc749311 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:45:23 ---> job-cost.sh 13:45:23 lf-activate-venv: SKIPPING 13:45:23 INFO: No Stack... 13:45:23 INFO: Retrieving Pricing Info for: v3-standard-8 13:45:23 INFO: Archiving Costs [Pipeline] sh 13:45:24 + cat /w/workspace/edgexfoundry_device-sdk-c_PR-406/archives/cost.csv 13:45:24 + cut -d, -f6 [Pipeline] lock 13:45:24 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-406-1-stack-cost] 13:45:24 Resource [jenkins-edgexfoundry-device-sdk-c-PR-406-1-stack-cost] did not exist. Created. 13:45:24 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-406-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:45:24 + echo total: 0.2199999988079071 [Pipeline] stash 13:45:24 Stashed 1 file(s) [Pipeline] } 13:45:24 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-406-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:45:24 $ docker stop --time=1 59d1ca3e30b81e91970dfc09498bba0e5d3fc18c7a7fc7241c74a76bfc749311 13:45:25 $ docker rm -f 59d1ca3e30b81e91970dfc09498bba0e5d3fc18c7a7fc7241c74a76bfc749311 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:46:07 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9253 in /w/workspace/edgexfoundry_device-sdk-c_PR-406 [Pipeline] { [Pipeline] ws 13:46:07 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 13:46:08 Selected Git installation does not exist. Using Default 13:46:08 The recommended git tool is: NONE 13:46:15 using credential edgex-jenkins-ssh 13:46:15 Cloning the remote Git repository 13:46:16 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 13:46:16 > git init /w/workspace/device-sdk-c/1 # timeout=10 13:46:16 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 13:46:16 > git --version # timeout=10 13:46:16 > git --version # 'git version 2.25.1' 13:46:16 using GIT_SSH to set credentials SSH Credentials for GitHub 13:46:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:46:17 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 13:46:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:46:17 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 13:46:17 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 13:46:17 using GIT_SSH to set credentials SSH Credentials for GitHub 13:46:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/406/head:refs/remotes/origin/PR-406 +refs/heads/main:refs/remotes/origin/main # timeout=10 13:46:18 Merging remotes/origin/main commit 9af9a7b525d77e310f1ce7683ac0f4985a68b4c5 into PR head commit 53254fbad6a5a3f95ae33ef4fcb9a02831f4392a 13:46:18 Merge succeeded, producing 53254fbad6a5a3f95ae33ef4fcb9a02831f4392a 13:46:18 Checking out Revision 53254fbad6a5a3f95ae33ef4fcb9a02831f4392a (PR-406) 13:46:18 > git config core.sparsecheckout # timeout=10 13:46:18 > git checkout -f 53254fbad6a5a3f95ae33ef4fcb9a02831f4392a # timeout=10 13:46:18 > git remote # timeout=10 13:46:18 > git config --get remote.origin.url # timeout=10 13:46:18 using GIT_SSH to set credentials SSH Credentials for GitHub 13:46:18 > git merge 9af9a7b525d77e310f1ce7683ac0f4985a68b4c5 # timeout=10 13:46:18 > git rev-parse HEAD^{commit} # timeout=10 13:46:18 > git config core.sparsecheckout # timeout=10 13:46:18 > git checkout -f 53254fbad6a5a3f95ae33ef4fcb9a02831f4392a # timeout=10 13:46:23 Commit message: "feat: add CORS support (#389)" 13:46:23 > git --version # timeout=10 13:46:23 > git --version # 'git version 2.25.1' 13:46:23 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:46:24 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:46:24 % Total % Received % Xferd Average Speed Time Time Time Current 13:46:24 Dload Upload Total Spent Left Speed 13:46:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 35671 0 --:--:-- --:--:-- --:--:-- 35671 [Pipeline] sh 13:46:25 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:46:25 + sudo tee /etc/docker/daemon.new 13:46:25 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:46:25 { 13:46:25 "registry-mirrors": [ 13:46:25 "https://nexus3.edgexfoundry.org:10001" 13:46:25 ], 13:46:25 "bip": "10.250.0.254/24", 13:46:25 "hosts": [ 13:46:25 "tcp://0.0.0.0:5555", 13:46:25 "unix:///var/run/docker.sock" 13:46:25 ], 13:46:25 "mtu": 1458, 13:46:25 "selinux-enabled": true, 13:46:25 "seccomp-profile": "/etc/docker/seccomp.json" 13:46:25 } [Pipeline] sh 13:46:26 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:46:26 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:46:44 provisioning config files... 13:46:44 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config2882907021351990685tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:46:45 ---> docker-login.sh 13:46:45 nexus3.edgexfoundry.org:10001 13:46:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:46:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:46:46 Configure a credential helper to remove this warning. See 13:46:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:46:46 13:46:46 Login Succeeded 13:46:46 nexus3.edgexfoundry.org:10002 13:46:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:46:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:46:46 Configure a credential helper to remove this warning. See 13:46:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:46:46 13:46:46 Login Succeeded 13:46:46 nexus3.edgexfoundry.org:10003 13:46:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:46:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:46:47 Configure a credential helper to remove this warning. See 13:46:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:46:47 13:46:47 Login Succeeded 13:46:47 nexus3.edgexfoundry.org:10004 13:46:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:46:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:46:47 Configure a credential helper to remove this warning. See 13:46:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:46:47 13:46:47 Login Succeeded 13:46:47 docker.io 13:46:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:46:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:46:48 Configure a credential helper to remove this warning. See 13:46:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:46:48 13:46:48 Login Succeeded 13:46:48 ---> docker-login.sh ends [Pipeline] } 13:46:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:46:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:46:49 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 13:46:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:46:49 ========================================================= 13:46:49 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 13:46:49 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 13:46:49 + 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 . 13:46:49 Sending build context to Docker daemon 2.797MB 13:46:50 Step 1/22 : ARG BASE=alpine:3.15 13:46:50 Step 2/22 : FROM ${BASE} as builder 13:46:50 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 13:46:50 9b3977197b4f: Pulling fs layer 13:46:50 2a93055cfd06: Pulling fs layer 13:46:50 ff5fdaca7850: Pulling fs layer 13:46:50 2a93055cfd06: Verifying Checksum 13:46:50 2a93055cfd06: Download complete 13:46:50 9b3977197b4f: Download complete 13:46:50 9b3977197b4f: Pull complete 13:46:51 2a93055cfd06: Pull complete 13:46:52 ff5fdaca7850: Verifying Checksum 13:46:52 ff5fdaca7850: Download complete 13:47:00 ff5fdaca7850: Pull complete 13:47:00 Digest: sha256:bf249b2a65b15776358c73a8f9886e573022f6b9ba75e542fbdefbaa4c9006da 13:47:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 13:47:00 ---> 0af3d9908a83 13:47:00 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 13:47:01 ---> Running in e70481b05432 13:47:02 Connecting to iotech.jfrog.io (52.18.159.91:443) 13:47:03 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 13:47:03 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 13:47:03 '/etc/apk/keys/alpine.dev.rsa.pub' saved 13:47:04 Removing intermediate container e70481b05432 13:47:04 ---> ae725abc9622 13:47:04 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 13:47:04 ---> Running in 5d214c8d642b 13:47:05 Removing intermediate container 5d214c8d642b 13:47:05 ---> 49730538c710 13:47:05 Step 5/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev 13:47:05 ---> Running in 8088ddef78e9 13:47:06 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 13:47:07 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 13:47:07 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz 13:47:08 WARNING: This apk-tools is OLD! Some packages might not function properly. 13:47:08 (1/31) Installing hiredis (1.0.2-r0) 13:47:08 (2/31) Installing hiredis-dev (1.0.2-r0) 13:47:08 (3/31) Installing libcbor (0.8.0-r0) 13:47:08 (4/31) Installing libcbor-dev (0.8.0-r0) 13:47:08 (5/31) Installing ncurses-dev (6.3_p20211120-r0) 13:47:08 (6/31) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 13:47:09 (7/31) Installing util-linux (2.37.4-r0) 13:47:09 (8/31) Installing libblkid (2.37.4-r0) 13:47:10 (9/31) Installing libeconf (0.4.2-r0) 13:47:10 (10/31) Installing libuuid (2.37.4-r0) 13:47:10 (11/31) Installing libfdisk (2.37.4-r0) 13:47:10 (12/31) Installing libmount (2.37.4-r0) 13:47:10 (13/31) Installing libsmartcols (2.37.4-r0) 13:47:10 (14/31) Installing util-linux-misc (2.37.4-r0) 13:47:10 (15/31) Installing linux-pam (1.5.2-r0) 13:47:10 (16/31) Installing runuser (2.37.4-r0) 13:47:10 (17/31) Installing hexdump (2.37.4-r0) 13:47:11 (18/31) Installing uuidgen (2.37.4-r0) 13:47:11 (19/31) Installing blkid (2.37.4-r0) 13:47:11 (20/31) Installing sfdisk (2.37.4-r0) 13:47:11 (21/31) Installing mcookie (2.37.4-r0) 13:47:11 (22/31) Installing wipefs (2.37.4-r0) 13:47:11 (23/31) Installing cfdisk (2.37.4-r0) 13:47:11 (24/31) Installing flock (2.37.4-r0) 13:47:11 (25/31) Installing lsblk (2.37.4-r0) 13:47:11 (26/31) Installing libcap-ng (0.8.2-r1) 13:47:11 (27/31) Installing setpriv (2.37.4-r0) 13:47:11 (28/31) Installing logger (2.37.4-r0) 13:47:11 (29/31) Installing partx (2.37.4-r0) 13:47:12 (30/31) Installing findmnt (2.37.4-r0) 13:47:12 (31/31) Installing util-linux-dev (2.37.4-r0) 13:47:12 Executing busybox-1.34.1-r3.trigger 13:47:12 OK: 289 MiB in 108 packages 13:47:13 Removing intermediate container 8088ddef78e9 13:47:13 ---> 91809146dff8 13:47:13 Step 6/22 : RUN mkdir /tmp/sdk 13:47:13 ---> Running in 5cc76cf5f138 13:47:15 Removing intermediate container 5cc76cf5f138 13:47:15 ---> a1e753d90bed 13:47:15 Step 7/22 : COPY VERSION /tmp/sdk 13:47:16 ---> 788e478fcbf7 13:47:16 Step 8/22 : COPY src /tmp/sdk/src 13:47:16 ---> 3e2edd66f646 13:47:16 Step 9/22 : COPY include /tmp/sdk/include 13:47:17 ---> 0daf18f21ea1 13:47:17 Step 10/22 : COPY scripts /tmp/sdk/scripts 13:47:17 ---> adf95c5c5ae4 13:47:17 Step 11/22 : COPY LICENSE /tmp/sdk 13:47:18 ---> 8183aa490264 13:47:18 Step 12/22 : COPY Attribution.txt /tmp/sdk 13:47:19 ---> a6e7670739d5 13:47:19 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 13:47:19 ---> Running in c7cc88873ac9 13:47:20 + CPPCHECK=false 13:47:20 + DOCGEN=false 13:47:20 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 13:47:20 + TOMLVER=SDK-0.2 13:47:20 + CUTILVER=1.2.2 13:47:20 + '[' 0 -gt 0 ] 13:47:20 + readlink -f ./scripts/build.sh 13:47:20 + dirname /tmp/sdk/scripts/build.sh 13:47:20 + dirname /tmp/sdk/scripts 13:47:20 + ROOT=/tmp/sdk 13:47:20 + cd /tmp/sdk 13:47:20 + '[' '!' -d deps ] 13:47:20 + mkdir deps 13:47:20 + tar -C deps -z -x -f - 13:47:20 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 13:47:20 Connecting to github.com (140.82.114.3:443) 13:47:20 Connecting to codeload.github.com (140.82.114.10:443) 13:47:20 writing to stdout 13:47:20 - 100% |********************************| 16451 0:00:00 ETA 13:47:20 written to stdout 13:47:20 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 13:47:20 + + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 13:47:20 tar -C deps -z -x -f - 13:47:20 Connecting to github.com (140.82.114.3:443) 13:47:20 Connecting to codeload.github.com (140.82.114.10:443) 13:47:21 writing to stdout 13:47:21 -  108k --:--:-- ETA 13:47:21 - 100% |********************************| 189k 0:00:00 ETA 13:47:21 written to stdout 13:47:21 + mkdir -p src/c/iot 13:47:21 + 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 13:47:21 + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot 13:47:21 + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot 13:47:21 + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot 13:47:21 + mkdir -p include/iot 13:47:21 + 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 13:47:21 + mkdir -p include/iot/os 13:47:21 + 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 13:47:21 + mkdir -p /tmp/sdk/build/release 13:47:21 + cd /tmp/sdk/build/release 13:47:21 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 13:47:21 -- The C compiler identification is GNU 10.3.1 13:47:21 -- Detecting C compiler ABI info 13:47:21 -- Detecting C compiler ABI info - done 13:47:22 -- Check for working C compiler: /usr/bin/cc - skipped 13:47:22 -- Detecting C compile features 13:47:22 -- Detecting C compile features - done 13:47:22 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 13:47:22 -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") 13:47:22 -- Found LIBYAML: /usr/lib/libyaml.so 13:47:22 -- Found LIBUUID: /usr/lib/libuuid.so 13:47:22 -- Found LIBCBOR: /usr/lib/libcbor.so 13:47:22 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 13:47:22 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 13:47:22 -- C SDK 0.0.0 for Linux 13:47:22 -- Performing Test CSDK_HAVE_ATOMIC 13:47:22 -- Performing Test CSDK_HAVE_ATOMIC - Success 13:47:23 -- Found Curses: /usr/lib/libcurses.so 13:47:23 -- Configuring done 13:47:23 -- Generating done 13:47:23 -- Build files have been written to: /tmp/sdk/build/release 13:47:23 + + maketee all release.log package 13:47:23 13:47:23 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 13:47:24 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 13:47:25 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 13:47:27 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 13:47:28 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 13:47:28 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 13:47:29 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 13:47:30 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 13:47:30 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 13:47:31 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 13:47:34 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 13:47:34 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 13:47:35 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 13:47:36 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 13:47:36 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 13:47:37 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 13:47:37 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 13:47:40 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 13:47:41 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 13:47:41 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 13:47:41 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 13:47:42 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 13:47:42 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 13:47:42 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 13:47:42 275 | const iot_component_factory_t * factory; 13:47:42 | ^~~~~~~ 13:47:43 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 13:47:48 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 13:47:48 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 13:47:48 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 13:47:49 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 13:47:50 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 13:47:50 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 13:47:51 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 13:47:51 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 13:47:52 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 13:47:53 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 13:47:53 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 13:47:56 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 13:47:56 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 13:47:57 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 13:47:57 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 13:48:03 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 13:48:03 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 13:48:04 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 13:48:04 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 13:48:04 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 13:48:04 /tmp/sdk/src/c/rest-server.c:394:67: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] 13:48:04 394 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 13:48:04 | ^~~~~~~~~~~~~ 13:48:04 | | 13:48:04 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 13:48:04 In file included from /tmp/sdk/src/c/rest-server.c:21: 13:48:04 /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 *)' 13:48:04 2784 | MHD_KeyValueIterator iterator, 13:48:04 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 13:48:04 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 13:48:04 /tmp/sdk/src/c/rest-server.c:501:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 13:48:04 501 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 13:48:04 | ^~~~~~~~~~~~ 13:48:04 | | 13:48:04 | 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 **)} 13:48:04 In file included from /tmp/sdk/src/c/rest-server.c:21: 13:48:04 /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 **)'} 13:48:04 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 13:48:04 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 13:48:04 /tmp/sdk/src/c/rest-server.c:512:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 13:48:04 512 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 13:48:04 | ^~~~~~~~~~~~ 13:48:04 | | 13:48:04 | 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 **)} 13:48:04 In file included from /tmp/sdk/src/c/rest-server.c:21: 13:48:04 /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 **)'} 13:48:04 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 13:48:04 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 13:48:06 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 13:48:08 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 13:48:08 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 13:48:09 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 13:48:10 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 13:48:12 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 13:48:16 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 13:48:17 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 13:48:18 [ 76%] Linking C shared library libcsdk.so 13:48:18 [ 76%] Built target csdk 13:48:18 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 13:48:19 [ 79%] Linking C executable template 13:48:19 [ 79%] Built target template 13:48:19 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 13:48:20 [ 82%] Linking C executable device-counter 13:48:20 [ 82%] Built target device-counter 13:48:20 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 13:48:21 [ 85%] Linking C executable device-random 13:48:21 [ 85%] Built target device-random 13:48:21 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 13:48:21 [ 88%] Linking C executable device-gyro 13:48:21 [ 88%] Built target device-gyro 13:48:22 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 13:48:22 [ 91%] Linking C executable device-bitfields 13:48:22 [ 91%] Built target device-bitfields 13:48:23 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 13:48:24 [ 94%] Linking C executable template-discovery 13:48:24 [ 94%] Built target template-discovery 13:48:24 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 13:48:24 [ 97%] Linking C executable device-file 13:48:25 [ 97%] Built target device-file 13:48:25 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 13:48:25 [100%] Linking C executable device-terminal 13:48:26 [100%] Built target device-terminal 13:48:26 Run CPack packaging tool... 13:48:26 CPack: Create package using TGZ 13:48:26 CPack: Install projects 13:48:26 CPack: - Run preinstall target for: Csdk 13:48:27 CPack: - Install project: Csdk [] 13:48:27 CPack: Create package 13:48:27 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 13:48:27 + '[' false '=' true ] 13:48:27 + '[' false '=' true ] 13:48:27 + mkdir -p /tmp/sdk/build/debug 13:48:27 + cd /tmp/sdk/build/debug 13:48:27 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 13:48:27 -- The C compiler identification is GNU 10.3.1 13:48:27 -- Detecting C compiler ABI info 13:48:27 -- Detecting C compiler ABI info - done 13:48:27 -- Check for working C compiler: /usr/bin/cc - skipped 13:48:27 -- Detecting C compile features 13:48:27 -- Detecting C compile features - done 13:48:27 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 13:48:28 -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") 13:48:28 -- Found LIBYAML: /usr/lib/libyaml.so 13:48:28 -- Found LIBUUID: /usr/lib/libuuid.so 13:48:28 -- Found LIBCBOR: /usr/lib/libcbor.so 13:48:28 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 13:48:28 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 13:48:28 -- C SDK 0.0.0 for Linux 13:48:28 -- Performing Test CSDK_HAVE_ATOMIC 13:48:28 -- Performing Test CSDK_HAVE_ATOMIC - Success 13:48:28 -- Found Curses: /usr/lib/libcurses.so 13:48:28 -- Configuring done 13:48:29 -- Generating done 13:48:29 -- Build files have been written to: /tmp/sdk/build/debug 13:48:29 + make 13:48:29 + tee debug.log 13:48:29 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 13:48:29 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 13:48:29 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 13:48:30 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 13:48:31 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 13:48:31 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 13:48:31 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 13:48:32 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 13:48:32 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 13:48:32 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 13:48:33 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 13:48:33 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 13:48:34 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 13:48:34 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 13:48:34 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 13:48:34 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 13:48:35 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 13:48:36 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 13:48:36 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 13:48:36 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 13:48:36 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 13:48:37 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 13:48:37 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 13:48:37 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 13:48:37 275 | const iot_component_factory_t * factory; 13:48:37 | ^~~~~~~ 13:48:37 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 13:48:39 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 13:48:39 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 13:48:39 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 13:48:39 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 13:48:39 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 13:48:40 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 13:48:40 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 13:48:40 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 13:48:40 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 13:48:41 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 13:48:41 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 13:48:42 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 13:48:42 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 13:48:42 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 13:48:42 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 13:48:44 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 13:48:44 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 13:48:44 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 13:48:45 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 13:48:45 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 13:48:45 /tmp/sdk/src/c/rest-server.c:394:67: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] 13:48:45 394 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 13:48:45 | ^~~~~~~~~~~~~ 13:48:45 | | 13:48:45 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 13:48:45 In file included from /tmp/sdk/src/c/rest-server.c:21: 13:48:45 /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 *)' 13:48:45 2784 | MHD_KeyValueIterator iterator, 13:48:45 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 13:48:45 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 13:48:45 /tmp/sdk/src/c/rest-server.c:501:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 13:48:45 501 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 13:48:45 | ^~~~~~~~~~~~ 13:48:45 | | 13:48:45 | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} 13:48:45 In file included from /tmp/sdk/src/c/rest-server.c:21: 13:48:45 /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 **)'} 13:48:45 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 13:48:45 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 13:48:45 /tmp/sdk/src/c/rest-server.c:512:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 13:48:45 512 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 13:48:45 | ^~~~~~~~~~~~ 13:48:45 | | 13:48:45 | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} 13:48:45 In file included from /tmp/sdk/src/c/rest-server.c:21: 13:48:45 /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 **)'} 13:48:45 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 13:48:45 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 13:48:45 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 13:48:47 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 13:48:47 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 13:48:47 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 13:48:48 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 13:48:49 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 13:48:49 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 13:48:49 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 13:48:50 [ 76%] Linking C shared library libcsdk.so 13:48:50 [ 76%] Built target csdk 13:48:50 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 13:48:51 [ 79%] Linking C executable template 13:48:51 [ 79%] Built target template 13:48:51 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 13:48:51 [ 82%] Linking C executable device-counter 13:48:51 [ 82%] Built target device-counter 13:48:51 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 13:48:52 [ 85%] Linking C executable device-random 13:48:52 [ 85%] Built target device-random 13:48:52 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 13:48:52 [ 88%] Linking C executable device-gyro 13:48:52 [ 88%] Built target device-gyro 13:48:53 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 13:48:53 [ 91%] Linking C executable device-bitfields 13:48:53 [ 91%] Built target device-bitfields 13:48:53 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 13:48:54 [ 94%] Linking C executable template-discovery 13:48:54 [ 94%] Built target template-discovery 13:48:54 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 13:48:54 [ 97%] Linking C executable device-file 13:48:54 [ 97%] Built target device-file 13:48:55 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 13:48:55 [100%] Linking C executable device-terminal 13:48:55 [100%] Built target device-terminal 13:48:55 make: Entering directory '/tmp/sdk/build/release' 13:48:55 make[1]: Entering directory '/tmp/sdk/build/release' 13:48:56 make[2]: Entering directory '/tmp/sdk/build/release' 13:48:56 make[2]: Leaving directory '/tmp/sdk/build/release' 13:48:56 [ 76%] Built target csdk 13:48:56 make[2]: Entering directory '/tmp/sdk/build/release' 13:48:56 make[2]: Leaving directory '/tmp/sdk/build/release' 13:48:56 [ 79%] Built target template 13:48:56 make[2]: Entering directory '/tmp/sdk/build/release' 13:48:56 make[2]: Leaving directory '/tmp/sdk/build/release' 13:48:56 [ 82%] Built target device-counter 13:48:56 make[2]: Entering directory '/tmp/sdk/build/release' 13:48:56 make[2]: Leaving directory '/tmp/sdk/build/release' 13:48:56 [ 85%] Built target device-random 13:48:56 make[2]: Entering directory '/tmp/sdk/build/release' 13:48:56 make[2]: Leaving directory '/tmp/sdk/build/release' 13:48:56 [ 88%] Built target device-gyro 13:48:56 make[2]: Entering directory '/tmp/sdk/build/release' 13:48:56 make[2]: Leaving directory '/tmp/sdk/build/release' 13:48:56 [ 91%] Built target device-bitfields 13:48:56 make[2]: Entering directory '/tmp/sdk/build/release' 13:48:56 make[2]: Leaving directory '/tmp/sdk/build/release' 13:48:56 [ 94%] Built target template-discovery 13:48:56 make[2]: Entering directory '/tmp/sdk/build/release' 13:48:56 make[2]: Leaving directory '/tmp/sdk/build/release' 13:48:56 [ 97%] Built target device-file 13:48:56 make[2]: Entering directory '/tmp/sdk/build/release' 13:48:56 make[2]: Leaving directory '/tmp/sdk/build/release' 13:48:56 [100%] Built target device-terminal 13:48:56 make[1]: Leaving directory '/tmp/sdk/build/release' 13:48:56 Install the project... 13:48:56 -- Install configuration: "Release" 13:48:56 -- Installing: /usr/local/lib/libcsdk.so 13:48:56 -- Installing: /usr/local/include 13:48:56 -- Installing: /usr/local/include/devsdk 13:48:56 -- Installing: /usr/local/include/devsdk/devsdk.h 13:48:56 -- Installing: /usr/local/include/devsdk/devsdk-base.h 13:48:56 -- Installing: /usr/local/include/edgex 13:48:56 -- Installing: /usr/local/include/edgex/rest-server.h 13:48:56 -- Installing: /usr/local/include/edgex/edgex.h 13:48:56 -- Installing: /usr/local/include/edgex/edgex-base.h 13:48:56 -- Installing: /usr/local/include/edgex/devices.h 13:48:56 -- Installing: /usr/local/include/edgex/profiles.h 13:48:56 -- Installing: /usr/local/include/edgex/csdk-defs.h 13:48:56 -- Installing: /usr/local/include/iot 13:48:56 -- Installing: /usr/local/include/iot/threadpool.h 13:48:56 -- Installing: /usr/local/include/iot/defs.h 13:48:56 -- Installing: /usr/local/include/iot/time.h 13:48:56 -- Installing: /usr/local/include/iot/base64.h 13:48:56 -- Installing: /usr/local/include/iot/component.h 13:48:56 -- Installing: /usr/local/include/iot/scheduler.h 13:48:56 -- Installing: /usr/local/include/iot/config.h 13:48:56 -- Installing: /usr/local/include/iot/container.h 13:48:56 -- Installing: /usr/local/include/iot/uuid.h 13:48:56 -- Installing: /usr/local/include/iot/os.h 13:48:56 -- Installing: /usr/local/include/iot/thread.h 13:48:56 -- Installing: /usr/local/include/iot/data.h 13:48:56 -- Installing: /usr/local/include/iot/typecode.h 13:48:56 -- Installing: /usr/local/include/iot/hash.h 13:48:56 -- Installing: /usr/local/include/iot/logger.h 13:48:56 -- Installing: /usr/local/include/iot/os 13:48:56 -- Installing: /usr/local/include/iot/os/zephyr.h 13:48:56 -- Installing: /usr/local/include/iot/os/macos.h 13:48:56 -- Installing: /usr/local/include/iot/os/linux.h 13:48:56 -- Installing: /usr/local/include/iot/json.h 13:48:56 -- Installing: /usr/local/include/iot/iot.h 13:48:56 -- Installing: /usr/local/share/device-sdk-c/LICENSE 13:48:56 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 13:48:56 make: Leaving directory '/tmp/sdk/build/release' 13:48:58 Removing intermediate container c7cc88873ac9 13:48:58 ---> 3fb979da10a8 13:48:58 Step 14/22 : FROM ${BASE} 13:48:58 ---> 0af3d9908a83 13:48:58 Step 15/22 : LABEL maintainer="IOTech " 13:48:58 ---> Running in adb423fee79c 13:48:58 Removing intermediate container adb423fee79c 13:48:58 ---> 68c9d245fbaf 13:48:58 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 13:48:58 ---> Running in ef29dcb53193 13:48:59 Connecting to iotech.jfrog.io (52.18.159.91:443) 13:49:00 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 13:49:00 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 13:49:00 '/etc/apk/keys/alpine.dev.rsa.pub' saved 13:49:00 Removing intermediate container ef29dcb53193 13:49:00 ---> dd909a1ff41d 13:49:00 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 13:49:00 ---> Running in 41f89d9aff5a 13:49:02 Removing intermediate container 41f89d9aff5a 13:49:02 ---> 34b9a54cb9f6 13:49:02 Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 hiredis-dev 13:49:02 ---> Running in 77cc2a7e3c11 13:49:03 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 13:49:04 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 13:49:04 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz 13:49:05 WARNING: This apk-tools is OLD! Some packages might not function properly. 13:49:05 (1/6) Installing curl (7.80.0-r0) 13:49:05 (2/6) Installing hiredis (1.0.2-r0) 13:49:05 (3/6) Installing hiredis-dev (1.0.2-r0) 13:49:05 (4/6) Installing libcbor (0.8.0-r0) 13:49:06 (5/6) Installing libuuid (2.37.4-r0) 13:49:06 (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 13:49:07 Executing busybox-1.34.1-r3.trigger 13:49:07 OK: 278 MiB in 83 packages 13:49:07 Removing intermediate container 77cc2a7e3c11 13:49:07 ---> 6e4373187785 13:49:07 Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 13:49:08 ---> 873317989802 13:49:08 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 13:49:09 ---> f0f24754ec73 13:49:09 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 13:49:09 ---> 61b2c88f50c4 13:49:09 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 13:49:10 ---> fef503813531 13:49:10 Successfully built fef503813531 13:49:10 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:49:10 + docker inspect -f . ci-base-image-arm64 13:49:10 . [Pipeline] withDockerContainer 13:49:10 prd-ubuntu20.04-docker-arm64-4c-16g-9253 does not seem to be running inside a container 13:49:11 $ 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 ******** -e ******** ci-base-image-arm64 cat 13:49:12 $ docker top 31556b7de1e54794f445e8c70a89bb0a4ec4d6c9710b729ccae9d49f3498a72e -eo pid,comm [Pipeline] { [Pipeline] sh 13:49:13 + make test 13:49:13 echo "make test" 13:49:13 make test [Pipeline] } 13:49:13 $ docker stop --time=1 31556b7de1e54794f445e8c70a89bb0a4ec4d6c9710b729ccae9d49f3498a72e 13:49:14 $ docker rm -f 31556b7de1e54794f445e8c70a89bb0a4ec4d6c9710b729ccae9d49f3498a72e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:49:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:49:16 + ls -al . 13:49:16 total 204 13:49:16 drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 13:46 . 13:49:16 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 13:46 .. 13:49:16 drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 13:46 .git 13:49:16 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 13:46 .github 13:49:16 -rw-rw-r-- 1 jenkins jenkins 176 Mar 28 13:46 .gitignore 13:49:16 -rw-rw-r-- 1 jenkins jenkins 3104 Mar 28 13:46 Attribution.txt 13:49:16 -rw-rw-r-- 1 jenkins jenkins 8321 Mar 28 13:46 CHANGES 13:49:16 -rw-rw-r-- 1 jenkins jenkins 108574 Mar 28 13:46 Doxyfile 13:49:16 -rw-rw-r-- 1 jenkins jenkins 677 Mar 28 13:46 GOVERNANCE.md 13:49:16 -rw-rw-r-- 1 jenkins jenkins 784 Mar 28 13:46 Jenkinsfile 13:49:16 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 28 13:46 LICENSE 13:49:16 -rw-rw-r-- 1 jenkins jenkins 444 Mar 28 13:46 Makefile 13:49:16 -rw-rw-r-- 1 jenkins jenkins 618 Mar 28 13:46 OWNERS.md 13:49:16 -rw-rw-r-- 1 jenkins jenkins 4086 Mar 28 13:46 README.md 13:49:16 -rw-rw-r-- 1 jenkins jenkins 7422 Mar 28 13:46 README.v2.md 13:49:16 -rw-rw-r-- 1 jenkins jenkins 5 Mar 28 13:44 VERSION 13:49:16 drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 13:46 docs 13:49:16 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 13:46 include 13:49:16 drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 13:46 scripts 13:49:16 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 13:46 src [Pipeline] isUnix [Pipeline] sh 13:49:16 + 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=53254fbad6a5a3f95ae33ef4fcb9a02831f4392a --label arch=arm64 --label version=0.0.0 . 13:49:16 Sending build context to Docker daemon 2.797MB 13:49:17 Step 1/17 : ARG BASE=alpine:3.15 13:49:17 Step 2/17 : FROM ${BASE} 13:49:17 ---> fef503813531 13:49:17 Step 3/17 : LABEL maintainer="IOTech " 13:49:17 ---> Running in b5cbea0db2d4 13:49:17 Removing intermediate container b5cbea0db2d4 13:49:17 ---> 229a4c0f482d 13:49:17 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 13:49:17 ---> Running in 895a5d7eaea5 13:49:18 Connecting to iotech.jfrog.io (52.49.191.191:443) 13:49:18 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 13:49:18 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 13:49:18 '/etc/apk/keys/alpine.dev.rsa.pub' saved 13:49:19 Removing intermediate container 895a5d7eaea5 13:49:19 ---> 662f3a2bc637 13:49:19 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 13:49:19 ---> Running in f0b6b928169e 13:49:20 Removing intermediate container f0b6b928169e 13:49:20 ---> 39e0d80a9e16 13:49:20 Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev && mkdir -p /edgex-c-sdk/build 13:49:21 ---> Running in 72378b1475d1 13:49:22 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 13:49:22 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 13:49:23 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz 13:49:24 WARNING: This apk-tools is OLD! Some packages might not function properly. 13:49:24 (1/26) Installing libcbor-dev (0.8.0-r0) 13:49:24 (2/26) Installing ncurses-dev (6.3_p20211120-r0) 13:49:24 (3/26) Installing util-linux (2.37.4-r0) 13:49:24 (4/26) Installing libblkid (2.37.4-r0) 13:49:24 (5/26) Installing libeconf (0.4.2-r0) 13:49:24 (6/26) Installing libfdisk (2.37.4-r0) 13:49:24 (7/26) Installing libmount (2.37.4-r0) 13:49:24 (8/26) Installing libsmartcols (2.37.4-r0) 13:49:24 (9/26) Installing util-linux-misc (2.37.4-r0) 13:49:25 (10/26) Installing linux-pam (1.5.2-r0) 13:49:25 (11/26) Installing runuser (2.37.4-r0) 13:49:25 (12/26) Installing hexdump (2.37.4-r0) 13:49:25 (13/26) Installing uuidgen (2.37.4-r0) 13:49:25 (14/26) Installing blkid (2.37.4-r0) 13:49:25 (15/26) Installing sfdisk (2.37.4-r0) 13:49:26 (16/26) Installing mcookie (2.37.4-r0) 13:49:26 (17/26) Installing wipefs (2.37.4-r0) 13:49:26 (18/26) Installing cfdisk (2.37.4-r0) 13:49:26 (19/26) Installing flock (2.37.4-r0) 13:49:26 (20/26) Installing lsblk (2.37.4-r0) 13:49:26 (21/26) Installing libcap-ng (0.8.2-r1) 13:49:26 (22/26) Installing setpriv (2.37.4-r0) 13:49:26 (23/26) Installing logger (2.37.4-r0) 13:49:26 (24/26) Installing partx (2.37.4-r0) 13:49:26 (25/26) Installing findmnt (2.37.4-r0) 13:49:26 (26/26) Installing util-linux-dev (2.37.4-r0) 13:49:26 Executing busybox-1.34.1-r3.trigger 13:49:27 OK: 290 MiB in 109 packages 13:49:28 Removing intermediate container 72378b1475d1 13:49:28 ---> 92fbb628d5ad 13:49:28 Step 7/17 : COPY VERSION /edgex-c-sdk/ 13:49:28 ---> 0324fed11f08 13:49:28 Step 8/17 : COPY src /edgex-c-sdk/src/ 13:49:29 ---> 9aab2397e834 13:49:29 Step 9/17 : COPY include /edgex-c-sdk/include/ 13:49:30 ---> 5674a779d23d 13:49:30 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 13:49:30 ---> 976ef7ee088a 13:49:30 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 13:49:31 ---> a71cd7f4c540 13:49:31 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 13:49:31 ---> cff0d76b86c2 13:49:31 Step 13/17 : WORKDIR /edgex-c-sdk 13:49:31 ---> Running in 8e8b5470b709 13:49:32 Removing intermediate container 8e8b5470b709 13:49:32 ---> 7454d97ed70e 13:49:32 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 13:49:32 ---> Running in e6a7fb75151a 13:49:32 Removing intermediate container e6a7fb75151a 13:49:32 ---> d4f97b2d78dd 13:49:32 Step 15/17 : LABEL arch=arm64 13:49:32 ---> Running in 9fddd575fcc5 13:49:32 Removing intermediate container 9fddd575fcc5 13:49:32 ---> aebc88a2c734 13:49:32 Step 16/17 : LABEL git_sha=53254fbad6a5a3f95ae33ef4fcb9a02831f4392a 13:49:32 ---> Running in b7213c78e740 13:49:32 Removing intermediate container b7213c78e740 13:49:32 ---> b08f65b3b9b1 13:49:32 Step 17/17 : LABEL version=0.0.0 13:49:33 ---> Running in 23e60c2d875a 13:49:33 Removing intermediate container 23e60c2d875a 13:49:33 ---> 29d9dd5b637c 13:49:33 [Warning] One or more build-args [ARCH MAKE] were not consumed 13:49:33 Successfully built 29d9dd5b637c 13:49:33 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 13:49:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:49:34 13:49:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 13:49:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:49:34 arm64: Pulling from edgex-lftools-log-publisher 13:49:34 8998bd30e6a1: Pulling fs layer 13:49:34 04944245beec: Pulling fs layer 13:49:34 699f458cf7ca: Pulling fs layer 13:49:34 765212b225bb: Pulling fs layer 13:49:34 f23df028b6ca: Pulling fs layer 13:49:34 d65c8cfc05b1: Pulling fs layer 13:49:34 2437ff75d9bd: Pulling fs layer 13:49:34 f23df028b6ca: Waiting 13:49:34 d65c8cfc05b1: Waiting 13:49:34 2437ff75d9bd: Waiting 13:49:34 765212b225bb: Waiting 13:49:34 04944245beec: Verifying Checksum 13:49:34 04944245beec: Download complete 13:49:34 765212b225bb: Verifying Checksum 13:49:34 765212b225bb: Download complete 13:49:34 f23df028b6ca: Download complete 13:49:34 d65c8cfc05b1: Download complete 13:49:35 699f458cf7ca: Verifying Checksum 13:49:35 699f458cf7ca: Download complete 13:49:35 8998bd30e6a1: Verifying Checksum 13:49:35 8998bd30e6a1: Download complete 13:49:38 2437ff75d9bd: Verifying Checksum 13:49:38 2437ff75d9bd: Download complete 13:49:39 8998bd30e6a1: Pull complete 13:49:40 04944245beec: Pull complete 13:49:41 699f458cf7ca: Pull complete 13:49:41 765212b225bb: Pull complete 13:49:42 f23df028b6ca: Pull complete 13:49:42 d65c8cfc05b1: Pull complete 13:49:57 2437ff75d9bd: Pull complete 13:49:57 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:49:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:49:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 13:49:58 prd-ubuntu20.04-docker-arm64-4c-16g-9253 does not seem to be running inside a container 13:49:58 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 13:50:00 $ docker top 60d81db2acfa5618d34fa08e6e1d448bb395a4664a2e7bd9894ce06835eb8cd9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:50:01 ---> job-cost.sh 13:50:01 lf-activate-venv: SKIPPING 13:50:01 INFO: No Stack... 13:50:02 INFO: Retrieving Pricing Info for: v3-standard-4 13:50:03 INFO: Archiving Costs [Pipeline] sh 13:50:03 + cut -d, -f6 13:50:03 + cat /w/workspace/device-sdk-c/1/archives/cost.csv [Pipeline] lock 13:50:03 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-406-1-stack-cost] 13:50:03 Resource [jenkins-edgexfoundry-device-sdk-c-PR-406-1-stack-cost] did not exist. Created. 13:50:03 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-406-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:50:04 /w/workspace/device-sdk-c/1@tmp/durable-f023d2ba/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:50:05 + echo total: 0.10999999940395355 [Pipeline] stash 13:50:05 Warning: overwriting stash ‘stack-cost’ 13:50:05 Stashed 1 file(s) [Pipeline] } 13:50:05 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-406-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:50:06 $ docker stop --time=1 60d81db2acfa5618d34fa08e6e1d448bb395a4664a2e7bd9894ce06835eb8cd9 13:50:07 $ docker rm -f 60d81db2acfa5618d34fa08e6e1d448bb395a4664a2e7bd9894ce06835eb8cd9 [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 13:50:09 + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-406/archives ] 13:50:09 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-406/archives 13:50:09 total 16 13:50:09 drwxr-xr-x 3 root root 4096 Mar 28 13:45 . 13:50:09 drwxrwxr-x 10 jenkins jenkins 4096 Mar 28 13:45 .. 13:50:09 drwxr-xr-x 2 root root 4096 Mar 28 13:45 cost 13:50:09 -rw-r--r-- 1 root root 83 Mar 28 13:45 cost.csv 13:50:09 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-406/archives 13:50:09 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-406/archives 13:50:09 total 16 13:50:09 drwxr-xr-x 3 jenkins jenkins 4096 Mar 28 13:45 . 13:50:09 drwxrwxr-x 10 jenkins jenkins 4096 Mar 28 13:45 .. 13:50:09 drwxr-xr-x 2 jenkins jenkins 4096 Mar 28 13:45 cost 13:50:09 -rw-r--r-- 1 jenkins jenkins 83 Mar 28 13:45 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:50:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:50:10 ---> package-listing.sh 13:50:10 ++ facter osfamily 13:50:10 ++ tr '[:upper:]' '[:lower:]' 13:50:10 + OS_FAMILY=debian 13:50:10 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-406 13:50:10 + START_PACKAGES=/tmp/packages_start.txt 13:50:10 + END_PACKAGES=/tmp/packages_end.txt 13:50:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:50:10 + PACKAGES=/tmp/packages_start.txt 13:50:10 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-406 ']' 13:50:10 + PACKAGES=/tmp/packages_end.txt 13:50:10 + case "${OS_FAMILY}" in 13:50:10 + dpkg -l 13:50:10 + grep '^ii' 13:50:10 + '[' -f /tmp/packages_start.txt ']' 13:50:10 + '[' -f /tmp/packages_end.txt ']' 13:50:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:50:10 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-406 ']' 13:50:10 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-406/archives/ 13:50:10 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-406/archives/ [Pipeline] echo 13:50:10 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-406/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:50:11 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 13:50:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:50:11 . [Pipeline] withDockerContainer 13:50:11 prd-ubuntu20.04-docker-8c-8g-9252 does not seem to be running inside a container 13:50:11 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-406/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-406 -v /w/workspace/edgexfoundry_device-sdk-c_PR-406:/w/workspace/edgexfoundry_device-sdk-c_PR-406:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-406@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-406@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:50:12 $ docker top 406fbd534358be6949dd241503e45c703685ba86b9d01821f6a353234ae56505 -eo pid,comm [Pipeline] { [Pipeline] sh 13:50:12 + touch /tmp/pre-build-complete [Pipeline] sh 13:50:12 + mkdir -p /var/log/sysstat [Pipeline] sh 13:50:13 + ls /var/log/sa-host 13:50:13 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:50:13 provisioning config files... 13:50:13 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-406@tmp/config6838221960913913561tmp [Pipeline] { [Pipeline] echo 13:50:13 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:50:13 ---> create-netrc.sh [Pipeline] } 13:50:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:50:14 ---> python-tools-install.sh [Pipeline] echo 13:50:14 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:50:14 ---> sudo-logs.sh 13:50:14 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:50:14 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:50:14 ---> job-cost.sh 13:50:14 lf-activate-venv: SKIPPING 13:50:14 DEBUG: total: 0.2199999988079071 13:50:14 INFO: Retrieving Stack Cost... 13:50:15 INFO: Retrieving Pricing Info for: v3-standard-8 13:50:15 INFO: Archiving Costs [Pipeline] echo 13:50:15 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:50:16 ---> logs-deploy.sh 13:50:16 lf-activate-venv: SKIPPING 13:50:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-406/1 13:50:16 INFO: archiving workspace using pattern(s): 13:50:17 Archives upload complete. 13:50:17 INFO: archiving logs to Nexus