Pull request #410 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 eaton-coreymutter for edgexfoundry/device-sdk-c Loading trusted files from base branch main at 1e0fd7e27a4873259b5a640d55725fb40bcbc88d rather than 28742c2dc772b6e96916cc50b7e3372d71410c24 Obtained Jenkinsfile from 1e0fd7e27a4873259b5a640d55725fb40bcbc88d 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-ssh5383458925370794663.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-ssh3908367265007355290.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-410/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-410/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh11940573563364413666.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-410/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh15921030826625852717.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-ssh9714402172259269991.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-410/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-410/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8591872595886712270.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-20725 in /w/workspace/edgexfoundry_device-sdk-c_PR-410 [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-410 # 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 1e0fd7e27a4873259b5a640d55725fb40bcbc88d into PR head commit 28742c2dc772b6e96916cc50b7e3372d71410c24 Merge succeeded, producing 28742c2dc772b6e96916cc50b7e3372d71410c24 Checking out Revision 28742c2dc772b6e96916cc50b7e3372d71410c24 (PR-410) > 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/410/head:refs/remotes/origin/PR-410 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 28742c2dc772b6e96916cc50b7e3372d71410c24 # 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 1e0fd7e27a4873259b5a640d55725fb40bcbc88d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 28742c2dc772b6e96916cc50b7e3372d71410c24 # timeout=10 Commit message: "fix: don't ignore ds-pushevent and ds-returnevent" 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 21:23:20 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:23:20 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:23:20 ========================================================= 21:23:20 EdgeX Global Pipelines Version Info 21:23:20 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:23:21 ------------------- 21:23:21 stable info: 21:23:21 ------------------- 21:23:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:23:21 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 21:23:21 Message: update stable to v1.0.221 21:23:22 ------------------- 21:23:22 experimental info: 21:23:22 ------------------- 21:23:22 Commited By: **** collab-it+edgex@linuxfoundation.org 21:23:22 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 21:23:22 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:23:22 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 21:23:22 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 21:23:22 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:23:22 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:23:22 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:23:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 21:23:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 21:23:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:23:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:23:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 21:23:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:23:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:23:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:23:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 21:23:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:23:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:23:23 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:23:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-410 [Pipeline] echo 21:23:23 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-410 [Pipeline] echo 21:23:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-410 [Pipeline] echo 21:23:23 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 28742c2dc772b6e96916cc50b7e3372d71410c24 [Pipeline] echo 21:23:23 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 28742c2 [Pipeline] echo 21:23:23 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:23:23 provisioning config files... 21:23:23 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-410@tmp/config3780585912135919762tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:23:23 ---> docker-login.sh 21:23:23 nexus3.edgexfoundry.org:10001 21:23:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:23 Configure a credential helper to remove this warning. See 21:23:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:23 21:23:23 Login Succeeded 21:23:23 nexus3.edgexfoundry.org:10002 21:23:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:24 Configure a credential helper to remove this warning. See 21:23:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:24 21:23:24 Login Succeeded 21:23:24 nexus3.edgexfoundry.org:10003 21:23:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:24 Configure a credential helper to remove this warning. See 21:23:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:24 21:23:24 Login Succeeded 21:23:24 nexus3.edgexfoundry.org:10004 21:23:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:24 Configure a credential helper to remove this warning. See 21:23:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:24 21:23:24 Login Succeeded 21:23:24 docker.io 21:23:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:25 Configure a credential helper to remove this warning. See 21:23:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:25 21:23:25 Login Succeeded 21:23:25 ---> docker-login.sh ends [Pipeline] } 21:23:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 21:23:25 + git rev-list -1 --merges 28742c2dc772b6e96916cc50b7e3372d71410c24~1..28742c2dc772b6e96916cc50b7e3372d71410c24 [Pipeline] echo 21:23:25 -----------> git rev-list -1 --merges 28742c2dc772b6e96916cc50b7e3372d71410c24~1..28742c2dc772b6e96916cc50b7e3372d71410c24 28742c2dc772b6e96916cc50b7e3372d71410c24 [false] [Pipeline] sh 21:23:26 + git log --format=format:%s -1 28742c2dc772b6e96916cc50b7e3372d71410c24 [Pipeline] echo 21:23:26 ========================================================= 21:23:26 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:23:26 ========================================================= 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 21:23:26 + git rev-list -1 --merges 28742c2dc772b6e96916cc50b7e3372d71410c24~1..28742c2dc772b6e96916cc50b7e3372d71410c24 [Pipeline] echo 21:23:26 -----------> git rev-list -1 --merges 28742c2dc772b6e96916cc50b7e3372d71410c24~1..28742c2dc772b6e96916cc50b7e3372d71410c24 28742c2dc772b6e96916cc50b7e3372d71410c24 [false] [Pipeline] sh 21:23:27 + git log --format=format:%s -1 28742c2dc772b6e96916cc50b7e3372d71410c24 [Pipeline] echo 21:23:27 ========================================================= 21:23:27 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:23:27 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 21:23:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:23:27 + grep -v github /etc/ssh/ssh_known_hosts 21:23:27 + [ -e /tmp/ssh_known_hosts ] 21:23:27 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:23:27 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:23:27 + sudo tee -a /etc/ssh/ssh_known_hosts 21:23:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 21:23:28 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:23:28 21:23:28 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 21:23:28 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:23:28 latest: Pulling from edgex-devops/git-semver 21:23:28 a0d0a0d46f8b: Pulling fs layer 21:23:28 3e5f54012d9b: Pulling fs layer 21:23:28 4c7163046ea9: Pulling fs layer 21:23:28 0c2d73faf560: Pulling fs layer 21:23:28 0c2d73faf560: Waiting 21:23:28 3e5f54012d9b: Download complete 21:23:28 a0d0a0d46f8b: Verifying Checksum 21:23:28 a0d0a0d46f8b: Download complete 21:23:28 0c2d73faf560: Verifying Checksum 21:23:28 0c2d73faf560: Download complete 21:23:28 4c7163046ea9: Verifying Checksum 21:23:28 4c7163046ea9: Download complete 21:23:28 a0d0a0d46f8b: Pull complete 21:23:28 3e5f54012d9b: Pull complete 21:23:29 4c7163046ea9: Pull complete 21:23:29 0c2d73faf560: Pull complete 21:23:29 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 21:23:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:23:29 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 21:23:29 prd-ubuntu20.04-docker-8c-8g-20725 does not seem to be running inside a container 21:23:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-410 -v /w/workspace/edgexfoundry_device-sdk-c_PR-410:/w/workspace/edgexfoundry_device-sdk-c_PR-410:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-410@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-410@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 21:23:30 $ docker top f477ee8b3cb0ce44cf2be29a9964577041176befcdf082609738f09dbae6c084 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:23:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:23:30 [ssh-agent] Looking for ssh-agent implementation... 21:23:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:23:30 $ docker exec f477ee8b3cb0ce44cf2be29a9964577041176befcdf082609738f09dbae6c084 ssh-agent 21:23:30 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhafJJJ/agent.13 21:23:30 SSH_AGENT_PID=19 21:23:30 Running ssh-add (command line suppressed) 21:23:30 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-410@tmp/private_key_5144256443561147399.key (/w/workspace/edgexfoundry_device-sdk-c_PR-410@tmp/private_key_5144256443561147399.key) 21:23:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:23:31 + git tag --points-at HEAD [Pipeline] } 21:23:31 $ docker exec --env ******** --env ******** f477ee8b3cb0ce44cf2be29a9964577041176befcdf082609738f09dbae6c084 ssh-agent -k 21:23:31 unset SSH_AUTH_SOCK; 21:23:31 unset SSH_AGENT_PID; 21:23:31 echo Agent pid 19 killed; 21:23:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:23:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:23:31 [ssh-agent] Looking for ssh-agent implementation... 21:23:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:23:31 $ docker exec f477ee8b3cb0ce44cf2be29a9964577041176befcdf082609738f09dbae6c084 ssh-agent 21:23:31 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCidjgD/agent.53 21:23:31 SSH_AGENT_PID=60 21:23:31 Running ssh-add (command line suppressed) 21:23:31 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-410@tmp/private_key_7374081035270557197.key (/w/workspace/edgexfoundry_device-sdk-c_PR-410@tmp/private_key_7374081035270557197.key) 21:23:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:23:32 + git semver init 21:23:32 # -> Open(): unable to determine branch for HEAD 21:23:32 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-410/.git 21:23:32 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-410 21:23:32 # $SEMVER_REMOTE_NAME = origin 21:23:32 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 21:23:32 # $SEMVER_USER_NAME = edgex-jenkins 21:23:32 # $SEMVER_BRANCH = PR-410 21:23:32 # $SEMVER_TEMP = /tmp/semver-634949774 21:23:32 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 21:23:33 # '/tmp/semver-634949774' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-410/.semver' 21:23:33 # -> Force: false 21:23:33 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-410/.semver [Pipeline] } 21:23:33 $ docker exec --env ******** --env ******** f477ee8b3cb0ce44cf2be29a9964577041176befcdf082609738f09dbae6c084 ssh-agent -k 21:23:33 unset SSH_AUTH_SOCK; 21:23:33 unset SSH_AGENT_PID; 21:23:33 echo Agent pid 60 killed; 21:23:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:23:33 + git semver [Pipeline] } 21:23:33 $ docker stop --time=1 f477ee8b3cb0ce44cf2be29a9964577041176befcdf082609738f09dbae6c084 21:23:35 $ docker rm -f f477ee8b3cb0ce44cf2be29a9964577041176befcdf082609738f09dbae6c084 [Pipeline] // withDockerContainer [Pipeline] sh 21:23:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:23:35 Stashed 1 file(s) [Pipeline] echo 21:23:35 [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 21:23:36 provisioning config files... 21:23:36 Running on prd-ubuntu20.04-docker-arm64-4c-16g-20723 in /w/workspace/edgexfoundry_device-sdk-c_PR-410 21:23:36 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-410@tmp/config5362150980378877274tmp [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 21:23:36 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 21:23:36 Selected Git installation does not exist. Using Default 21:23:36 The recommended git tool is: NONE 21:23:36 ---> docker-login.sh 21:23:36 nexus3.edgexfoundry.org:10001 21:23:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:36 Configure a credential helper to remove this warning. See 21:23:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:36 21:23:36 Login Succeeded 21:23:36 nexus3.edgexfoundry.org:10002 21:23:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:36 Configure a credential helper to remove this warning. See 21:23:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:36 21:23:36 Login Succeeded 21:23:36 nexus3.edgexfoundry.org:10003 21:23:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:36 Configure a credential helper to remove this warning. See 21:23:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:36 21:23:36 Login Succeeded 21:23:36 nexus3.edgexfoundry.org:10004 21:23:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:37 Configure a credential helper to remove this warning. See 21:23:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:37 21:23:37 Login Succeeded 21:23:37 docker.io 21:23:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:37 Configure a credential helper to remove this warning. See 21:23:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:37 21:23:37 Login Succeeded 21:23:37 ---> docker-login.sh ends [Pipeline] } 21:23:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:23:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:23:37 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 21:23:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:23:37 ========================================================= 21:23:37 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 21:23:37 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 21:23:38 + 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 . 21:23:38 Sending build context to Docker daemon 4.545MB 21:23:38 Step 1/22 : ARG BASE=alpine:3.15 21:23:38 Step 2/22 : FROM ${BASE} as builder 21:23:38 latest: Pulling from edgex-devops/edgex-gcc-base 21:23:38 df9b9388f04a: Pulling fs layer 21:23:38 c3d449058725: Pulling fs layer 21:23:38 6f510119abd0: Pulling fs layer 21:23:38 c3d449058725: Verifying Checksum 21:23:38 c3d449058725: Download complete 21:23:38 df9b9388f04a: Verifying Checksum 21:23:38 df9b9388f04a: Download complete 21:23:38 df9b9388f04a: Pull complete 21:23:38 c3d449058725: Pull complete 21:23:38 6f510119abd0: Verifying Checksum 21:23:38 6f510119abd0: Download complete 21:23:42 using credential edgex-jenkins-ssh 21:23:42 Cloning the remote Git repository 21:23:42 6f510119abd0: Pull complete 21:23:42 Digest: sha256:856fb40ca3d1125b2c93e717e1a89c2d5d9bc42c48810694e872c08d802a7fb7 21:23:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 21:23:42 ---> 31512f8d4d04 21:23:42 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 21:23:42 ---> Running in c973ce9367e8 21:23:42 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 21:23:42 > git init /w/workspace/device-sdk-c/1 # timeout=10 21:23:42 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 21:23:42 > git --version # timeout=10 21:23:42 > git --version # 'git version 2.25.1' 21:23:42 using GIT_SSH to set credentials SSH Credentials for GitHub 21:23:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:23:42 Connecting to iotech.jfrog.io (52.50.143.190:443) 21:23:43 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 21:23:43 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 21:23:43 '/etc/apk/keys/alpine.dev.rsa.pub' saved 21:23:43 Removing intermediate container c973ce9367e8 21:23:43 ---> ce92ab7aa74f 21:23:43 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 21:23:43 ---> Running in 7b81bd884a9b 21:23:43 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 21:23:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:23:43 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 21:23:43 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 21:23:43 using GIT_SSH to set credentials SSH Credentials for GitHub 21:23:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/410/head:refs/remotes/origin/PR-410 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:23:44 Merging remotes/origin/main commit 1e0fd7e27a4873259b5a640d55725fb40bcbc88d into PR head commit 28742c2dc772b6e96916cc50b7e3372d71410c24 21:23:44 Merge succeeded, producing 28742c2dc772b6e96916cc50b7e3372d71410c24 21:23:44 Checking out Revision 28742c2dc772b6e96916cc50b7e3372d71410c24 (PR-410) 21:23:44 Removing intermediate container 7b81bd884a9b 21:23:44 ---> e926796c3831 21:23:44 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 21:23:44 ---> Running in 0224697197b0 21:23:44 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 21:23:45 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 21:23:44 > git config core.sparsecheckout # timeout=10 21:23:44 > git checkout -f 28742c2dc772b6e96916cc50b7e3372d71410c24 # timeout=10 21:23:44 > git remote # timeout=10 21:23:44 > git config --get remote.origin.url # timeout=10 21:23:44 using GIT_SSH to set credentials SSH Credentials for GitHub 21:23:44 > git merge 1e0fd7e27a4873259b5a640d55725fb40bcbc88d # timeout=10 21:23:44 > git rev-parse HEAD^{commit} # timeout=10 21:23:44 > git config core.sparsecheckout # timeout=10 21:23:44 > git checkout -f 28742c2dc772b6e96916cc50b7e3372d71410c24 # timeout=10 21:23:45 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz 21:23:46 WARNING: This apk-tools is OLD! Some packages might not function properly. 21:23:46 (1/31) Installing hiredis (1.0.2-r0) 21:23:46 (2/31) Installing hiredis-dev (1.0.2-r0) 21:23:46 (3/31) Installing libcbor (0.8.0-r0) 21:23:46 (4/31) Installing libcbor-dev (0.8.0-r0) 21:23:46 (5/31) Installing ncurses-dev (6.3_p20211120-r0) 21:23:46 (6/31) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 21:23:47 (7/31) Installing util-linux (2.37.4-r0) 21:23:47 (8/31) Installing libblkid (2.37.4-r0) 21:23:47 (9/31) Installing libeconf (0.4.2-r0) 21:23:47 (10/31) Installing libuuid (2.37.4-r0) 21:23:47 (11/31) Installing libfdisk (2.37.4-r0) 21:23:47 (12/31) Installing libmount (2.37.4-r0) 21:23:48 (13/31) Installing libsmartcols (2.37.4-r0) 21:23:48 (14/31) Installing util-linux-misc (2.37.4-r0) 21:23:48 (15/31) Installing linux-pam (1.5.2-r0) 21:23:48 (16/31) Installing runuser (2.37.4-r0) 21:23:48 (17/31) Installing hexdump (2.37.4-r0) 21:23:48 (18/31) Installing uuidgen (2.37.4-r0) 21:23:48 (19/31) Installing blkid (2.37.4-r0) 21:23:48 (20/31) Installing sfdisk (2.37.4-r0) 21:23:48 (21/31) Installing mcookie (2.37.4-r0) 21:23:48 (22/31) Installing wipefs (2.37.4-r0) 21:23:49 (23/31) Installing cfdisk (2.37.4-r0) 21:23:49 (24/31) Installing flock (2.37.4-r0) 21:23:49 (25/31) Installing lsblk (2.37.4-r0) 21:23:49 Commit message: "fix: don't ignore ds-pushevent and ds-returnevent" 21:23:49 (26/31) Installing libcap-ng (0.8.2-r1) 21:23:49 (27/31) Installing setpriv (2.37.4-r0) 21:23:49 (28/31) Installing logger (2.37.4-r0) 21:23:49 > git --version # timeout=10 21:23:49 > git --version # 'git version 2.25.1' 21:23:49 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 21:23:49 (29/31) Installing partx (2.37.4-r0) 21:23:49 (30/31) Installing findmnt (2.37.4-r0) 21:23:49 (31/31) Installing util-linux-dev (2.37.4-r0) [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage 21:23:49 Executing busybox-1.34.1-r5.trigger 21:23:49 OK: 293 MiB in 108 packages [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:23:50 Removing intermediate container 0224697197b0 21:23:50 ---> 9bfaabbc41af 21:23:50 Step 6/22 : RUN mkdir /tmp/sdk 21:23:50 ---> Running in 22e5e3467e2e 21:23:50 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:23:50 % Total % Received % Xferd Average Speed Time Time Time Current 21:23:50 Dload Upload Total Spent Left Speed 21:23:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 46081 0 --:--:-- --:--:-- --:--:-- 46261 [Pipeline] sh 21:23:51 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:23:51 Removing intermediate container 22e5e3467e2e 21:23:51 ---> 815efc54e463 21:23:51 Step 7/22 : COPY VERSION /tmp/sdk 21:23:51 ---> 343bb0a9164a 21:23:51 Step 8/22 : COPY src /tmp/sdk/src 21:23:51 + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new 21:23:51 21:23:51 { 21:23:51 "registry-mirrors": [ 21:23:51 "https://nexus3.edgexfoundry.org:10001" 21:23:51 ], 21:23:51 "bip": "10.250.0.254/24", 21:23:51 "hosts": [ 21:23:51 "tcp://0.0.0.0:5555", 21:23:51 "unix:///var/run/docker.sock" 21:23:51 ], 21:23:51 "mtu": 1458, 21:23:51 "selinux-enabled": true, 21:23:51 "seccomp-profile": "/etc/docker/seccomp.json" 21:23:51 } [Pipeline] sh 21:23:51 ---> ed53dc0d0c1f 21:23:51 Step 9/22 : COPY include /tmp/sdk/include 21:23:51 ---> 455f979754bb 21:23:51 Step 10/22 : COPY scripts /tmp/sdk/scripts 21:23:51 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:23:51 ---> 69254c1d6aa0 21:23:51 Step 11/22 : COPY LICENSE /tmp/sdk 21:23:51 ---> 92570fc45427 21:23:51 Step 12/22 : COPY Attribution.txt /tmp/sdk 21:23:52 ---> b2a3c317f810 21:23:52 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 21:23:52 ---> Running in f2aefda13aa8 21:23:52 + sudo service docker restart 21:23:52 + CPPCHECK=false 21:23:52 + DOCGEN=false 21:23:52 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 21:23:52 + TOMLVER=SDK-0.2 21:23:52 + CUTILVER=1.2.2 21:23:52 + '[' 0 -gt 0 ] 21:23:52 + readlink -f ./scripts/build.sh 21:23:52 + dirname /tmp/sdk/scripts/build.sh 21:23:52 + dirname /tmp/sdk/scripts 21:23:52 + ROOT=/tmp/sdk 21:23:52 + cd /tmp/sdk 21:23:52 + '[' '!' -d deps ] 21:23:52 + mkdir deps 21:23:52 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 21:23:52 + tar -C deps -z -x -f - 21:23:52 Connecting to github.com (140.82.114.3:443) 21:23:52 Connecting to codeload.github.com (140.82.114.9:443) 21:23:53 writing to stdout 21:23:53 - 100% |********************************| 16451 0:00:00 ETA 21:23:53 written to stdout 21:23:53 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 21:23:53 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 21:23:53 + tar -C deps -z -x -f - 21:23:53 Connecting to github.com (140.82.114.3:443) 21:23:53 Connecting to codeload.github.com (140.82.114.9:443) 21:23:53 writing to stdout 21:23:53 - 100% |********************************| 189k 0:00:00 ETA 21:23:53 written to stdout 21:23:53 + mkdir -p src/c/iot 21:23:53 + 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 21:23:53 + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot 21:23:53 + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot 21:23:53 + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot 21:23:53 + mkdir -p include/iot 21:23:53 + 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 21:23:53 + mkdir -p include/iot/os 21:23:53 + 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 21:23:53 + mkdir -p /tmp/sdk/build/release 21:23:53 + cd /tmp/sdk/build/release 21:23:53 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 21:23:53 -- The C compiler identification is GNU 10.3.1 21:23:53 -- Detecting C compiler ABI info 21:23:53 -- Detecting C compiler ABI info - done 21:23:53 -- Check for working C compiler: /usr/bin/cc - skipped 21:23:53 -- Detecting C compile features 21:23:53 -- Detecting C compile features - done 21:23:53 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 21:23:53 -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") 21:23:53 -- Found LIBYAML: /usr/lib/libyaml.so 21:23:53 -- Found LIBUUID: /usr/lib/libuuid.so 21:23:53 -- Found LIBCBOR: /usr/lib/libcbor.so 21:23:53 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 21:23:53 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 21:23:53 -- C SDK 0.0.0 for Linux 21:23:53 -- Performing Test CSDK_HAVE_ATOMIC 21:23:53 -- Performing Test CSDK_HAVE_ATOMIC - Success 21:23:53 -- Found Curses: /usr/lib/libcurses.so 21:23:53 -- Configuring done 21:23:53 -- Generating done 21:23:53 -- Build files have been written to: /tmp/sdk/build/release 21:23:54 + make all package 21:23:54 + tee release.log 21:23:54 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 21:23:54 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 21:23:54 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 21:23:54 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 21:23:54 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 21:23:54 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 21:23:54 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 21:23:55 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 21:23:55 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 21:23:55 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 21:23:55 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 21:23:55 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 21:23:55 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 21:23:56 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 21:23:56 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 21:23:56 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 21:23:56 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 21:23:56 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 21:23:56 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 21:23:56 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 21:23:56 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 21:23:57 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 21:23:57 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 21:23:57 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 21:23:57 275 | const iot_component_factory_t * factory; 21:23:57 | ^~~~~~~ 21:23:57 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 21:23:58 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 21:23:58 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 21:23:58 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 21:23:58 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 21:23:58 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 21:23:58 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 21:23:58 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 21:23:58 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 21:23:58 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 21:23:58 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 21:23:59 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 21:23:59 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 21:23:59 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 21:23:59 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 21:23:59 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 21:24:00 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 21:24:00 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 21:24:00 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 21:24:01 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 21:24:01 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 21:24:01 /tmp/sdk/src/c/rest-server.c:394:67: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] 21:24:01 394 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 21:24:01 | ^~~~~~~~~~~~~ 21:24:01 | | 21:24:01 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 21:24:01 In file included from /tmp/sdk/src/c/rest-server.c:21: 21:24:01 /usr/include/microhttpd.h:2784:49: note: expected 'MHD_KeyValueIterator' {aka 'enum MHD_Result (*)(void *, enum MHD_ValueKind, const char *, const char *)'} but argument is of type 'int (*)(void *, enum MHD_ValueKind, const char *, const char *)' 21:24:01 2784 | MHD_KeyValueIterator iterator, 21:24:01 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 21:24:01 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 21:24:01 /tmp/sdk/src/c/rest-server.c:501:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 21:24:01 501 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 21:24:01 | ^~~~~~~~~~~~ 21:24:01 | | 21:24:01 | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} 21:24:01 In file included from /tmp/sdk/src/c/rest-server.c:21: 21:24:01 /usr/include/microhttpd.h:2480:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} 21:24:01 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 21:24:01 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 21:24:01 /tmp/sdk/src/c/rest-server.c:512:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 21:24:01 512 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 21:24:01 | ^~~~~~~~~~~~ 21:24:01 | | 21:24:01 | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} 21:24:01 In file included from /tmp/sdk/src/c/rest-server.c:21: 21:24:01 /usr/include/microhttpd.h:2480:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} 21:24:01 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 21:24:01 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 21:24:01 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 21:24:01 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 21:24:01 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 21:24:01 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 21:24:01 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 21:24:02 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 21:24:02 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 21:24:03 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 21:24:03 [ 76%] Linking C shared library libcsdk.so 21:24:03 [ 76%] Built target csdk 21:24:03 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 21:24:03 [ 79%] Linking C executable template 21:24:03 [ 79%] Built target template 21:24:03 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 21:24:03 [ 82%] Linking C executable device-counter 21:24:03 [ 82%] Built target device-counter 21:24:03 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 21:24:03 [ 85%] Linking C executable device-random 21:24:04 [ 85%] Built target device-random 21:24:04 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 21:24:04 [ 88%] Linking C executable device-gyro 21:24:04 [ 88%] Built target device-gyro 21:24:04 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 21:24:04 [ 91%] Linking C executable device-bitfields 21:24:04 [ 91%] Built target device-bitfields 21:24:04 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 21:24:04 [ 94%] Linking C executable template-discovery 21:24:04 [ 94%] Built target template-discovery 21:24:04 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 21:24:04 [ 97%] Linking C executable device-file 21:24:04 [ 97%] Built target device-file 21:24:04 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 21:24:04 [100%] Linking C executable device-terminal 21:24:05 [100%] Built target device-terminal 21:24:05 Run CPack packaging tool... 21:24:05 CPack: Create package using TGZ 21:24:05 CPack: Install projects 21:24:05 CPack: - Run preinstall target for: Csdk 21:24:05 CPack: - Install project: Csdk [] 21:24:05 CPack: Create package 21:24:05 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 21:24:05 + '[' false '=' true ] 21:24:05 + '[' false '=' true ] 21:24:05 + mkdir -p /tmp/sdk/build/debug 21:24:05 + cd /tmp/sdk/build/debug 21:24:05 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 21:24:05 -- The C compiler identification is GNU 10.3.1 21:24:05 -- Detecting C compiler ABI info 21:24:05 -- Detecting C compiler ABI info - done 21:24:05 -- Check for working C compiler: /usr/bin/cc - skipped 21:24:05 -- Detecting C compile features 21:24:05 -- Detecting C compile features - done 21:24:05 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 21:24:05 -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") 21:24:05 -- Found LIBYAML: /usr/lib/libyaml.so 21:24:05 -- Found LIBUUID: /usr/lib/libuuid.so 21:24:05 -- Found LIBCBOR: /usr/lib/libcbor.so 21:24:05 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 21:24:05 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 21:24:05 -- C SDK 0.0.0 for Linux 21:24:05 -- Performing Test CSDK_HAVE_ATOMIC 21:24:05 -- Performing Test CSDK_HAVE_ATOMIC - Success 21:24:05 -- Found Curses: /usr/lib/libcurses.so 21:24:05 -- Configuring done 21:24:05 -- Generating done 21:24:05 -- Build files have been written to: /tmp/sdk/build/debug 21:24:05 + make 21:24:05 + tee debug.log 21:24:05 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 21:24:05 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 21:24:05 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 21:24:06 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 21:24:06 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 21:24:06 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 21:24:06 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 21:24:06 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 21:24:06 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 21:24:06 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 21:24:06 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 21:24:06 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 21:24:06 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 21:24:06 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 21:24:06 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 21:24:06 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 21:24:07 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 21:24:07 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 21:24:07 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 21:24:07 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 21:24:07 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 21:24:07 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 21:24:07 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 21:24:07 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 21:24:07 275 | const iot_component_factory_t * factory; 21:24:07 | ^~~~~~~ 21:24:07 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 21:24:07 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 21:24:07 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 21:24:07 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 21:24:07 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 21:24:07 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 21:24:07 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 21:24:08 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 21:24:08 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 21:24:08 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 21:24:08 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 21:24:08 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 21:24:08 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 21:24:08 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 21:24:08 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 21:24:08 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 21:24:08 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 21:24:08 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 21:24:08 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 21:24:08 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 21:24:08 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 21:24:08 /tmp/sdk/src/c/rest-server.c:394:67: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] 21:24:08 394 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 21:24:08 | ^~~~~~~~~~~~~ 21:24:08 | | 21:24:08 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 21:24:08 In file included from /tmp/sdk/src/c/rest-server.c:21: 21:24:08 /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 *)' 21:24:08 2784 | MHD_KeyValueIterator iterator, 21:24:08 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 21:24:08 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 21:24:08 /tmp/sdk/src/c/rest-server.c:501:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 21:24:08 501 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 21:24:08 | ^~~~~~~~~~~~ 21:24:08 | | 21:24:08 | 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 **)} 21:24:08 In file included from /tmp/sdk/src/c/rest-server.c:21: 21:24:08 /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 **)'} 21:24:08 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 21:24:08 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 21:24:08 /tmp/sdk/src/c/rest-server.c:512:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 21:24:08 512 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 21:24:08 | ^~~~~~~~~~~~ 21:24:08 | | 21:24:08 | 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 **)} 21:24:08 In file included from /tmp/sdk/src/c/rest-server.c:21: 21:24:08 /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 **)'} 21:24:08 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 21:24:08 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 21:24:09 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 21:24:09 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 21:24:09 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 21:24:09 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 21:24:09 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 21:24:09 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 21:24:09 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 21:24:10 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 21:24:10 [ 76%] Linking C shared library libcsdk.so 21:24:10 [ 76%] Built target csdk 21:24:10 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 21:24:10 [ 79%] Linking C executable template 21:24:10 [ 79%] Built target template 21:24:10 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 21:24:10 [ 82%] Linking C executable device-counter 21:24:10 [ 82%] Built target device-counter 21:24:10 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 21:24:10 [ 85%] Linking C executable device-random 21:24:10 [ 85%] Built target device-random 21:24:10 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 21:24:10 [ 88%] Linking C executable device-gyro 21:24:10 [ 88%] Built target device-gyro 21:24:10 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:24:10 provisioning config files... 21:24:10 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config172310086841271006tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:24:10 [ 91%] Linking C executable device-bitfields 21:24:10 [ 91%] Built target device-bitfields 21:24:10 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 21:24:10 [ 94%] Linking C executable template-discovery 21:24:11 [ 94%] Built target template-discovery 21:24:11 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 21:24:11 [ 97%] Linking C executable device-file 21:24:11 [ 97%] Built target device-file 21:24:11 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 21:24:11 [100%] Linking C executable device-terminal 21:24:11 ---> docker-login.sh 21:24:11 nexus3.edgexfoundry.org:10001 21:24:11 [100%] Built target device-terminal 21:24:11 make: Entering directory '/tmp/sdk/build/release' 21:24:11 make[1]: Entering directory '/tmp/sdk/build/release' 21:24:11 make[2]: Entering directory '/tmp/sdk/build/release' 21:24:11 make[2]: Leaving directory '/tmp/sdk/build/release' 21:24:11 [ 76%] Built target csdk 21:24:11 make[2]: Entering directory '/tmp/sdk/build/release' 21:24:11 make[2]: Leaving directory '/tmp/sdk/build/release' 21:24:11 [ 79%] Built target template 21:24:11 make[2]: Entering directory '/tmp/sdk/build/release' 21:24:11 make[2]: Leaving directory '/tmp/sdk/build/release' 21:24:11 [ 82%] Built target device-counter 21:24:11 make[2]: Entering directory '/tmp/sdk/build/release' 21:24:11 make[2]: Leaving directory '/tmp/sdk/build/release' 21:24:11 [ 85%] Built target device-random 21:24:11 make[2]: Entering directory '/tmp/sdk/build/release' 21:24:11 make[2]: Leaving directory '/tmp/sdk/build/release' 21:24:11 [ 88%] Built target device-gyro 21:24:11 make[2]: Entering directory '/tmp/sdk/build/release' 21:24:11 make[2]: Leaving directory '/tmp/sdk/build/release' 21:24:11 [ 91%] Built target device-bitfields 21:24:11 make[2]: Entering directory '/tmp/sdk/build/release' 21:24:11 make[2]: Leaving directory '/tmp/sdk/build/release' 21:24:11 [ 94%] Built target template-discovery 21:24:11 make[2]: Entering directory '/tmp/sdk/build/release' 21:24:11 make[2]: Leaving directory '/tmp/sdk/build/release' 21:24:11 [ 97%] Built target device-file 21:24:11 make[2]: Entering directory '/tmp/sdk/build/release' 21:24:11 make[2]: Leaving directory '/tmp/sdk/build/release' 21:24:11 [100%] Built target device-terminal 21:24:11 make[1]: Leaving directory '/tmp/sdk/build/release' 21:24:11 Install the project... 21:24:11 -- Install configuration: "Release" 21:24:11 -- Installing: /usr/local/lib/libcsdk.so 21:24:11 -- Installing: /usr/local/include 21:24:11 -- Installing: /usr/local/include/edgex 21:24:11 -- Installing: /usr/local/include/edgex/profiles.h 21:24:11 -- Installing: /usr/local/include/edgex/edgex.h 21:24:11 -- Installing: /usr/local/include/edgex/rest-server.h 21:24:11 -- Installing: /usr/local/include/edgex/edgex-base.h 21:24:11 -- Installing: /usr/local/include/edgex/devices.h 21:24:11 -- Installing: /usr/local/include/edgex/csdk-defs.h 21:24:11 -- Installing: /usr/local/include/devsdk 21:24:11 -- Installing: /usr/local/include/devsdk/devsdk.h 21:24:11 -- Installing: /usr/local/include/devsdk/devsdk-base.h 21:24:11 -- Installing: /usr/local/include/iot 21:24:11 -- Installing: /usr/local/include/iot/thread.h 21:24:11 -- Installing: /usr/local/include/iot/hash.h 21:24:11 -- Installing: /usr/local/include/iot/typecode.h 21:24:11 -- Installing: /usr/local/include/iot/threadpool.h 21:24:11 -- Installing: /usr/local/include/iot/uuid.h 21:24:11 -- Installing: /usr/local/include/iot/logger.h 21:24:11 -- Installing: /usr/local/include/iot/config.h 21:24:11 -- Installing: /usr/local/include/iot/os.h 21:24:11 -- Installing: /usr/local/include/iot/container.h 21:24:11 -- Installing: /usr/local/include/iot/scheduler.h 21:24:11 -- Installing: /usr/local/include/iot/defs.h 21:24:11 -- Installing: /usr/local/include/iot/iot.h 21:24:11 -- Installing: /usr/local/include/iot/component.h 21:24:11 -- Installing: /usr/local/include/iot/os 21:24:11 -- Installing: /usr/local/include/iot/os/linux.h 21:24:11 -- Installing: /usr/local/include/iot/os/zephyr.h 21:24:11 -- Installing: /usr/local/include/iot/os/macos.h 21:24:11 -- Installing: /usr/local/include/iot/base64.h 21:24:11 -- Installing: /usr/local/include/iot/time.h 21:24:11 -- Installing: /usr/local/include/iot/data.h 21:24:11 -- Installing: /usr/local/include/iot/json.h 21:24:11 -- Installing: /usr/local/share/device-sdk-c/LICENSE 21:24:11 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 21:24:11 make: Leaving directory '/tmp/sdk/build/release' 21:24:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:24:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:24:11 Configure a credential helper to remove this warning. See 21:24:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:24:11 21:24:11 Login Succeeded 21:24:11 nexus3.edgexfoundry.org:10002 21:24:12 Removing intermediate container f2aefda13aa8 21:24:12 ---> 9e5a5fa5d11c 21:24:12 Step 14/22 : FROM ${BASE} 21:24:12 ---> 31512f8d4d04 21:24:12 Step 15/22 : LABEL maintainer="IOTech " 21:24:12 ---> Running in df1835083bd8 21:24:12 Removing intermediate container df1835083bd8 21:24:12 ---> baf1c7af04b4 21:24:12 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 21:24:12 ---> Running in e77f31d80cbd 21:24:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:24:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:24:12 Configure a credential helper to remove this warning. See 21:24:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:24:12 21:24:12 Login Succeeded 21:24:12 nexus3.edgexfoundry.org:10003 21:24:12 Connecting to iotech.jfrog.io (52.49.191.191:443) 21:24:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:24:13 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 21:24:13 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 21:24:13 '/etc/apk/keys/alpine.dev.rsa.pub' saved 21:24:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:24:13 Configure a credential helper to remove this warning. See 21:24:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:24:13 21:24:13 Login Succeeded 21:24:13 nexus3.edgexfoundry.org:10004 21:24:13 Removing intermediate container e77f31d80cbd 21:24:13 ---> 8a0e155e581f 21:24:13 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 21:24:13 ---> Running in 42e03ee08c6d 21:24:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:24:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:24:13 Configure a credential helper to remove this warning. See 21:24:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:24:13 21:24:13 Login Succeeded 21:24:13 docker.io 21:24:13 Removing intermediate container 42e03ee08c6d 21:24:13 ---> 879e58a4f98c 21:24:13 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 21:24:13 ---> Running in a168a90b227b 21:24:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:24:14 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 21:24:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:24:14 Configure a credential helper to remove this warning. See 21:24:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:24:14 21:24:14 Login Succeeded 21:24:14 ---> docker-login.sh ends [Pipeline] } 21:24:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:24:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:24:14 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 21:24:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:24:14 ========================================================= 21:24:14 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 21:24:14 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 21:24:15 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 21:24:15 + 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 . 21:24:15 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz 21:24:15 Sending build context to Docker daemon 2.764MB 21:24:15 WARNING: This apk-tools is OLD! Some packages might not function properly. 21:24:15 (1/6) Installing curl (7.80.0-r0) 21:24:15 Step 1/22 : ARG BASE=alpine:3.15 21:24:15 Step 2/22 : FROM ${BASE} as builder 21:24:15 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 21:24:15 9981e73032c8: Pulling fs layer 21:24:15 7400f6ba8eaf: Pulling fs layer 21:24:15 457beda32014: Pulling fs layer 21:24:15 7400f6ba8eaf: Download complete 21:24:15 (2/6) Installing hiredis (1.0.2-r0) 21:24:15 (3/6) Installing hiredis-dev (1.0.2-r0) 21:24:15 (4/6) Installing libcbor (0.8.0-r0) 21:24:16 9981e73032c8: Verifying Checksum 21:24:16 9981e73032c8: Download complete 21:24:16 (5/6) Installing libuuid (2.37.4-r0) 21:24:16 (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 21:24:16 9981e73032c8: Pull complete 21:24:16 7400f6ba8eaf: Pull complete 21:24:17 Executing busybox-1.34.1-r5.trigger 21:24:17 OK: 283 MiB in 83 packages 21:24:17 Removing intermediate container a168a90b227b 21:24:17 ---> fac38db2e6c6 21:24:17 Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 21:24:17 ---> 4aa085687e4a 21:24:17 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 21:24:17 ---> 831070a2837b 21:24:17 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 21:24:17 ---> 7864f8b2226a 21:24:17 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 21:24:17 ---> 4c456f731be3 21:24:17 Successfully built 4c456f731be3 21:24:17 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 21:24:18 457beda32014: Verifying Checksum 21:24:18 457beda32014: Download complete 21:24:18 + docker inspect -f . ci-base-image-x86_64 21:24:18 . [Pipeline] withDockerContainer 21:24:18 prd-ubuntu20.04-docker-8c-8g-20725 does not seem to be running inside a container 21:24:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-410 -v /w/workspace/edgexfoundry_device-sdk-c_PR-410:/w/workspace/edgexfoundry_device-sdk-c_PR-410:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-410@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-410@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 21:24:18 $ docker top 018ba499f7dffa5a4613ec10a2c4086b3fe0e24bb4a93c05db54a880b123e84b -eo pid,comm [Pipeline] { [Pipeline] sh 21:24:19 + make test 21:24:19 echo "make test" 21:24:19 make test [Pipeline] } 21:24:19 $ docker stop --time=1 018ba499f7dffa5a4613ec10a2c4086b3fe0e24bb4a93c05db54a880b123e84b 21:24:20 $ docker rm -f 018ba499f7dffa5a4613ec10a2c4086b3fe0e24bb4a93c05db54a880b123e84b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:24:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:24:22 + ls -al . 21:24:22 total 208 21:24:22 drwxrwxr-x 9 jenkins jenkins 4096 Apr 12 21:23 . 21:24:22 drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 21:23 .. 21:24:22 drwxrwxr-x 8 jenkins jenkins 4096 Apr 12 21:23 .git 21:24:22 drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 21:23 .github 21:24:22 -rw-rw-r-- 1 jenkins jenkins 176 Apr 12 21:23 .gitignore 21:24:22 drwx------ 3 jenkins jenkins 4096 Apr 12 21:23 .semver 21:24:22 -rw-rw-r-- 1 jenkins jenkins 3104 Apr 12 21:23 Attribution.txt 21:24:22 -rw-rw-r-- 1 jenkins jenkins 8321 Apr 12 21:23 CHANGES 21:24:22 -rw-rw-r-- 1 jenkins jenkins 108574 Apr 12 21:23 Doxyfile 21:24:22 -rw-rw-r-- 1 jenkins jenkins 677 Apr 12 21:23 GOVERNANCE.md 21:24:22 -rw-rw-r-- 1 jenkins jenkins 784 Apr 12 21:23 Jenkinsfile 21:24:22 -rw-rw-r-- 1 jenkins jenkins 10174 Apr 12 21:23 LICENSE 21:24:22 -rw-rw-r-- 1 jenkins jenkins 444 Apr 12 21:23 Makefile 21:24:22 -rw-rw-r-- 1 jenkins jenkins 618 Apr 12 21:23 OWNERS.md 21:24:22 -rw-rw-r-- 1 jenkins jenkins 4086 Apr 12 21:23 README.md 21:24:22 -rw-rw-r-- 1 jenkins jenkins 7422 Apr 12 21:23 README.v2.md 21:24:22 -rw-rw-r-- 1 jenkins jenkins 5 Apr 12 21:23 VERSION 21:24:22 drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 21:23 docs 21:24:22 drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 21:23 include 21:24:22 drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 21:23 scripts 21:24:22 drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 21:23 src [Pipeline] isUnix [Pipeline] sh 21:24:22 + 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=28742c2dc772b6e96916cc50b7e3372d71410c24 --label arch=amd64 --label version=0.0.0 . 21:24:22 Sending build context to Docker daemon 4.545MB 21:24:22 Step 1/17 : ARG BASE=alpine:3.15 21:24:22 Step 2/17 : FROM ${BASE} 21:24:22 ---> 4c456f731be3 21:24:22 Step 3/17 : LABEL maintainer="IOTech " 21:24:22 ---> Running in 73aebbce75f6 21:24:23 Removing intermediate container 73aebbce75f6 21:24:23 ---> 984d748213c7 21:24:23 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 21:24:23 ---> Running in 2c1aef55c931 21:24:23 Connecting to iotech.jfrog.io (52.49.191.191:443) 21:24:23 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 21:24:23 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 21:24:23 '/etc/apk/keys/alpine.dev.rsa.pub' saved 21:24:23 Removing intermediate container 2c1aef55c931 21:24:23 ---> bf0bb7fd141a 21:24:23 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 21:24:24 ---> Running in 4dddc894fec2 21:24:24 Removing intermediate container 4dddc894fec2 21:24:24 ---> 025a245e2640 21:24:24 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 21:24:24 ---> Running in 0b2bb8393db1 21:24:24 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 21:24:25 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 21:24:26 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz 21:24:26 WARNING: This apk-tools is OLD! Some packages might not function properly. 21:24:26 (1/26) Installing libcbor-dev (0.8.0-r0) 21:24:26 457beda32014: Pull complete 21:24:26 Digest: sha256:0f124dd3b6ead62312a5009ba0dc35a1224119791cb8964a66759dbb1cb35c90 21:24:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 21:24:26 ---> 69c73aa914e4 21:24:26 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 21:24:26 (2/26) Installing ncurses-dev (6.3_p20211120-r0) 21:24:26 (3/26) Installing util-linux (2.37.4-r0) 21:24:26 (4/26) Installing libblkid (2.37.4-r0) 21:24:26 (5/26) Installing libeconf (0.4.2-r0) 21:24:26 (6/26) Installing libfdisk (2.37.4-r0) 21:24:27 (7/26) Installing libmount (2.37.4-r0) 21:24:27 (8/26) Installing libsmartcols (2.37.4-r0) 21:24:27 (9/26) Installing util-linux-misc (2.37.4-r0) 21:24:27 (10/26) Installing linux-pam (1.5.2-r0) 21:24:27 (11/26) Installing runuser (2.37.4-r0) 21:24:27 ---> Running in 21883f8f5d39 21:24:27 (12/26) Installing hexdump (2.37.4-r0) 21:24:27 (13/26) Installing uuidgen (2.37.4-r0) 21:24:27 (14/26) Installing blkid (2.37.4-r0) 21:24:27 (15/26) Installing sfdisk (2.37.4-r0) 21:24:27 (16/26) Installing mcookie (2.37.4-r0) 21:24:28 (17/26) Installing wipefs (2.37.4-r0) 21:24:28 (18/26) Installing cfdisk (2.37.4-r0) 21:24:28 (19/26) Installing flock (2.37.4-r0) 21:24:28 (20/26) Installing lsblk (2.37.4-r0) 21:24:28 (21/26) Installing libcap-ng (0.8.2-r1) 21:24:28 (22/26) Installing setpriv (2.37.4-r0) 21:24:28 (23/26) Installing logger (2.37.4-r0) 21:24:28 (24/26) Installing partx (2.37.4-r0) 21:24:28 (25/26) Installing findmnt (2.37.4-r0) 21:24:29 (26/26) Installing util-linux-dev (2.37.4-r0) 21:24:29 Executing busybox-1.34.1-r5.trigger 21:24:29 OK: 294 MiB in 109 packages 21:24:29 Connecting to iotech.jfrog.io (52.50.143.190:443) 21:24:29 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 21:24:29 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 21:24:29 '/etc/apk/keys/alpine.dev.rsa.pub' saved 21:24:29 Removing intermediate container 0b2bb8393db1 21:24:29 ---> 530ac9e3d360 21:24:29 Step 7/17 : COPY VERSION /edgex-c-sdk/ 21:24:29 ---> 295328ab11f9 21:24:29 Step 8/17 : COPY src /edgex-c-sdk/src/ 21:24:29 Removing intermediate container 21883f8f5d39 21:24:29 ---> 1fd6689e4231 21:24:29 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 21:24:29 ---> Running in c0a584bf4ab0 21:24:30 ---> 5331952adbeb 21:24:30 Step 9/17 : COPY include /edgex-c-sdk/include/ 21:24:30 ---> e5db7fc2f9a2 21:24:30 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 21:24:30 ---> cc402c679ef4 21:24:30 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 21:24:30 ---> ef53eeafa047 21:24:30 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 21:24:30 ---> 33beb6fff994 21:24:30 Step 13/17 : WORKDIR /edgex-c-sdk 21:24:30 ---> Running in 1a3cf172127d 21:24:30 Removing intermediate container 1a3cf172127d 21:24:30 ---> 9445d904d462 21:24:30 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 21:24:30 ---> Running in d21481139b0d 21:24:30 Removing intermediate container d21481139b0d 21:24:30 ---> b897ee10b218 21:24:30 Step 15/17 : LABEL arch=amd64 21:24:30 ---> Running in c39a89a0953d 21:24:30 Removing intermediate container c39a89a0953d 21:24:30 ---> 302d1f742183 21:24:30 Step 16/17 : LABEL git_sha=28742c2dc772b6e96916cc50b7e3372d71410c24 21:24:30 ---> Running in ab6557b2733d 21:24:31 Removing intermediate container ab6557b2733d 21:24:31 ---> 7dce9bd176cf 21:24:31 Step 17/17 : LABEL version=0.0.0 21:24:31 ---> Running in f34beb375530 21:24:31 Removing intermediate container f34beb375530 21:24:31 ---> 467501f7837d 21:24:31 [Warning] One or more build-args [MAKE ARCH] were not consumed 21:24:31 Successfully built 467501f7837d 21:24:31 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 21:24:31 Removing intermediate container c0a584bf4ab0 21:24:31 ---> 0d8927fec6ba 21:24:31 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 21:24:31 ---> Running in 847432ce2a8d 21:24:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:24:31 21:24:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 21:24:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:24:32 latest: Pulling from edgex-lftools-log-publisher 21:24:32 5eb5b503b376: Pulling fs layer 21:24:32 5c69ac0246d0: Pulling fs layer 21:24:32 ec43610c2a17: Pulling fs layer 21:24:32 3a2ae6a8a46f: Pulling fs layer 21:24:32 33b1e0a273af: Pulling fs layer 21:24:32 5d3b04190fa2: Pulling fs layer 21:24:32 2f39f015ded8: Pulling fs layer 21:24:32 3a2ae6a8a46f: Waiting 21:24:32 33b1e0a273af: Waiting 21:24:32 5d3b04190fa2: Waiting 21:24:32 5c69ac0246d0: Verifying Checksum 21:24:32 5c69ac0246d0: Download complete 21:24:32 3a2ae6a8a46f: Verifying Checksum 21:24:32 3a2ae6a8a46f: Download complete 21:24:32 33b1e0a273af: Verifying Checksum 21:24:32 33b1e0a273af: Download complete 21:24:32 5d3b04190fa2: Download complete 21:24:32 ec43610c2a17: Verifying Checksum 21:24:32 ec43610c2a17: Download complete 21:24:32 5eb5b503b376: Download complete 21:24:32 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 21:24:33 2f39f015ded8: Download complete 21:24:33 5eb5b503b376: Pull complete 21:24:33 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 21:24:33 5c69ac0246d0: Pull complete 21:24:34 ec43610c2a17: Pull complete 21:24:34 3a2ae6a8a46f: Pull complete 21:24:34 33b1e0a273af: Pull complete 21:24:34 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz 21:24:34 5d3b04190fa2: Pull complete 21:24:35 WARNING: This apk-tools is OLD! Some packages might not function properly. 21:24:35 (1/31) Installing hiredis (1.0.2-r0) 21:24:35 (2/31) Installing hiredis-dev (1.0.2-r0) 21:24:35 (3/31) Installing libcbor (0.8.0-r0) 21:24:35 (4/31) Installing libcbor-dev (0.8.0-r0) 21:24:35 (5/31) Installing ncurses-dev (6.3_p20211120-r0) 21:24:35 (6/31) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 21:24:36 (7/31) Installing util-linux (2.37.4-r0) 21:24:36 (8/31) Installing libblkid (2.37.4-r0) 21:24:37 (9/31) Installing libeconf (0.4.2-r0) 21:24:37 (10/31) Installing libuuid (2.37.4-r0) 21:24:37 (11/31) Installing libfdisk (2.37.4-r0) 21:24:37 (12/31) Installing libmount (2.37.4-r0) 21:24:37 (13/31) Installing libsmartcols (2.37.4-r0) 21:24:37 (14/31) Installing util-linux-misc (2.37.4-r0) 21:24:37 (15/31) Installing linux-pam (1.5.2-r0) 21:24:37 (16/31) Installing runuser (2.37.4-r0) 21:24:38 (17/31) Installing hexdump (2.37.4-r0) 21:24:38 (18/31) Installing uuidgen (2.37.4-r0) 21:24:38 (19/31) Installing blkid (2.37.4-r0) 21:24:38 (20/31) Installing sfdisk (2.37.4-r0) 21:24:38 (21/31) Installing mcookie (2.37.4-r0) 21:24:38 (22/31) Installing wipefs (2.37.4-r0) 21:24:38 (23/31) Installing cfdisk (2.37.4-r0) 21:24:38 (24/31) Installing flock (2.37.4-r0) 21:24:38 (25/31) Installing lsblk (2.37.4-r0) 21:24:38 2f39f015ded8: Pull complete 21:24:38 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:24:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:24:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 21:24:39 (26/31) Installing libcap-ng (0.8.2-r1) 21:24:39 (27/31) Installing setpriv (2.37.4-r0) 21:24:39 (28/31) Installing logger (2.37.4-r0) 21:24:39 prd-ubuntu20.04-docker-8c-8g-20725 does not seem to be running inside a container 21:24:39 $ 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-410 -v /w/workspace/edgexfoundry_device-sdk-c_PR-410:/w/workspace/edgexfoundry_device-sdk-c_PR-410:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-410@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-410@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 21:24:39 (29/31) Installing partx (2.37.4-r0) 21:24:39 (30/31) Installing findmnt (2.37.4-r0) 21:24:39 (31/31) Installing util-linux-dev (2.37.4-r0) 21:24:39 Executing busybox-1.34.1-r5.trigger 21:24:39 OK: 289 MiB in 108 packages 21:24:40 $ docker top ec3bdb759b820167807820fcf8ae2087b32cc675725bdf13df092e3ee24f6e58 -eo pid,comm [Pipeline] { 21:24:41 Removing intermediate container 847432ce2a8d 21:24:41 ---> 0d7213f6ddb6 21:24:41 Step 6/22 : RUN mkdir /tmp/sdk [Pipeline] libraryResource [Pipeline] sh 21:24:41 ---> Running in 37dc0242b6a7 21:24:41 ---> job-cost.sh 21:24:41 lf-activate-venv: SKIPPING 21:24:41 INFO: No Stack... 21:24:42 INFO: Retrieving Pricing Info for: v3-standard-8 21:24:42 INFO: Archiving Costs [Pipeline] sh 21:24:42 + cat /w/workspace/edgexfoundry_device-sdk-c_PR-410/archives/cost.csv 21:24:42 + cut -d, -f6 [Pipeline] lock 21:24:42 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-410-1-stack-cost] 21:24:42 Resource [jenkins-edgexfoundry-device-sdk-c-PR-410-1-stack-cost] did not exist. Created. 21:24:42 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-410-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:24:43 + echo total: 0.2199999988079071 [Pipeline] stash 21:24:43 Stashed 1 file(s) [Pipeline] } 21:24:43 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-410-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:24:43 $ docker stop --time=1 ec3bdb759b820167807820fcf8ae2087b32cc675725bdf13df092e3ee24f6e58 21:24:43 Removing intermediate container 37dc0242b6a7 21:24:43 ---> 00999c06f16b 21:24:43 Step 7/22 : COPY VERSION /tmp/sdk 21:24:43 ---> 9312ef16b159 21:24:43 Step 8/22 : COPY src /tmp/sdk/src 21:24:44 $ docker rm -f ec3bdb759b820167807820fcf8ae2087b32cc675725bdf13df092e3ee24f6e58 [Pipeline] // withDockerContainer [Pipeline] } 21:24:44 ---> 083a839304a9 21:24:44 Step 9/22 : COPY include /tmp/sdk/include [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:24:45 ---> d9f5e7bc678f 21:24:45 Step 10/22 : COPY scripts /tmp/sdk/scripts 21:24:45 ---> dad63ef4b770 21:24:45 Step 11/22 : COPY LICENSE /tmp/sdk 21:24:46 ---> 0db67e671f2a 21:24:46 Step 12/22 : COPY Attribution.txt /tmp/sdk 21:24:46 ---> 9e40ea0f2f40 21:24:46 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 21:24:46 ---> Running in 49ff602d2fbb 21:24:47 + CPPCHECK=false 21:24:47 + DOCGEN=false 21:24:47 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 21:24:47 + TOMLVER=SDK-0.2 21:24:47 + CUTILVER=1.2.2 21:24:47 + '[' 0 -gt 0 ] 21:24:47 + readlink -f ./scripts/build.sh 21:24:47 + dirname /tmp/sdk/scripts/build.sh 21:24:47 + dirname /tmp/sdk/scripts 21:24:47 + ROOT=/tmp/sdk 21:24:47 + cd /tmp/sdk 21:24:47 + '[' '!' -d deps ] 21:24:47 + mkdir deps 21:24:47 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 21:24:47 + tar -C deps -z -x -f - 21:24:47 Connecting to github.com (140.82.113.4:443) 21:24:48 Connecting to codeload.github.com (140.82.114.9:443) 21:24:48 writing to stdout 21:24:48 - 100% |********************************| 16451 0:00:00 ETA 21:24:48 written to stdout 21:24:48 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 21:24:48 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 21:24:48 + tar -C deps -z -x -f - 21:24:48 Connecting to github.com (140.82.113.4:443) 21:24:48 Connecting to codeload.github.com (140.82.114.9:443) 21:24:49 writing to stdout 21:24:49 - 100% |********************************|  189k 0:00:00 ETA 21:24:49 written to stdout 21:24:49 + mkdir -p src/c/iot 21:24:49 + 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 21:24:49 + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot 21:24:49 + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot 21:24:49 + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot 21:24:49 + mkdir -p include/iot 21:24:49 + 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 21:24:49 + mkdir -p include/iot/os 21:24:49 + 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 21:24:49 + mkdir -p /tmp/sdk/build/release 21:24:49 + cd /tmp/sdk/build/release 21:24:49 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 21:24:49 -- The C compiler identification is GNU 10.3.1 21:24:49 -- Detecting C compiler ABI info 21:24:49 -- Detecting C compiler ABI info - done 21:24:49 -- Check for working C compiler: /usr/bin/cc - skipped 21:24:49 -- Detecting C compile features 21:24:49 -- Detecting C compile features - done 21:24:49 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 21:24:50 -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") 21:24:50 -- Found LIBYAML: /usr/lib/libyaml.so 21:24:50 -- Found LIBUUID: /usr/lib/libuuid.so 21:24:50 -- Found LIBCBOR: /usr/lib/libcbor.so 21:24:50 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 21:24:50 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 21:24:50 -- C SDK 0.0.0 for Linux 21:24:50 -- Performing Test CSDK_HAVE_ATOMIC 21:24:50 -- Performing Test CSDK_HAVE_ATOMIC - Success 21:24:50 -- Found Curses: /usr/lib/libcurses.so 21:24:51 -- Configuring done 21:24:51 -- Generating done 21:24:51 -- Build files have been written to: /tmp/sdk/build/release 21:24:51 + make all package 21:24:51 + tee release.log 21:24:51 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 21:24:52 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 21:24:53 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 21:24:56 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 21:24:57 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 21:24:57 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 21:24:59 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 21:25:00 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 21:25:00 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 21:25:02 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 21:25:05 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 21:25:06 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 21:25:07 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 21:25:08 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 21:25:08 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 21:25:08 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 21:25:09 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 21:25:13 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 21:25:14 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 21:25:14 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 21:25:14 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 21:25:15 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 21:25:16 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 21:25:16 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 21:25:16 275 | const iot_component_factory_t * factory; 21:25:16 | ^~~~~~~ 21:25:17 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 21:25:23 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 21:25:23 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 21:25:24 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 21:25:25 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 21:25:26 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 21:25:26 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 21:25:28 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 21:25:28 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 21:25:29 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 21:25:30 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 21:25:30 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 21:25:34 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 21:25:34 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 21:25:36 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 21:25:37 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 21:25:43 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 21:25:44 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 21:25:45 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 21:25:46 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 21:25:46 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 21:25:46 /tmp/sdk/src/c/rest-server.c:394:67: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] 21:25:46 394 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 21:25:46 | ^~~~~~~~~~~~~ 21:25:46 | | 21:25:46 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 21:25:46 In file included from /tmp/sdk/src/c/rest-server.c:21: 21:25:46 /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 *)' 21:25:46 2784 | MHD_KeyValueIterator iterator, 21:25:46 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 21:25:46 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 21:25:46 /tmp/sdk/src/c/rest-server.c:501:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 21:25:46 501 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 21:25:46 | ^~~~~~~~~~~~ 21:25:46 | | 21:25:46 | 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 **)} 21:25:46 In file included from /tmp/sdk/src/c/rest-server.c:21: 21:25:46 /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 **)'} 21:25:46 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 21:25:46 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 21:25:46 /tmp/sdk/src/c/rest-server.c:512:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 21:25:46 512 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 21:25:46 | ^~~~~~~~~~~~ 21:25:46 | | 21:25:46 | 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 **)} 21:25:46 In file included from /tmp/sdk/src/c/rest-server.c:21: 21:25:46 /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 **)'} 21:25:46 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 21:25:46 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 21:25:48 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 21:25:51 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 21:25:51 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 21:25:52 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 21:25:53 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 21:25:57 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 21:26:03 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 21:26:04 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 21:26:05 [ 76%] Linking C shared library libcsdk.so 21:26:05 [ 76%] Built target csdk 21:26:05 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 21:26:06 [ 79%] Linking C executable template 21:26:07 [ 79%] Built target template 21:26:07 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 21:26:07 [ 82%] Linking C executable device-counter 21:26:08 [ 82%] Built target device-counter 21:26:08 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 21:26:08 [ 85%] Linking C executable device-random 21:26:09 [ 85%] Built target device-random 21:26:09 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 21:26:10 [ 88%] Linking C executable device-gyro 21:26:10 [ 88%] Built target device-gyro 21:26:10 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 21:26:11 [ 91%] Linking C executable device-bitfields 21:26:11 [ 91%] Built target device-bitfields 21:26:11 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 21:26:12 [ 94%] Linking C executable template-discovery 21:26:13 [ 94%] Built target template-discovery 21:26:13 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 21:26:14 [ 97%] Linking C executable device-file 21:26:15 [ 97%] Built target device-file 21:26:15 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 21:26:16 [100%] Linking C executable device-terminal 21:26:16 [100%] Built target device-terminal 21:26:16 Run CPack packaging tool... 21:26:16 CPack: Create package using TGZ 21:26:16 CPack: Install projects 21:26:16 CPack: - Run preinstall target for: Csdk 21:26:17 CPack: - Install project: Csdk [] 21:26:17 CPack: Create package 21:26:17 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 21:26:17 + '[' false '=' true ] 21:26:17 + '[' false '=' true ] 21:26:17 + mkdir -p /tmp/sdk/build/debug 21:26:17 + cd /tmp/sdk/build/debug 21:26:17 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 21:26:17 -- The C compiler identification is GNU 10.3.1 21:26:18 -- Detecting C compiler ABI info 21:26:18 -- Detecting C compiler ABI info - done 21:26:18 -- Check for working C compiler: /usr/bin/cc - skipped 21:26:18 -- Detecting C compile features 21:26:18 -- Detecting C compile features - done 21:26:18 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 21:26:18 -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") 21:26:18 -- Found LIBYAML: /usr/lib/libyaml.so 21:26:18 -- Found LIBUUID: /usr/lib/libuuid.so 21:26:18 -- Found LIBCBOR: /usr/lib/libcbor.so 21:26:18 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 21:26:18 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 21:26:18 -- C SDK 0.0.0 for Linux 21:26:18 -- Performing Test CSDK_HAVE_ATOMIC 21:26:19 -- Performing Test CSDK_HAVE_ATOMIC - Success 21:26:19 -- Found Curses: /usr/lib/libcurses.so 21:26:19 -- Configuring done 21:26:19 -- Generating done 21:26:19 -- Build files have been written to: /tmp/sdk/build/debug 21:26:20 + make 21:26:20 + tee debug.log 21:26:20 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 21:26:20 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 21:26:21 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 21:26:22 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 21:26:22 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 21:26:22 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 21:26:23 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 21:26:24 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 21:26:24 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 21:26:24 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 21:26:25 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 21:26:26 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 21:26:27 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 21:26:27 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 21:26:27 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 21:26:27 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 21:26:28 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 21:26:29 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 21:26:29 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 21:26:30 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 21:26:30 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 21:26:30 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 21:26:31 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 21:26:31 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 21:26:31 275 | const iot_component_factory_t * factory; 21:26:31 | ^~~~~~~ 21:26:31 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 21:26:33 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 21:26:33 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 21:26:33 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 21:26:33 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 21:26:34 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 21:26:34 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 21:26:35 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 21:26:35 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 21:26:35 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 21:26:36 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 21:26:36 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 21:26:37 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 21:26:37 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 21:26:38 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 21:26:38 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 21:26:40 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 21:26:40 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 21:26:40 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 21:26:41 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 21:26:41 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 21:26:41 /tmp/sdk/src/c/rest-server.c:394:67: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] 21:26:41 394 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 21:26:41 | ^~~~~~~~~~~~~ 21:26:41 | | 21:26:41 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 21:26:41 In file included from /tmp/sdk/src/c/rest-server.c:21: 21:26:41 /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 *)' 21:26:41 2784 | MHD_KeyValueIterator iterator, 21:26:41 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 21:26:41 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 21:26:41 /tmp/sdk/src/c/rest-server.c:501:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 21:26:41 501 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 21:26:41 | ^~~~~~~~~~~~ 21:26:41 | | 21:26:41 | 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 **)} 21:26:41 In file included from /tmp/sdk/src/c/rest-server.c:21: 21:26:41 /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 **)'} 21:26:41 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 21:26:41 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 21:26:41 /tmp/sdk/src/c/rest-server.c:512:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 21:26:41 512 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 21:26:41 | ^~~~~~~~~~~~ 21:26:41 | | 21:26:41 | 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 **)} 21:26:41 In file included from /tmp/sdk/src/c/rest-server.c:21: 21:26:41 /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 **)'} 21:26:41 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 21:26:41 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 21:26:42 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 21:26:44 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 21:26:44 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 21:26:44 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 21:26:45 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 21:26:46 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 21:26:47 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 21:26:47 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 21:26:48 [ 76%] Linking C shared library libcsdk.so 21:26:48 [ 76%] Built target csdk 21:26:48 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 21:26:48 [ 79%] Linking C executable template 21:26:49 [ 79%] Built target template 21:26:49 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 21:26:49 [ 82%] Linking C executable device-counter 21:26:50 [ 82%] Built target device-counter 21:26:50 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 21:26:50 [ 85%] Linking C executable device-random 21:26:51 [ 85%] Built target device-random 21:26:51 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 21:26:51 [ 88%] Linking C executable device-gyro 21:26:52 [ 88%] Built target device-gyro 21:26:52 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 21:26:52 [ 91%] Linking C executable device-bitfields 21:26:52 [ 91%] Built target device-bitfields 21:26:52 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 21:26:53 [ 94%] Linking C executable template-discovery 21:26:54 [ 94%] Built target template-discovery 21:26:54 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 21:26:54 [ 97%] Linking C executable device-file 21:26:55 [ 97%] Built target device-file 21:26:55 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 21:26:55 [100%] Linking C executable device-terminal 21:26:55 [100%] Built target device-terminal 21:26:56 make: Entering directory '/tmp/sdk/build/release' 21:26:56 make[1]: Entering directory '/tmp/sdk/build/release' 21:26:56 make[2]: Entering directory '/tmp/sdk/build/release' 21:26:56 make[2]: Leaving directory '/tmp/sdk/build/release' 21:26:56 [ 76%] Built target csdk 21:26:56 make[2]: Entering directory '/tmp/sdk/build/release' 21:26:56 make[2]: Leaving directory '/tmp/sdk/build/release' 21:26:56 [ 79%] Built target template 21:26:56 make[2]: Entering directory '/tmp/sdk/build/release' 21:26:56 make[2]: Leaving directory '/tmp/sdk/build/release' 21:26:56 [ 82%] Built target device-counter 21:26:56 make[2]: Entering directory '/tmp/sdk/build/release' 21:26:56 make[2]: Leaving directory '/tmp/sdk/build/release' 21:26:56 [ 85%] Built target device-random 21:26:56 make[2]: Entering directory '/tmp/sdk/build/release' 21:26:56 make[2]: Leaving directory '/tmp/sdk/build/release' 21:26:56 [ 88%] Built target device-gyro 21:26:56 make[2]: Entering directory '/tmp/sdk/build/release' 21:26:56 make[2]: Leaving directory '/tmp/sdk/build/release' 21:26:56 [ 91%] Built target device-bitfields 21:26:56 make[2]: Entering directory '/tmp/sdk/build/release' 21:26:56 make[2]: Leaving directory '/tmp/sdk/build/release' 21:26:56 [ 94%] Built target template-discovery 21:26:56 make[2]: Entering directory '/tmp/sdk/build/release' 21:26:56 make[2]: Leaving directory '/tmp/sdk/build/release' 21:26:56 [ 97%] Built target device-file 21:26:56 make[2]: Entering directory '/tmp/sdk/build/release' 21:26:56 make[2]: Leaving directory '/tmp/sdk/build/release' 21:26:56 [100%] Built target device-terminal 21:26:56 make[1]: Leaving directory '/tmp/sdk/build/release' 21:26:57 Install the project... 21:26:57 -- Install configuration: "Release" 21:26:57 -- Installing: /usr/local/lib/libcsdk.so 21:26:57 -- Installing: /usr/local/include 21:26:57 -- Installing: /usr/local/include/devsdk 21:26:57 -- Installing: /usr/local/include/devsdk/devsdk.h 21:26:57 -- Installing: /usr/local/include/devsdk/devsdk-base.h 21:26:57 -- Installing: /usr/local/include/edgex 21:26:57 -- Installing: /usr/local/include/edgex/rest-server.h 21:26:57 -- Installing: /usr/local/include/edgex/edgex.h 21:26:57 -- Installing: /usr/local/include/edgex/edgex-base.h 21:26:57 -- Installing: /usr/local/include/edgex/devices.h 21:26:57 -- Installing: /usr/local/include/edgex/profiles.h 21:26:57 -- Installing: /usr/local/include/edgex/csdk-defs.h 21:26:57 -- Installing: /usr/local/include/iot 21:26:57 -- Installing: /usr/local/include/iot/threadpool.h 21:26:57 -- Installing: /usr/local/include/iot/defs.h 21:26:57 -- Installing: /usr/local/include/iot/time.h 21:26:57 -- Installing: /usr/local/include/iot/base64.h 21:26:57 -- Installing: /usr/local/include/iot/component.h 21:26:57 -- Installing: /usr/local/include/iot/scheduler.h 21:26:57 -- Installing: /usr/local/include/iot/config.h 21:26:57 -- Installing: /usr/local/include/iot/container.h 21:26:57 -- Installing: /usr/local/include/iot/uuid.h 21:26:57 -- Installing: /usr/local/include/iot/os.h 21:26:57 -- Installing: /usr/local/include/iot/thread.h 21:26:57 -- Installing: /usr/local/include/iot/data.h 21:26:57 -- Installing: /usr/local/include/iot/typecode.h 21:26:57 -- Installing: /usr/local/include/iot/hash.h 21:26:57 -- Installing: /usr/local/include/iot/logger.h 21:26:57 -- Installing: /usr/local/include/iot/os 21:26:57 -- Installing: /usr/local/include/iot/os/zephyr.h 21:26:57 -- Installing: /usr/local/include/iot/os/macos.h 21:26:57 -- Installing: /usr/local/include/iot/os/linux.h 21:26:57 -- Installing: /usr/local/include/iot/json.h 21:26:57 -- Installing: /usr/local/include/iot/iot.h 21:26:57 -- Installing: /usr/local/share/device-sdk-c/LICENSE 21:26:57 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 21:26:57 make: Leaving directory '/tmp/sdk/build/release' 21:26:59 Removing intermediate container 49ff602d2fbb 21:26:59 ---> 7fb14a06411c 21:26:59 Step 14/22 : FROM ${BASE} 21:26:59 ---> 69c73aa914e4 21:26:59 Step 15/22 : LABEL maintainer="IOTech " 21:26:59 ---> Running in 148df562ac48 21:26:59 Removing intermediate container 148df562ac48 21:26:59 ---> 417d4876eb43 21:26:59 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 21:26:59 ---> Running in d837f73c8cc1 21:27:00 Connecting to iotech.jfrog.io (52.49.191.191:443) 21:27:01 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 21:27:01 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 21:27:01 '/etc/apk/keys/alpine.dev.rsa.pub' saved 21:27:01 Removing intermediate container d837f73c8cc1 21:27:01 ---> b907d2e93017 21:27:01 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 21:27:01 ---> Running in 6e3ab16a3e5c 21:27:03 Removing intermediate container 6e3ab16a3e5c 21:27:03 ---> 1a0a389a161b 21:27:03 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 21:27:03 ---> Running in 6369eac15a26 21:27:04 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 21:27:05 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 21:27:06 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz 21:27:07 WARNING: This apk-tools is OLD! Some packages might not function properly. 21:27:07 (1/6) Installing curl (7.80.0-r0) 21:27:07 (2/6) Installing hiredis (1.0.2-r0) 21:27:07 (3/6) Installing hiredis-dev (1.0.2-r0) 21:27:07 (4/6) Installing libcbor (0.8.0-r0) 21:27:07 (5/6) Installing libuuid (2.37.4-r0) 21:27:07 (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 21:27:08 Executing busybox-1.34.1-r5.trigger 21:27:08 OK: 278 MiB in 83 packages 21:27:09 Removing intermediate container 6369eac15a26 21:27:09 ---> 9ab1a85f13ee 21:27:09 Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 21:27:10 ---> 492a84cf895d 21:27:10 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 21:27:10 ---> 7664527fa978 21:27:10 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 21:27:11 ---> 2be30cc5363d 21:27:11 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 21:27:12 ---> 465bdccaf188 21:27:12 Successfully built 465bdccaf188 21:27:12 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:27:13 + docker inspect -f . ci-base-image-arm64 21:27:13 . [Pipeline] withDockerContainer 21:27:13 prd-ubuntu20.04-docker-arm64-4c-16g-20723 does not seem to be running inside a container 21:27:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:27:15 $ docker top a1f758df23a75b32a16085a49bf4b60af27cbad780c0876dd92d4c9edde3b809 -eo pid,comm [Pipeline] { [Pipeline] sh 21:27:16 + make test 21:27:16 echo "make test" 21:27:16 make test [Pipeline] } 21:27:16 $ docker stop --time=1 a1f758df23a75b32a16085a49bf4b60af27cbad780c0876dd92d4c9edde3b809 21:27:17 $ docker rm -f a1f758df23a75b32a16085a49bf4b60af27cbad780c0876dd92d4c9edde3b809 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:27:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:27:19 + ls -al . 21:27:19 total 204 21:27:19 drwxrwxr-x 8 jenkins jenkins 4096 Apr 12 21:23 . 21:27:19 drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 21:23 .. 21:27:19 drwxrwxr-x 8 jenkins jenkins 4096 Apr 12 21:23 .git 21:27:19 drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 21:23 .github 21:27:19 -rw-rw-r-- 1 jenkins jenkins 176 Apr 12 21:23 .gitignore 21:27:19 -rw-rw-r-- 1 jenkins jenkins 3104 Apr 12 21:23 Attribution.txt 21:27:19 -rw-rw-r-- 1 jenkins jenkins 8321 Apr 12 21:23 CHANGES 21:27:19 -rw-rw-r-- 1 jenkins jenkins 108574 Apr 12 21:23 Doxyfile 21:27:19 -rw-rw-r-- 1 jenkins jenkins 677 Apr 12 21:23 GOVERNANCE.md 21:27:19 -rw-rw-r-- 1 jenkins jenkins 784 Apr 12 21:23 Jenkinsfile 21:27:19 -rw-rw-r-- 1 jenkins jenkins 10174 Apr 12 21:23 LICENSE 21:27:19 -rw-rw-r-- 1 jenkins jenkins 444 Apr 12 21:23 Makefile 21:27:19 -rw-rw-r-- 1 jenkins jenkins 618 Apr 12 21:23 OWNERS.md 21:27:19 -rw-rw-r-- 1 jenkins jenkins 4086 Apr 12 21:23 README.md 21:27:19 -rw-rw-r-- 1 jenkins jenkins 7422 Apr 12 21:23 README.v2.md 21:27:19 -rw-rw-r-- 1 jenkins jenkins 5 Apr 12 21:23 VERSION 21:27:19 drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 21:23 docs 21:27:19 drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 21:23 include 21:27:19 drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 21:23 scripts 21:27:19 drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 21:23 src [Pipeline] isUnix [Pipeline] sh 21:27:19 + 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=28742c2dc772b6e96916cc50b7e3372d71410c24 --label arch=arm64 --label version=0.0.0 . 21:27:20 Sending build context to Docker daemon 2.764MB 21:27:20 Step 1/17 : ARG BASE=alpine:3.15 21:27:20 Step 2/17 : FROM ${BASE} 21:27:20 ---> 465bdccaf188 21:27:20 Step 3/17 : LABEL maintainer="IOTech " 21:27:20 ---> Running in 7a5bdaa74021 21:27:20 Removing intermediate container 7a5bdaa74021 21:27:20 ---> fe37216f5f4d 21:27:20 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 21:27:20 ---> Running in b32944596410 21:27:21 Connecting to iotech.jfrog.io (52.18.159.91:443) 21:27:22 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 21:27:22 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 21:27:22 '/etc/apk/keys/alpine.dev.rsa.pub' saved 21:27:22 Removing intermediate container b32944596410 21:27:22 ---> 2c694d9252f2 21:27:22 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 21:27:22 ---> Running in 92692d5dbae7 21:27:24 Removing intermediate container 92692d5dbae7 21:27:24 ---> f46c3241a0f2 21:27:24 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 21:27:24 ---> Running in dbc06888951b 21:27:25 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 21:27:26 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 21:27:27 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz 21:27:28 WARNING: This apk-tools is OLD! Some packages might not function properly. 21:27:28 (1/26) Installing libcbor-dev (0.8.0-r0) 21:27:28 (2/26) Installing ncurses-dev (6.3_p20211120-r0) 21:27:28 (3/26) Installing util-linux (2.37.4-r0) 21:27:28 (4/26) Installing libblkid (2.37.4-r0) 21:27:28 (5/26) Installing libeconf (0.4.2-r0) 21:27:28 (6/26) Installing libfdisk (2.37.4-r0) 21:27:28 (7/26) Installing libmount (2.37.4-r0) 21:27:29 (8/26) Installing libsmartcols (2.37.4-r0) 21:27:29 (9/26) Installing util-linux-misc (2.37.4-r0) 21:27:29 (10/26) Installing linux-pam (1.5.2-r0) 21:27:29 (11/26) Installing runuser (2.37.4-r0) 21:27:29 (12/26) Installing hexdump (2.37.4-r0) 21:27:29 (13/26) Installing uuidgen (2.37.4-r0) 21:27:30 (14/26) Installing blkid (2.37.4-r0) 21:27:30 (15/26) Installing sfdisk (2.37.4-r0) 21:27:30 (16/26) Installing mcookie (2.37.4-r0) 21:27:30 (17/26) Installing wipefs (2.37.4-r0) 21:27:30 (18/26) Installing cfdisk (2.37.4-r0) 21:27:30 (19/26) Installing flock (2.37.4-r0) 21:27:30 (20/26) Installing lsblk (2.37.4-r0) 21:27:30 (21/26) Installing libcap-ng (0.8.2-r1) 21:27:30 (22/26) Installing setpriv (2.37.4-r0) 21:27:30 (23/26) Installing logger (2.37.4-r0) 21:27:30 (24/26) Installing partx (2.37.4-r0) 21:27:30 (25/26) Installing findmnt (2.37.4-r0) 21:27:31 (26/26) Installing util-linux-dev (2.37.4-r0) 21:27:31 Executing busybox-1.34.1-r5.trigger 21:27:31 OK: 290 MiB in 109 packages 21:27:32 Removing intermediate container dbc06888951b 21:27:32 ---> 30118c7973ce 21:27:32 Step 7/17 : COPY VERSION /edgex-c-sdk/ 21:27:33 ---> d7096142d013 21:27:33 Step 8/17 : COPY src /edgex-c-sdk/src/ 21:27:34 ---> eaef928cdd2d 21:27:34 Step 9/17 : COPY include /edgex-c-sdk/include/ 21:27:34 ---> 8f912d5d5bf9 21:27:34 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 21:27:35 ---> eb3226edc018 21:27:35 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 21:27:35 ---> 2a56fbce384b 21:27:35 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 21:27:36 ---> b673267e044d 21:27:36 Step 13/17 : WORKDIR /edgex-c-sdk 21:27:36 ---> Running in b355b869013c 21:27:36 Removing intermediate container b355b869013c 21:27:36 ---> a7b0cc37bf4a 21:27:36 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 21:27:37 ---> Running in 19529a200982 21:27:37 Removing intermediate container 19529a200982 21:27:37 ---> 886d4a0f5a84 21:27:37 Step 15/17 : LABEL arch=arm64 21:27:37 ---> Running in e4f83b26fe92 21:27:37 Removing intermediate container e4f83b26fe92 21:27:37 ---> 8eeb26c5f961 21:27:37 Step 16/17 : LABEL git_sha=28742c2dc772b6e96916cc50b7e3372d71410c24 21:27:37 ---> Running in 6f6d51843854 21:27:38 Removing intermediate container 6f6d51843854 21:27:38 ---> 0a082fca29fc 21:27:38 Step 17/17 : LABEL version=0.0.0 21:27:38 ---> Running in d7bdc4c9baf3 21:27:38 Removing intermediate container d7bdc4c9baf3 21:27:38 ---> 2685d74d5881 21:27:38 [Warning] One or more build-args [MAKE ARCH] were not consumed 21:27:38 Successfully built 2685d74d5881 21:27:38 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 21:27:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:27:39 21:27:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 21:27:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:27:40 arm64: Pulling from edgex-lftools-log-publisher 21:27:40 8998bd30e6a1: Pulling fs layer 21:27:40 04944245beec: Pulling fs layer 21:27:40 699f458cf7ca: Pulling fs layer 21:27:40 765212b225bb: Pulling fs layer 21:27:40 f23df028b6ca: Pulling fs layer 21:27:40 765212b225bb: Waiting 21:27:40 d65c8cfc05b1: Pulling fs layer 21:27:40 2437ff75d9bd: Pulling fs layer 21:27:40 f23df028b6ca: Waiting 21:27:40 2437ff75d9bd: Waiting 21:27:40 d65c8cfc05b1: Waiting 21:27:40 04944245beec: Verifying Checksum 21:27:40 04944245beec: Download complete 21:27:40 765212b225bb: Verifying Checksum 21:27:40 765212b225bb: Download complete 21:27:40 f23df028b6ca: Verifying Checksum 21:27:40 f23df028b6ca: Download complete 21:27:40 d65c8cfc05b1: Verifying Checksum 21:27:40 d65c8cfc05b1: Download complete 21:27:40 699f458cf7ca: Verifying Checksum 21:27:40 699f458cf7ca: Download complete 21:27:40 8998bd30e6a1: Verifying Checksum 21:27:40 8998bd30e6a1: Download complete 21:27:43 2437ff75d9bd: Verifying Checksum 21:27:43 2437ff75d9bd: Download complete 21:27:45 8998bd30e6a1: Pull complete 21:27:45 04944245beec: Pull complete 21:27:47 699f458cf7ca: Pull complete 21:27:47 765212b225bb: Pull complete 21:27:48 f23df028b6ca: Pull complete 21:27:48 d65c8cfc05b1: Pull complete 21:28:04 2437ff75d9bd: Pull complete 21:28:04 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:28:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:28:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 21:28:04 prd-ubuntu20.04-docker-arm64-4c-16g-20723 does not seem to be running inside a container 21:28:04 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:28:07 $ docker top f4ac47ab86fc981a4da23a2beb5ac337979ca7dfbae9459d44c3632fb2b10065 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:28:08 ---> job-cost.sh 21:28:08 lf-activate-venv: SKIPPING 21:28:08 INFO: No Stack... 21:28:08 INFO: Retrieving Pricing Info for: v3-standard-4 21:28:09 INFO: Archiving Costs [Pipeline] sh 21:28:10 + cat /w/workspace/device-sdk-c/1/archives/cost.csv 21:28:10 + cut -d, -f6 [Pipeline] lock 21:28:10 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-410-1-stack-cost] 21:28:10 Resource [jenkins-edgexfoundry-device-sdk-c-PR-410-1-stack-cost] did not exist. Created. 21:28:10 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-410-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:28:11 /w/workspace/device-sdk-c/1@tmp/durable-30bf59d6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:28:12 + echo total: 0.10999999940395355 [Pipeline] stash 21:28:12 Warning: overwriting stash ‘stack-cost’ 21:28:12 Stashed 1 file(s) [Pipeline] } 21:28:12 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-410-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:28:12 $ docker stop --time=1 f4ac47ab86fc981a4da23a2beb5ac337979ca7dfbae9459d44c3632fb2b10065 21:28:14 $ docker rm -f f4ac47ab86fc981a4da23a2beb5ac337979ca7dfbae9459d44c3632fb2b10065 [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 21:28:16 + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-410/archives ] 21:28:16 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-410/archives 21:28:16 total 16 21:28:16 drwxr-xr-x 3 root root 4096 Apr 12 21:24 . 21:28:16 drwxrwxr-x 10 jenkins jenkins 4096 Apr 12 21:24 .. 21:28:16 drwxr-xr-x 2 root root 4096 Apr 12 21:24 cost 21:28:16 -rw-r--r-- 1 root root 83 Apr 12 21:24 cost.csv 21:28:16 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-410/archives 21:28:16 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-410/archives 21:28:16 total 16 21:28:16 drwxr-xr-x 3 jenkins jenkins 4096 Apr 12 21:24 . 21:28:16 drwxrwxr-x 10 jenkins jenkins 4096 Apr 12 21:24 .. 21:28:16 drwxr-xr-x 2 jenkins jenkins 4096 Apr 12 21:24 cost 21:28:16 -rw-r--r-- 1 jenkins jenkins 83 Apr 12 21:24 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:28:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:28:17 ---> package-listing.sh 21:28:17 ++ facter osfamily 21:28:17 ++ tr '[:upper:]' '[:lower:]' 21:28:17 + OS_FAMILY=debian 21:28:17 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-410 21:28:17 + START_PACKAGES=/tmp/packages_start.txt 21:28:17 + END_PACKAGES=/tmp/packages_end.txt 21:28:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:28:17 + PACKAGES=/tmp/packages_start.txt 21:28:17 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-410 ']' 21:28:17 + PACKAGES=/tmp/packages_end.txt 21:28:17 + case "${OS_FAMILY}" in 21:28:17 + dpkg -l 21:28:17 + grep '^ii' 21:28:17 + '[' -f /tmp/packages_start.txt ']' 21:28:17 + '[' -f /tmp/packages_end.txt ']' 21:28:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:28:17 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-410 ']' 21:28:17 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-410/archives/ 21:28:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-410/archives/ [Pipeline] echo 21:28:17 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-410/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:28:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 21:28:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:28:18 . [Pipeline] withDockerContainer 21:28:18 prd-ubuntu20.04-docker-8c-8g-20725 does not seem to be running inside a container 21:28:18 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-410/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-410 -v /w/workspace/edgexfoundry_device-sdk-c_PR-410:/w/workspace/edgexfoundry_device-sdk-c_PR-410:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-410@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-410@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 21:28:18 $ docker top 005fbfb60ebf5542c49d8c539dfcbb73089d05784d454feb859d9c1a16594536 -eo pid,comm [Pipeline] { [Pipeline] sh 21:28:19 + touch /tmp/pre-build-complete [Pipeline] sh 21:28:19 + mkdir -p /var/log/sysstat [Pipeline] sh 21:28:19 + ls /var/log/sa-host 21:28:19 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:28:20 provisioning config files... 21:28:20 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-410@tmp/config6227193746689875988tmp [Pipeline] { [Pipeline] echo 21:28:20 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:28:20 ---> create-netrc.sh [Pipeline] } 21:28:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:28:21 ---> python-tools-install.sh [Pipeline] echo 21:28:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:28:21 ---> sudo-logs.sh 21:28:21 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:28:21 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:28:21 ---> job-cost.sh 21:28:21 lf-activate-venv: SKIPPING 21:28:21 DEBUG: total: 0.2199999988079071 21:28:21 INFO: Retrieving Stack Cost... 21:28:22 INFO: Retrieving Pricing Info for: v3-standard-8 21:28:22 INFO: Archiving Costs [Pipeline] echo 21:28:22 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:28:22 ---> logs-deploy.sh 21:28:22 lf-activate-venv: SKIPPING 21:28:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-410/1 21:28:22 INFO: archiving workspace using pattern(s): 21:28:23 Archives upload complete. 21:28:23 INFO: archiving logs to Nexus