Pull request #404 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 45edf2ad213826a4bfa964888770c44e6986307a+48c08245ad9168b435c5e70f99b42d590e34b603 (fb549c6988a8eb7f23d121af9040c98e447d8135) 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-ssh7834916385135119410.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-ssh15707032447776307467.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-404/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-404/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3655858776844019125.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-404/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh12756525699913489451.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-ssh7550433396517719739.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-404/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-404/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2769511023029328501.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-7846 in /w/workspace/edgexfoundry_device-sdk-c_PR-404 [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-404 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 48c08245ad9168b435c5e70f99b42d590e34b603 into PR head commit 45edf2ad213826a4bfa964888770c44e6986307a Merge succeeded, producing 45edf2ad213826a4bfa964888770c44e6986307a Checking out Revision 45edf2ad213826a4bfa964888770c44e6986307a (PR-404) > 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/404/head:refs/remotes/origin/PR-404 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 45edf2ad213826a4bfa964888770c44e6986307a # 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 48c08245ad9168b435c5e70f99b42d590e34b603 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 45edf2ad213826a4bfa964888770c44e6986307a # timeout=10 Commit message: "feat: upload secrets from file" 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 16:14:48 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:14:48 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:14:48 ========================================================= 16:14:48 EdgeX Global Pipelines Version Info 16:14:48 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:14:49 ------------------- 16:14:49 stable info: 16:14:49 ------------------- 16:14:49 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:14:49 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 16:14:49 Message: update stable to v1.0.221 16:14:49 ------------------- 16:14:49 experimental info: 16:14:49 ------------------- 16:14:49 Commited By: **** collab-it+edgex@linuxfoundation.org 16:14:49 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 16:14:49 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:14:50 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 16:14:50 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 16:14:50 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:14:50 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:14:50 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:14:50 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 16:14:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 16:14:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:14:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:14:50 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 16:14:50 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:14:50 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:14:50 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:14:50 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 16:14:50 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:14:50 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:14:50 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:14:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-404 [Pipeline] echo 16:14:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-404 [Pipeline] echo 16:14:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-404 [Pipeline] echo 16:14:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 45edf2ad213826a4bfa964888770c44e6986307a [Pipeline] echo 16:14:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 45edf2a [Pipeline] echo 16:14:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:14:50 provisioning config files... 16:14:50 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-404@tmp/config8107637757522787895tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:14:51 ---> docker-login.sh 16:14:51 nexus3.edgexfoundry.org:10001 16:14:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:51 Configure a credential helper to remove this warning. See 16:14:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:51 16:14:51 Login Succeeded 16:14:51 nexus3.edgexfoundry.org:10002 16:14:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:51 Configure a credential helper to remove this warning. See 16:14:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:51 16:14:51 Login Succeeded 16:14:51 nexus3.edgexfoundry.org:10003 16:14:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:51 Configure a credential helper to remove this warning. See 16:14:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:51 16:14:51 Login Succeeded 16:14:51 nexus3.edgexfoundry.org:10004 16:14:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:52 Configure a credential helper to remove this warning. See 16:14:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:52 16:14:52 Login Succeeded 16:14:52 docker.io 16:14:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:52 Configure a credential helper to remove this warning. See 16:14:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:52 16:14:52 Login Succeeded 16:14:52 ---> docker-login.sh ends [Pipeline] } 16:14:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 16:14:53 + git rev-list -1 --merges 45edf2ad213826a4bfa964888770c44e6986307a~1..45edf2ad213826a4bfa964888770c44e6986307a [Pipeline] echo 16:14:53 -----------> git rev-list -1 --merges 45edf2ad213826a4bfa964888770c44e6986307a~1..45edf2ad213826a4bfa964888770c44e6986307a 45edf2ad213826a4bfa964888770c44e6986307a [false] [Pipeline] sh 16:14:53 + git log --format=format:%s -1 45edf2ad213826a4bfa964888770c44e6986307a [Pipeline] echo 16:14:53 ========================================================= 16:14:53 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:14:53 ========================================================= 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 16:14:54 + git rev-list -1 --merges 45edf2ad213826a4bfa964888770c44e6986307a~1..45edf2ad213826a4bfa964888770c44e6986307a [Pipeline] echo 16:14:54 -----------> git rev-list -1 --merges 45edf2ad213826a4bfa964888770c44e6986307a~1..45edf2ad213826a4bfa964888770c44e6986307a 45edf2ad213826a4bfa964888770c44e6986307a [false] [Pipeline] sh 16:14:55 + git log --format=format:%s -1 45edf2ad213826a4bfa964888770c44e6986307a [Pipeline] echo 16:14:55 ========================================================= 16:14:55 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:14:55 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 16:14:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:14:55 + grep -v github /etc/ssh/ssh_known_hosts 16:14:55 + [ -e /tmp/ssh_known_hosts ] 16:14:55 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:14:55 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:14:55 + sudo tee -a /etc/ssh/ssh_known_hosts 16:14:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 16:14:55 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:14:55 16:14:55 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:14:56 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:14:56 latest: Pulling from edgex-devops/git-semver 16:14:56 a0d0a0d46f8b: Pulling fs layer 16:14:56 3e5f54012d9b: Pulling fs layer 16:14:56 4c7163046ea9: Pulling fs layer 16:14:56 0c2d73faf560: Pulling fs layer 16:14:56 0c2d73faf560: Waiting 16:14:56 3e5f54012d9b: Download complete 16:14:56 a0d0a0d46f8b: Verifying Checksum 16:14:56 a0d0a0d46f8b: Download complete 16:14:56 0c2d73faf560: Verifying Checksum 16:14:56 0c2d73faf560: Download complete 16:14:56 4c7163046ea9: Verifying Checksum 16:14:56 4c7163046ea9: Download complete 16:14:56 a0d0a0d46f8b: Pull complete 16:14:56 3e5f54012d9b: Pull complete 16:14:56 4c7163046ea9: Pull complete 16:14:57 0c2d73faf560: Pull complete 16:14:57 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 16:14:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:14:57 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 16:14:57 prd-ubuntu20.04-docker-8c-8g-7846 does not seem to be running inside a container 16:14:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-404 -v /w/workspace/edgexfoundry_device-sdk-c_PR-404:/w/workspace/edgexfoundry_device-sdk-c_PR-404:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-404@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-404@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 16:14:57 $ docker top 5ff15a823f84b7cd13b6abdf4f917aac83af3699de6ac531348496b624e450d5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:14:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:14:58 [ssh-agent] Looking for ssh-agent implementation... 16:14:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:14:58 $ docker exec 5ff15a823f84b7cd13b6abdf4f917aac83af3699de6ac531348496b624e450d5 ssh-agent 16:14:58 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhLFhdb/agent.12 16:14:58 SSH_AGENT_PID=18 16:14:58 Running ssh-add (command line suppressed) 16:14:58 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-404@tmp/private_key_5725496196527383772.key (/w/workspace/edgexfoundry_device-sdk-c_PR-404@tmp/private_key_5725496196527383772.key) 16:14:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:14:58 + git tag --points-at HEAD [Pipeline] } 16:14:58 $ docker exec --env ******** --env ******** 5ff15a823f84b7cd13b6abdf4f917aac83af3699de6ac531348496b624e450d5 ssh-agent -k 16:14:58 unset SSH_AUTH_SOCK; 16:14:58 unset SSH_AGENT_PID; 16:14:58 echo Agent pid 18 killed; 16:14:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:14:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:14:59 [ssh-agent] Looking for ssh-agent implementation... 16:14:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:14:59 $ docker exec 5ff15a823f84b7cd13b6abdf4f917aac83af3699de6ac531348496b624e450d5 ssh-agent 16:14:59 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPmgIjO/agent.50 16:14:59 SSH_AGENT_PID=56 16:14:59 Running ssh-add (command line suppressed) 16:14:59 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-404@tmp/private_key_130952188166149037.key (/w/workspace/edgexfoundry_device-sdk-c_PR-404@tmp/private_key_130952188166149037.key) 16:14:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:14:59 + git semver init 16:14:59 # -> Open(): unable to determine branch for HEAD 16:14:59 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-404/.git 16:14:59 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-404 16:14:59 # $SEMVER_REMOTE_NAME = origin 16:14:59 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:14:59 # $SEMVER_USER_NAME = edgex-jenkins 16:14:59 # $SEMVER_BRANCH = PR-404 16:14:59 # $SEMVER_TEMP = /tmp/semver-142442020 16:14:59 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 16:15:00 # '/tmp/semver-142442020' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-404/.semver' 16:15:00 # -> Force: false 16:15:00 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-404/.semver [Pipeline] } 16:15:00 $ docker exec --env ******** --env ******** 5ff15a823f84b7cd13b6abdf4f917aac83af3699de6ac531348496b624e450d5 ssh-agent -k 16:15:00 unset SSH_AUTH_SOCK; 16:15:00 unset SSH_AGENT_PID; 16:15:00 echo Agent pid 56 killed; 16:15:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:15:01 + git semver [Pipeline] } 16:15:01 $ docker stop --time=1 5ff15a823f84b7cd13b6abdf4f917aac83af3699de6ac531348496b624e450d5 16:15:02 $ docker rm -f 5ff15a823f84b7cd13b6abdf4f917aac83af3699de6ac531348496b624e450d5 [Pipeline] // withDockerContainer [Pipeline] sh 16:15:03 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:15:03 Stashed 1 file(s) [Pipeline] echo 16:15:03 [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 16:15:03 provisioning config files... 16:15:03 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-404@tmp/config6217983928471547383tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:15:04 ---> docker-login.sh 16:15:04 nexus3.edgexfoundry.org:10001 16:15:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:15:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:15:04 Configure a credential helper to remove this warning. See 16:15:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:15:04 16:15:04 Login Succeeded 16:15:04 nexus3.edgexfoundry.org:10002 16:15:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:15:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:15:04 Configure a credential helper to remove this warning. See 16:15:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:15:04 16:15:04 Login Succeeded 16:15:04 nexus3.edgexfoundry.org:10003 16:15:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:15:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:15:04 Configure a credential helper to remove this warning. See 16:15:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:15:04 16:15:04 Login Succeeded 16:15:04 nexus3.edgexfoundry.org:10004 16:15:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:15:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:15:04 Configure a credential helper to remove this warning. See 16:15:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:15:04 16:15:04 Login Succeeded 16:15:04 docker.io 16:15:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:15:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:15:05 Configure a credential helper to remove this warning. See 16:15:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:15:05 16:15:05 Login Succeeded 16:15:05 ---> docker-login.sh ends [Pipeline] } 16:15:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:15:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:15:05 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 16:15:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:15:05 ========================================================= 16:15:05 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 16:15:05 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 16:15:05 + 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 . 16:15:05 Sending build context to Docker daemon 4.532MB 16:15:05 Step 1/22 : ARG BASE=alpine:3.15 16:15:05 Step 2/22 : FROM ${BASE} as builder 16:15:05 latest: Pulling from edgex-devops/edgex-gcc-base 16:15:05 59bf1c3509f3: Pulling fs layer 16:15:05 c743a93c8381: Pulling fs layer 16:15:05 a2ad9f71ba65: Pulling fs layer 16:15:05 c743a93c8381: Verifying Checksum 16:15:05 c743a93c8381: Download complete 16:15:06 59bf1c3509f3: Verifying Checksum 16:15:06 59bf1c3509f3: Download complete 16:15:06 59bf1c3509f3: Pull complete 16:15:06 c743a93c8381: Pull complete 16:15:06 a2ad9f71ba65: Verifying Checksum 16:15:06 a2ad9f71ba65: Download complete 16:15:09 a2ad9f71ba65: Pull complete 16:15:09 Digest: sha256:1add200577aa6f30a3653c04583074abbdfe99a16f60a8a3474aeff88a149476 16:15:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 16:15:09 ---> c9e13ccc37c5 16:15:09 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 16:15:10 ---> Running in e7ee89596aba 16:15:10 Connecting to iotech.jfrog.io (99.81.6.225:443) 16:15:11 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 16:15:11 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 16:15:11 '/etc/apk/keys/alpine.dev.rsa.pub' saved 16:15:11 Removing intermediate container e7ee89596aba 16:15:11 ---> 36e8c3c4b790 16:15:11 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 16:15:11 ---> Running in d3fabfd92bd8 16:15:12 Removing intermediate container d3fabfd92bd8 16:15:12 ---> 888770186c98 16:15:12 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 16:15:12 ---> Running in ae05fab4ae1e 16:15:12 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 16:15:13 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 16:15:13 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz 16:15:14 WARNING: This apk-tools is OLD! Some packages might not function properly. 16:15:14 (1/31) Installing hiredis (1.0.2-r0) 16:15:14 (2/31) Installing hiredis-dev (1.0.2-r0) 16:15:14 (3/31) Installing libcbor (0.8.0-r0) 16:15:14 (4/31) Installing libcbor-dev (0.8.0-r0) 16:15:14 (5/31) Installing ncurses-dev (6.3_p20211120-r0) 16:15:14 (6/31) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 16:15:15 (7/31) Installing util-linux (2.37.4-r0) 16:15:15 (8/31) Installing libblkid (2.37.4-r0) 16:15:15 (9/31) Installing libeconf (0.4.2-r0) 16:15:15 (10/31) Installing libuuid (2.37.4-r0) 16:15:15 (11/31) Installing libfdisk (2.37.4-r0) 16:15:15 (12/31) Installing libmount (2.37.4-r0) 16:15:16 (13/31) Installing libsmartcols (2.37.4-r0) 16:15:16 (14/31) Installing util-linux-misc (2.37.4-r0) 16:15:16 (15/31) Installing linux-pam (1.5.2-r0) 16:15:16 (16/31) Installing runuser (2.37.4-r0) 16:15:16 (17/31) Installing hexdump (2.37.4-r0) 16:15:16 (18/31) Installing uuidgen (2.37.4-r0) 16:15:16 (19/31) Installing blkid (2.37.4-r0) 16:15:16 (20/31) Installing sfdisk (2.37.4-r0) 16:15:16 (21/31) Installing mcookie (2.37.4-r0) 16:15:16 (22/31) Installing wipefs (2.37.4-r0) 16:15:17 (23/31) Installing cfdisk (2.37.4-r0) 16:15:17 (24/31) Installing flock (2.37.4-r0) 16:15:17 (25/31) Installing lsblk (2.37.4-r0) 16:15:17 (26/31) Installing libcap-ng (0.8.2-r1) 16:15:17 (27/31) Installing setpriv (2.37.4-r0) 16:15:17 (28/31) Installing logger (2.37.4-r0) 16:15:17 (29/31) Installing partx (2.37.4-r0) 16:15:17 (30/31) Installing findmnt (2.37.4-r0) 16:15:17 (31/31) Installing util-linux-dev (2.37.4-r0) 16:15:17 Executing busybox-1.34.1-r3.trigger 16:15:17 OK: 293 MiB in 108 packages 16:15:18 Still waiting to schedule task 16:15:18 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 16:15:18 Removing intermediate container ae05fab4ae1e 16:15:18 ---> 7e2cc2a45274 16:15:18 Step 6/22 : RUN mkdir /tmp/sdk 16:15:18 ---> Running in 063822a7169b 16:15:19 Removing intermediate container 063822a7169b 16:15:19 ---> 111180630db8 16:15:19 Step 7/22 : COPY VERSION /tmp/sdk 16:15:19 ---> bcf6bc077225 16:15:19 Step 8/22 : COPY src /tmp/sdk/src 16:15:20 ---> d5fa53757a4e 16:15:20 Step 9/22 : COPY include /tmp/sdk/include 16:15:20 ---> bb44afaa0d74 16:15:20 Step 10/22 : COPY scripts /tmp/sdk/scripts 16:15:20 ---> 366dd85a47e5 16:15:20 Step 11/22 : COPY LICENSE /tmp/sdk 16:15:20 ---> 23e5319120ba 16:15:20 Step 12/22 : COPY Attribution.txt /tmp/sdk 16:15:20 ---> b7be3c5ac2f3 16:15:20 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 16:15:20 ---> Running in f9e14c697508 16:15:20 + CPPCHECK=false 16:15:20 + DOCGEN=false 16:15:20 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 16:15:20 + TOMLVER=SDK-0.2 16:15:20 + CUTILVER=1.2.2 16:15:20 + '[' 0 -gt 0 ] 16:15:20 + readlink -f ./scripts/build.sh 16:15:20 + dirname /tmp/sdk/scripts/build.sh 16:15:20 + dirname /tmp/sdk/scripts 16:15:20 + ROOT=/tmp/sdk 16:15:20 + cd /tmp/sdk 16:15:20 + '[' '!' -d deps ] 16:15:20 + mkdir deps 16:15:20 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 16:15:20 + tar -C deps -z -x -f - 16:15:20 Connecting to github.com (140.82.113.3:443) 16:15:21 Connecting to codeload.github.com (140.82.114.10:443) 16:15:21 writing to stdout 16:15:21 - 13039 --:--:-- ETA 16:15:21 - 100% |********************************| 16451 0:00:00 ETA 16:15:21 written to stdout 16:15:21 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 16:15:21 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 16:15:21 + tar -C deps -z -x -f - 16:15:21 Connecting to github.com (140.82.113.3:443) 16:15:21 Connecting to codeload.github.com (140.82.114.10:443) 16:15:21 writing to stdout 16:15:21 - 100% |********************************| 189k 0:00:00 ETA 16:15:21 written to stdout 16:15:21 + mkdir -p src/c/iot 16:15:21 + cp deps/iotech-c-utils-1.2.2/src/c/base64.c deps/iotech-c-utils-1.2.2/src/c/component.c deps/iotech-c-utils-1.2.2/src/c/config.c deps/iotech-c-utils-1.2.2/src/c/container.c deps/iotech-c-utils-1.2.2/src/c/data.c deps/iotech-c-utils-1.2.2/src/c/hash.c deps/iotech-c-utils-1.2.2/src/c/iot.c deps/iotech-c-utils-1.2.2/src/c/json.c deps/iotech-c-utils-1.2.2/src/c/logger.c deps/iotech-c-utils-1.2.2/src/c/os.c deps/iotech-c-utils-1.2.2/src/c/scheduler.c deps/iotech-c-utils-1.2.2/src/c/thread.c deps/iotech-c-utils-1.2.2/src/c/threadpool.c deps/iotech-c-utils-1.2.2/src/c/time.c deps/iotech-c-utils-1.2.2/src/c/uuid.c deps/iotech-c-utils-1.2.2/src/c/yxml.c src/c/iot 16:15:21 + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot 16:15:21 + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot 16:15:21 + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot 16:15:21 + mkdir -p include/iot 16:15:21 + cp deps/iotech-c-utils-1.2.2/include/iot/base64.h deps/iotech-c-utils-1.2.2/include/iot/component.h deps/iotech-c-utils-1.2.2/include/iot/config.h deps/iotech-c-utils-1.2.2/include/iot/container.h deps/iotech-c-utils-1.2.2/include/iot/data.h deps/iotech-c-utils-1.2.2/include/iot/hash.h deps/iotech-c-utils-1.2.2/include/iot/iot.h deps/iotech-c-utils-1.2.2/include/iot/json.h deps/iotech-c-utils-1.2.2/include/iot/logger.h deps/iotech-c-utils-1.2.2/include/iot/os.h deps/iotech-c-utils-1.2.2/include/iot/scheduler.h deps/iotech-c-utils-1.2.2/include/iot/thread.h deps/iotech-c-utils-1.2.2/include/iot/threadpool.h deps/iotech-c-utils-1.2.2/include/iot/time.h deps/iotech-c-utils-1.2.2/include/iot/typecode.h deps/iotech-c-utils-1.2.2/include/iot/uuid.h include/iot 16:15:21 + mkdir -p include/iot/os 16:15:21 + cp deps/iotech-c-utils-1.2.2/include/iot/os/linux.h deps/iotech-c-utils-1.2.2/include/iot/os/macos.h deps/iotech-c-utils-1.2.2/include/iot/os/zephyr.h include/iot/os 16:15:21 + mkdir -p /tmp/sdk/build/release 16:15:21 + cd /tmp/sdk/build/release 16:15:21 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 16:15:21 -- The C compiler identification is GNU 10.3.1 16:15:21 -- Detecting C compiler ABI info 16:15:22 -- Detecting C compiler ABI info - done 16:15:22 -- Check for working C compiler: /usr/bin/cc - skipped 16:15:22 -- Detecting C compile features 16:15:22 -- Detecting C compile features - done 16:15:22 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 16:15:22 -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") 16:15:22 -- Found LIBYAML: /usr/lib/libyaml.so 16:15:22 -- Found LIBUUID: /usr/lib/libuuid.so 16:15:22 -- Found LIBCBOR: /usr/lib/libcbor.so 16:15:22 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 16:15:22 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 16:15:22 -- C SDK 0.0.0 for Linux 16:15:22 -- Performing Test CSDK_HAVE_ATOMIC 16:15:22 -- Performing Test CSDK_HAVE_ATOMIC - Success 16:15:22 -- Found Curses: /usr/lib/libcurses.so 16:15:22 -- Configuring done 16:15:22 -- Generating done 16:15:22 -- Build files have been written to: /tmp/sdk/build/release 16:15:22 + make all package 16:15:22 + tee release.log 16:15:22 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 16:15:22 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 16:15:22 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 16:15:22 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 16:15:23 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 16:15:23 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 16:15:23 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 16:15:23 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 16:15:23 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 16:15:23 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 16:15:23 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 16:15:24 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 16:15:24 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 16:15:24 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 16:15:24 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 16:15:24 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 16:15:24 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 16:15:25 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 16:15:25 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 16:15:25 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 16:15:25 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 16:15:25 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 16:15:25 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 16:15:25 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 16:15:25 275 | const iot_component_factory_t * factory; 16:15:25 | ^~~~~~~ 16:15:25 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 16:15:26 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 16:15:26 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 16:15:26 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 16:15:26 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 16:15:26 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 16:15:26 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 16:15:27 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 16:15:27 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 16:15:27 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 16:15:27 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 16:15:27 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 16:15:27 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 16:15:28 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 16:15:28 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 16:15:28 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 16:15:29 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 16:15:29 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 16:15:29 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 16:15:29 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 16:15:29 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 16:15:29 /tmp/sdk/src/c/rest-server.c:250:65: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] 16:15:29 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 16:15:29 | ^~~~~~~~~~~~~ 16:15:29 | | 16:15:29 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 16:15:29 In file included from /tmp/sdk/src/c/rest-server.c:21: 16:15:29 /usr/include/microhttpd.h:2784:49: note: expected 'MHD_KeyValueIterator' {aka 'enum MHD_Result (*)(void *, enum MHD_ValueKind, const char *, const char *)'} but argument is of type 'int (*)(void *, enum MHD_ValueKind, const char *, const char *)' 16:15:29 2784 | MHD_KeyValueIterator iterator, 16:15:29 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 16:15:29 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 16:15:29 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 16:15:29 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 16:15:29 | ^~~~~~~~~~~~ 16:15:29 | | 16:15:29 | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} 16:15:29 In file included from /tmp/sdk/src/c/rest-server.c:21: 16:15:29 /usr/include/microhttpd.h:2480:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} 16:15:29 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 16:15:29 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 16:15:29 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 16:15:29 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 16:15:29 | ^~~~~~~~~~~~ 16:15:29 | | 16:15:29 | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} 16:15:29 In file included from /tmp/sdk/src/c/rest-server.c:21: 16:15:29 /usr/include/microhttpd.h:2480:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} 16:15:29 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 16:15:29 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 16:15:29 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 16:15:29 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 16:15:30 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 16:15:30 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 16:15:30 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 16:15:30 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 16:15:31 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 16:15:31 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 16:15:31 [ 76%] Linking C shared library libcsdk.so 16:15:31 [ 76%] Built target csdk 16:15:31 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 16:15:31 [ 79%] Linking C executable template 16:15:31 [ 79%] Built target template 16:15:31 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 16:15:32 [ 82%] Linking C executable device-counter 16:15:32 [ 82%] Built target device-counter 16:15:32 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 16:15:32 [ 85%] Linking C executable device-random 16:15:32 [ 85%] Built target device-random 16:15:32 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 16:15:32 [ 88%] Linking C executable device-gyro 16:15:32 [ 88%] Built target device-gyro 16:15:32 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 16:15:32 [ 91%] Linking C executable device-bitfields 16:15:32 [ 91%] Built target device-bitfields 16:15:32 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 16:15:32 [ 94%] Linking C executable template-discovery 16:15:32 [ 94%] Built target template-discovery 16:15:32 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 16:15:32 [ 97%] Linking C executable device-file 16:15:33 [ 97%] Built target device-file 16:15:33 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 16:15:33 [100%] Linking C executable device-terminal 16:15:33 [100%] Built target device-terminal 16:15:33 Run CPack packaging tool... 16:15:33 CPack: Create package using TGZ 16:15:33 CPack: Install projects 16:15:33 CPack: - Run preinstall target for: Csdk 16:15:33 CPack: - Install project: Csdk [] 16:15:33 CPack: Create package 16:15:33 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 16:15:33 + '[' false '=' true ] 16:15:33 + '[' false '=' true ] 16:15:33 + mkdir -p /tmp/sdk/build/debug 16:15:33 + cd /tmp/sdk/build/debug 16:15:33 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 16:15:33 -- The C compiler identification is GNU 10.3.1 16:15:33 -- Detecting C compiler ABI info 16:15:33 -- Detecting C compiler ABI info - done 16:15:33 -- Check for working C compiler: /usr/bin/cc - skipped 16:15:33 -- Detecting C compile features 16:15:33 -- Detecting C compile features - done 16:15:33 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 16:15:33 -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") 16:15:33 -- Found LIBYAML: /usr/lib/libyaml.so 16:15:33 -- Found LIBUUID: /usr/lib/libuuid.so 16:15:33 -- Found LIBCBOR: /usr/lib/libcbor.so 16:15:33 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 16:15:33 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 16:15:33 -- C SDK 0.0.0 for Linux 16:15:33 -- Performing Test CSDK_HAVE_ATOMIC 16:15:33 -- Performing Test CSDK_HAVE_ATOMIC - Success 16:15:33 -- Found Curses: /usr/lib/libcurses.so 16:15:33 -- Configuring done 16:15:33 -- Generating done 16:15:33 -- Build files have been written to: /tmp/sdk/build/debug 16:15:33 + make 16:15:33 + tee debug.log 16:15:34 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 16:15:34 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 16:15:34 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 16:15:34 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 16:15:34 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 16:15:34 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 16:15:34 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 16:15:34 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 16:15:34 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 16:15:34 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 16:15:35 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 16:15:35 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 16:15:35 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 16:15:35 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 16:15:35 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 16:15:35 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 16:15:35 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 16:15:35 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 16:15:35 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 16:15:35 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 16:15:35 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 16:15:35 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 16:15:35 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 16:15:35 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 16:15:35 275 | const iot_component_factory_t * factory; 16:15:35 | ^~~~~~~ 16:15:35 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 16:15:36 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 16:15:36 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 16:15:36 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 16:15:36 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 16:15:36 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 16:15:36 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 16:15:36 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 16:15:36 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 16:15:36 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 16:15:36 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 16:15:36 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 16:15:36 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 16:15:36 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 16:15:36 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 16:15:37 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 16:15:37 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 16:15:37 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 16:15:37 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 16:15:37 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 16:15:37 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 16:15:37 /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] 16:15:37 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 16:15:37 | ^~~~~~~~~~~~~ 16:15:37 | | 16:15:37 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 16:15:37 In file included from /tmp/sdk/src/c/rest-server.c:21: 16:15:37 /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 *)' 16:15:37 2784 | MHD_KeyValueIterator iterator, 16:15:37 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 16:15:37 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 16:15:37 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 16:15:37 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 16:15:37 | ^~~~~~~~~~~~ 16:15:37 | | 16:15:37 | 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 **)} 16:15:37 In file included from /tmp/sdk/src/c/rest-server.c:21: 16:15:37 /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 **)'} 16:15:37 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 16:15:37 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 16:15:37 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 16:15:37 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 16:15:37 | ^~~~~~~~~~~~ 16:15:37 | | 16:15:37 | 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 **)} 16:15:37 In file included from /tmp/sdk/src/c/rest-server.c:21: 16:15:37 /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 **)'} 16:15:37 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 16:15:37 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 16:15:37 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 16:15:37 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 16:15:37 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 16:15:37 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 16:15:37 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 16:15:38 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 16:15:38 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 16:15:38 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 16:15:38 [ 76%] Linking C shared library libcsdk.so 16:15:38 [ 76%] Built target csdk 16:15:38 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 16:15:38 [ 79%] Linking C executable template 16:15:38 [ 79%] Built target template 16:15:38 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 16:15:38 [ 82%] Linking C executable device-counter 16:15:38 [ 82%] Built target device-counter 16:15:38 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 16:15:38 [ 85%] Linking C executable device-random 16:15:38 [ 85%] Built target device-random 16:15:38 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 16:15:38 [ 88%] Linking C executable device-gyro 16:15:39 [ 88%] Built target device-gyro 16:15:39 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 16:15:39 [ 91%] Linking C executable device-bitfields 16:15:39 [ 91%] Built target device-bitfields 16:15:39 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 16:15:39 [ 94%] Linking C executable template-discovery 16:15:39 [ 94%] Built target template-discovery 16:15:39 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 16:15:39 [ 97%] Linking C executable device-file 16:15:39 [ 97%] Built target device-file 16:15:39 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 16:15:39 [100%] Linking C executable device-terminal 16:15:39 [100%] Built target device-terminal 16:15:39 make: Entering directory '/tmp/sdk/build/release' 16:15:39 make[1]: Entering directory '/tmp/sdk/build/release' 16:15:39 make[2]: Entering directory '/tmp/sdk/build/release' 16:15:39 make[2]: Leaving directory '/tmp/sdk/build/release' 16:15:40 [ 76%] Built target csdk 16:15:40 make[2]: Entering directory '/tmp/sdk/build/release' 16:15:40 make[2]: Leaving directory '/tmp/sdk/build/release' 16:15:40 [ 79%] Built target template 16:15:40 make[2]: Entering directory '/tmp/sdk/build/release' 16:15:40 make[2]: Leaving directory '/tmp/sdk/build/release' 16:15:40 [ 82%] Built target device-counter 16:15:40 make[2]: Entering directory '/tmp/sdk/build/release' 16:15:40 make[2]: Leaving directory '/tmp/sdk/build/release' 16:15:40 [ 85%] Built target device-random 16:15:40 make[2]: Entering directory '/tmp/sdk/build/release' 16:15:40 make[2]: Leaving directory '/tmp/sdk/build/release' 16:15:40 [ 88%] Built target device-gyro 16:15:40 make[2]: Entering directory '/tmp/sdk/build/release' 16:15:40 make[2]: Leaving directory '/tmp/sdk/build/release' 16:15:40 [ 91%] Built target device-bitfields 16:15:40 make[2]: Entering directory '/tmp/sdk/build/release' 16:15:40 make[2]: Leaving directory '/tmp/sdk/build/release' 16:15:40 [ 94%] Built target template-discovery 16:15:40 make[2]: Entering directory '/tmp/sdk/build/release' 16:15:40 make[2]: Leaving directory '/tmp/sdk/build/release' 16:15:40 [ 97%] Built target device-file 16:15:40 make[2]: Entering directory '/tmp/sdk/build/release' 16:15:40 make[2]: Leaving directory '/tmp/sdk/build/release' 16:15:40 [100%] Built target device-terminal 16:15:40 make[1]: Leaving directory '/tmp/sdk/build/release' 16:15:40 Install the project... 16:15:40 -- Install configuration: "Release" 16:15:40 -- Installing: /usr/local/lib/libcsdk.so 16:15:40 -- Installing: /usr/local/include 16:15:40 -- Installing: /usr/local/include/edgex 16:15:40 -- Installing: /usr/local/include/edgex/profiles.h 16:15:40 -- Installing: /usr/local/include/edgex/edgex.h 16:15:40 -- Installing: /usr/local/include/edgex/rest-server.h 16:15:40 -- Installing: /usr/local/include/edgex/edgex-base.h 16:15:40 -- Installing: /usr/local/include/edgex/devices.h 16:15:40 -- Installing: /usr/local/include/edgex/csdk-defs.h 16:15:40 -- Installing: /usr/local/include/devsdk 16:15:40 -- Installing: /usr/local/include/devsdk/devsdk.h 16:15:40 -- Installing: /usr/local/include/devsdk/devsdk-base.h 16:15:40 -- Installing: /usr/local/include/iot 16:15:40 -- Installing: /usr/local/include/iot/thread.h 16:15:40 -- Installing: /usr/local/include/iot/hash.h 16:15:40 -- Installing: /usr/local/include/iot/typecode.h 16:15:40 -- Installing: /usr/local/include/iot/threadpool.h 16:15:40 -- Installing: /usr/local/include/iot/uuid.h 16:15:40 -- Installing: /usr/local/include/iot/logger.h 16:15:40 -- Installing: /usr/local/include/iot/config.h 16:15:40 -- Installing: /usr/local/include/iot/os.h 16:15:40 -- Installing: /usr/local/include/iot/container.h 16:15:40 -- Installing: /usr/local/include/iot/scheduler.h 16:15:40 -- Installing: /usr/local/include/iot/defs.h 16:15:40 -- Installing: /usr/local/include/iot/iot.h 16:15:40 -- Installing: /usr/local/include/iot/component.h 16:15:40 -- Installing: /usr/local/include/iot/os 16:15:40 -- Installing: /usr/local/include/iot/os/linux.h 16:15:40 -- Installing: /usr/local/include/iot/os/zephyr.h 16:15:40 -- Installing: /usr/local/include/iot/os/macos.h 16:15:40 -- Installing: /usr/local/include/iot/base64.h 16:15:40 -- Installing: /usr/local/include/iot/time.h 16:15:40 -- Installing: /usr/local/include/iot/data.h 16:15:40 -- Installing: /usr/local/include/iot/json.h 16:15:40 -- Installing: /usr/local/share/device-sdk-c/LICENSE 16:15:40 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 16:15:40 make: Leaving directory '/tmp/sdk/build/release' 16:15:40 Removing intermediate container f9e14c697508 16:15:40 ---> fda69d0325dc 16:15:40 Step 14/22 : FROM ${BASE} 16:15:40 ---> c9e13ccc37c5 16:15:40 Step 15/22 : LABEL maintainer="IOTech " 16:15:40 ---> Running in 824b7df769bf 16:15:40 Removing intermediate container 824b7df769bf 16:15:40 ---> 6da0e9731045 16:15:40 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 16:15:40 ---> Running in 48c222c24cf9 16:15:41 Connecting to iotech.jfrog.io (52.49.191.191:443) 16:15:41 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 16:15:41 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 16:15:41 '/etc/apk/keys/alpine.dev.rsa.pub' saved 16:15:41 Removing intermediate container 48c222c24cf9 16:15:41 ---> 6a1a7b7cf1dd 16:15:41 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 16:15:42 ---> Running in 2318e2ce40e0 16:15:42 Removing intermediate container 2318e2ce40e0 16:15:42 ---> 3f93d5d6282c 16:15:42 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 16:15:42 ---> Running in 9873a601ff8d 16:15:42 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 16:15:43 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 16:15:43 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz 16:15:44 WARNING: This apk-tools is OLD! Some packages might not function properly. 16:15:44 (1/6) Installing curl (7.80.0-r0) 16:15:44 (2/6) Installing hiredis (1.0.2-r0) 16:15:44 (3/6) Installing hiredis-dev (1.0.2-r0) 16:15:44 (4/6) Installing libcbor (0.8.0-r0) 16:15:44 (5/6) Installing libuuid (2.37.4-r0) 16:15:44 (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 16:15:45 Executing busybox-1.34.1-r3.trigger 16:15:45 OK: 283 MiB in 83 packages 16:15:45 Removing intermediate container 9873a601ff8d 16:15:45 ---> 4dd706f16c62 16:15:45 Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 16:15:46 ---> 4a76d9fb4fc5 16:15:46 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 16:15:46 ---> 26b6d39868b9 16:15:46 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 16:15:46 ---> e4e6ae9e508f 16:15:46 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 16:15:46 ---> 229972c52bab 16:15:46 Successfully built 229972c52bab 16:15:46 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 16:15:47 + docker inspect -f . ci-base-image-x86_64 16:15:47 . [Pipeline] withDockerContainer 16:15:47 prd-ubuntu20.04-docker-8c-8g-7846 does not seem to be running inside a container 16:15:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-404 -v /w/workspace/edgexfoundry_device-sdk-c_PR-404:/w/workspace/edgexfoundry_device-sdk-c_PR-404:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-404@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-404@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 16:15:47 $ docker top 6f2daa92cb30ded1cb6036059242a76e93ca821b5261f15677a7a781f1bc5474 -eo pid,comm [Pipeline] { [Pipeline] sh 16:15:48 + make test 16:15:48 echo "make test" 16:15:48 make test [Pipeline] } 16:15:48 $ docker stop --time=1 6f2daa92cb30ded1cb6036059242a76e93ca821b5261f15677a7a781f1bc5474 16:15:49 $ docker rm -f 6f2daa92cb30ded1cb6036059242a76e93ca821b5261f15677a7a781f1bc5474 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:15:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:15:51 + ls -al . 16:15:51 total 208 16:15:51 drwxrwxr-x 9 jenkins jenkins 4096 Mar 17 16:15 . 16:15:51 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 16:14 .. 16:15:51 drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 16:14 .git 16:15:51 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 16:14 .github 16:15:51 -rw-rw-r-- 1 jenkins jenkins 176 Mar 17 16:14 .gitignore 16:15:51 drwx------ 3 jenkins jenkins 4096 Mar 17 16:15 .semver 16:15:51 -rw-rw-r-- 1 jenkins jenkins 3104 Mar 17 16:14 Attribution.txt 16:15:51 -rw-rw-r-- 1 jenkins jenkins 8260 Mar 17 16:14 CHANGES 16:15:51 -rw-rw-r-- 1 jenkins jenkins 108574 Mar 17 16:14 Doxyfile 16:15:51 -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 16:14 GOVERNANCE.md 16:15:51 -rw-rw-r-- 1 jenkins jenkins 784 Mar 17 16:14 Jenkinsfile 16:15:51 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 17 16:14 LICENSE 16:15:51 -rw-rw-r-- 1 jenkins jenkins 444 Mar 17 16:14 Makefile 16:15:51 -rw-rw-r-- 1 jenkins jenkins 618 Mar 17 16:14 OWNERS.md 16:15:51 -rw-rw-r-- 1 jenkins jenkins 4086 Mar 17 16:14 README.md 16:15:51 -rw-rw-r-- 1 jenkins jenkins 7422 Mar 17 16:14 README.v2.md 16:15:51 -rw-rw-r-- 1 jenkins jenkins 5 Mar 17 16:15 VERSION 16:15:51 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 16:14 docs 16:15:51 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 16:14 include 16:15:51 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 16:14 scripts 16:15:51 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 16:14 src [Pipeline] isUnix [Pipeline] sh 16:15:51 + 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=45edf2ad213826a4bfa964888770c44e6986307a --label arch=amd64 --label version=0.0.0 . 16:15:51 Sending build context to Docker daemon 4.532MB 16:15:51 Step 1/17 : ARG BASE=alpine:3.15 16:15:51 Step 2/17 : FROM ${BASE} 16:15:51 ---> 229972c52bab 16:15:51 Step 3/17 : LABEL maintainer="IOTech " 16:15:51 ---> Running in fec5ae0f5d6d 16:15:51 Removing intermediate container fec5ae0f5d6d 16:15:51 ---> 0dd950dda1a7 16:15:51 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 16:15:51 ---> Running in c801f5e25851 16:15:52 Connecting to iotech.jfrog.io (52.49.191.191:443) 16:15:52 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 16:15:52 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 16:15:52 '/etc/apk/keys/alpine.dev.rsa.pub' saved 16:15:52 Removing intermediate container c801f5e25851 16:15:52 ---> ad986c0008e0 16:15:52 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 16:15:52 ---> Running in a57dc56bf66c 16:15:53 Removing intermediate container a57dc56bf66c 16:15:53 ---> 22c99c830547 16:15:53 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 16:15:53 ---> Running in 7bf45a7a0a2d 16:15:54 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 16:15:54 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 16:15:54 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz 16:15:55 WARNING: This apk-tools is OLD! Some packages might not function properly. 16:15:55 (1/26) Installing libcbor-dev (0.8.0-r0) 16:15:55 (2/26) Installing ncurses-dev (6.3_p20211120-r0) 16:15:55 (3/26) Installing util-linux (2.37.4-r0) 16:15:55 (4/26) Installing libblkid (2.37.4-r0) 16:15:55 (5/26) Installing libeconf (0.4.2-r0) 16:15:55 (6/26) Installing libfdisk (2.37.4-r0) 16:15:55 (7/26) Installing libmount (2.37.4-r0) 16:15:55 (8/26) Installing libsmartcols (2.37.4-r0) 16:15:56 (9/26) Installing util-linux-misc (2.37.4-r0) 16:15:56 (10/26) Installing linux-pam (1.5.2-r0) 16:15:56 (11/26) Installing runuser (2.37.4-r0) 16:15:56 (12/26) Installing hexdump (2.37.4-r0) 16:15:56 (13/26) Installing uuidgen (2.37.4-r0) 16:15:56 (14/26) Installing blkid (2.37.4-r0) 16:15:56 (15/26) Installing sfdisk (2.37.4-r0) 16:15:56 (16/26) Installing mcookie (2.37.4-r0) 16:15:57 (17/26) Installing wipefs (2.37.4-r0) 16:15:57 (18/26) Installing cfdisk (2.37.4-r0) 16:15:57 (19/26) Installing flock (2.37.4-r0) 16:15:57 (20/26) Installing lsblk (2.37.4-r0) 16:15:57 (21/26) Installing libcap-ng (0.8.2-r1) 16:15:57 (22/26) Installing setpriv (2.37.4-r0) 16:15:57 (23/26) Installing logger (2.37.4-r0) 16:15:57 (24/26) Installing partx (2.37.4-r0) 16:15:57 (25/26) Installing findmnt (2.37.4-r0) 16:15:57 (26/26) Installing util-linux-dev (2.37.4-r0) 16:15:57 Executing busybox-1.34.1-r3.trigger 16:15:57 OK: 294 MiB in 109 packages 16:15:58 Removing intermediate container 7bf45a7a0a2d 16:15:58 ---> e8a0a4a05b24 16:15:58 Step 7/17 : COPY VERSION /edgex-c-sdk/ 16:15:58 ---> 72b3e4429caf 16:15:58 Step 8/17 : COPY src /edgex-c-sdk/src/ 16:15:59 ---> 4bbd0e048560 16:15:59 Step 9/17 : COPY include /edgex-c-sdk/include/ 16:15:59 ---> 4ea6aa72b6e4 16:15:59 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 16:15:59 ---> efc3bfb562e9 16:15:59 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 16:15:59 ---> c75ae57261fc 16:15:59 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 16:15:59 ---> f20fa706103a 16:15:59 Step 13/17 : WORKDIR /edgex-c-sdk 16:15:59 ---> Running in 28a19c3cbb73 16:15:59 Removing intermediate container 28a19c3cbb73 16:15:59 ---> 4c46e5d36b85 16:15:59 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 16:15:59 ---> Running in d9baaa9f1a38 16:15:59 Removing intermediate container d9baaa9f1a38 16:15:59 ---> 7512470f874a 16:15:59 Step 15/17 : LABEL arch=amd64 16:16:00 ---> Running in 04ba4d4070c2 16:16:00 Removing intermediate container 04ba4d4070c2 16:16:00 ---> c39fd819a26f 16:16:00 Step 16/17 : LABEL git_sha=45edf2ad213826a4bfa964888770c44e6986307a 16:16:00 ---> Running in 958b8702ddf3 16:16:00 Removing intermediate container 958b8702ddf3 16:16:00 ---> 87d24d760fd0 16:16:00 Step 17/17 : LABEL version=0.0.0 16:16:00 ---> Running in c5b5ce6d4f75 16:16:00 Removing intermediate container c5b5ce6d4f75 16:16:00 ---> d9136320a09b 16:16:00 [Warning] One or more build-args [MAKE ARCH] were not consumed 16:16:00 Successfully built d9136320a09b 16:16:00 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 16:16:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:16:01 16:16:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 16:16:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:16:01 latest: Pulling from edgex-lftools-log-publisher 16:16:01 5eb5b503b376: Pulling fs layer 16:16:01 5c69ac0246d0: Pulling fs layer 16:16:01 ec43610c2a17: Pulling fs layer 16:16:01 3a2ae6a8a46f: Pulling fs layer 16:16:01 33b1e0a273af: Pulling fs layer 16:16:01 5d3b04190fa2: Pulling fs layer 16:16:01 2f39f015ded8: Pulling fs layer 16:16:01 3a2ae6a8a46f: Waiting 16:16:01 5d3b04190fa2: Waiting 16:16:01 2f39f015ded8: Waiting 16:16:01 33b1e0a273af: Waiting 16:16:01 5c69ac0246d0: Download complete 16:16:01 3a2ae6a8a46f: Verifying Checksum 16:16:01 3a2ae6a8a46f: Download complete 16:16:01 33b1e0a273af: Verifying Checksum 16:16:01 33b1e0a273af: Download complete 16:16:01 5d3b04190fa2: Verifying Checksum 16:16:01 5d3b04190fa2: Download complete 16:16:01 ec43610c2a17: Verifying Checksum 16:16:01 ec43610c2a17: Download complete 16:16:01 5eb5b503b376: Verifying Checksum 16:16:01 5eb5b503b376: Download complete 16:16:02 2f39f015ded8: Verifying Checksum 16:16:02 2f39f015ded8: Download complete 16:16:03 5eb5b503b376: Pull complete 16:16:03 5c69ac0246d0: Pull complete 16:16:03 ec43610c2a17: Pull complete 16:16:03 3a2ae6a8a46f: Pull complete 16:16:03 33b1e0a273af: Pull complete 16:16:03 5d3b04190fa2: Pull complete 16:16:09 2f39f015ded8: Pull complete 16:16:09 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:16:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:16:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 16:16:09 prd-ubuntu20.04-docker-8c-8g-7846 does not seem to be running inside a container 16:16:09 $ 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-404 -v /w/workspace/edgexfoundry_device-sdk-c_PR-404:/w/workspace/edgexfoundry_device-sdk-c_PR-404:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-404@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-404@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 16:16:11 $ docker top 81c43743f167770d67b9faeb81e0cf397b49084bc94deed44af58f42afba75d1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:16:11 ---> job-cost.sh 16:16:11 lf-activate-venv: SKIPPING 16:16:11 INFO: No Stack... 16:16:11 INFO: Retrieving Pricing Info for: v3-standard-8 16:16:12 INFO: Archiving Costs [Pipeline] sh 16:16:12 + cat /w/workspace/edgexfoundry_device-sdk-c_PR-404/archives/cost.csv 16:16:12 + cut -d, -f6 [Pipeline] lock 16:16:12 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-404-1-stack-cost] 16:16:12 Resource [jenkins-edgexfoundry-device-sdk-c-PR-404-1-stack-cost] did not exist. Created. 16:16:12 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-404-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:16:13 + echo total: 0.2199999988079071 [Pipeline] stash 16:16:13 Stashed 1 file(s) [Pipeline] } 16:16:13 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-404-1-stack-cost] [Pipeline] // lock [Pipeline] } 16:16:13 $ docker stop --time=1 81c43743f167770d67b9faeb81e0cf397b49084bc94deed44af58f42afba75d1 16:16:14 $ docker rm -f 81c43743f167770d67b9faeb81e0cf397b49084bc94deed44af58f42afba75d1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:16:55 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7847 in /w/workspace/edgexfoundry_device-sdk-c_PR-404 [Pipeline] { [Pipeline] ws 16:16:55 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 16:16:55 Selected Git installation does not exist. Using Default 16:16:55 The recommended git tool is: NONE 16:17:03 using credential edgex-jenkins-ssh 16:17:03 Cloning the remote Git repository 16:17:03 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 16:17:03 > git init /w/workspace/device-sdk-c/1 # timeout=10 16:17:03 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 16:17:03 > git --version # timeout=10 16:17:03 > git --version # 'git version 2.25.1' 16:17:03 using GIT_SSH to set credentials SSH Credentials for GitHub 16:17:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:17:05 Merging remotes/origin/main commit 48c08245ad9168b435c5e70f99b42d590e34b603 into PR head commit 45edf2ad213826a4bfa964888770c44e6986307a 16:17:05 Merge succeeded, producing 45edf2ad213826a4bfa964888770c44e6986307a 16:17:05 Checking out Revision 45edf2ad213826a4bfa964888770c44e6986307a (PR-404) 16:17:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 16:17:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:17:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 16:17:04 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 16:17:04 using GIT_SSH to set credentials SSH Credentials for GitHub 16:17:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/404/head:refs/remotes/origin/PR-404 +refs/heads/main:refs/remotes/origin/main # timeout=10 16:17:05 > git config core.sparsecheckout # timeout=10 16:17:05 > git checkout -f 45edf2ad213826a4bfa964888770c44e6986307a # timeout=10 16:17:05 > git remote # timeout=10 16:17:05 > git config --get remote.origin.url # timeout=10 16:17:05 using GIT_SSH to set credentials SSH Credentials for GitHub 16:17:05 > git merge 48c08245ad9168b435c5e70f99b42d590e34b603 # timeout=10 16:17:05 > git rev-parse HEAD^{commit} # timeout=10 16:17:06 > git config core.sparsecheckout # timeout=10 16:17:06 > git checkout -f 45edf2ad213826a4bfa964888770c44e6986307a # timeout=10 16:17:10 Commit message: "feat: upload secrets from file" 16:17:10 > git --version # timeout=10 16:17:10 > git --version # 'git version 2.25.1' 16:17:10 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:17:11 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:17:11 % Total % Received % Xferd Average Speed Time Time Time Current 16:17:11 Dload Upload Total Spent Left Speed 16:17:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 89 11843 89 10502 0 0 23132 0 --:--:-- --:--:-- --:--:-- 23081 100 11843 100 11843 0 0 25971 0 --:--:-- --:--:-- --:--:-- 25971 [Pipeline] sh 16:17:12 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:17:13 + + sudo teesudo /etc/docker/daemon.new jq 16:17:13 . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:17:13 { 16:17:13 "registry-mirrors": [ 16:17:13 "https://nexus3.edgexfoundry.org:10001" 16:17:13 ], 16:17:13 "bip": "10.250.0.254/24", 16:17:13 "hosts": [ 16:17:13 "tcp://0.0.0.0:5555", 16:17:13 "unix:///var/run/docker.sock" 16:17:13 ], 16:17:13 "mtu": 1458, 16:17:13 "selinux-enabled": true, 16:17:13 "seccomp-profile": "/etc/docker/seccomp.json" 16:17:13 } [Pipeline] sh 16:17:13 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:17:13 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:17:32 provisioning config files... 16:17:32 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config2723508099610037019tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:17:32 ---> docker-login.sh 16:17:32 nexus3.edgexfoundry.org:10001 16:17:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:17:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:17:33 Configure a credential helper to remove this warning. See 16:17:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:17:33 16:17:33 Login Succeeded 16:17:33 nexus3.edgexfoundry.org:10002 16:17:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:17:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:17:34 Configure a credential helper to remove this warning. See 16:17:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:17:34 16:17:34 Login Succeeded 16:17:34 nexus3.edgexfoundry.org:10003 16:17:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:17:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:17:34 Configure a credential helper to remove this warning. See 16:17:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:17:34 16:17:34 Login Succeeded 16:17:34 nexus3.edgexfoundry.org:10004 16:17:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:17:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:17:35 Configure a credential helper to remove this warning. See 16:17:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:17:35 16:17:35 Login Succeeded 16:17:35 docker.io 16:17:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:17:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:17:35 Configure a credential helper to remove this warning. See 16:17:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:17:35 16:17:35 Login Succeeded 16:17:35 ---> docker-login.sh ends [Pipeline] } 16:17:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:17:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:17:36 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 16:17:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:17:36 ========================================================= 16:17:36 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 16:17:36 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 16:17:36 + 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 . 16:17:37 Sending build context to Docker daemon 2.768MB 16:17:37 Step 1/22 : ARG BASE=alpine:3.15 16:17:37 Step 2/22 : FROM ${BASE} as builder 16:17:37 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 16:17:37 9b3977197b4f: Pulling fs layer 16:17:37 2a93055cfd06: Pulling fs layer 16:17:37 ff5fdaca7850: Pulling fs layer 16:17:37 2a93055cfd06: Download complete 16:17:37 9b3977197b4f: Download complete 16:17:38 9b3977197b4f: Pull complete 16:17:38 2a93055cfd06: Pull complete 16:17:39 ff5fdaca7850: Verifying Checksum 16:17:39 ff5fdaca7850: Download complete 16:17:47 ff5fdaca7850: Pull complete 16:17:47 Digest: sha256:bf249b2a65b15776358c73a8f9886e573022f6b9ba75e542fbdefbaa4c9006da 16:17:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 16:17:47 ---> 0af3d9908a83 16:17:47 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 16:17:49 ---> Running in 3749dfc8cbc7 16:17:49 Connecting to iotech.jfrog.io (52.49.191.191:443) 16:17:50 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 16:17:50 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 16:17:50 '/etc/apk/keys/alpine.dev.rsa.pub' saved 16:17:51 Removing intermediate container 3749dfc8cbc7 16:17:51 ---> b41039a6fb1f 16:17:51 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 16:17:51 ---> Running in 530e74c14469 16:17:53 Removing intermediate container 530e74c14469 16:17:53 ---> 4a36d1c472f2 16:17:53 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 16:17:53 ---> Running in 12c41bddb061 16:17:53 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 16:17:54 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 16:17:55 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz 16:17:55 WARNING: This apk-tools is OLD! Some packages might not function properly. 16:17:55 (1/31) Installing hiredis (1.0.2-r0) 16:17:56 (2/31) Installing hiredis-dev (1.0.2-r0) 16:17:56 (3/31) Installing libcbor (0.8.0-r0) 16:17:56 (4/31) Installing libcbor-dev (0.8.0-r0) 16:17:56 (5/31) Installing ncurses-dev (6.3_p20211120-r0) 16:17:56 (6/31) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 16:17:57 (7/31) Installing util-linux (2.37.4-r0) 16:17:57 (8/31) Installing libblkid (2.37.4-r0) 16:17:57 (9/31) Installing libeconf (0.4.2-r0) 16:17:57 (10/31) Installing libuuid (2.37.4-r0) 16:17:57 (11/31) Installing libfdisk (2.37.4-r0) 16:17:58 (12/31) Installing libmount (2.37.4-r0) 16:17:58 (13/31) Installing libsmartcols (2.37.4-r0) 16:17:58 (14/31) Installing util-linux-misc (2.37.4-r0) 16:17:58 (15/31) Installing linux-pam (1.5.2-r0) 16:17:58 (16/31) Installing runuser (2.37.4-r0) 16:17:58 (17/31) Installing hexdump (2.37.4-r0) 16:17:58 (18/31) Installing uuidgen (2.37.4-r0) 16:17:59 (19/31) Installing blkid (2.37.4-r0) 16:17:59 (20/31) Installing sfdisk (2.37.4-r0) 16:17:59 (21/31) Installing mcookie (2.37.4-r0) 16:17:59 (22/31) Installing wipefs (2.37.4-r0) 16:17:59 (23/31) Installing cfdisk (2.37.4-r0) 16:17:59 (24/31) Installing flock (2.37.4-r0) 16:17:59 (25/31) Installing lsblk (2.37.4-r0) 16:17:59 (26/31) Installing libcap-ng (0.8.2-r1) 16:17:59 (27/31) Installing setpriv (2.37.4-r0) 16:17:59 (28/31) Installing logger (2.37.4-r0) 16:17:59 (29/31) Installing partx (2.37.4-r0) 16:17:59 (30/31) Installing findmnt (2.37.4-r0) 16:17:59 (31/31) Installing util-linux-dev (2.37.4-r0) 16:18:00 Executing busybox-1.34.1-r3.trigger 16:18:00 OK: 289 MiB in 108 packages 16:18:01 Removing intermediate container 12c41bddb061 16:18:01 ---> 142045ad0077 16:18:01 Step 6/22 : RUN mkdir /tmp/sdk 16:18:01 ---> Running in 4cd09d617cdf 16:18:03 Removing intermediate container 4cd09d617cdf 16:18:03 ---> 4d3717a0c78f 16:18:03 Step 7/22 : COPY VERSION /tmp/sdk 16:18:03 ---> 6faf41d76a33 16:18:03 Step 8/22 : COPY src /tmp/sdk/src 16:18:04 ---> 94e7ceda86d8 16:18:04 Step 9/22 : COPY include /tmp/sdk/include 16:18:05 ---> 177941cb1083 16:18:05 Step 10/22 : COPY scripts /tmp/sdk/scripts 16:18:05 ---> 0ca4765988c0 16:18:05 Step 11/22 : COPY LICENSE /tmp/sdk 16:18:06 ---> e9eb491e4e6a 16:18:06 Step 12/22 : COPY Attribution.txt /tmp/sdk 16:18:06 ---> eadc533a402d 16:18:06 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 16:18:06 ---> Running in 94269cb5f4dd 16:18:07 + CPPCHECK=false 16:18:07 + DOCGEN=false 16:18:07 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 16:18:07 + TOMLVER=SDK-0.2 16:18:07 + CUTILVER=1.2.2 16:18:07 + '[' 0 -gt 0 ] 16:18:07 + readlink -f ./scripts/build.sh 16:18:07 + dirname /tmp/sdk/scripts/build.sh 16:18:07 + dirname /tmp/sdk/scripts 16:18:07 + ROOT=/tmp/sdk 16:18:07 + cd /tmp/sdk 16:18:07 + '[' '!' -d deps ] 16:18:07 + mkdir deps 16:18:07 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 16:18:07 + tar -C deps -z -x -f - 16:18:07 Connecting to github.com (140.82.112.4:443) 16:18:08 Connecting to codeload.github.com (140.82.114.9:443) 16:18:08 writing to stdout 16:18:08 - 100% |********************************| 16451 0:00:00 ETA 16:18:08 written to stdout 16:18:08 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 16:18:08 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 16:18:08 + tar -C deps -z -x -f - 16:18:08 Connecting to github.com (140.82.112.4:443) 16:18:08 Connecting to codeload.github.com (140.82.114.9:443) 16:18:08 writing to stdout 16:18:09 - 100% |********************************| 189k 0:00:00 ETA 16:18:09 written to stdout 16:18:09 + mkdir -p src/c/iot 16:18:09 + 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 16:18:09 + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot 16:18:09 + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot 16:18:09 + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot 16:18:09 + mkdir -p include/iot 16:18:09 + 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 16:18:09 + mkdir -p include/iot/os 16:18:09 + 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 16:18:09 + mkdir -p /tmp/sdk/build/release 16:18:09 + cd /tmp/sdk/build/release 16:18:09 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 16:18:09 -- The C compiler identification is GNU 10.3.1 16:18:09 -- Detecting C compiler ABI info 16:18:09 -- Detecting C compiler ABI info - done 16:18:09 -- Check for working C compiler: /usr/bin/cc - skipped 16:18:09 -- Detecting C compile features 16:18:09 -- Detecting C compile features - done 16:18:09 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 16:18:09 -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") 16:18:09 -- Found LIBYAML: /usr/lib/libyaml.so 16:18:09 -- Found LIBUUID: /usr/lib/libuuid.so 16:18:10 -- Found LIBCBOR: /usr/lib/libcbor.so 16:18:10 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 16:18:10 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 16:18:10 -- C SDK 0.0.0 for Linux 16:18:10 -- Performing Test CSDK_HAVE_ATOMIC 16:18:10 -- Performing Test CSDK_HAVE_ATOMIC - Success 16:18:10 -- Found Curses: /usr/lib/libcurses.so 16:18:10 -- Configuring done 16:18:10 -- Generating done 16:18:10 -- Build files have been written to: /tmp/sdk/build/release 16:18:10 + make all package 16:18:10 + tee release.log 16:18:10 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 16:18:11 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 16:18:12 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 16:18:15 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 16:18:16 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 16:18:16 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 16:18:17 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 16:18:18 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 16:18:18 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 16:18:19 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 16:18:21 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 16:18:22 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 16:18:23 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 16:18:24 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 16:18:24 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 16:18:24 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 16:18:25 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 16:18:28 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 16:18:28 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 16:18:29 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 16:18:29 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 16:18:30 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 16:18:30 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 16:18:30 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 16:18:30 275 | const iot_component_factory_t * factory; 16:18:30 | ^~~~~~~ 16:18:31 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 16:18:36 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 16:18:36 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 16:18:36 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 16:18:37 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 16:18:38 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 16:18:38 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 16:18:39 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 16:18:40 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 16:18:41 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 16:18:41 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 16:18:41 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 16:18:44 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 16:18:44 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 16:18:46 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 16:18:46 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 16:18:51 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 16:18:51 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 16:18:52 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 16:18:52 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 16:18:53 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 16:18:53 /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] 16:18:53 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 16:18:53 | ^~~~~~~~~~~~~ 16:18:53 | | 16:18:53 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 16:18:53 In file included from /tmp/sdk/src/c/rest-server.c:21: 16:18:53 /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 *)' 16:18:53 2784 | MHD_KeyValueIterator iterator, 16:18:53 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 16:18:53 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 16:18:53 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 16:18:53 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 16:18:53 | ^~~~~~~~~~~~ 16:18:53 | | 16:18:53 | 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 **)} 16:18:53 In file included from /tmp/sdk/src/c/rest-server.c:21: 16:18:53 /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 **)'} 16:18:53 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 16:18:53 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 16:18:53 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 16:18:53 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 16:18:53 | ^~~~~~~~~~~~ 16:18:53 | | 16:18:53 | 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 **)} 16:18:53 In file included from /tmp/sdk/src/c/rest-server.c:21: 16:18:53 /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 **)'} 16:18:53 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 16:18:53 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 16:18:54 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 16:18:56 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 16:18:56 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 16:18:57 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 16:18:58 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 16:19:00 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 16:19:04 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 16:19:05 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 16:19:06 [ 76%] Linking C shared library libcsdk.so 16:19:06 [ 76%] Built target csdk 16:19:06 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 16:19:07 [ 79%] Linking C executable template 16:19:07 [ 79%] Built target template 16:19:07 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 16:19:08 [ 82%] Linking C executable device-counter 16:19:08 [ 82%] Built target device-counter 16:19:08 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 16:19:09 [ 85%] Linking C executable device-random 16:19:09 [ 85%] Built target device-random 16:19:09 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 16:19:09 [ 88%] Linking C executable device-gyro 16:19:10 [ 88%] Built target device-gyro 16:19:10 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 16:19:10 [ 91%] Linking C executable device-bitfields 16:19:11 [ 91%] Built target device-bitfields 16:19:11 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 16:19:12 [ 94%] Linking C executable template-discovery 16:19:12 [ 94%] Built target template-discovery 16:19:12 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 16:19:13 [ 97%] Linking C executable device-file 16:19:13 [ 97%] Built target device-file 16:19:13 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 16:19:14 [100%] Linking C executable device-terminal 16:19:14 [100%] Built target device-terminal 16:19:14 Run CPack packaging tool... 16:19:14 CPack: Create package using TGZ 16:19:14 CPack: Install projects 16:19:14 CPack: - Run preinstall target for: Csdk 16:19:15 CPack: - Install project: Csdk [] 16:19:15 CPack: Create package 16:19:15 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 16:19:15 + '[' false '=' true ] 16:19:15 + '[' false '=' true ] 16:19:15 + mkdir -p /tmp/sdk/build/debug 16:19:15 + cd /tmp/sdk/build/debug 16:19:15 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 16:19:15 -- The C compiler identification is GNU 10.3.1 16:19:15 -- Detecting C compiler ABI info 16:19:16 -- Detecting C compiler ABI info - done 16:19:16 -- Check for working C compiler: /usr/bin/cc - skipped 16:19:16 -- Detecting C compile features 16:19:16 -- Detecting C compile features - done 16:19:16 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 16:19:16 -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") 16:19:16 -- Found LIBYAML: /usr/lib/libyaml.so 16:19:16 -- Found LIBUUID: /usr/lib/libuuid.so 16:19:16 -- Found LIBCBOR: /usr/lib/libcbor.so 16:19:16 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 16:19:16 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 16:19:16 -- C SDK 0.0.0 for Linux 16:19:16 -- Performing Test CSDK_HAVE_ATOMIC 16:19:17 -- Performing Test CSDK_HAVE_ATOMIC - Success 16:19:17 -- Found Curses: /usr/lib/libcurses.so 16:19:17 -- Configuring done 16:19:17 -- Generating done 16:19:17 -- Build files have been written to: /tmp/sdk/build/debug 16:19:17 + make 16:19:17 + tee debug.log 16:19:17 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 16:19:18 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 16:19:18 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 16:19:19 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 16:19:19 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 16:19:19 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 16:19:20 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 16:19:20 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 16:19:20 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 16:19:21 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 16:19:22 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 16:19:22 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 16:19:22 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 16:19:23 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 16:19:23 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 16:19:23 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 16:19:23 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 16:19:24 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 16:19:24 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 16:19:25 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 16:19:25 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 16:19:25 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 16:19:25 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 16:19:25 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 16:19:25 275 | const iot_component_factory_t * factory; 16:19:25 | ^~~~~~~ 16:19:26 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 16:19:27 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 16:19:27 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 16:19:27 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 16:19:28 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 16:19:28 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 16:19:28 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 16:19:28 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 16:19:29 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 16:19:29 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 16:19:29 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 16:19:29 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 16:19:30 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 16:19:30 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 16:19:31 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 16:19:31 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 16:19:32 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 16:19:33 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 16:19:33 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 16:19:33 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 16:19:34 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 16:19:34 /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] 16:19:34 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 16:19:34 | ^~~~~~~~~~~~~ 16:19:34 | | 16:19:34 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 16:19:34 In file included from /tmp/sdk/src/c/rest-server.c:21: 16:19:34 /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 *)' 16:19:34 2784 | MHD_KeyValueIterator iterator, 16:19:34 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 16:19:34 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 16:19:34 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 16:19:34 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 16:19:34 | ^~~~~~~~~~~~ 16:19:34 | | 16:19:34 | 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 **)} 16:19:34 In file included from /tmp/sdk/src/c/rest-server.c:21: 16:19:34 /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 **)'} 16:19:34 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 16:19:34 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 16:19:34 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 16:19:34 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 16:19:34 | ^~~~~~~~~~~~ 16:19:34 | | 16:19:34 | 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 **)} 16:19:34 In file included from /tmp/sdk/src/c/rest-server.c:21: 16:19:34 /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 **)'} 16:19:34 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 16:19:34 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 16:19:34 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 16:19:36 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 16:19:36 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 16:19:36 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 16:19:36 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 16:19:37 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 16:19:38 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 16:19:38 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 16:19:39 [ 76%] Linking C shared library libcsdk.so 16:19:39 [ 76%] Built target csdk 16:19:39 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 16:19:39 [ 79%] Linking C executable template 16:19:39 [ 79%] Built target template 16:19:39 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 16:19:40 [ 82%] Linking C executable device-counter 16:19:40 [ 82%] Built target device-counter 16:19:40 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 16:19:40 [ 85%] Linking C executable device-random 16:19:41 [ 85%] Built target device-random 16:19:41 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 16:19:41 [ 88%] Linking C executable device-gyro 16:19:41 [ 88%] Built target device-gyro 16:19:41 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 16:19:42 [ 91%] Linking C executable device-bitfields 16:19:42 [ 91%] Built target device-bitfields 16:19:42 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 16:19:42 [ 94%] Linking C executable template-discovery 16:19:43 [ 94%] Built target template-discovery 16:19:43 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 16:19:43 [ 97%] Linking C executable device-file 16:19:43 [ 97%] Built target device-file 16:19:43 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 16:19:44 [100%] Linking C executable device-terminal 16:19:44 [100%] Built target device-terminal 16:19:44 make: Entering directory '/tmp/sdk/build/release' 16:19:44 make[1]: Entering directory '/tmp/sdk/build/release' 16:19:44 make[2]: Entering directory '/tmp/sdk/build/release' 16:19:44 make[2]: Leaving directory '/tmp/sdk/build/release' 16:19:44 [ 76%] Built target csdk 16:19:44 make[2]: Entering directory '/tmp/sdk/build/release' 16:19:44 make[2]: Leaving directory '/tmp/sdk/build/release' 16:19:44 [ 79%] Built target template 16:19:44 make[2]: Entering directory '/tmp/sdk/build/release' 16:19:44 make[2]: Leaving directory '/tmp/sdk/build/release' 16:19:44 [ 82%] Built target device-counter 16:19:44 make[2]: Entering directory '/tmp/sdk/build/release' 16:19:44 make[2]: Leaving directory '/tmp/sdk/build/release' 16:19:44 [ 85%] Built target device-random 16:19:44 make[2]: Entering directory '/tmp/sdk/build/release' 16:19:44 make[2]: Leaving directory '/tmp/sdk/build/release' 16:19:44 [ 88%] Built target device-gyro 16:19:44 make[2]: Entering directory '/tmp/sdk/build/release' 16:19:44 make[2]: Leaving directory '/tmp/sdk/build/release' 16:19:44 [ 91%] Built target device-bitfields 16:19:44 make[2]: Entering directory '/tmp/sdk/build/release' 16:19:44 make[2]: Leaving directory '/tmp/sdk/build/release' 16:19:44 [ 94%] Built target template-discovery 16:19:44 make[2]: Entering directory '/tmp/sdk/build/release' 16:19:44 make[2]: Leaving directory '/tmp/sdk/build/release' 16:19:45 [ 97%] Built target device-file 16:19:45 make[2]: Entering directory '/tmp/sdk/build/release' 16:19:45 make[2]: Leaving directory '/tmp/sdk/build/release' 16:19:45 [100%] Built target device-terminal 16:19:45 make[1]: Leaving directory '/tmp/sdk/build/release' 16:19:45 Install the project... 16:19:45 -- Install configuration: "Release" 16:19:45 -- Installing: /usr/local/lib/libcsdk.so 16:19:45 -- Installing: /usr/local/include 16:19:45 -- Installing: /usr/local/include/devsdk 16:19:45 -- Installing: /usr/local/include/devsdk/devsdk.h 16:19:45 -- Installing: /usr/local/include/devsdk/devsdk-base.h 16:19:45 -- Installing: /usr/local/include/edgex 16:19:45 -- Installing: /usr/local/include/edgex/rest-server.h 16:19:45 -- Installing: /usr/local/include/edgex/edgex.h 16:19:45 -- Installing: /usr/local/include/edgex/edgex-base.h 16:19:45 -- Installing: /usr/local/include/edgex/devices.h 16:19:45 -- Installing: /usr/local/include/edgex/profiles.h 16:19:45 -- Installing: /usr/local/include/edgex/csdk-defs.h 16:19:45 -- Installing: /usr/local/include/iot 16:19:45 -- Installing: /usr/local/include/iot/threadpool.h 16:19:45 -- Installing: /usr/local/include/iot/defs.h 16:19:45 -- Installing: /usr/local/include/iot/time.h 16:19:45 -- Installing: /usr/local/include/iot/base64.h 16:19:45 -- Installing: /usr/local/include/iot/component.h 16:19:45 -- Installing: /usr/local/include/iot/scheduler.h 16:19:45 -- Installing: /usr/local/include/iot/config.h 16:19:45 -- Installing: /usr/local/include/iot/container.h 16:19:45 -- Installing: /usr/local/include/iot/uuid.h 16:19:45 -- Installing: /usr/local/include/iot/os.h 16:19:45 -- Installing: /usr/local/include/iot/thread.h 16:19:45 -- Installing: /usr/local/include/iot/data.h 16:19:45 -- Installing: /usr/local/include/iot/typecode.h 16:19:45 -- Installing: /usr/local/include/iot/hash.h 16:19:45 -- Installing: /usr/local/include/iot/logger.h 16:19:45 -- Installing: /usr/local/include/iot/os 16:19:45 -- Installing: /usr/local/include/iot/os/zephyr.h 16:19:45 -- Installing: /usr/local/include/iot/os/macos.h 16:19:45 -- Installing: /usr/local/include/iot/os/linux.h 16:19:45 -- Installing: /usr/local/include/iot/json.h 16:19:45 -- Installing: /usr/local/include/iot/iot.h 16:19:45 -- Installing: /usr/local/share/device-sdk-c/LICENSE 16:19:45 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 16:19:45 make: Leaving directory '/tmp/sdk/build/release' 16:19:47 Removing intermediate container 94269cb5f4dd 16:19:47 ---> edb7b948c18b 16:19:47 Step 14/22 : FROM ${BASE} 16:19:47 ---> 0af3d9908a83 16:19:47 Step 15/22 : LABEL maintainer="IOTech " 16:19:47 ---> Running in 2fa19e4e360f 16:19:47 Removing intermediate container 2fa19e4e360f 16:19:47 ---> a3cbbbb2dba0 16:19:47 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 16:19:47 ---> Running in b9b96ab52a07 16:19:48 Connecting to iotech.jfrog.io (34.246.230.219:443) 16:19:48 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 16:19:48 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 16:19:48 '/etc/apk/keys/alpine.dev.rsa.pub' saved 16:19:49 Removing intermediate container b9b96ab52a07 16:19:49 ---> 58c9b3a18869 16:19:49 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 16:19:49 ---> Running in 8026b2cdf8aa 16:19:51 Removing intermediate container 8026b2cdf8aa 16:19:51 ---> 1a208e827e60 16:19:51 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 16:19:51 ---> Running in 825a97f4fc36 16:19:52 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 16:19:53 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 16:19:53 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz 16:19:54 WARNING: This apk-tools is OLD! Some packages might not function properly. 16:19:54 (1/6) Installing curl (7.80.0-r0) 16:19:54 (2/6) Installing hiredis (1.0.2-r0) 16:19:54 (3/6) Installing hiredis-dev (1.0.2-r0) 16:19:54 (4/6) Installing libcbor (0.8.0-r0) 16:19:54 (5/6) Installing libuuid (2.37.4-r0) 16:19:54 (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 16:19:55 Executing busybox-1.34.1-r3.trigger 16:19:55 OK: 278 MiB in 83 packages 16:19:56 Removing intermediate container 825a97f4fc36 16:19:56 ---> b47d8b45864f 16:19:56 Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 16:19:56 ---> b06dd71d439b 16:19:56 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 16:19:57 ---> 925da73aa57f 16:19:57 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 16:19:58 ---> 2ec92c450a17 16:19:58 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 16:19:58 ---> 7499efb42b26 16:19:58 Successfully built 7499efb42b26 16:19:58 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:19:59 + docker inspect -f . ci-base-image-arm64 16:19:59 . [Pipeline] withDockerContainer 16:19:59 prd-ubuntu20.04-docker-arm64-4c-16g-7847 does not seem to be running inside a container 16:19:59 $ 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 16:20:01 $ docker top 98a27f020d060a9a44cbccfb042100f927b96d3542af5a940af326667630cd5e -eo pid,comm [Pipeline] { [Pipeline] sh 16:20:01 + make test 16:20:01 echo "make test" 16:20:01 make test [Pipeline] } 16:20:02 $ docker stop --time=1 98a27f020d060a9a44cbccfb042100f927b96d3542af5a940af326667630cd5e 16:20:03 $ docker rm -f 98a27f020d060a9a44cbccfb042100f927b96d3542af5a940af326667630cd5e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:20:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:20:04 + ls -al . 16:20:04 total 204 16:20:04 drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 16:17 . 16:20:04 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 16:17 .. 16:20:04 drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 16:17 .git 16:20:04 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 16:17 .github 16:20:04 -rw-rw-r-- 1 jenkins jenkins 176 Mar 17 16:17 .gitignore 16:20:04 -rw-rw-r-- 1 jenkins jenkins 3104 Mar 17 16:17 Attribution.txt 16:20:04 -rw-rw-r-- 1 jenkins jenkins 8260 Mar 17 16:17 CHANGES 16:20:04 -rw-rw-r-- 1 jenkins jenkins 108574 Mar 17 16:17 Doxyfile 16:20:04 -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 16:17 GOVERNANCE.md 16:20:04 -rw-rw-r-- 1 jenkins jenkins 784 Mar 17 16:17 Jenkinsfile 16:20:04 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 17 16:17 LICENSE 16:20:04 -rw-rw-r-- 1 jenkins jenkins 444 Mar 17 16:17 Makefile 16:20:04 -rw-rw-r-- 1 jenkins jenkins 618 Mar 17 16:17 OWNERS.md 16:20:04 -rw-rw-r-- 1 jenkins jenkins 4086 Mar 17 16:17 README.md 16:20:04 -rw-rw-r-- 1 jenkins jenkins 7422 Mar 17 16:17 README.v2.md 16:20:04 -rw-rw-r-- 1 jenkins jenkins 5 Mar 17 16:15 VERSION 16:20:04 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 16:17 docs 16:20:04 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 16:17 include 16:20:04 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 16:17 scripts 16:20:04 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 16:17 src [Pipeline] isUnix [Pipeline] sh 16:20:05 + 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=45edf2ad213826a4bfa964888770c44e6986307a --label arch=arm64 --label version=0.0.0 . 16:20:05 Sending build context to Docker daemon 2.768MB 16:20:05 Step 1/17 : ARG BASE=alpine:3.15 16:20:05 Step 2/17 : FROM ${BASE} 16:20:05 ---> 7499efb42b26 16:20:05 Step 3/17 : LABEL maintainer="IOTech " 16:20:05 ---> Running in 74f5b2d0939b 16:20:06 Removing intermediate container 74f5b2d0939b 16:20:06 ---> 02f60fb0b0f3 16:20:06 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 16:20:06 ---> Running in 3c6257a23ef2 16:20:07 Connecting to iotech.jfrog.io (52.49.191.191:443) 16:20:07 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 16:20:07 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 16:20:07 '/etc/apk/keys/alpine.dev.rsa.pub' saved 16:20:08 Removing intermediate container 3c6257a23ef2 16:20:08 ---> e1acbf8eb06d 16:20:08 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 16:20:08 ---> Running in 542fbe93fac8 16:20:09 Removing intermediate container 542fbe93fac8 16:20:09 ---> 5c8bd517171e 16:20: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 16:20:09 ---> Running in f1251e8291f1 16:20:10 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 16:20:11 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 16:20:12 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz 16:20:13 WARNING: This apk-tools is OLD! Some packages might not function properly. 16:20:13 (1/26) Installing libcbor-dev (0.8.0-r0) 16:20:13 (2/26) Installing ncurses-dev (6.3_p20211120-r0) 16:20:13 (3/26) Installing util-linux (2.37.4-r0) 16:20:13 (4/26) Installing libblkid (2.37.4-r0) 16:20:13 (5/26) Installing libeconf (0.4.2-r0) 16:20:13 (6/26) Installing libfdisk (2.37.4-r0) 16:20:13 (7/26) Installing libmount (2.37.4-r0) 16:20:13 (8/26) Installing libsmartcols (2.37.4-r0) 16:20:13 (9/26) Installing util-linux-misc (2.37.4-r0) 16:20:13 (10/26) Installing linux-pam (1.5.2-r0) 16:20:14 (11/26) Installing runuser (2.37.4-r0) 16:20:14 (12/26) Installing hexdump (2.37.4-r0) 16:20:14 (13/26) Installing uuidgen (2.37.4-r0) 16:20:14 (14/26) Installing blkid (2.37.4-r0) 16:20:14 (15/26) Installing sfdisk (2.37.4-r0) 16:20:14 (16/26) Installing mcookie (2.37.4-r0) 16:20:14 (17/26) Installing wipefs (2.37.4-r0) 16:20:14 (18/26) Installing cfdisk (2.37.4-r0) 16:20:14 (19/26) Installing flock (2.37.4-r0) 16:20:15 (20/26) Installing lsblk (2.37.4-r0) 16:20:15 (21/26) Installing libcap-ng (0.8.2-r1) 16:20:15 (22/26) Installing setpriv (2.37.4-r0) 16:20:15 (23/26) Installing logger (2.37.4-r0) 16:20:15 (24/26) Installing partx (2.37.4-r0) 16:20:15 (25/26) Installing findmnt (2.37.4-r0) 16:20:15 (26/26) Installing util-linux-dev (2.37.4-r0) 16:20:15 Executing busybox-1.34.1-r3.trigger 16:20:15 OK: 290 MiB in 109 packages 16:20:17 Removing intermediate container f1251e8291f1 16:20:17 ---> 4ca1d6bd87f3 16:20:17 Step 7/17 : COPY VERSION /edgex-c-sdk/ 16:20:17 ---> 07a6744779ef 16:20:17 Step 8/17 : COPY src /edgex-c-sdk/src/ 16:20:18 ---> 54bf43f45225 16:20:18 Step 9/17 : COPY include /edgex-c-sdk/include/ 16:20:18 ---> 31f96348497e 16:20:18 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 16:20:19 ---> 37ea1641052a 16:20:19 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 16:20:19 ---> a0d495bac976 16:20:19 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 16:20:20 ---> cdc32b6399ed 16:20:20 Step 13/17 : WORKDIR /edgex-c-sdk 16:20:20 ---> Running in 4fcba21c82b4 16:20:20 Removing intermediate container 4fcba21c82b4 16:20:20 ---> 7878c5518d0f 16:20:20 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 16:20:20 ---> Running in 42f71602fee3 16:20:21 Removing intermediate container 42f71602fee3 16:20:21 ---> 4d56abec8f5e 16:20:21 Step 15/17 : LABEL arch=arm64 16:20:21 ---> Running in ef93e4aca89c 16:20:21 Removing intermediate container ef93e4aca89c 16:20:21 ---> 3bdf25f1932a 16:20:21 Step 16/17 : LABEL git_sha=45edf2ad213826a4bfa964888770c44e6986307a 16:20:21 ---> Running in c2a200887a7b 16:20:22 Removing intermediate container c2a200887a7b 16:20:22 ---> 90c5a6153370 16:20:22 Step 17/17 : LABEL version=0.0.0 16:20:22 ---> Running in fd6dcc6e2b78 16:20:22 Removing intermediate container fd6dcc6e2b78 16:20:22 ---> 203cdbb16011 16:20:22 [Warning] One or more build-args [ARCH MAKE] were not consumed 16:20:22 Successfully built 203cdbb16011 16:20:22 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 16:20:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:20:23 16:20:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 16:20:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:20:23 arm64: Pulling from edgex-lftools-log-publisher 16:20:23 8998bd30e6a1: Pulling fs layer 16:20:23 04944245beec: Pulling fs layer 16:20:23 699f458cf7ca: Pulling fs layer 16:20:23 765212b225bb: Pulling fs layer 16:20:23 f23df028b6ca: Pulling fs layer 16:20:23 d65c8cfc05b1: Pulling fs layer 16:20:23 2437ff75d9bd: Pulling fs layer 16:20:23 765212b225bb: Waiting 16:20:23 f23df028b6ca: Waiting 16:20:23 d65c8cfc05b1: Waiting 16:20:23 2437ff75d9bd: Waiting 16:20:23 04944245beec: Verifying Checksum 16:20:23 04944245beec: Download complete 16:20:23 765212b225bb: Download complete 16:20:23 f23df028b6ca: Download complete 16:20:23 d65c8cfc05b1: Verifying Checksum 16:20:23 d65c8cfc05b1: Download complete 16:20:23 699f458cf7ca: Verifying Checksum 16:20:23 699f458cf7ca: Download complete 16:20:24 8998bd30e6a1: Verifying Checksum 16:20:24 8998bd30e6a1: Download complete 16:20:26 2437ff75d9bd: Verifying Checksum 16:20:26 2437ff75d9bd: Download complete 16:20:28 8998bd30e6a1: Pull complete 16:20:29 04944245beec: Pull complete 16:20:30 699f458cf7ca: Pull complete 16:20:30 765212b225bb: Pull complete 16:20:31 f23df028b6ca: Pull complete 16:20:31 d65c8cfc05b1: Pull complete 16:20:46 2437ff75d9bd: Pull complete 16:20:46 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:20:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:20:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 16:20:47 prd-ubuntu20.04-docker-arm64-4c-16g-7847 does not seem to be running inside a container 16:20:47 $ 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 16:20:49 $ docker top cfa7a2931129f60d9cb1d332f3823537f2a40ab09c7ab81ec4c6c5a5b3192137 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:20:50 ---> job-cost.sh 16:20:50 lf-activate-venv: SKIPPING 16:20:50 INFO: No Stack... 16:20:51 INFO: Retrieving Pricing Info for: v3-standard-4 16:20:51 INFO: Archiving Costs [Pipeline] sh 16:20:52 + + cat /w/workspace/device-sdk-c/1/archives/cost.csv 16:20:52 cut -d, -f6 [Pipeline] lock 16:20:52 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-404-1-stack-cost] 16:20:52 Resource [jenkins-edgexfoundry-device-sdk-c-PR-404-1-stack-cost] did not exist. Created. 16:20:52 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-404-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:20:53 /w/workspace/device-sdk-c/1@tmp/durable-3aceaf1e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:20:54 + echo total: 0.10999999940395355 [Pipeline] stash 16:20:54 Warning: overwriting stash ‘stack-cost’ 16:20:54 Stashed 1 file(s) [Pipeline] } 16:20:54 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-404-1-stack-cost] [Pipeline] // lock [Pipeline] } 16:20:54 $ docker stop --time=1 cfa7a2931129f60d9cb1d332f3823537f2a40ab09c7ab81ec4c6c5a5b3192137 16:20:56 $ docker rm -f cfa7a2931129f60d9cb1d332f3823537f2a40ab09c7ab81ec4c6c5a5b3192137 [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 16:20:58 + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-404/archives ] 16:20:58 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-404/archives 16:20:58 total 16 16:20:58 drwxr-xr-x 3 root root 4096 Mar 17 16:16 . 16:20:58 drwxrwxr-x 10 jenkins jenkins 4096 Mar 17 16:16 .. 16:20:58 drwxr-xr-x 2 root root 4096 Mar 17 16:16 cost 16:20:58 -rw-r--r-- 1 root root 83 Mar 17 16:16 cost.csv 16:20:58 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-404/archives 16:20:58 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-404/archives 16:20:58 total 16 16:20:58 drwxr-xr-x 3 jenkins jenkins 4096 Mar 17 16:16 . 16:20:58 drwxrwxr-x 10 jenkins jenkins 4096 Mar 17 16:16 .. 16:20:58 drwxr-xr-x 2 jenkins jenkins 4096 Mar 17 16:16 cost 16:20:58 -rw-r--r-- 1 jenkins jenkins 83 Mar 17 16:16 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:20:58 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:20:59 ---> package-listing.sh 16:20:59 ++ facter osfamily 16:20:59 ++ tr '[:upper:]' '[:lower:]' 16:20:59 + OS_FAMILY=debian 16:20:59 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-404 16:20:59 + START_PACKAGES=/tmp/packages_start.txt 16:20:59 + END_PACKAGES=/tmp/packages_end.txt 16:20:59 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:20:59 + PACKAGES=/tmp/packages_start.txt 16:20:59 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-404 ']' 16:20:59 + PACKAGES=/tmp/packages_end.txt 16:20:59 + case "${OS_FAMILY}" in 16:20:59 + dpkg -l 16:20:59 + grep '^ii' 16:20:59 + '[' -f /tmp/packages_start.txt ']' 16:20:59 + '[' -f /tmp/packages_end.txt ']' 16:20:59 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:20:59 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-404 ']' 16:20:59 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-404/archives/ 16:20:59 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-404/archives/ [Pipeline] echo 16:20:59 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-404/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:20:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 16:21:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:21:00 . [Pipeline] withDockerContainer 16:21:00 prd-ubuntu20.04-docker-8c-8g-7846 does not seem to be running inside a container 16:21:00 $ 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-404/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-404 -v /w/workspace/edgexfoundry_device-sdk-c_PR-404:/w/workspace/edgexfoundry_device-sdk-c_PR-404:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-404@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-404@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 16:21:00 $ docker top 5da5072eef8dfb85e6f06b310e8782df98a01cbde7ba021e1531150f7b02cd28 -eo pid,comm [Pipeline] { [Pipeline] sh 16:21:01 + touch /tmp/pre-build-complete [Pipeline] sh 16:21:01 + mkdir -p /var/log/sysstat [Pipeline] sh 16:21:01 + ls /var/log/sa-host 16:21:01 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:21:01 provisioning config files... 16:21:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-404@tmp/config1039061406650092312tmp [Pipeline] { [Pipeline] echo 16:21:02 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:21:02 ---> create-netrc.sh [Pipeline] } 16:21:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:21:02 ---> python-tools-install.sh [Pipeline] echo 16:21:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:21:03 ---> sudo-logs.sh 16:21:03 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:21:03 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:21:03 ---> job-cost.sh 16:21:03 lf-activate-venv: SKIPPING 16:21:03 DEBUG: total: 0.2199999988079071 16:21:03 INFO: Retrieving Stack Cost... 16:21:04 INFO: Retrieving Pricing Info for: v3-standard-8 16:21:04 INFO: Archiving Costs [Pipeline] echo 16:21:04 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:21:04 ---> logs-deploy.sh 16:21:04 lf-activate-venv: SKIPPING 16:21:04 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-404/1 16:21:04 INFO: archiving workspace using pattern(s): 16:21:05 Archives upload complete. 16:21:05 INFO: archiving logs to Nexus