Pull request #405 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 7ec469130c5b085487fe1a295745b41d936d73c8+0f9fd7bebf2f77d7be2ba62bd03931a1c6f4d1f4 (fa6017538ef0cffaaf46abc3a2640d00889dffaa) 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-ssh12513983340507095437.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-ssh10863346321253206849.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-405/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-405/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh831295486636694028.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-405/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh9838469349859579391.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-ssh9329185106087075108.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-405/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-405/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4742671350869278114.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-8674 in /w/workspace/edgexfoundry_device-sdk-c_PR-405 [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-405 # 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 > 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/405/head:refs/remotes/origin/PR-405 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 0f9fd7bebf2f77d7be2ba62bd03931a1c6f4d1f4 into PR head commit 7ec469130c5b085487fe1a295745b41d936d73c8 Merge succeeded, producing 7ec469130c5b085487fe1a295745b41d936d73c8 Checking out Revision 7ec469130c5b085487fe1a295745b41d936d73c8 (PR-405) > git config core.sparsecheckout # timeout=10 > git checkout -f 7ec469130c5b085487fe1a295745b41d936d73c8 # 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 0f9fd7bebf2f77d7be2ba62bd03931a1c6f4d1f4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7ec469130c5b085487fe1a295745b41d936d73c8 # timeout=10 Commit message: "feat: Authenticate to Redis Streams / MQTT using secrets (#314)" 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 17:08:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:08:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:08:59 ========================================================= 17:08:59 EdgeX Global Pipelines Version Info 17:08:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:09:00 ------------------- 17:09:00 stable info: 17:09:00 ------------------- 17:09:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:09:00 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 17:09:00 Message: update stable to v1.0.221 17:09:00 ------------------- 17:09:00 experimental info: 17:09:00 ------------------- 17:09:00 Commited By: **** collab-it+edgex@linuxfoundation.org 17:09:00 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 17:09:00 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:09:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 17:09:01 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 17:09:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:09:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:09:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:09:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 17:09:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 17:09:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:09:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:09:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 17:09:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:09:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:09:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:09:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 17:09:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:09:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:09:01 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:09:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-405 [Pipeline] echo 17:09:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-405 [Pipeline] echo 17:09:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-405 [Pipeline] echo 17:09:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7ec469130c5b085487fe1a295745b41d936d73c8 [Pipeline] echo 17:09:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7ec4691 [Pipeline] echo 17:09:02 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:09:02 provisioning config files... 17:09:02 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-405@tmp/config5747608385006954788tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:09:02 ---> docker-login.sh 17:09:02 nexus3.edgexfoundry.org:10001 17:09:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:09:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:09:03 Configure a credential helper to remove this warning. See 17:09:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:09:03 17:09:03 Login Succeeded 17:09:03 nexus3.edgexfoundry.org:10002 17:09:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:09:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:09:03 Configure a credential helper to remove this warning. See 17:09:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:09:03 17:09:03 Login Succeeded 17:09:03 nexus3.edgexfoundry.org:10003 17:09:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:09:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:09:03 Configure a credential helper to remove this warning. See 17:09:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:09:03 17:09:03 Login Succeeded 17:09:03 nexus3.edgexfoundry.org:10004 17:09:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:09:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:09:03 Configure a credential helper to remove this warning. See 17:09:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:09:03 17:09:03 Login Succeeded 17:09:03 docker.io 17:09:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:09:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:09:03 Configure a credential helper to remove this warning. See 17:09:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:09:03 17:09:03 Login Succeeded 17:09:03 ---> docker-login.sh ends [Pipeline] } 17:09: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 17:09:04 + git rev-list -1 --merges 7ec469130c5b085487fe1a295745b41d936d73c8~1..7ec469130c5b085487fe1a295745b41d936d73c8 [Pipeline] echo 17:09:04 -----------> git rev-list -1 --merges 7ec469130c5b085487fe1a295745b41d936d73c8~1..7ec469130c5b085487fe1a295745b41d936d73c8 7ec469130c5b085487fe1a295745b41d936d73c8 [false] [Pipeline] sh 17:09:05 + git log --format=format:%s -1 7ec469130c5b085487fe1a295745b41d936d73c8 [Pipeline] echo 17:09:05 ========================================================= 17:09:05 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:09:05 ========================================================= 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 17:09:05 + git rev-list -1 --merges 7ec469130c5b085487fe1a295745b41d936d73c8~1..7ec469130c5b085487fe1a295745b41d936d73c8 [Pipeline] echo 17:09:05 -----------> git rev-list -1 --merges 7ec469130c5b085487fe1a295745b41d936d73c8~1..7ec469130c5b085487fe1a295745b41d936d73c8 7ec469130c5b085487fe1a295745b41d936d73c8 [false] [Pipeline] sh 17:09:06 + git log --format=format:%s -1 7ec469130c5b085487fe1a295745b41d936d73c8 [Pipeline] echo 17:09:06 ========================================================= 17:09:06 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:09:06 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 17:09:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:09:06 + grep -v github /etc/ssh/ssh_known_hosts 17:09:06 + [ -e /tmp/ssh_known_hosts ] 17:09:06 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:09:06 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:09:06 + sudo tee -a /etc/ssh/ssh_known_hosts 17:09:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 17:09:07 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:09:07 17:09:07 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 17:09:07 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:09:07 latest: Pulling from edgex-devops/git-semver 17:09:07 a0d0a0d46f8b: Pulling fs layer 17:09:07 3e5f54012d9b: Pulling fs layer 17:09:07 4c7163046ea9: Pulling fs layer 17:09:07 0c2d73faf560: Pulling fs layer 17:09:07 0c2d73faf560: Waiting 17:09:07 3e5f54012d9b: Verifying Checksum 17:09:07 3e5f54012d9b: Download complete 17:09:07 a0d0a0d46f8b: Download complete 17:09:08 0c2d73faf560: Verifying Checksum 17:09:08 0c2d73faf560: Download complete 17:09:08 4c7163046ea9: Verifying Checksum 17:09:08 4c7163046ea9: Download complete 17:09:08 a0d0a0d46f8b: Pull complete 17:09:08 3e5f54012d9b: Pull complete 17:09:08 4c7163046ea9: Pull complete 17:09:08 0c2d73faf560: Pull complete 17:09:08 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 17:09:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:09:08 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 17:09:08 prd-ubuntu20.04-docker-8c-8g-8674 does not seem to be running inside a container 17:09:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-405 -v /w/workspace/edgexfoundry_device-sdk-c_PR-405:/w/workspace/edgexfoundry_device-sdk-c_PR-405:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-405@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-405@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 17:09:09 $ docker top 4970ba873132fe1519ed7a3157ab0b7f773a32857ae4f8e10fc138ece40bd294 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:09:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:09:09 [ssh-agent] Looking for ssh-agent implementation... 17:09:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:09:09 $ docker exec 4970ba873132fe1519ed7a3157ab0b7f773a32857ae4f8e10fc138ece40bd294 ssh-agent 17:09:10 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXbjcAKP/agent.14 17:09:10 SSH_AGENT_PID=20 17:09:10 Running ssh-add (command line suppressed) 17:09:10 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-405@tmp/private_key_6472883953385201377.key (/w/workspace/edgexfoundry_device-sdk-c_PR-405@tmp/private_key_6472883953385201377.key) 17:09:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:09:10 + git tag --points-at HEAD [Pipeline] } 17:09:10 $ docker exec --env ******** --env ******** 4970ba873132fe1519ed7a3157ab0b7f773a32857ae4f8e10fc138ece40bd294 ssh-agent -k 17:09:10 unset SSH_AUTH_SOCK; 17:09:10 unset SSH_AGENT_PID; 17:09:10 echo Agent pid 20 killed; 17:09:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:09:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:09:10 [ssh-agent] Looking for ssh-agent implementation... 17:09:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:09:10 $ docker exec 4970ba873132fe1519ed7a3157ab0b7f773a32857ae4f8e10fc138ece40bd294 ssh-agent 17:09:11 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhIJoAG/agent.54 17:09:11 SSH_AGENT_PID=60 17:09:11 Running ssh-add (command line suppressed) 17:09:11 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-405@tmp/private_key_1572510608613394087.key (/w/workspace/edgexfoundry_device-sdk-c_PR-405@tmp/private_key_1572510608613394087.key) 17:09:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:09:11 + git semver init 17:09:11 # -> Open(): unable to determine branch for HEAD 17:09:11 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-405/.git 17:09:11 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-405 17:09:11 # $SEMVER_REMOTE_NAME = origin 17:09:11 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:09:11 # $SEMVER_USER_NAME = edgex-jenkins 17:09:11 # $SEMVER_BRANCH = PR-405 17:09:11 # $SEMVER_TEMP = /tmp/semver-480411255 17:09:11 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 17:09:12 # '/tmp/semver-480411255' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-405/.semver' 17:09:12 # -> Force: false 17:09:12 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-405/.semver [Pipeline] } 17:09:12 $ docker exec --env ******** --env ******** 4970ba873132fe1519ed7a3157ab0b7f773a32857ae4f8e10fc138ece40bd294 ssh-agent -k 17:09:12 unset SSH_AUTH_SOCK; 17:09:12 unset SSH_AGENT_PID; 17:09:12 echo Agent pid 60 killed; 17:09:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:09:13 + git semver [Pipeline] } 17:09:13 $ docker stop --time=1 4970ba873132fe1519ed7a3157ab0b7f773a32857ae4f8e10fc138ece40bd294 17:09:14 $ docker rm -f 4970ba873132fe1519ed7a3157ab0b7f773a32857ae4f8e10fc138ece40bd294 [Pipeline] // withDockerContainer [Pipeline] sh 17:09:14 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:09:15 Stashed 1 file(s) [Pipeline] echo 17:09:15 [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 17:09:15 provisioning config files... 17:09:15 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-405@tmp/config3721179997307794969tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:09:16 ---> docker-login.sh 17:09:16 nexus3.edgexfoundry.org:10001 17:09:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:09:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:09:16 Configure a credential helper to remove this warning. See 17:09:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:09:16 17:09:16 Login Succeeded 17:09:16 nexus3.edgexfoundry.org:10002 17:09:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:09:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:09:16 Configure a credential helper to remove this warning. See 17:09:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:09:16 17:09:16 Login Succeeded 17:09:16 nexus3.edgexfoundry.org:10003 17:09:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:09:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:09:16 Configure a credential helper to remove this warning. See 17:09:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:09:16 17:09:16 Login Succeeded 17:09:16 nexus3.edgexfoundry.org:10004 17:09:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:09:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:09:16 Configure a credential helper to remove this warning. See 17:09:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:09:16 17:09:16 Login Succeeded 17:09:16 docker.io 17:09:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:09:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:09:16 Configure a credential helper to remove this warning. See 17:09:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:09:16 17:09:16 Login Succeeded 17:09:16 ---> docker-login.sh ends [Pipeline] } 17:09:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:09:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:09:17 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 17:09:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:09:17 ========================================================= 17:09:17 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 17:09:17 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 17:09:17 + 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 . 17:09:17 Sending build context to Docker daemon 4.562MB 17:09:17 Step 1/22 : ARG BASE=alpine:3.15 17:09:17 Step 2/22 : FROM ${BASE} as builder 17:09:17 latest: Pulling from edgex-devops/edgex-gcc-base 17:09:17 59bf1c3509f3: Pulling fs layer 17:09:17 c743a93c8381: Pulling fs layer 17:09:17 a2ad9f71ba65: Pulling fs layer 17:09:17 c743a93c8381: Verifying Checksum 17:09:17 c743a93c8381: Download complete 17:09:17 59bf1c3509f3: Verifying Checksum 17:09:17 59bf1c3509f3: Download complete 17:09:17 59bf1c3509f3: Pull complete 17:09:18 c743a93c8381: Pull complete 17:09:18 a2ad9f71ba65: Verifying Checksum 17:09:18 a2ad9f71ba65: Download complete 17:09:21 a2ad9f71ba65: Pull complete 17:09:21 Digest: sha256:1add200577aa6f30a3653c04583074abbdfe99a16f60a8a3474aeff88a149476 17:09:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 17:09:21 ---> c9e13ccc37c5 17:09: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 17:09:22 ---> Running in 80fa260e2da8 17:09:22 Connecting to iotech.jfrog.io (52.30.156.103:443) 17:09:23 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 17:09:23 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 17:09:23 '/etc/apk/keys/alpine.dev.rsa.pub' saved 17:09:23 Removing intermediate container 80fa260e2da8 17:09:23 ---> 1661536a60a3 17:09:23 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 17:09:23 ---> Running in 27ba6175e058 17:09:24 Removing intermediate container 27ba6175e058 17:09:24 ---> d18e8f4848f3 17:09:24 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 17:09:24 ---> Running in cd7cd7e0bbdb 17:09:24 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 17:09:25 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 17:09:25 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz 17:09:26 WARNING: This apk-tools is OLD! Some packages might not function properly. 17:09:26 (1/31) Installing hiredis (1.0.2-r0) 17:09:26 (2/31) Installing hiredis-dev (1.0.2-r0) 17:09:26 (3/31) Installing libcbor (0.8.0-r0) 17:09:26 (4/31) Installing libcbor-dev (0.8.0-r0) 17:09:26 (5/31) Installing ncurses-dev (6.3_p20211120-r0) 17:09:26 (6/31) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 17:09:29 (7/31) Installing util-linux (2.37.4-r0) 17:09:29 (8/31) Installing libblkid (2.37.4-r0) 17:09:29 (9/31) Installing libeconf (0.4.2-r0) 17:09:29 (10/31) Installing libuuid (2.37.4-r0) 17:09:29 (11/31) Installing libfdisk (2.37.4-r0) 17:09:29 (12/31) Installing libmount (2.37.4-r0) 17:09:29 (13/31) Installing libsmartcols (2.37.4-r0) 17:09:29 (14/31) Installing util-linux-misc (2.37.4-r0) 17:09:30 (15/31) Installing linux-pam (1.5.2-r0) 17:09:30 (16/31) Installing runuser (2.37.4-r0) 17:09:30 (17/31) Installing hexdump (2.37.4-r0) 17:09:30 (18/31) Installing uuidgen (2.37.4-r0) 17:09:30 Still waiting to schedule task 17:09:30 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 17:09:30 (19/31) Installing blkid (2.37.4-r0) 17:09:30 (20/31) Installing sfdisk (2.37.4-r0) 17:09:30 (21/31) Installing mcookie (2.37.4-r0) 17:09:31 (22/31) Installing wipefs (2.37.4-r0) 17:09:31 (23/31) Installing cfdisk (2.37.4-r0) 17:09:31 (24/31) Installing flock (2.37.4-r0) 17:09:31 (25/31) Installing lsblk (2.37.4-r0) 17:09:31 (26/31) Installing libcap-ng (0.8.2-r1) 17:09:32 (27/31) Installing setpriv (2.37.4-r0) 17:09:32 (28/31) Installing logger (2.37.4-r0) 17:09:32 (29/31) Installing partx (2.37.4-r0) 17:09:32 (30/31) Installing findmnt (2.37.4-r0) 17:09:32 (31/31) Installing util-linux-dev (2.37.4-r0) 17:09:32 Executing busybox-1.34.1-r3.trigger 17:09:32 OK: 293 MiB in 108 packages 17:09:33 Removing intermediate container cd7cd7e0bbdb 17:09:33 ---> 17de1d8028ab 17:09:33 Step 6/22 : RUN mkdir /tmp/sdk 17:09:33 ---> Running in 818572a535ba 17:09:33 Removing intermediate container 818572a535ba 17:09:33 ---> 63e3145cd4c0 17:09:33 Step 7/22 : COPY VERSION /tmp/sdk 17:09:33 ---> 7f31c279e191 17:09:33 Step 8/22 : COPY src /tmp/sdk/src 17:09:34 ---> 2775733468bd 17:09:34 Step 9/22 : COPY include /tmp/sdk/include 17:09:34 ---> 72616d612259 17:09:34 Step 10/22 : COPY scripts /tmp/sdk/scripts 17:09:34 ---> d6194623d05e 17:09:34 Step 11/22 : COPY LICENSE /tmp/sdk 17:09:34 ---> a3c7434a0440 17:09:34 Step 12/22 : COPY Attribution.txt /tmp/sdk 17:09:34 ---> 071b8573a888 17:09:34 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 17:09:35 ---> Running in dc831c5bcb99 17:09:35 + CPPCHECK=false 17:09:35 + DOCGEN=false 17:09:35 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 17:09:35 + TOMLVER=SDK-0.2 17:09:35 + CUTILVER=1.2.2 17:09:35 + '[' 0 -gt 0 ] 17:09:35 + readlink -f ./scripts/build.sh 17:09:35 + dirname /tmp/sdk/scripts/build.sh 17:09:35 + dirname /tmp/sdk/scripts 17:09:35 + ROOT=/tmp/sdk 17:09:35 + cd /tmp/sdk 17:09:35 + '[' '!' -d deps ] 17:09:35 + mkdir deps 17:09:35 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 17:09:35 + tar -C deps -z -x -f - 17:09:35 Connecting to github.com (140.82.112.3:443) 17:09:35 Connecting to codeload.github.com (140.82.112.10:443) 17:09:35 writing to stdout 17:09:35 - 100% |********************************| 16451 0:00:00 ETA 17:09:35 written to stdout 17:09:35 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 17:09:35 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 17:09:35 + tar -C deps -z -x -f - 17:09:35 Connecting to github.com (140.82.112.3:443) 17:09:35 Connecting to codeload.github.com (140.82.112.10:443) 17:09:36 writing to stdout 17:09:36 - 100% |********************************| 189k 0:00:00 ETA 17:09:36 written to stdout 17:09:36 + mkdir -p src/c/iot 17:09:36 + 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 17:09:36 + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot 17:09:36 + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot 17:09:36 + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot 17:09:36 + mkdir -p include/iot 17:09:36 + 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 17:09:36 + mkdir -p include/iot/os 17:09:36 + 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 17:09:36 + mkdir -p /tmp/sdk/build/release 17:09:36 + cd /tmp/sdk/build/release 17:09:36 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 17:09:36 -- The C compiler identification is GNU 10.3.1 17:09:36 -- Detecting C compiler ABI info 17:09:36 -- Detecting C compiler ABI info - done 17:09:36 -- Check for working C compiler: /usr/bin/cc - skipped 17:09:36 -- Detecting C compile features 17:09:36 -- Detecting C compile features - done 17:09:36 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 17:09:36 -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") 17:09:36 -- Found LIBYAML: /usr/lib/libyaml.so 17:09:36 -- Found LIBUUID: /usr/lib/libuuid.so 17:09:36 -- Found LIBCBOR: /usr/lib/libcbor.so 17:09:36 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 17:09:36 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 17:09:36 -- C SDK 0.0.0 for Linux 17:09:36 -- Performing Test CSDK_HAVE_ATOMIC 17:09:36 -- Performing Test CSDK_HAVE_ATOMIC - Success 17:09:36 -- Found Curses: /usr/lib/libcurses.so 17:09:36 -- Configuring done 17:09:36 -- Generating done 17:09:36 -- Build files have been written to: /tmp/sdk/build/release 17:09:36 + make all package 17:09:36 + tee release.log 17:09:36 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 17:09:36 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 17:09:36 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 17:09:37 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 17:09:37 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 17:09:37 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 17:09:37 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 17:09:37 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 17:09:37 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 17:09:37 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 17:09:38 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 17:09:38 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 17:09:38 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 17:09:38 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 17:09:38 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 17:09:38 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 17:09:39 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 17:09:39 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 17:09:39 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 17:09:39 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 17:09:39 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 17:09:39 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 17:09:39 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 17:09:39 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 17:09:39 275 | const iot_component_factory_t * factory; 17:09:39 | ^~~~~~~ 17:09:39 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 17:09:40 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 17:09:40 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 17:09:40 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 17:09:41 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 17:09:41 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 17:09:41 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 17:09:41 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 17:09:41 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 17:09:41 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 17:09:41 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 17:09:41 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 17:09:42 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 17:09:42 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 17:09:42 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 17:09:42 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 17:09:43 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 17:09:43 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 17:09:43 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 17:09:43 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 17:09:43 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 17:09:43 /tmp/sdk/src/c/rest-server.c:250:65: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] 17:09:43 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 17:09:43 | ^~~~~~~~~~~~~ 17:09:43 | | 17:09:43 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 17:09:43 In file included from /tmp/sdk/src/c/rest-server.c:21: 17:09:43 /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 *)' 17:09:43 2784 | MHD_KeyValueIterator iterator, 17:09:43 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 17:09:43 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 17:09:43 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 17:09:43 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 17:09:43 | ^~~~~~~~~~~~ 17:09:43 | | 17:09:43 | 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 **)} 17:09:43 In file included from /tmp/sdk/src/c/rest-server.c:21: 17:09:43 /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 **)'} 17:09:43 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 17:09:43 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 17:09:43 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 17:09:43 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 17:09:43 | ^~~~~~~~~~~~ 17:09:43 | | 17:09:43 | 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 **)} 17:09:43 In file included from /tmp/sdk/src/c/rest-server.c:21: 17:09:43 /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 **)'} 17:09:43 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 17:09:43 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 17:09:43 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 17:09:44 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 17:09:44 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 17:09:44 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 17:09:44 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 17:09:44 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 17:09:45 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 17:09:45 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 17:09:46 [ 76%] Linking C shared library libcsdk.so 17:09:46 [ 76%] Built target csdk 17:09:46 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 17:09:46 [ 79%] Linking C executable template 17:09:46 [ 79%] Built target template 17:09:46 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 17:09:46 [ 82%] Linking C executable device-counter 17:09:46 [ 82%] Built target device-counter 17:09:46 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 17:09:46 [ 85%] Linking C executable device-random 17:09:46 [ 85%] Built target device-random 17:09:46 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 17:09:47 [ 88%] Linking C executable device-gyro 17:09:47 [ 88%] Built target device-gyro 17:09:47 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 17:09:47 [ 91%] Linking C executable device-bitfields 17:09:47 [ 91%] Built target device-bitfields 17:09:47 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 17:09:47 [ 94%] Linking C executable template-discovery 17:09:47 [ 94%] Built target template-discovery 17:09:47 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 17:09:47 [ 97%] Linking C executable device-file 17:09:47 [ 97%] Built target device-file 17:09:47 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 17:09:47 [100%] Linking C executable device-terminal 17:09:47 [100%] Built target device-terminal 17:09:47 Run CPack packaging tool... 17:09:47 CPack: Create package using TGZ 17:09:47 CPack: Install projects 17:09:47 CPack: - Run preinstall target for: Csdk 17:09:48 CPack: - Install project: Csdk [] 17:09:48 CPack: Create package 17:09:48 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 17:09:48 + '[' false '=' true ] 17:09:48 + '[' false '=' true ] 17:09:48 + mkdir -p /tmp/sdk/build/debug 17:09:48 + cd /tmp/sdk/build/debug 17:09:48 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 17:09:48 -- The C compiler identification is GNU 10.3.1 17:09:48 -- Detecting C compiler ABI info 17:09:48 -- Detecting C compiler ABI info - done 17:09:48 -- Check for working C compiler: /usr/bin/cc - skipped 17:09:48 -- Detecting C compile features 17:09:48 -- Detecting C compile features - done 17:09:48 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 17:09:48 -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") 17:09:48 -- Found LIBYAML: /usr/lib/libyaml.so 17:09:48 -- Found LIBUUID: /usr/lib/libuuid.so 17:09:48 -- Found LIBCBOR: /usr/lib/libcbor.so 17:09:48 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 17:09:48 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 17:09:48 -- C SDK 0.0.0 for Linux 17:09:48 -- Performing Test CSDK_HAVE_ATOMIC 17:09:48 -- Performing Test CSDK_HAVE_ATOMIC - Success 17:09:48 -- Found Curses: /usr/lib/libcurses.so 17:09:48 -- Configuring done 17:09:48 -- Generating done 17:09:48 -- Build files have been written to: /tmp/sdk/build/debug 17:09:48 + + teemake debug.log 17:09:48 17:09:48 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 17:09:48 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 17:09:48 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 17:09:48 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 17:09:49 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 17:09:49 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 17:09:49 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 17:09:49 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 17:09:49 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 17:09:49 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 17:09:49 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 17:09:49 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 17:09:49 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 17:09:49 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 17:09:49 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 17:09:49 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 17:09:49 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 17:09:50 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 17:09:50 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 17:09:50 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 17:09:50 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 17:09:50 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 17:09:50 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 17:09:50 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 17:09:50 275 | const iot_component_factory_t * factory; 17:09:50 | ^~~~~~~ 17:09:50 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 17:09:50 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 17:09:50 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 17:09:50 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 17:09:50 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 17:09:50 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 17:09:50 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 17:09:50 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 17:09:51 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 17:09:51 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 17:09:51 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 17:09:51 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 17:09:51 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 17:09:51 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 17:09:51 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 17:09:51 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 17:09:51 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 17:09:51 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 17:09:51 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 17:09:51 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 17:09:51 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 17:09:51 /tmp/sdk/src/c/rest-server.c:250:65: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] 17:09:51 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 17:09:51 | ^~~~~~~~~~~~~ 17:09:51 | | 17:09:51 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 17:09:51 In file included from /tmp/sdk/src/c/rest-server.c:21: 17:09:51 /usr/include/microhttpd.h:2784:49: note: expected 'MHD_KeyValueIterator' {aka 'enum MHD_Result (*)(void *, enum MHD_ValueKind, const char *, const char *)'} but argument is of type 'int (*)(void *, enum MHD_ValueKind, const char *, const char *)' 17:09:51 2784 | MHD_KeyValueIterator iterator, 17:09:51 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 17:09:51 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 17:09:51 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 17:09:51 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 17:09:51 | ^~~~~~~~~~~~ 17:09:51 | | 17:09:51 | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} 17:09:51 In file included from /tmp/sdk/src/c/rest-server.c:21: 17:09:51 /usr/include/microhttpd.h:2480:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} 17:09:51 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 17:09:51 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 17:09:51 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 17:09:51 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 17:09:51 | ^~~~~~~~~~~~ 17:09:51 | | 17:09:51 | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} 17:09:51 In file included from /tmp/sdk/src/c/rest-server.c:21: 17:09:51 /usr/include/microhttpd.h:2480:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} 17:09:51 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 17:09:51 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 17:09:52 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 17:09:52 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 17:09:52 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 17:09:52 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 17:09:52 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 17:09:52 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 17:09:52 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 17:09:53 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 17:09:53 [ 76%] Linking C shared library libcsdk.so 17:09:53 [ 76%] Built target csdk 17:09:53 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 17:09:53 [ 79%] Linking C executable template 17:09:53 [ 79%] Built target template 17:09:53 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 17:09:53 [ 82%] Linking C executable device-counter 17:09:53 [ 82%] Built target device-counter 17:09:53 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 17:09:53 [ 85%] Linking C executable device-random 17:09:53 [ 85%] Built target device-random 17:09:53 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 17:09:53 [ 88%] Linking C executable device-gyro 17:09:53 [ 88%] Built target device-gyro 17:09:53 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 17:09:53 [ 91%] Linking C executable device-bitfields 17:09:53 [ 91%] Built target device-bitfields 17:09:53 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 17:09:54 [ 94%] Linking C executable template-discovery 17:09:54 [ 94%] Built target template-discovery 17:09:54 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 17:09:54 [ 97%] Linking C executable device-file 17:09:54 [ 97%] Built target device-file 17:09:54 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 17:09:54 [100%] Linking C executable device-terminal 17:09:54 [100%] Built target device-terminal 17:09:54 make: Entering directory '/tmp/sdk/build/release' 17:09:54 make[1]: Entering directory '/tmp/sdk/build/release' 17:09:54 make[2]: Entering directory '/tmp/sdk/build/release' 17:09:54 make[2]: Leaving directory '/tmp/sdk/build/release' 17:09:54 [ 76%] Built target csdk 17:09:54 make[2]: Entering directory '/tmp/sdk/build/release' 17:09:54 make[2]: Leaving directory '/tmp/sdk/build/release' 17:09:54 [ 79%] Built target template 17:09:54 make[2]: Entering directory '/tmp/sdk/build/release' 17:09:54 make[2]: Leaving directory '/tmp/sdk/build/release' 17:09:54 [ 82%] Built target device-counter 17:09:54 make[2]: Entering directory '/tmp/sdk/build/release' 17:09:54 make[2]: Leaving directory '/tmp/sdk/build/release' 17:09:54 [ 85%] Built target device-random 17:09:54 make[2]: Entering directory '/tmp/sdk/build/release' 17:09:54 make[2]: Leaving directory '/tmp/sdk/build/release' 17:09:54 [ 88%] Built target device-gyro 17:09:54 make[2]: Entering directory '/tmp/sdk/build/release' 17:09:54 make[2]: Leaving directory '/tmp/sdk/build/release' 17:09:54 [ 91%] Built target device-bitfields 17:09:54 make[2]: Entering directory '/tmp/sdk/build/release' 17:09:54 make[2]: Leaving directory '/tmp/sdk/build/release' 17:09:54 [ 94%] Built target template-discovery 17:09:54 make[2]: Entering directory '/tmp/sdk/build/release' 17:09:54 make[2]: Leaving directory '/tmp/sdk/build/release' 17:09:54 [ 97%] Built target device-file 17:09:54 make[2]: Entering directory '/tmp/sdk/build/release' 17:09:54 make[2]: Leaving directory '/tmp/sdk/build/release' 17:09:54 [100%] Built target device-terminal 17:09:54 make[1]: Leaving directory '/tmp/sdk/build/release' 17:09:54 Install the project... 17:09:54 -- Install configuration: "Release" 17:09:54 -- Installing: /usr/local/lib/libcsdk.so 17:09:54 -- Installing: /usr/local/include 17:09:54 -- Installing: /usr/local/include/edgex 17:09:54 -- Installing: /usr/local/include/edgex/profiles.h 17:09:54 -- Installing: /usr/local/include/edgex/edgex.h 17:09:54 -- Installing: /usr/local/include/edgex/rest-server.h 17:09:54 -- Installing: /usr/local/include/edgex/edgex-base.h 17:09:54 -- Installing: /usr/local/include/edgex/devices.h 17:09:54 -- Installing: /usr/local/include/edgex/csdk-defs.h 17:09:54 -- Installing: /usr/local/include/devsdk 17:09:54 -- Installing: /usr/local/include/devsdk/devsdk.h 17:09:54 -- Installing: /usr/local/include/devsdk/devsdk-base.h 17:09:54 -- Installing: /usr/local/include/iot 17:09:54 -- Installing: /usr/local/include/iot/thread.h 17:09:54 -- Installing: /usr/local/include/iot/hash.h 17:09:54 -- Installing: /usr/local/include/iot/typecode.h 17:09:54 -- Installing: /usr/local/include/iot/threadpool.h 17:09:54 -- Installing: /usr/local/include/iot/uuid.h 17:09:54 -- Installing: /usr/local/include/iot/logger.h 17:09:54 -- Installing: /usr/local/include/iot/config.h 17:09:54 -- Installing: /usr/local/include/iot/os.h 17:09:54 -- Installing: /usr/local/include/iot/container.h 17:09:54 -- Installing: /usr/local/include/iot/scheduler.h 17:09:54 -- Installing: /usr/local/include/iot/defs.h 17:09:54 -- Installing: /usr/local/include/iot/iot.h 17:09:54 -- Installing: /usr/local/include/iot/component.h 17:09:54 -- Installing: /usr/local/include/iot/os 17:09:54 -- Installing: /usr/local/include/iot/os/linux.h 17:09:54 -- Installing: /usr/local/include/iot/os/zephyr.h 17:09:54 -- Installing: /usr/local/include/iot/os/macos.h 17:09:54 -- Installing: /usr/local/include/iot/base64.h 17:09:54 -- Installing: /usr/local/include/iot/time.h 17:09:54 -- Installing: /usr/local/include/iot/data.h 17:09:54 -- Installing: /usr/local/include/iot/json.h 17:09:54 -- Installing: /usr/local/share/device-sdk-c/LICENSE 17:09:54 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 17:09:54 make: Leaving directory '/tmp/sdk/build/release' 17:09:55 Removing intermediate container dc831c5bcb99 17:09:55 ---> 93cd4372f2b3 17:09:55 Step 14/22 : FROM ${BASE} 17:09:55 ---> c9e13ccc37c5 17:09:55 Step 15/22 : LABEL maintainer="IOTech " 17:09:55 ---> Running in 055e503ee5a4 17:09:55 Removing intermediate container 055e503ee5a4 17:09:55 ---> a703783b3dfd 17:09:55 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 17:09:55 ---> Running in 2ad12e7229a4 17:09:55 Connecting to iotech.jfrog.io (52.18.159.91:443) 17:09:56 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 17:09:56 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 17:09:56 '/etc/apk/keys/alpine.dev.rsa.pub' saved 17:09:56 Removing intermediate container 2ad12e7229a4 17:09:56 ---> 06a3b10179fb 17:09:56 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 17:09:56 ---> Running in 4fb1159b71b9 17:09:57 Removing intermediate container 4fb1159b71b9 17:09:57 ---> 040a5d7ee1dd 17:09:57 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 17:09:57 ---> Running in 90baf765521e 17:09:57 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 17:09:58 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 17:09:59 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz 17:09:59 WARNING: This apk-tools is OLD! Some packages might not function properly. 17:09:59 (1/6) Installing curl (7.80.0-r0) 17:09:59 (2/6) Installing hiredis (1.0.2-r0) 17:09:59 (3/6) Installing hiredis-dev (1.0.2-r0) 17:10:00 (4/6) Installing libcbor (0.8.0-r0) 17:10:00 (5/6) Installing libuuid (2.37.4-r0) 17:10:00 (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 17:10:01 Executing busybox-1.34.1-r3.trigger 17:10:01 OK: 283 MiB in 83 packages 17:10:01 Removing intermediate container 90baf765521e 17:10:01 ---> bea0f36d845e 17:10:01 Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 17:10:01 ---> 759d9fc5c68e 17:10:01 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 17:10:01 ---> f9189681e097 17:10:01 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 17:10:01 ---> d1cfcb314bd3 17:10:01 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 17:10:02 ---> 981a7f0238ce 17:10:02 Successfully built 981a7f0238ce 17:10:02 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 17:10:02 + docker inspect -f . ci-base-image-x86_64 17:10:02 . [Pipeline] withDockerContainer 17:10:02 prd-ubuntu20.04-docker-8c-8g-8674 does not seem to be running inside a container 17:10:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-405 -v /w/workspace/edgexfoundry_device-sdk-c_PR-405:/w/workspace/edgexfoundry_device-sdk-c_PR-405:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-405@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-405@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 17:10:03 $ docker top 452bfff6d46ac232a2dc77845de570c481808050ad934cbec49fef2c3d1dee53 -eo pid,comm [Pipeline] { [Pipeline] sh 17:10:03 + make test 17:10:03 echo "make test" 17:10:03 make test [Pipeline] } 17:10:03 $ docker stop --time=1 452bfff6d46ac232a2dc77845de570c481808050ad934cbec49fef2c3d1dee53 17:10:05 $ docker rm -f 452bfff6d46ac232a2dc77845de570c481808050ad934cbec49fef2c3d1dee53 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:10:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:10:06 + ls -al . 17:10:06 total 208 17:10:06 drwxrwxr-x 9 jenkins jenkins 4096 Mar 23 17:09 . 17:10:06 drwxrwxr-x 4 jenkins jenkins 4096 Mar 23 17:08 .. 17:10:06 drwxrwxr-x 8 jenkins jenkins 4096 Mar 23 17:08 .git 17:10:06 drwxrwxr-x 3 jenkins jenkins 4096 Mar 23 17:08 .github 17:10:06 -rw-rw-r-- 1 jenkins jenkins 176 Mar 23 17:08 .gitignore 17:10:06 drwx------ 3 jenkins jenkins 4096 Mar 23 17:09 .semver 17:10:06 -rw-rw-r-- 1 jenkins jenkins 3104 Mar 23 17:08 Attribution.txt 17:10:06 -rw-rw-r-- 1 jenkins jenkins 8302 Mar 23 17:08 CHANGES 17:10:06 -rw-rw-r-- 1 jenkins jenkins 108574 Mar 23 17:08 Doxyfile 17:10:06 -rw-rw-r-- 1 jenkins jenkins 677 Mar 23 17:08 GOVERNANCE.md 17:10:06 -rw-rw-r-- 1 jenkins jenkins 784 Mar 23 17:08 Jenkinsfile 17:10:06 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 23 17:08 LICENSE 17:10:06 -rw-rw-r-- 1 jenkins jenkins 444 Mar 23 17:08 Makefile 17:10:06 -rw-rw-r-- 1 jenkins jenkins 618 Mar 23 17:08 OWNERS.md 17:10:06 -rw-rw-r-- 1 jenkins jenkins 4086 Mar 23 17:08 README.md 17:10:06 -rw-rw-r-- 1 jenkins jenkins 7422 Mar 23 17:08 README.v2.md 17:10:06 -rw-rw-r-- 1 jenkins jenkins 5 Mar 23 17:09 VERSION 17:10:06 drwxrwxr-x 2 jenkins jenkins 4096 Mar 23 17:08 docs 17:10:06 drwxrwxr-x 4 jenkins jenkins 4096 Mar 23 17:08 include 17:10:06 drwxrwxr-x 2 jenkins jenkins 4096 Mar 23 17:08 scripts 17:10:06 drwxrwxr-x 4 jenkins jenkins 4096 Mar 23 17:08 src [Pipeline] isUnix [Pipeline] sh 17:10:07 + 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=7ec469130c5b085487fe1a295745b41d936d73c8 --label arch=amd64 --label version=0.0.0 . 17:10:07 Sending build context to Docker daemon 4.562MB 17:10:07 Step 1/17 : ARG BASE=alpine:3.15 17:10:07 Step 2/17 : FROM ${BASE} 17:10:07 ---> 981a7f0238ce 17:10:07 Step 3/17 : LABEL maintainer="IOTech " 17:10:07 ---> Running in bc4a86ef8b42 17:10:07 Removing intermediate container bc4a86ef8b42 17:10:07 ---> dbca8b655d0e 17:10:07 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 17:10:07 ---> Running in cc4c804ab0fa 17:10:07 Connecting to iotech.jfrog.io (52.18.159.91:443) 17:10:07 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 17:10:07 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 17:10:07 '/etc/apk/keys/alpine.dev.rsa.pub' saved 17:10:08 Removing intermediate container cc4c804ab0fa 17:10:08 ---> 2048436be46d 17:10:08 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 17:10:08 ---> Running in 117051e2a5c5 17:10:09 Removing intermediate container 117051e2a5c5 17:10:09 ---> 0ebe252dfd23 17:10:09 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 17:10:09 ---> Running in b89644e6685b 17:10:09 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 17:10:10 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 17:10:10 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz 17:10:10 WARNING: This apk-tools is OLD! Some packages might not function properly. 17:10:10 (1/26) Installing libcbor-dev (0.8.0-r0) 17:10:10 (2/26) Installing ncurses-dev (6.3_p20211120-r0) 17:10:10 (3/26) Installing util-linux (2.37.4-r0) 17:10:11 (4/26) Installing libblkid (2.37.4-r0) 17:10:11 (5/26) Installing libeconf (0.4.2-r0) 17:10:11 (6/26) Installing libfdisk (2.37.4-r0) 17:10:11 (7/26) Installing libmount (2.37.4-r0) 17:10:11 (8/26) Installing libsmartcols (2.37.4-r0) 17:10:11 (9/26) Installing util-linux-misc (2.37.4-r0) 17:10:11 (10/26) Installing linux-pam (1.5.2-r0) 17:10:11 (11/26) Installing runuser (2.37.4-r0) 17:10:11 (12/26) Installing hexdump (2.37.4-r0) 17:10:11 (13/26) Installing uuidgen (2.37.4-r0) 17:10:12 (14/26) Installing blkid (2.37.4-r0) 17:10:12 (15/26) Installing sfdisk (2.37.4-r0) 17:10:12 (16/26) Installing mcookie (2.37.4-r0) 17:10:12 (17/26) Installing wipefs (2.37.4-r0) 17:10:12 (18/26) Installing cfdisk (2.37.4-r0) 17:10:12 (19/26) Installing flock (2.37.4-r0) 17:10:12 (20/26) Installing lsblk (2.37.4-r0) 17:10:12 (21/26) Installing libcap-ng (0.8.2-r1) 17:10:12 (22/26) Installing setpriv (2.37.4-r0) 17:10:12 (23/26) Installing logger (2.37.4-r0) 17:10:12 (24/26) Installing partx (2.37.4-r0) 17:10:12 (25/26) Installing findmnt (2.37.4-r0) 17:10:13 (26/26) Installing util-linux-dev (2.37.4-r0) 17:10:13 Executing busybox-1.34.1-r3.trigger 17:10:13 OK: 294 MiB in 109 packages 17:10:13 Removing intermediate container b89644e6685b 17:10:13 ---> b41066508022 17:10:13 Step 7/17 : COPY VERSION /edgex-c-sdk/ 17:10:13 ---> c4b424818e3b 17:10:13 Step 8/17 : COPY src /edgex-c-sdk/src/ 17:10:14 ---> f4a81a93f40a 17:10:14 Step 9/17 : COPY include /edgex-c-sdk/include/ 17:10:14 ---> 0d7fea6abd1d 17:10:14 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 17:10:14 ---> 4cbe097188c2 17:10:14 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 17:10:14 ---> 1592d64035db 17:10:14 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 17:10:14 ---> 34c3cf63e581 17:10:14 Step 13/17 : WORKDIR /edgex-c-sdk 17:10:14 ---> Running in 814ec662db91 17:10:15 Removing intermediate container 814ec662db91 17:10:15 ---> ff0522cea950 17:10:15 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 17:10:15 ---> Running in c6a911451e7d 17:10:15 Removing intermediate container c6a911451e7d 17:10:15 ---> 20fa48665511 17:10:15 Step 15/17 : LABEL arch=amd64 17:10:15 ---> Running in eda99350243f 17:10:15 Removing intermediate container eda99350243f 17:10:15 ---> 12d3890a963f 17:10:15 Step 16/17 : LABEL git_sha=7ec469130c5b085487fe1a295745b41d936d73c8 17:10:15 ---> Running in 471e4b93be63 17:10:15 Removing intermediate container 471e4b93be63 17:10:15 ---> 8d1ff7fca7af 17:10:15 Step 17/17 : LABEL version=0.0.0 17:10:15 ---> Running in eb3aa8f55810 17:10:15 Removing intermediate container eb3aa8f55810 17:10:15 ---> 20330d07ef35 17:10:15 [Warning] One or more build-args [MAKE ARCH] were not consumed 17:10:15 Successfully built 20330d07ef35 17:10:15 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 17:10:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:10:16 17:10:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 17:10:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:10:16 latest: Pulling from edgex-lftools-log-publisher 17:10:16 5eb5b503b376: Pulling fs layer 17:10:16 5c69ac0246d0: Pulling fs layer 17:10:16 ec43610c2a17: Pulling fs layer 17:10:16 3a2ae6a8a46f: Pulling fs layer 17:10:16 33b1e0a273af: Pulling fs layer 17:10:16 5d3b04190fa2: Pulling fs layer 17:10:16 2f39f015ded8: Pulling fs layer 17:10:16 3a2ae6a8a46f: Waiting 17:10:16 33b1e0a273af: Waiting 17:10:16 5d3b04190fa2: Waiting 17:10:16 5c69ac0246d0: Verifying Checksum 17:10:16 5c69ac0246d0: Download complete 17:10:16 3a2ae6a8a46f: Verifying Checksum 17:10:16 3a2ae6a8a46f: Download complete 17:10:16 33b1e0a273af: Verifying Checksum 17:10:16 33b1e0a273af: Download complete 17:10:16 ec43610c2a17: Verifying Checksum 17:10:16 ec43610c2a17: Download complete 17:10:16 5eb5b503b376: Verifying Checksum 17:10:16 5eb5b503b376: Download complete 17:10:17 2f39f015ded8: Verifying Checksum 17:10:17 2f39f015ded8: Download complete 17:10:18 5eb5b503b376: Pull complete 17:10:18 5c69ac0246d0: Pull complete 17:10:18 ec43610c2a17: Pull complete 17:10:18 3a2ae6a8a46f: Pull complete 17:10:18 33b1e0a273af: Pull complete 17:10:19 5d3b04190fa2: Pull complete 17:10:23 2f39f015ded8: Pull complete 17:10:23 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:10:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:10:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 17:10:23 prd-ubuntu20.04-docker-8c-8g-8674 does not seem to be running inside a container 17:10:23 $ 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-405 -v /w/workspace/edgexfoundry_device-sdk-c_PR-405:/w/workspace/edgexfoundry_device-sdk-c_PR-405:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-405@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-405@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 17:10:25 $ docker top ed5d6809d03c644d37e6b878edf564f37771038cc9801b9cd2e5941bce9c5422 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:10:26 ---> job-cost.sh 17:10:26 lf-activate-venv: SKIPPING 17:10:26 INFO: No Stack... 17:10:26 INFO: Retrieving Pricing Info for: v3-standard-8 17:10:27 INFO: Archiving Costs [Pipeline] sh 17:10:27 + cat /w/workspace/edgexfoundry_device-sdk-c_PR-405/archives/cost.csv 17:10:27 + cut -d, -f6 [Pipeline] lock 17:10:27 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-405-1-stack-cost] 17:10:27 Resource [jenkins-edgexfoundry-device-sdk-c-PR-405-1-stack-cost] did not exist. Created. 17:10:27 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-405-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:10:27 + echo total: 0.2199999988079071 [Pipeline] stash 17:10:27 Stashed 1 file(s) [Pipeline] } 17:10:27 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-405-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:10:27 $ docker stop --time=1 ed5d6809d03c644d37e6b878edf564f37771038cc9801b9cd2e5941bce9c5422 17:10:29 $ docker rm -f ed5d6809d03c644d37e6b878edf564f37771038cc9801b9cd2e5941bce9c5422 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:11:09 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8675 in /w/workspace/edgexfoundry_device-sdk-c_PR-405 [Pipeline] { [Pipeline] ws 17:11:09 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 17:11:10 Selected Git installation does not exist. Using Default 17:11:10 The recommended git tool is: NONE 17:11:17 using credential edgex-jenkins-ssh 17:11:17 Cloning the remote Git repository 17:11:17 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 17:11:17 > git init /w/workspace/device-sdk-c/1 # timeout=10 17:11:18 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 17:11:18 > git --version # timeout=10 17:11:18 > git --version # 'git version 2.25.1' 17:11:18 using GIT_SSH to set credentials SSH Credentials for GitHub 17:11:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:11:20 Merging remotes/origin/main commit 0f9fd7bebf2f77d7be2ba62bd03931a1c6f4d1f4 into PR head commit 7ec469130c5b085487fe1a295745b41d936d73c8 17:11:19 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 17:11:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:11:19 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 17:11:19 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 17:11:19 using GIT_SSH to set credentials SSH Credentials for GitHub 17:11:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/405/head:refs/remotes/origin/PR-405 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:11:20 > git config core.sparsecheckout # timeout=10 17:11:20 > git checkout -f 7ec469130c5b085487fe1a295745b41d936d73c8 # timeout=10 17:11:20 Merge succeeded, producing 7ec469130c5b085487fe1a295745b41d936d73c8 17:11:20 Checking out Revision 7ec469130c5b085487fe1a295745b41d936d73c8 (PR-405) 17:11:20 > git remote # timeout=10 17:11:20 > git config --get remote.origin.url # timeout=10 17:11:20 using GIT_SSH to set credentials SSH Credentials for GitHub 17:11:20 > git merge 0f9fd7bebf2f77d7be2ba62bd03931a1c6f4d1f4 # timeout=10 17:11:20 > git rev-parse HEAD^{commit} # timeout=10 17:11:20 > git config core.sparsecheckout # timeout=10 17:11:20 > git checkout -f 7ec469130c5b085487fe1a295745b41d936d73c8 # timeout=10 17:11:24 Commit message: "feat: Authenticate to Redis Streams / MQTT using secrets (#314)" 17:11:24 > git --version # timeout=10 17:11:24 > git --version # 'git version 2.25.1' 17:11:24 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:11:25 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:11:25 % Total % Received % Xferd Average Speed Time Time Time Current 17:11:25 Dload Upload Total Spent Left Speed 17:11:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 46996 0 --:--:-- --:--:-- --:--:-- 47183 [Pipeline] sh 17:11:26 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:11:26 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:11:26 + sudo tee /etc/docker/daemon.new 17:11:26 { 17:11:26 "registry-mirrors": [ 17:11:26 "https://nexus3.edgexfoundry.org:10001" 17:11:26 ], 17:11:26 "bip": "10.250.0.254/24", 17:11:26 "hosts": [ 17:11:26 "tcp://0.0.0.0:5555", 17:11:26 "unix:///var/run/docker.sock" 17:11:26 ], 17:11:26 "mtu": 1458, 17:11:26 "selinux-enabled": true, 17:11:26 "seccomp-profile": "/etc/docker/seccomp.json" 17:11:26 } [Pipeline] sh 17:11:27 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:11:27 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:11:46 provisioning config files... 17:11:46 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config2150690801664132429tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:11:46 ---> docker-login.sh 17:11:46 nexus3.edgexfoundry.org:10001 17:11:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:11:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:11:47 Configure a credential helper to remove this warning. See 17:11:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:11:47 17:11:47 Login Succeeded 17:11:47 nexus3.edgexfoundry.org:10002 17:11:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:11:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:11:48 Configure a credential helper to remove this warning. See 17:11:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:11:48 17:11:48 Login Succeeded 17:11:48 nexus3.edgexfoundry.org:10003 17:11:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:11:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:11:48 Configure a credential helper to remove this warning. See 17:11:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:11:48 17:11:48 Login Succeeded 17:11:48 nexus3.edgexfoundry.org:10004 17:11:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:11:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:11:48 Configure a credential helper to remove this warning. See 17:11:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:11:48 17:11:48 Login Succeeded 17:11:48 docker.io 17:11:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:11:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:11:49 Configure a credential helper to remove this warning. See 17:11:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:11:49 17:11:49 Login Succeeded 17:11:49 ---> docker-login.sh ends [Pipeline] } 17:11:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:11:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:11:50 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 17:11:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:11:50 ========================================================= 17:11:50 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 17:11:50 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 17:11:50 + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . 17:11:51 Sending build context to Docker daemon 2.789MB 17:11:51 Step 1/22 : ARG BASE=alpine:3.15 17:11:51 Step 2/22 : FROM ${BASE} as builder 17:11:51 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 17:11:51 9b3977197b4f: Pulling fs layer 17:11:51 2a93055cfd06: Pulling fs layer 17:11:51 ff5fdaca7850: Pulling fs layer 17:11:51 2a93055cfd06: Download complete 17:11:51 9b3977197b4f: Download complete 17:11:52 9b3977197b4f: Pull complete 17:11:52 2a93055cfd06: Pull complete 17:11:53 ff5fdaca7850: Verifying Checksum 17:11:53 ff5fdaca7850: Download complete 17:12:02 ff5fdaca7850: Pull complete 17:12:02 Digest: sha256:bf249b2a65b15776358c73a8f9886e573022f6b9ba75e542fbdefbaa4c9006da 17:12:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 17:12:02 ---> 0af3d9908a83 17:12:02 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 17:12:02 ---> Running in 0951789b86c1 17:12:04 Connecting to iotech.jfrog.io (52.49.191.191:443) 17:12:04 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 17:12:04 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 17:12:04 '/etc/apk/keys/alpine.dev.rsa.pub' saved 17:12:05 Removing intermediate container 0951789b86c1 17:12:05 ---> 537a18cd0ec3 17:12:05 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 17:12:05 ---> Running in bcfa12f46e6c 17:12:07 Removing intermediate container bcfa12f46e6c 17:12:07 ---> 7cd43dcd6bda 17:12:07 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 17:12:07 ---> Running in 8d3dbba08df2 17:12:07 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 17:12:08 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 17:12:09 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz 17:12:09 WARNING: This apk-tools is OLD! Some packages might not function properly. 17:12:09 (1/31) Installing hiredis (1.0.2-r0) 17:12:10 (2/31) Installing hiredis-dev (1.0.2-r0) 17:12:10 (3/31) Installing libcbor (0.8.0-r0) 17:12:10 (4/31) Installing libcbor-dev (0.8.0-r0) 17:12:10 (5/31) Installing ncurses-dev (6.3_p20211120-r0) 17:12:10 (6/31) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 17:12:11 (7/31) Installing util-linux (2.37.4-r0) 17:12:11 (8/31) Installing libblkid (2.37.4-r0) 17:12:11 (9/31) Installing libeconf (0.4.2-r0) 17:12:11 (10/31) Installing libuuid (2.37.4-r0) 17:12:11 (11/31) Installing libfdisk (2.37.4-r0) 17:12:11 (12/31) Installing libmount (2.37.4-r0) 17:12:11 (13/31) Installing libsmartcols (2.37.4-r0) 17:12:11 (14/31) Installing util-linux-misc (2.37.4-r0) 17:12:12 (15/31) Installing linux-pam (1.5.2-r0) 17:12:12 (16/31) Installing runuser (2.37.4-r0) 17:12:12 (17/31) Installing hexdump (2.37.4-r0) 17:12:12 (18/31) Installing uuidgen (2.37.4-r0) 17:12:12 (19/31) Installing blkid (2.37.4-r0) 17:12:12 (20/31) Installing sfdisk (2.37.4-r0) 17:12:12 (21/31) Installing mcookie (2.37.4-r0) 17:12:12 (22/31) Installing wipefs (2.37.4-r0) 17:12:12 (23/31) Installing cfdisk (2.37.4-r0) 17:12:12 (24/31) Installing flock (2.37.4-r0) 17:12:13 (25/31) Installing lsblk (2.37.4-r0) 17:12:13 (26/31) Installing libcap-ng (0.8.2-r1) 17:12:13 (27/31) Installing setpriv (2.37.4-r0) 17:12:13 (28/31) Installing logger (2.37.4-r0) 17:12:13 (29/31) Installing partx (2.37.4-r0) 17:12:13 (30/31) Installing findmnt (2.37.4-r0) 17:12:13 (31/31) Installing util-linux-dev (2.37.4-r0) 17:12:13 Executing busybox-1.34.1-r3.trigger 17:12:14 OK: 289 MiB in 108 packages 17:12:15 Removing intermediate container 8d3dbba08df2 17:12:15 ---> d08ae36d15a1 17:12:15 Step 6/22 : RUN mkdir /tmp/sdk 17:12:15 ---> Running in 9f5c4249e990 17:12:16 Removing intermediate container 9f5c4249e990 17:12:16 ---> 3bea7fd875ff 17:12:16 Step 7/22 : COPY VERSION /tmp/sdk 17:12:17 ---> e2727374f648 17:12:17 Step 8/22 : COPY src /tmp/sdk/src 17:12:18 ---> ef5ca2ef9e65 17:12:18 Step 9/22 : COPY include /tmp/sdk/include 17:12:18 ---> def139e80278 17:12:18 Step 10/22 : COPY scripts /tmp/sdk/scripts 17:12:19 ---> 85858acb296a 17:12:19 Step 11/22 : COPY LICENSE /tmp/sdk 17:12:19 ---> 592f4d4d8805 17:12:19 Step 12/22 : COPY Attribution.txt /tmp/sdk 17:12:20 ---> a548846020fa 17:12:20 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 17:12:20 ---> Running in cab8a02c5105 17:12:21 + CPPCHECK=false 17:12:21 + DOCGEN=false 17:12:21 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 17:12:21 + TOMLVER=SDK-0.2 17:12:21 + CUTILVER=1.2.2 17:12:21 + '[' 0 -gt 0 ] 17:12:21 + readlink -f ./scripts/build.sh 17:12:21 + dirname /tmp/sdk/scripts/build.sh 17:12:21 + dirname /tmp/sdk/scripts 17:12:21 + ROOT=/tmp/sdk 17:12:21 + cd /tmp/sdk 17:12:21 + '[' '!' -d deps ] 17:12:21 + mkdir deps 17:12:21 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 17:12:21 + tar -C deps -z -x -f - 17:12:21 Connecting to github.com (140.82.113.4:443) 17:12:21 Connecting to codeload.github.com (140.82.113.9:443) 17:12:21 writing to stdout 17:12:21 - 100% |********************************| 16451 0:00:00 ETA 17:12:21 written to stdout 17:12:21 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 17:12:21 + + wgettar -O -C - deps https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz -z 17:12:21 -x -f - 17:12:21 Connecting to github.com (140.82.113.4:443) 17:12:22 Connecting to codeload.github.com (140.82.113.9:443) 17:12:22 writing to stdout 17:12:22 - 100% |********************************| 189k 0:00:00 ETA 17:12:22 written to stdout 17:12:22 + mkdir -p src/c/iot 17:12:22 + 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 17:12:22 + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot 17:12:22 + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot 17:12:22 + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot 17:12:22 + mkdir -p include/iot 17:12:22 + 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 17:12:22 + mkdir -p include/iot/os 17:12:22 + 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 17:12:22 + mkdir -p /tmp/sdk/build/release 17:12:22 + cd /tmp/sdk/build/release 17:12:22 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 17:12:22 -- The C compiler identification is GNU 10.3.1 17:12:22 -- Detecting C compiler ABI info 17:12:23 -- Detecting C compiler ABI info - done 17:12:23 -- Check for working C compiler: /usr/bin/cc - skipped 17:12:23 -- Detecting C compile features 17:12:23 -- Detecting C compile features - done 17:12:23 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 17:12:23 -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") 17:12:23 -- Found LIBYAML: /usr/lib/libyaml.so 17:12:23 -- Found LIBUUID: /usr/lib/libuuid.so 17:12:23 -- Found LIBCBOR: /usr/lib/libcbor.so 17:12:23 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 17:12:23 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 17:12:23 -- C SDK 0.0.0 for Linux 17:12:23 -- Performing Test CSDK_HAVE_ATOMIC 17:12:24 -- Performing Test CSDK_HAVE_ATOMIC - Success 17:12:24 -- Found Curses: /usr/lib/libcurses.so 17:12:24 -- Configuring done 17:12:24 -- Generating done 17:12:24 -- Build files have been written to: /tmp/sdk/build/release 17:12:24 + + teemake release.log all 17:12:24 package 17:12:24 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 17:12:25 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 17:12:26 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 17:12:28 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 17:12:29 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 17:12:29 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 17:12:30 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 17:12:31 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 17:12:31 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 17:12:33 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 17:12:35 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 17:12:35 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 17:12:36 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 17:12:37 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 17:12:38 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 17:12:38 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 17:12:38 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 17:12:42 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 17:12:42 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 17:12:42 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 17:12:42 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 17:12:43 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 17:12:43 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 17:12:43 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 17:12:43 275 | const iot_component_factory_t * factory; 17:12:43 | ^~~~~~~ 17:12:44 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 17:12:49 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 17:12:49 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 17:12:50 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 17:12:50 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 17:12:51 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 17:12:51 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 17:12:53 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 17:12:53 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 17:12:54 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 17:12:54 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 17:12:55 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 17:12:57 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 17:12:58 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 17:12:59 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 17:12:59 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 17:13:05 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 17:13:05 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 17:13:06 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 17:13:06 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 17:13:06 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 17:13:06 /tmp/sdk/src/c/rest-server.c:250:65: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] 17:13:06 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 17:13:06 | ^~~~~~~~~~~~~ 17:13:06 | | 17:13:06 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 17:13:06 In file included from /tmp/sdk/src/c/rest-server.c:21: 17:13:06 /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 *)' 17:13:06 2784 | MHD_KeyValueIterator iterator, 17:13:06 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 17:13:06 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 17:13:06 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 17:13:06 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 17:13:06 | ^~~~~~~~~~~~ 17:13:06 | | 17:13:06 | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} 17:13:06 In file included from /tmp/sdk/src/c/rest-server.c:21: 17:13:06 /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 **)'} 17:13:06 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 17:13:06 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 17:13:06 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 17:13:06 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 17:13:06 | ^~~~~~~~~~~~ 17:13:06 | | 17:13:06 | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} 17:13:06 In file included from /tmp/sdk/src/c/rest-server.c:21: 17:13:06 /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 **)'} 17:13:06 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 17:13:06 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 17:13:07 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 17:13:10 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 17:13:10 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 17:13:10 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 17:13:11 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 17:13:14 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 17:13:18 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 17:13:18 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 17:13:19 [ 76%] Linking C shared library libcsdk.so 17:13:19 [ 76%] Built target csdk 17:13:19 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 17:13:20 [ 79%] Linking C executable template 17:13:21 [ 79%] Built target template 17:13:21 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 17:13:21 [ 82%] Linking C executable device-counter 17:13:21 [ 82%] Built target device-counter 17:13:21 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 17:13:22 [ 85%] Linking C executable device-random 17:13:22 [ 85%] Built target device-random 17:13:22 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 17:13:23 [ 88%] Linking C executable device-gyro 17:13:23 [ 88%] Built target device-gyro 17:13:23 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 17:13:23 [ 91%] Linking C executable device-bitfields 17:13:24 [ 91%] Built target device-bitfields 17:13:24 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 17:13:25 [ 94%] Linking C executable template-discovery 17:13:25 [ 94%] Built target template-discovery 17:13:25 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 17:13:26 [ 97%] Linking C executable device-file 17:13:26 [ 97%] Built target device-file 17:13:26 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 17:13:27 [100%] Linking C executable device-terminal 17:13:27 [100%] Built target device-terminal 17:13:27 Run CPack packaging tool... 17:13:27 CPack: Create package using TGZ 17:13:27 CPack: Install projects 17:13:27 CPack: - Run preinstall target for: Csdk 17:13:28 CPack: - Install project: Csdk [] 17:13:28 CPack: Create package 17:13:28 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 17:13:28 + '[' false '=' true ] 17:13:28 + '[' false '=' true ] 17:13:28 + mkdir -p /tmp/sdk/build/debug 17:13:28 + cd /tmp/sdk/build/debug 17:13:28 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 17:13:28 -- The C compiler identification is GNU 10.3.1 17:13:28 -- Detecting C compiler ABI info 17:13:29 -- Detecting C compiler ABI info - done 17:13:29 -- Check for working C compiler: /usr/bin/cc - skipped 17:13:29 -- Detecting C compile features 17:13:29 -- Detecting C compile features - done 17:13:29 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 17:13:29 -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") 17:13:29 -- Found LIBYAML: /usr/lib/libyaml.so 17:13:29 -- Found LIBUUID: /usr/lib/libuuid.so 17:13:29 -- Found LIBCBOR: /usr/lib/libcbor.so 17:13:29 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 17:13:29 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 17:13:29 -- C SDK 0.0.0 for Linux 17:13:29 -- Performing Test CSDK_HAVE_ATOMIC 17:13:30 -- Performing Test CSDK_HAVE_ATOMIC - Success 17:13:30 -- Found Curses: /usr/lib/libcurses.so 17:13:30 -- Configuring done 17:13:30 -- Generating done 17:13:30 -- Build files have been written to: /tmp/sdk/build/debug 17:13:30 + + make 17:13:30 tee debug.log 17:13:30 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 17:13:31 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 17:13:31 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 17:13:32 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 17:13:32 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 17:13:32 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 17:13:33 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 17:13:33 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 17:13:33 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 17:13:34 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 17:13:35 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 17:13:35 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 17:13:35 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 17:13:36 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 17:13:36 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 17:13:36 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 17:13:36 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 17:13:37 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 17:13:37 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 17:13:38 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 17:13:38 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 17:13:38 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 17:13:39 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 17:13:39 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 17:13:39 275 | const iot_component_factory_t * factory; 17:13:39 | ^~~~~~~ 17:13:39 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 17:13:40 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 17:13:40 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 17:13:40 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 17:13:41 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 17:13:41 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 17:13:41 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 17:13:41 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 17:13:42 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 17:13:42 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 17:13:42 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 17:13:43 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 17:13:43 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 17:13:43 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 17:13:44 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 17:13:44 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 17:13:45 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 17:13:46 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 17:13:46 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 17:13:46 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 17:13:47 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 17:13:47 /tmp/sdk/src/c/rest-server.c:250:65: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] 17:13:47 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 17:13:47 | ^~~~~~~~~~~~~ 17:13:47 | | 17:13:47 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 17:13:47 In file included from /tmp/sdk/src/c/rest-server.c:21: 17:13:47 /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 *)' 17:13:47 2784 | MHD_KeyValueIterator iterator, 17:13:47 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 17:13:47 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 17:13:47 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 17:13:47 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 17:13:47 | ^~~~~~~~~~~~ 17:13:47 | | 17:13:47 | 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 **)} 17:13:47 In file included from /tmp/sdk/src/c/rest-server.c:21: 17:13:47 /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 **)'} 17:13:47 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 17:13:47 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 17:13:47 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 17:13:47 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 17:13:47 | ^~~~~~~~~~~~ 17:13:47 | | 17:13:47 | 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 **)} 17:13:47 In file included from /tmp/sdk/src/c/rest-server.c:21: 17:13:47 /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 **)'} 17:13:47 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 17:13:47 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 17:13:47 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 17:13:48 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 17:13:49 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 17:13:49 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 17:13:49 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 17:13:50 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 17:13:51 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 17:13:51 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 17:13:52 [ 76%] Linking C shared library libcsdk.so 17:13:52 [ 76%] Built target csdk 17:13:52 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 17:13:52 [ 79%] Linking C executable template 17:13:53 [ 79%] Built target template 17:13:53 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 17:13:53 [ 82%] Linking C executable device-counter 17:13:53 [ 82%] Built target device-counter 17:13:53 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 17:13:53 [ 85%] Linking C executable device-random 17:13:54 [ 85%] Built target device-random 17:13:54 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 17:13:54 [ 88%] Linking C executable device-gyro 17:13:55 [ 88%] Built target device-gyro 17:13:55 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 17:13:55 [ 91%] Linking C executable device-bitfields 17:13:55 [ 91%] Built target device-bitfields 17:13:55 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 17:13:55 [ 94%] Linking C executable template-discovery 17:13:56 [ 94%] Built target template-discovery 17:13:56 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 17:13:56 [ 97%] Linking C executable device-file 17:13:56 [ 97%] Built target device-file 17:13:57 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 17:13:57 [100%] Linking C executable device-terminal 17:13:57 [100%] Built target device-terminal 17:13:57 make: Entering directory '/tmp/sdk/build/release' 17:13:57 make[1]: Entering directory '/tmp/sdk/build/release' 17:13:57 make[2]: Entering directory '/tmp/sdk/build/release' 17:13:57 make[2]: Leaving directory '/tmp/sdk/build/release' 17:13:57 [ 76%] Built target csdk 17:13:57 make[2]: Entering directory '/tmp/sdk/build/release' 17:13:57 make[2]: Leaving directory '/tmp/sdk/build/release' 17:13:57 [ 79%] Built target template 17:13:57 make[2]: Entering directory '/tmp/sdk/build/release' 17:13:57 make[2]: Leaving directory '/tmp/sdk/build/release' 17:13:57 [ 82%] Built target device-counter 17:13:57 make[2]: Entering directory '/tmp/sdk/build/release' 17:13:57 make[2]: Leaving directory '/tmp/sdk/build/release' 17:13:58 [ 85%] Built target device-random 17:13:58 make[2]: Entering directory '/tmp/sdk/build/release' 17:13:58 make[2]: Leaving directory '/tmp/sdk/build/release' 17:13:58 [ 88%] Built target device-gyro 17:13:58 make[2]: Entering directory '/tmp/sdk/build/release' 17:13:58 make[2]: Leaving directory '/tmp/sdk/build/release' 17:13:58 [ 91%] Built target device-bitfields 17:13:58 make[2]: Entering directory '/tmp/sdk/build/release' 17:13:58 make[2]: Leaving directory '/tmp/sdk/build/release' 17:13:58 [ 94%] Built target template-discovery 17:13:58 make[2]: Entering directory '/tmp/sdk/build/release' 17:13:58 make[2]: Leaving directory '/tmp/sdk/build/release' 17:13:58 [ 97%] Built target device-file 17:13:58 make[2]: Entering directory '/tmp/sdk/build/release' 17:13:58 make[2]: Leaving directory '/tmp/sdk/build/release' 17:13:58 [100%] Built target device-terminal 17:13:58 make[1]: Leaving directory '/tmp/sdk/build/release' 17:13:58 Install the project... 17:13:58 -- Install configuration: "Release" 17:13:58 -- Installing: /usr/local/lib/libcsdk.so 17:13:58 -- Installing: /usr/local/include 17:13:58 -- Installing: /usr/local/include/devsdk 17:13:58 -- Installing: /usr/local/include/devsdk/devsdk.h 17:13:58 -- Installing: /usr/local/include/devsdk/devsdk-base.h 17:13:58 -- Installing: /usr/local/include/edgex 17:13:58 -- Installing: /usr/local/include/edgex/rest-server.h 17:13:58 -- Installing: /usr/local/include/edgex/edgex.h 17:13:58 -- Installing: /usr/local/include/edgex/edgex-base.h 17:13:58 -- Installing: /usr/local/include/edgex/devices.h 17:13:58 -- Installing: /usr/local/include/edgex/profiles.h 17:13:58 -- Installing: /usr/local/include/edgex/csdk-defs.h 17:13:58 -- Installing: /usr/local/include/iot 17:13:58 -- Installing: /usr/local/include/iot/threadpool.h 17:13:58 -- Installing: /usr/local/include/iot/defs.h 17:13:58 -- Installing: /usr/local/include/iot/time.h 17:13:58 -- Installing: /usr/local/include/iot/base64.h 17:13:58 -- Installing: /usr/local/include/iot/component.h 17:13:58 -- Installing: /usr/local/include/iot/scheduler.h 17:13:58 -- Installing: /usr/local/include/iot/config.h 17:13:58 -- Installing: /usr/local/include/iot/container.h 17:13:58 -- Installing: /usr/local/include/iot/uuid.h 17:13:58 -- Installing: /usr/local/include/iot/os.h 17:13:58 -- Installing: /usr/local/include/iot/thread.h 17:13:58 -- Installing: /usr/local/include/iot/data.h 17:13:58 -- Installing: /usr/local/include/iot/typecode.h 17:13:58 -- Installing: /usr/local/include/iot/hash.h 17:13:58 -- Installing: /usr/local/include/iot/logger.h 17:13:58 -- Installing: /usr/local/include/iot/os 17:13:58 -- Installing: /usr/local/include/iot/os/zephyr.h 17:13:58 -- Installing: /usr/local/include/iot/os/macos.h 17:13:58 -- Installing: /usr/local/include/iot/os/linux.h 17:13:58 -- Installing: /usr/local/include/iot/json.h 17:13:58 -- Installing: /usr/local/include/iot/iot.h 17:13:58 -- Installing: /usr/local/share/device-sdk-c/LICENSE 17:13:58 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 17:13:58 make: Leaving directory '/tmp/sdk/build/release' 17:14:00 Removing intermediate container cab8a02c5105 17:14:00 ---> fdcaaca3ce75 17:14:00 Step 14/22 : FROM ${BASE} 17:14:00 ---> 0af3d9908a83 17:14:00 Step 15/22 : LABEL maintainer="IOTech " 17:14:00 ---> Running in 36a0a4f329b2 17:14:00 Removing intermediate container 36a0a4f329b2 17:14:00 ---> 79c1a414c3ef 17:14:00 Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 17:14:00 ---> Running in f86f664f5867 17:14:01 Connecting to iotech.jfrog.io (52.18.159.91:443) 17:14:02 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 17:14:02 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 17:14:02 '/etc/apk/keys/alpine.dev.rsa.pub' saved 17:14:02 Removing intermediate container f86f664f5867 17:14:02 ---> 5cc326d36e0e 17:14:02 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 17:14:02 ---> Running in 4d43b74b71ef 17:14:04 Removing intermediate container 4d43b74b71ef 17:14:04 ---> 629c7820c995 17:14:04 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 17:14:04 ---> Running in 0a65a3495ebf 17:14:05 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 17:14:06 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 17:14:06 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz 17:14:07 WARNING: This apk-tools is OLD! Some packages might not function properly. 17:14:07 (1/6) Installing curl (7.80.0-r0) 17:14:07 (2/6) Installing hiredis (1.0.2-r0) 17:14:07 (3/6) Installing hiredis-dev (1.0.2-r0) 17:14:07 (4/6) Installing libcbor (0.8.0-r0) 17:14:08 (5/6) Installing libuuid (2.37.4-r0) 17:14:08 (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 17:14:09 Executing busybox-1.34.1-r3.trigger 17:14:09 OK: 278 MiB in 83 packages 17:14:09 Removing intermediate container 0a65a3495ebf 17:14:09 ---> 65ce89491c88 17:14:09 Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 17:14:10 ---> 7596f4bd8ebc 17:14:10 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 17:14:11 ---> 41517d50f91b 17:14:11 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 17:14:11 ---> 69eab4f1296c 17:14:11 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 17:14:12 ---> c57c44a4707a 17:14:12 Successfully built c57c44a4707a 17:14:12 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:14:12 + docker inspect -f . ci-base-image-arm64 17:14:12 . [Pipeline] withDockerContainer 17:14:13 prd-ubuntu20.04-docker-arm64-4c-16g-8675 does not seem to be running inside a container 17:14:13 $ 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 17:14:14 $ docker top 7358a21c4cc5ab3b9e893bc4e53a56a56f2542933a415af8412b24a03b71692d -eo pid,comm [Pipeline] { [Pipeline] sh 17:14:15 + make test 17:14:15 echo "make test" 17:14:15 make test [Pipeline] } 17:14:15 $ docker stop --time=1 7358a21c4cc5ab3b9e893bc4e53a56a56f2542933a415af8412b24a03b71692d 17:14:17 $ docker rm -f 7358a21c4cc5ab3b9e893bc4e53a56a56f2542933a415af8412b24a03b71692d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:14:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:14:18 + ls -al . 17:14:18 total 204 17:14:18 drwxrwxr-x 8 jenkins jenkins 4096 Mar 23 17:11 . 17:14:18 drwxrwxr-x 4 jenkins jenkins 4096 Mar 23 17:11 .. 17:14:18 drwxrwxr-x 8 jenkins jenkins 4096 Mar 23 17:11 .git 17:14:18 drwxrwxr-x 3 jenkins jenkins 4096 Mar 23 17:11 .github 17:14:18 -rw-rw-r-- 1 jenkins jenkins 176 Mar 23 17:11 .gitignore 17:14:18 -rw-rw-r-- 1 jenkins jenkins 3104 Mar 23 17:11 Attribution.txt 17:14:18 -rw-rw-r-- 1 jenkins jenkins 8302 Mar 23 17:11 CHANGES 17:14:18 -rw-rw-r-- 1 jenkins jenkins 108574 Mar 23 17:11 Doxyfile 17:14:18 -rw-rw-r-- 1 jenkins jenkins 677 Mar 23 17:11 GOVERNANCE.md 17:14:18 -rw-rw-r-- 1 jenkins jenkins 784 Mar 23 17:11 Jenkinsfile 17:14:18 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 23 17:11 LICENSE 17:14:18 -rw-rw-r-- 1 jenkins jenkins 444 Mar 23 17:11 Makefile 17:14:18 -rw-rw-r-- 1 jenkins jenkins 618 Mar 23 17:11 OWNERS.md 17:14:18 -rw-rw-r-- 1 jenkins jenkins 4086 Mar 23 17:11 README.md 17:14:18 -rw-rw-r-- 1 jenkins jenkins 7422 Mar 23 17:11 README.v2.md 17:14:18 -rw-rw-r-- 1 jenkins jenkins 5 Mar 23 17:09 VERSION 17:14:18 drwxrwxr-x 2 jenkins jenkins 4096 Mar 23 17:11 docs 17:14:18 drwxrwxr-x 4 jenkins jenkins 4096 Mar 23 17:11 include 17:14:18 drwxrwxr-x 2 jenkins jenkins 4096 Mar 23 17:11 scripts 17:14:18 drwxrwxr-x 4 jenkins jenkins 4096 Mar 23 17:11 src [Pipeline] isUnix [Pipeline] sh 17:14:18 + 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=7ec469130c5b085487fe1a295745b41d936d73c8 --label arch=arm64 --label version=0.0.0 . 17:14:19 Sending build context to Docker daemon 2.789MB 17:14:19 Step 1/17 : ARG BASE=alpine:3.15 17:14:19 Step 2/17 : FROM ${BASE} 17:14:19 ---> c57c44a4707a 17:14:19 Step 3/17 : LABEL maintainer="IOTech " 17:14:19 ---> Running in 7011e55cf574 17:14:19 Removing intermediate container 7011e55cf574 17:14:19 ---> 7b6862fd0c27 17:14:19 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 17:14:19 ---> Running in 28c3f898b97d 17:14:20 Connecting to iotech.jfrog.io (52.49.191.191:443) 17:14:21 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 17:14:21 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 17:14:21 '/etc/apk/keys/alpine.dev.rsa.pub' saved 17:14:21 Removing intermediate container 28c3f898b97d 17:14:21 ---> 210cf2183db9 17:14:21 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 17:14:21 ---> Running in e6aaddcca266 17:14:23 Removing intermediate container e6aaddcca266 17:14:23 ---> 97e5e95cdcaf 17:14:23 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 17:14:23 ---> Running in 2dd25eecc22f 17:14:24 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 17:14:25 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 17:14:25 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz 17:14:26 WARNING: This apk-tools is OLD! Some packages might not function properly. 17:14:26 (1/26) Installing libcbor-dev (0.8.0-r0) 17:14:26 (2/26) Installing ncurses-dev (6.3_p20211120-r0) 17:14:26 (3/26) Installing util-linux (2.37.4-r0) 17:14:26 (4/26) Installing libblkid (2.37.4-r0) 17:14:26 (5/26) Installing libeconf (0.4.2-r0) 17:14:26 (6/26) Installing libfdisk (2.37.4-r0) 17:14:26 (7/26) Installing libmount (2.37.4-r0) 17:14:27 (8/26) Installing libsmartcols (2.37.4-r0) 17:14:27 (9/26) Installing util-linux-misc (2.37.4-r0) 17:14:27 (10/26) Installing linux-pam (1.5.2-r0) 17:14:27 (11/26) Installing runuser (2.37.4-r0) 17:14:27 (12/26) Installing hexdump (2.37.4-r0) 17:14:27 (13/26) Installing uuidgen (2.37.4-r0) 17:14:27 (14/26) Installing blkid (2.37.4-r0) 17:14:27 (15/26) Installing sfdisk (2.37.4-r0) 17:14:27 (16/26) Installing mcookie (2.37.4-r0) 17:14:28 (17/26) Installing wipefs (2.37.4-r0) 17:14:28 (18/26) Installing cfdisk (2.37.4-r0) 17:14:28 (19/26) Installing flock (2.37.4-r0) 17:14:28 (20/26) Installing lsblk (2.37.4-r0) 17:14:28 (21/26) Installing libcap-ng (0.8.2-r1) 17:14:28 (22/26) Installing setpriv (2.37.4-r0) 17:14:28 (23/26) Installing logger (2.37.4-r0) 17:14:28 (24/26) Installing partx (2.37.4-r0) 17:14:28 (25/26) Installing findmnt (2.37.4-r0) 17:14:28 (26/26) Installing util-linux-dev (2.37.4-r0) 17:14:29 Executing busybox-1.34.1-r3.trigger 17:14:29 OK: 290 MiB in 109 packages 17:14:30 Removing intermediate container 2dd25eecc22f 17:14:30 ---> 0622b9ae8ac3 17:14:30 Step 7/17 : COPY VERSION /edgex-c-sdk/ 17:14:30 ---> b5fd86ee548f 17:14:30 Step 8/17 : COPY src /edgex-c-sdk/src/ 17:14:31 ---> e3ecbc106f0d 17:14:31 Step 9/17 : COPY include /edgex-c-sdk/include/ 17:14:32 ---> 15e0459b2c57 17:14:32 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 17:14:32 ---> 674470809e8d 17:14:32 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 17:14:33 ---> aa4b0c74c3f0 17:14:33 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 17:14:33 ---> 7a6fd5b5b590 17:14:33 Step 13/17 : WORKDIR /edgex-c-sdk 17:14:33 ---> Running in a4ded09f519a 17:14:34 Removing intermediate container a4ded09f519a 17:14:34 ---> f31b1764f73a 17:14:34 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 17:14:34 ---> Running in 4a87dbb8ee8f 17:14:34 Removing intermediate container 4a87dbb8ee8f 17:14:34 ---> 85864afb4901 17:14:34 Step 15/17 : LABEL arch=arm64 17:14:34 ---> Running in 6d40db082bf7 17:14:34 Removing intermediate container 6d40db082bf7 17:14:34 ---> 460c6910c92f 17:14:34 Step 16/17 : LABEL git_sha=7ec469130c5b085487fe1a295745b41d936d73c8 17:14:34 ---> Running in 69a9ffaa9dc7 17:14:35 Removing intermediate container 69a9ffaa9dc7 17:14:35 ---> 517e604b3f56 17:14:35 Step 17/17 : LABEL version=0.0.0 17:14:35 ---> Running in cb76ecc9b77f 17:14:35 Removing intermediate container cb76ecc9b77f 17:14:35 ---> c0081d092d7f 17:14:35 [Warning] One or more build-args [MAKE ARCH] were not consumed 17:14:35 Successfully built c0081d092d7f 17:14:35 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 17:14:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:14:36 17:14:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 17:14:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:14:37 arm64: Pulling from edgex-lftools-log-publisher 17:14:37 8998bd30e6a1: Pulling fs layer 17:14:37 04944245beec: Pulling fs layer 17:14:37 699f458cf7ca: Pulling fs layer 17:14:37 765212b225bb: Pulling fs layer 17:14:37 f23df028b6ca: Pulling fs layer 17:14:37 d65c8cfc05b1: Pulling fs layer 17:14:37 2437ff75d9bd: Pulling fs layer 17:14:37 d65c8cfc05b1: Waiting 17:14:37 2437ff75d9bd: Waiting 17:14:37 765212b225bb: Waiting 17:14:37 f23df028b6ca: Waiting 17:14:37 04944245beec: Verifying Checksum 17:14:37 04944245beec: Download complete 17:14:37 765212b225bb: Verifying Checksum 17:14:37 765212b225bb: Download complete 17:14:37 f23df028b6ca: Verifying Checksum 17:14:37 f23df028b6ca: Download complete 17:14:37 d65c8cfc05b1: Verifying Checksum 17:14:37 d65c8cfc05b1: Download complete 17:14:37 699f458cf7ca: Verifying Checksum 17:14:37 699f458cf7ca: Download complete 17:14:37 8998bd30e6a1: Verifying Checksum 17:14:37 8998bd30e6a1: Download complete 17:14:40 2437ff75d9bd: Verifying Checksum 17:14:40 2437ff75d9bd: Download complete 17:14:42 8998bd30e6a1: Pull complete 17:14:42 04944245beec: Pull complete 17:14:44 699f458cf7ca: Pull complete 17:14:44 765212b225bb: Pull complete 17:14:45 f23df028b6ca: Pull complete 17:14:45 d65c8cfc05b1: Pull complete 17:15:04 2437ff75d9bd: Pull complete 17:15:04 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:15:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:15:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 17:15:04 prd-ubuntu20.04-docker-arm64-4c-16g-8675 does not seem to be running inside a container 17:15:04 $ 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 17:15:07 $ docker top e0214ae90f7af1bb9f21c6b807da06c3f9a5b78fd0618095f7d94fb648bcbea5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:15:08 ---> job-cost.sh 17:15:08 lf-activate-venv: SKIPPING 17:15:08 INFO: No Stack... 17:15:08 INFO: Retrieving Pricing Info for: v3-standard-4 17:15:09 INFO: Archiving Costs [Pipeline] sh 17:15:10 + + cut -d,cat -f6 /w/workspace/device-sdk-c/1/archives/cost.csv 17:15:10 [Pipeline] lock 17:15:10 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-405-1-stack-cost] 17:15:10 Resource [jenkins-edgexfoundry-device-sdk-c-PR-405-1-stack-cost] did not exist. Created. 17:15:10 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-405-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:15:10 /w/workspace/device-sdk-c/1@tmp/durable-5f71e3dc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:15:11 + echo total: 0.10999999940395355 [Pipeline] stash 17:15:11 Warning: overwriting stash ‘stack-cost’ 17:15:12 Stashed 1 file(s) [Pipeline] } 17:15:12 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-405-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:15:12 $ docker stop --time=1 e0214ae90f7af1bb9f21c6b807da06c3f9a5b78fd0618095f7d94fb648bcbea5 17:15:13 $ docker rm -f e0214ae90f7af1bb9f21c6b807da06c3f9a5b78fd0618095f7d94fb648bcbea5 [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 17:15:15 + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-405/archives ] 17:15:15 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-405/archives 17:15:15 total 16 17:15:15 drwxr-xr-x 3 root root 4096 Mar 23 17:10 . 17:15:15 drwxrwxr-x 10 jenkins jenkins 4096 Mar 23 17:10 .. 17:15:15 drwxr-xr-x 2 root root 4096 Mar 23 17:10 cost 17:15:15 -rw-r--r-- 1 root root 83 Mar 23 17:10 cost.csv 17:15:15 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-405/archives 17:15:15 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-405/archives 17:15:15 total 16 17:15:15 drwxr-xr-x 3 jenkins jenkins 4096 Mar 23 17:10 . 17:15:15 drwxrwxr-x 10 jenkins jenkins 4096 Mar 23 17:10 .. 17:15:15 drwxr-xr-x 2 jenkins jenkins 4096 Mar 23 17:10 cost 17:15:15 -rw-r--r-- 1 jenkins jenkins 83 Mar 23 17:10 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:15:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:15:16 ---> package-listing.sh 17:15:16 ++ tr '[:upper:]' '[:lower:]' 17:15:16 ++ facter osfamily 17:15:17 + OS_FAMILY=debian 17:15:17 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-405 17:15:17 + START_PACKAGES=/tmp/packages_start.txt 17:15:17 + END_PACKAGES=/tmp/packages_end.txt 17:15:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:15:17 + PACKAGES=/tmp/packages_start.txt 17:15:17 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-405 ']' 17:15:17 + PACKAGES=/tmp/packages_end.txt 17:15:17 + case "${OS_FAMILY}" in 17:15:17 + dpkg -l 17:15:17 + grep '^ii' 17:15:17 + '[' -f /tmp/packages_start.txt ']' 17:15:17 + '[' -f /tmp/packages_end.txt ']' 17:15:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:15:17 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-405 ']' 17:15:17 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-405/archives/ 17:15:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-405/archives/ [Pipeline] echo 17:15:17 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-405/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:15:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 17:15:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:15:18 . [Pipeline] withDockerContainer 17:15:18 prd-ubuntu20.04-docker-8c-8g-8674 does not seem to be running inside a container 17:15:18 $ 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-405/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-405 -v /w/workspace/edgexfoundry_device-sdk-c_PR-405:/w/workspace/edgexfoundry_device-sdk-c_PR-405:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-405@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-405@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 17:15:18 $ docker top 2c9b5a6e4d6edeab6ebda1d180141babf5eb81e94428879a874f525b52066996 -eo pid,comm [Pipeline] { [Pipeline] sh 17:15:18 + touch /tmp/pre-build-complete [Pipeline] sh 17:15:19 + mkdir -p /var/log/sysstat [Pipeline] sh 17:15:19 + ls /var/log/sa-host 17:15:19 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:15:19 provisioning config files... 17:15:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-405@tmp/config5090447133800301274tmp [Pipeline] { [Pipeline] echo 17:15:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:15:20 ---> create-netrc.sh [Pipeline] } 17:15:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:15:20 ---> python-tools-install.sh [Pipeline] echo 17:15:20 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:15:21 ---> sudo-logs.sh 17:15:21 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:15:21 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:15:21 ---> job-cost.sh 17:15:21 lf-activate-venv: SKIPPING 17:15:21 DEBUG: total: 0.2199999988079071 17:15:21 INFO: Retrieving Stack Cost... 17:15:21 INFO: Retrieving Pricing Info for: v3-standard-8 17:15:22 INFO: Archiving Costs [Pipeline] echo 17:15:22 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:15:22 ---> logs-deploy.sh 17:15:22 lf-activate-venv: SKIPPING 17:15:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-405/1 17:15:22 INFO: archiving workspace using pattern(s): 17:15:23 Archives upload complete. 17:15:23 INFO: archiving logs to Nexus