Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 48c08245ad9168b435c5e70f99b42d590e34b603 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-ssh10195761921889380062.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7128818752850597058.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh11253446850951041238.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f efdbc04638cc485a1a2a98c60e49a0e43cac6f53 # timeout=10 Commit message: "Merge pull request #376 from ernestojeda/add-ireland-release-stream" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh7613491748073651127.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh11357475464714903460.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-5782 in /w/workspace/edgexfoundry_device-sdk-c_main [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_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_main@tmp/jenkins-gitclient-ssh8481284840644517548.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 48c08245ad9168b435c5e70f99b42d590e34b603 (main) > 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 core.sparsecheckout # timeout=10 > git checkout -f 48c08245ad9168b435c5e70f99b42d590e34b603 # timeout=10 Commit message: "build(deps): bump Alpine to 3.15 (#401)" > git rev-list --no-walk 02161a6b4618232bfcf286377d256226a622bc2b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-02-21T10:23:06.848Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-02-21T10:23:06.918Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-02-21T10:23:06.938Z] ========================================================= [2022-02-21T10:23:06.938Z] EdgeX Global Pipelines Version Info [2022-02-21T10:23:06.938Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-02-21T10:23:08.065Z] ------------------- [2022-02-21T10:23:08.065Z] stable info: [2022-02-21T10:23:08.065Z] ------------------- [2022-02-21T10:23:08.065Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-02-21T10:23:08.065Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-02-21T10:23:08.065Z] Message: update stable to v1.0.220 [2022-02-21T10:23:08.635Z] ------------------- [2022-02-21T10:23:08.635Z] experimental info: [2022-02-21T10:23:08.635Z] ------------------- [2022-02-21T10:23:08.635Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-02-21T10:23:08.635Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-02-21T10:23:08.635Z] Message: update experimental to v1.0.220 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-02-21T10:23:08.779Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2022-02-21T10:23:08.787Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2022-02-21T10:23:08.795Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-02-21T10:23:08.806Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-02-21T10:23:08.814Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-02-21T10:23:08.824Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2022-02-21T10:23:08.832Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2022-02-21T10:23:08.839Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-02-21T10:23:08.847Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-02-21T10:23:08.856Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2022-02-21T10:23:08.873Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-02-21T10:23:08.885Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-02-21T10:23:08.899Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-02-21T10:23:08.910Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-02-21T10:23:08.922Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-02-21T10:23:08.931Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-02-21T10:23:08.939Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-02-21T10:23:08.947Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-02-21T10:23:08.959Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-02-21T10:23:08.976Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-02-21T10:23:08.988Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 48c08245ad9168b435c5e70f99b42d590e34b603 [Pipeline] echo [2022-02-21T10:23:09.001Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 48c0824 [Pipeline] echo [2022-02-21T10:23:09.013Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-21T10:23:09.060Z] provisioning config files... [2022-02-21T10:23:09.072Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config2679666137696643368tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-21T10:23:09.391Z] ---> docker-login.sh [2022-02-21T10:23:09.392Z] nexus3.edgexfoundry.org:10001 [2022-02-21T10:23:09.392Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-21T10:23:09.653Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-21T10:23:09.653Z] Configure a credential helper to remove this warning. See [2022-02-21T10:23:09.653Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-21T10:23:09.653Z] [2022-02-21T10:23:09.653Z] Login Succeeded [2022-02-21T10:23:09.653Z] nexus3.edgexfoundry.org:10002 [2022-02-21T10:23:09.653Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-21T10:23:09.653Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-21T10:23:09.653Z] Configure a credential helper to remove this warning. See [2022-02-21T10:23:09.653Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-21T10:23:09.653Z] [2022-02-21T10:23:09.653Z] Login Succeeded [2022-02-21T10:23:09.653Z] nexus3.edgexfoundry.org:10003 [2022-02-21T10:23:09.653Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-21T10:23:09.916Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-21T10:23:09.916Z] Configure a credential helper to remove this warning. See [2022-02-21T10:23:09.916Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-21T10:23:09.916Z] [2022-02-21T10:23:09.916Z] Login Succeeded [2022-02-21T10:23:09.916Z] nexus3.edgexfoundry.org:10004 [2022-02-21T10:23:09.916Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-21T10:23:09.916Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-21T10:23:09.916Z] Configure a credential helper to remove this warning. See [2022-02-21T10:23:09.916Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-21T10:23:09.916Z] [2022-02-21T10:23:09.916Z] Login Succeeded [2022-02-21T10:23:09.916Z] docker.io [2022-02-21T10:23:09.916Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-21T10:23:10.490Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-21T10:23:10.490Z] Configure a credential helper to remove this warning. See [2022-02-21T10:23:10.490Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-21T10:23:10.490Z] [2022-02-21T10:23:10.490Z] Login Succeeded [2022-02-21T10:23:10.490Z] ---> docker-login.sh ends [Pipeline] } [2022-02-21T10:23:10.498Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh [2022-02-21T10:23:10.885Z] + git rev-list -1 --merges 48c08245ad9168b435c5e70f99b42d590e34b603~1..48c08245ad9168b435c5e70f99b42d590e34b603 [Pipeline] echo [2022-02-21T10:23:10.922Z] -----------> git rev-list -1 --merges 48c08245ad9168b435c5e70f99b42d590e34b603~1..48c08245ad9168b435c5e70f99b42d590e34b603 48c08245ad9168b435c5e70f99b42d590e34b603 [false] [Pipeline] sh [2022-02-21T10:23:11.222Z] + git log --format=format:%s -1 48c08245ad9168b435c5e70f99b42d590e34b603 [Pipeline] echo [2022-02-21T10:23:11.240Z] ========================================================= [2022-02-21T10:23:11.240Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-02-21T10:23:11.240Z] ========================================================= 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 [2022-02-21T10:23:11.637Z] + git rev-list -1 --merges 48c08245ad9168b435c5e70f99b42d590e34b603~1..48c08245ad9168b435c5e70f99b42d590e34b603 [Pipeline] echo [2022-02-21T10:23:11.648Z] -----------> git rev-list -1 --merges 48c08245ad9168b435c5e70f99b42d590e34b603~1..48c08245ad9168b435c5e70f99b42d590e34b603 48c08245ad9168b435c5e70f99b42d590e34b603 [false] [Pipeline] sh [2022-02-21T10:23:11.941Z] + git log --format=format:%s -1 48c08245ad9168b435c5e70f99b42d590e34b603 [Pipeline] echo [2022-02-21T10:23:11.957Z] ========================================================= [2022-02-21T10:23:11.957Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-02-21T10:23:11.957Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2022-02-21T10:23:12.512Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-02-21T10:23:12.512Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-02-21T10:23:12.512Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-02-21T10:23:12.512Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-02-21T10:23:12.512Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-02-21T10:23:12.513Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-02-21T10:23:12.513Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-02-21T10:23:12.946Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-21T10:23:12.946Z] [2022-02-21T10:23:12.946Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-02-21T10:23:13.258Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-21T10:23:13.258Z] latest: Pulling from edgex-devops/git-semver [2022-02-21T10:23:13.258Z] a0d0a0d46f8b: Pulling fs layer [2022-02-21T10:23:13.258Z] 3e5f54012d9b: Pulling fs layer [2022-02-21T10:23:13.258Z] 4c7163046ea9: Pulling fs layer [2022-02-21T10:23:13.258Z] 0c2d73faf560: Pulling fs layer [2022-02-21T10:23:13.258Z] 0c2d73faf560: Waiting [2022-02-21T10:23:13.258Z] 3e5f54012d9b: Verifying Checksum [2022-02-21T10:23:13.258Z] 3e5f54012d9b: Download complete [2022-02-21T10:23:13.258Z] a0d0a0d46f8b: Verifying Checksum [2022-02-21T10:23:13.258Z] a0d0a0d46f8b: Download complete [2022-02-21T10:23:13.523Z] 4c7163046ea9: Verifying Checksum [2022-02-21T10:23:13.523Z] 4c7163046ea9: Download complete [2022-02-21T10:23:13.523Z] 0c2d73faf560: Verifying Checksum [2022-02-21T10:23:13.523Z] 0c2d73faf560: Download complete [2022-02-21T10:23:13.523Z] a0d0a0d46f8b: Pull complete [2022-02-21T10:23:13.523Z] 3e5f54012d9b: Pull complete [2022-02-21T10:23:14.097Z] 4c7163046ea9: Pull complete [2022-02-21T10:23:14.097Z] 0c2d73faf560: Pull complete [2022-02-21T10:23:14.097Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-02-21T10:23:14.097Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-21T10:23:14.097Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-02-21T10:23:14.183Z] prd-centos7-docker-4c-2g-5782 does not seem to be running inside a container [2022-02-21T10:23:14.234Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-02-21T10:23:14.895Z] $ docker top 260be32798c01984f3bb59e2b0f11d1697e0cedcfd58ab6a89def2f29345bf2d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-02-21T10:23:15.001Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-02-21T10:23:15.001Z] [ssh-agent] Looking for ssh-agent implementation... [2022-02-21T10:23:15.119Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-02-21T10:23:15.122Z] $ docker exec 260be32798c01984f3bb59e2b0f11d1697e0cedcfd58ab6a89def2f29345bf2d ssh-agent [2022-02-21T10:23:15.234Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLBmMNM/agent.15 [2022-02-21T10:23:15.234Z] SSH_AGENT_PID=21 [2022-02-21T10:23:15.242Z] Running ssh-add (command line suppressed) [2022-02-21T10:23:15.333Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_4374542636004153968.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_4374542636004153968.key) [2022-02-21T10:23:15.351Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-02-21T10:23:15.650Z] + git tag --points-at HEAD [Pipeline] } [2022-02-21T10:23:15.662Z] $ docker exec --env ******** --env ******** 260be32798c01984f3bb59e2b0f11d1697e0cedcfd58ab6a89def2f29345bf2d ssh-agent -k [2022-02-21T10:23:15.756Z] unset SSH_AUTH_SOCK; [2022-02-21T10:23:15.757Z] unset SSH_AGENT_PID; [2022-02-21T10:23:15.757Z] echo Agent pid 21 killed; [2022-02-21T10:23:15.768Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-02-21T10:23:15.791Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-02-21T10:23:15.792Z] [ssh-agent] Looking for ssh-agent implementation... [2022-02-21T10:23:15.909Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-02-21T10:23:15.911Z] $ docker exec 260be32798c01984f3bb59e2b0f11d1697e0cedcfd58ab6a89def2f29345bf2d ssh-agent [2022-02-21T10:23:16.027Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXmhmApo/agent.54 [2022-02-21T10:23:16.027Z] SSH_AGENT_PID=60 [2022-02-21T10:23:16.032Z] Running ssh-add (command line suppressed) [2022-02-21T10:23:16.153Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_7484961888437679012.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_7484961888437679012.key) [2022-02-21T10:23:16.170Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-02-21T10:23:16.468Z] + git semver init [2022-02-21T10:23:16.468Z] # -> Open(): unable to determine branch for HEAD [2022-02-21T10:23:16.468Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.git [2022-02-21T10:23:16.468Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_main [2022-02-21T10:23:16.468Z] # $SEMVER_REMOTE_NAME = origin [2022-02-21T10:23:16.468Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-02-21T10:23:16.468Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-02-21T10:23:16.468Z] # $SEMVER_BRANCH = main [2022-02-21T10:23:16.468Z] # $SEMVER_TEMP = /tmp/semver-374409951 [2022-02-21T10:23:16.468Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2022-02-21T10:23:17.417Z] # '/tmp/semver-374409951' -> '/w/workspace/edgexfoundry_device-sdk-c_main/.semver' [2022-02-21T10:23:17.417Z] # -> Force: false [2022-02-21T10:23:17.417Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.semver [Pipeline] } [2022-02-21T10:23:17.427Z] $ docker exec --env ******** --env ******** 260be32798c01984f3bb59e2b0f11d1697e0cedcfd58ab6a89def2f29345bf2d ssh-agent -k [2022-02-21T10:23:17.537Z] unset SSH_AUTH_SOCK; [2022-02-21T10:23:17.537Z] unset SSH_AGENT_PID; [2022-02-21T10:23:17.537Z] echo Agent pid 60 killed; [2022-02-21T10:23:17.548Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-02-21T10:23:17.856Z] + git semver [Pipeline] } [2022-02-21T10:23:17.874Z] $ docker stop --time=1 260be32798c01984f3bb59e2b0f11d1697e0cedcfd58ab6a89def2f29345bf2d [2022-02-21T10:23:19.122Z] $ docker rm -f 260be32798c01984f3bb59e2b0f11d1697e0cedcfd58ab6a89def2f29345bf2d [Pipeline] // withDockerContainer [Pipeline] sh [2022-02-21T10:23:19.472Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-02-21T10:23:19.708Z] Stashed 1 file(s) [Pipeline] echo [2022-02-21T10:23:19.712Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.4 [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 [2022-02-21T10:23:19.808Z] provisioning config files... [2022-02-21T10:23:19.819Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config4422984638254233936tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-21T10:23:20.122Z] ---> docker-login.sh [2022-02-21T10:23:20.122Z] nexus3.edgexfoundry.org:10001 [2022-02-21T10:23:20.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-21T10:23:20.122Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-21T10:23:20.122Z] Configure a credential helper to remove this warning. See [2022-02-21T10:23:20.122Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-21T10:23:20.122Z] [2022-02-21T10:23:20.122Z] Login Succeeded [2022-02-21T10:23:20.122Z] nexus3.edgexfoundry.org:10002 [2022-02-21T10:23:20.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-21T10:23:20.382Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-21T10:23:20.382Z] Configure a credential helper to remove this warning. See [2022-02-21T10:23:20.382Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-21T10:23:20.382Z] [2022-02-21T10:23:20.382Z] Login Succeeded [2022-02-21T10:23:20.382Z] nexus3.edgexfoundry.org:10003 [2022-02-21T10:23:20.382Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-21T10:23:20.382Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-21T10:23:20.382Z] Configure a credential helper to remove this warning. See [2022-02-21T10:23:20.382Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-21T10:23:20.382Z] [2022-02-21T10:23:20.382Z] Login Succeeded [2022-02-21T10:23:20.382Z] nexus3.edgexfoundry.org:10004 [2022-02-21T10:23:20.382Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-21T10:23:20.643Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-21T10:23:20.643Z] Configure a credential helper to remove this warning. See [2022-02-21T10:23:20.643Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-21T10:23:20.643Z] [2022-02-21T10:23:20.643Z] Login Succeeded [2022-02-21T10:23:20.643Z] docker.io [2022-02-21T10:23:20.643Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-21T10:23:20.905Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-21T10:23:20.905Z] Configure a credential helper to remove this warning. See [2022-02-21T10:23:20.905Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-21T10:23:20.905Z] [2022-02-21T10:23:20.905Z] Login Succeeded [2022-02-21T10:23:20.905Z] ---> docker-login.sh ends [Pipeline] } [2022-02-21T10:23:20.913Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-02-21T10:23:20.979Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-21T10:23:20.988Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2022-02-21T10:23:20.994Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-21T10:23:21.000Z] ========================================================= [2022-02-21T10:23:21.000Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2022-02-21T10:23:21.000Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-02-21T10:23:21.297Z] + 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 . [2022-02-21T10:23:21.297Z] Sending build context to Docker daemon 4.478MB [2022-02-21T10:23:21.297Z] Step 1/22 : ARG BASE=alpine:3.15 [2022-02-21T10:23:21.297Z] Step 2/22 : FROM ${BASE} as builder [2022-02-21T10:23:21.565Z] latest: Pulling from edgex-devops/edgex-gcc-base [2022-02-21T10:23:21.565Z] 59bf1c3509f3: Pulling fs layer [2022-02-21T10:23:21.565Z] c743a93c8381: Pulling fs layer [2022-02-21T10:23:21.565Z] a2ad9f71ba65: Pulling fs layer [2022-02-21T10:23:21.565Z] c743a93c8381: Verifying Checksum [2022-02-21T10:23:21.565Z] c743a93c8381: Download complete [2022-02-21T10:23:21.565Z] 59bf1c3509f3: Verifying Checksum [2022-02-21T10:23:21.565Z] 59bf1c3509f3: Download complete [2022-02-21T10:23:21.831Z] 59bf1c3509f3: Pull complete [2022-02-21T10:23:21.831Z] c743a93c8381: Pull complete [2022-02-21T10:23:22.092Z] a2ad9f71ba65: Download complete [2022-02-21T10:23:25.403Z] a2ad9f71ba65: Pull complete [2022-02-21T10:23:25.403Z] Digest: sha256:1add200577aa6f30a3653c04583074abbdfe99a16f60a8a3474aeff88a149476 [2022-02-21T10:23:25.403Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2022-02-21T10:23:25.403Z] ---> c9e13ccc37c5 [2022-02-21T10:23:25.403Z] 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 [2022-02-21T10:23:25.976Z] ---> Running in a9db2a8b2344 [2022-02-21T10:23:26.237Z] Connecting to iotech.jfrog.io (34.243.182.113:443) [2022-02-21T10:23:26.807Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-02-21T10:23:26.807Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-02-21T10:23:26.807Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-02-21T10:23:26.807Z] Removing intermediate container a9db2a8b2344 [2022-02-21T10:23:26.807Z] ---> fc39d3d624e8 [2022-02-21T10:23:26.807Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-02-21T10:23:27.067Z] ---> Running in 67c875cd2eda [2022-02-21T10:23:27.328Z] Removing intermediate container 67c875cd2eda [2022-02-21T10:23:27.328Z] ---> 6c5ce23591cd [2022-02-21T10:23:27.328Z] 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 [2022-02-21T10:23:27.328Z] ---> Running in 9c83944fc118 [2022-02-21T10:23:27.588Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-02-21T10:23:28.529Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-02-21T10:23:29.101Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-02-21T10:23:29.362Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-02-21T10:23:29.362Z] (1/31) Installing hiredis (1.0.2-r0) [2022-02-21T10:23:29.622Z] (2/31) Installing hiredis-dev (1.0.2-r0) [2022-02-21T10:23:29.622Z] (3/31) Installing libcbor (0.8.0-r0) [2022-02-21T10:23:29.622Z] (4/31) Installing libcbor-dev (0.8.0-r0) [2022-02-21T10:23:29.882Z] (5/31) Installing ncurses-dev (6.3_p20211120-r0) [2022-02-21T10:23:29.882Z] (6/31) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2022-02-21T10:23:30.827Z] (7/31) Installing util-linux (2.37.4-r0) [2022-02-21T10:23:30.827Z] (8/31) Installing libblkid (2.37.4-r0) [2022-02-21T10:23:31.088Z] (9/31) Installing libeconf (0.4.2-r0) [2022-02-21T10:23:31.088Z] (10/31) Installing libuuid (2.37.4-r0) [2022-02-21T10:23:31.354Z] (11/31) Installing libfdisk (2.37.4-r0) [2022-02-21T10:23:31.354Z] (12/31) Installing libmount (2.37.4-r0) [2022-02-21T10:23:31.618Z] (13/31) Installing libsmartcols (2.37.4-r0) [2022-02-21T10:23:31.618Z] (14/31) Installing util-linux-misc (2.37.4-r0) [2022-02-21T10:23:31.880Z] (15/31) Installing linux-pam (1.5.2-r0) [2022-02-21T10:23:32.140Z] (16/31) Installing runuser (2.37.4-r0) [2022-02-21T10:23:32.140Z] (17/31) Installing hexdump (2.37.4-r0) [2022-02-21T10:23:32.140Z] (18/31) Installing uuidgen (2.37.4-r0) [2022-02-21T10:23:32.400Z] (19/31) Installing blkid (2.37.4-r0) [2022-02-21T10:23:32.400Z] (20/31) Installing sfdisk (2.37.4-r0) [2022-02-21T10:23:32.400Z] (21/31) Installing mcookie (2.37.4-r0) [2022-02-21T10:23:32.662Z] (22/31) Installing wipefs (2.37.4-r0) [2022-02-21T10:23:32.662Z] (23/31) Installing cfdisk (2.37.4-r0) [2022-02-21T10:23:32.662Z] (24/31) Installing flock (2.37.4-r0) [2022-02-21T10:23:32.922Z] (25/31) Installing lsblk (2.37.4-r0) [2022-02-21T10:23:32.922Z] (26/31) Installing libcap-ng (0.8.2-r1) [2022-02-21T10:23:32.922Z] (27/31) Installing setpriv (2.37.4-r0) [2022-02-21T10:23:33.184Z] (28/31) Installing logger (2.37.4-r0) [2022-02-21T10:23:33.184Z] (29/31) Installing partx (2.37.4-r0) [2022-02-21T10:23:33.184Z] (30/31) Installing findmnt (2.37.4-r0) [2022-02-21T10:23:33.446Z] (31/31) Installing util-linux-dev (2.37.4-r0) [2022-02-21T10:23:33.446Z] Executing busybox-1.34.1-r3.trigger [2022-02-21T10:23:33.446Z] OK: 293 MiB in 108 packages [2022-02-21T10:23:34.019Z] Removing intermediate container 9c83944fc118 [2022-02-21T10:23:34.019Z] ---> ab8c08f4358b [2022-02-21T10:23:34.019Z] Step 6/22 : RUN mkdir /tmp/sdk [2022-02-21T10:23:34.019Z] ---> Running in a2df5ae8002b [2022-02-21T10:23:34.591Z] Removing intermediate container a2df5ae8002b [2022-02-21T10:23:34.591Z] ---> 073af284cb2d [2022-02-21T10:23:34.591Z] Step 7/22 : COPY VERSION /tmp/sdk [2022-02-21T10:23:34.591Z] ---> 833f66d80c4d [2022-02-21T10:23:34.591Z] Step 8/22 : COPY src /tmp/sdk/src [2022-02-21T10:23:34.777Z] Still waiting to schedule task [2022-02-21T10:23:34.777Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2022-02-21T10:23:34.852Z] ---> 4ddb2e309958 [2022-02-21T10:23:34.852Z] Step 9/22 : COPY include /tmp/sdk/include [2022-02-21T10:23:35.116Z] ---> 4ff94a1f8191 [2022-02-21T10:23:35.116Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2022-02-21T10:23:35.116Z] ---> d0b1572fff59 [2022-02-21T10:23:35.116Z] Step 11/22 : COPY LICENSE /tmp/sdk [2022-02-21T10:23:35.379Z] ---> 5bcefe6a6b77 [2022-02-21T10:23:35.379Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2022-02-21T10:23:35.379Z] ---> c2addce7b503 [2022-02-21T10:23:35.379Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2022-02-21T10:23:35.640Z] ---> Running in 5a7c0e32c3ef [2022-02-21T10:23:35.640Z] + CPPCHECK=false [2022-02-21T10:23:35.640Z] + DOCGEN=false [2022-02-21T10:23:35.640Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2022-02-21T10:23:35.640Z] + TOMLVER=SDK-0.2 [2022-02-21T10:23:35.640Z] + CUTILVER=1.2.2 [2022-02-21T10:23:35.640Z] + '[' 0 -gt 0 ] [2022-02-21T10:23:35.640Z] + readlink -f ./scripts/build.sh [2022-02-21T10:23:35.640Z] + dirname /tmp/sdk/scripts/build.sh [2022-02-21T10:23:35.640Z] + dirname /tmp/sdk/scripts [2022-02-21T10:23:35.640Z] + ROOT=/tmp/sdk [2022-02-21T10:23:35.640Z] + cd /tmp/sdk [2022-02-21T10:23:35.640Z] + '[' '!' -d deps ] [2022-02-21T10:23:35.640Z] + mkdir deps [2022-02-21T10:23:35.640Z] + + tar -C deps -z -x -f - [2022-02-21T10:23:35.640Z] wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2022-02-21T10:23:35.640Z] Connecting to github.com (140.82.112.3:443) [2022-02-21T10:23:35.900Z] Connecting to codeload.github.com (140.82.114.10:443) [2022-02-21T10:23:36.160Z] writing to stdout [2022-02-21T10:23:36.160Z] - 100% |********************************| 16451 0:00:00 ETA [2022-02-21T10:23:36.160Z] written to stdout [2022-02-21T10:23:36.160Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2022-02-21T10:23:36.160Z] + tar -C deps -z -x -f - [2022-02-21T10:23:36.160Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2022-02-21T10:23:36.160Z] Connecting to github.com (140.82.112.3:443) [2022-02-21T10:23:36.419Z] Connecting to codeload.github.com (140.82.114.10:443) [2022-02-21T10:23:36.689Z] writing to stdout [2022-02-21T10:23:36.689Z] - 100% |********************************| 189k 0:00:00 ETA [2022-02-21T10:23:36.689Z] written to stdout [2022-02-21T10:23:36.689Z] + mkdir -p src/c/iot [2022-02-21T10:23:36.689Z] + 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 [2022-02-21T10:23:36.689Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2022-02-21T10:23:36.689Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2022-02-21T10:23:36.689Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2022-02-21T10:23:36.689Z] + mkdir -p include/iot [2022-02-21T10:23:36.689Z] + 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 [2022-02-21T10:23:36.689Z] + mkdir -p include/iot/os [2022-02-21T10:23:36.689Z] + 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 [2022-02-21T10:23:36.689Z] + mkdir -p /tmp/sdk/build/release [2022-02-21T10:23:36.689Z] + cd /tmp/sdk/build/release [2022-02-21T10:23:36.689Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2022-02-21T10:23:36.689Z] -- The C compiler identification is GNU 10.3.1 [2022-02-21T10:23:36.689Z] -- Detecting C compiler ABI info [2022-02-21T10:23:36.951Z] -- Detecting C compiler ABI info - done [2022-02-21T10:23:36.951Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-02-21T10:23:36.951Z] -- Detecting C compile features [2022-02-21T10:23:36.951Z] -- Detecting C compile features - done [2022-02-21T10:23:36.951Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-02-21T10:23:36.951Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-02-21T10:23:36.951Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-02-21T10:23:36.951Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-02-21T10:23:36.951Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-02-21T10:23:36.951Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-02-21T10:23:36.951Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-02-21T10:23:36.951Z] -- C SDK 2.2.0-dev.4 for Linux [2022-02-21T10:23:36.951Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-02-21T10:23:36.951Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-02-21T10:23:36.951Z] -- Found Curses: /usr/lib/libcurses.so [2022-02-21T10:23:36.951Z] -- Configuring done [2022-02-21T10:23:36.951Z] -- Generating done [2022-02-21T10:23:36.951Z] -- Build files have been written to: /tmp/sdk/build/release [2022-02-21T10:23:37.215Z] + make all package [2022-02-21T10:23:37.215Z] + tee release.log [2022-02-21T10:23:37.215Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-02-21T10:23:37.215Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-02-21T10:23:37.477Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-02-21T10:23:37.739Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-02-21T10:23:38.000Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-02-21T10:23:38.000Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-02-21T10:23:38.000Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-02-21T10:23:38.261Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-02-21T10:23:38.261Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-02-21T10:23:38.526Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-02-21T10:23:38.786Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-02-21T10:23:39.048Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-02-21T10:23:39.048Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-02-21T10:23:39.313Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-02-21T10:23:39.313Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-02-21T10:23:39.313Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-02-21T10:23:39.574Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-02-21T10:23:40.145Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-02-21T10:23:40.145Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-02-21T10:23:40.145Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-02-21T10:23:40.145Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-02-21T10:23:40.405Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-02-21T10:23:40.405Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-02-21T10:23:40.405Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-02-21T10:23:40.405Z] 275 | const iot_component_factory_t * factory; [2022-02-21T10:23:40.405Z] | ^~~~~~~ [2022-02-21T10:23:40.405Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-02-21T10:23:41.351Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-02-21T10:23:41.351Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-02-21T10:23:41.351Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-02-21T10:23:41.617Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-02-21T10:23:41.617Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-02-21T10:23:41.617Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-02-21T10:23:41.878Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-02-21T10:23:41.878Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-02-21T10:23:42.140Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-02-21T10:23:42.140Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-02-21T10:23:42.400Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-02-21T10:23:42.661Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-02-21T10:23:42.661Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-02-21T10:23:42.925Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-02-21T10:23:42.925Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-02-21T10:23:43.870Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-02-21T10:23:43.870Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-02-21T10:23:44.136Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-02-21T10:23:44.136Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-02-21T10:23:44.136Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-02-21T10:23:44.136Z] /tmp/sdk/src/c/rest-server.c:250:65: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] [2022-02-21T10:23:44.136Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-02-21T10:23:44.136Z] | ^~~~~~~~~~~~~ [2022-02-21T10:23:44.136Z] | | [2022-02-21T10:23:44.136Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-02-21T10:23:44.136Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-21T10:23:44.136Z] /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 *)' [2022-02-21T10:23:44.136Z] 2784 | MHD_KeyValueIterator iterator, [2022-02-21T10:23:44.136Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-02-21T10:23:44.136Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-02-21T10:23:44.136Z] /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-02-21T10:23:44.136Z] 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2022-02-21T10:23:44.136Z] | ^~~~~~~~~~~~ [2022-02-21T10:23:44.136Z] | | [2022-02-21T10:23:44.136Z] | 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 **)} [2022-02-21T10:23:44.136Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-21T10:23:44.136Z] /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 **)'} [2022-02-21T10:23:44.136Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-02-21T10:23:44.136Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-02-21T10:23:44.136Z] /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-02-21T10:23:44.136Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-02-21T10:23:44.136Z] | ^~~~~~~~~~~~ [2022-02-21T10:23:44.136Z] | | [2022-02-21T10:23:44.136Z] | 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 **)} [2022-02-21T10:23:44.136Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-21T10:23:44.136Z] /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 **)'} [2022-02-21T10:23:44.136Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-02-21T10:23:44.137Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-02-21T10:23:44.404Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-02-21T10:23:44.669Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-02-21T10:23:44.934Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-02-21T10:23:44.934Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-02-21T10:23:44.934Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-02-21T10:23:45.519Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-02-21T10:23:46.098Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-02-21T10:23:46.360Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-02-21T10:23:46.360Z] [ 76%] Linking C shared library libcsdk.so [2022-02-21T10:23:46.360Z] [ 76%] Built target csdk [2022-02-21T10:23:46.623Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-02-21T10:23:46.623Z] [ 79%] Linking C executable template [2022-02-21T10:23:46.623Z] [ 79%] Built target template [2022-02-21T10:23:46.623Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-02-21T10:23:46.886Z] [ 82%] Linking C executable device-counter [2022-02-21T10:23:46.886Z] [ 82%] Built target device-counter [2022-02-21T10:23:46.886Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-02-21T10:23:47.161Z] [ 85%] Linking C executable device-random [2022-02-21T10:23:47.161Z] [ 85%] Built target device-random [2022-02-21T10:23:47.161Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-02-21T10:23:47.161Z] [ 88%] Linking C executable device-gyro [2022-02-21T10:23:47.161Z] [ 88%] Built target device-gyro [2022-02-21T10:23:47.161Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-02-21T10:23:47.422Z] [ 91%] Linking C executable device-bitfields [2022-02-21T10:23:47.422Z] [ 91%] Built target device-bitfields [2022-02-21T10:23:47.422Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-02-21T10:23:47.684Z] [ 94%] Linking C executable template-discovery [2022-02-21T10:23:47.684Z] [ 94%] Built target template-discovery [2022-02-21T10:23:47.684Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-02-21T10:23:47.684Z] [ 97%] Linking C executable device-file [2022-02-21T10:23:47.952Z] [ 97%] Built target device-file [2022-02-21T10:23:47.952Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-02-21T10:23:47.952Z] [100%] Linking C executable device-terminal [2022-02-21T10:23:47.952Z] [100%] Built target device-terminal [2022-02-21T10:23:47.952Z] Run CPack packaging tool... [2022-02-21T10:23:48.214Z] CPack: Create package using TGZ [2022-02-21T10:23:48.214Z] CPack: Install projects [2022-02-21T10:23:48.214Z] CPack: - Run preinstall target for: Csdk [2022-02-21T10:23:48.214Z] CPack: - Install project: Csdk [] [2022-02-21T10:23:48.214Z] CPack: Create package [2022-02-21T10:23:48.478Z] CPack: - package: /tmp/sdk/build/release/csdk-2.2.0-dev.4.tar.gz generated. [2022-02-21T10:23:48.478Z] + '[' false '=' true ] [2022-02-21T10:23:48.478Z] + '[' false '=' true ] [2022-02-21T10:23:48.478Z] + mkdir -p /tmp/sdk/build/debug [2022-02-21T10:23:48.478Z] + cd /tmp/sdk/build/debug [2022-02-21T10:23:48.478Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2022-02-21T10:23:48.478Z] -- The C compiler identification is GNU 10.3.1 [2022-02-21T10:23:48.478Z] -- Detecting C compiler ABI info [2022-02-21T10:23:48.478Z] -- Detecting C compiler ABI info - done [2022-02-21T10:23:48.478Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-02-21T10:23:48.478Z] -- Detecting C compile features [2022-02-21T10:23:48.478Z] -- Detecting C compile features - done [2022-02-21T10:23:48.478Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-02-21T10:23:48.478Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-02-21T10:23:48.478Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-02-21T10:23:48.478Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-02-21T10:23:48.478Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-02-21T10:23:48.478Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-02-21T10:23:48.478Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-02-21T10:23:48.478Z] -- C SDK 2.2.0-dev.4 for Linux [2022-02-21T10:23:48.478Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-02-21T10:23:48.740Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-02-21T10:23:48.741Z] -- Found Curses: /usr/lib/libcurses.so [2022-02-21T10:23:48.741Z] -- Configuring done [2022-02-21T10:23:48.741Z] -- Generating done [2022-02-21T10:23:48.741Z] -- Build files have been written to: /tmp/sdk/build/debug [2022-02-21T10:23:48.741Z] + tee debug.log [2022-02-21T10:23:48.741Z] + make [2022-02-21T10:23:48.741Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-02-21T10:23:49.008Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-02-21T10:23:49.008Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-02-21T10:23:49.008Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-02-21T10:23:49.274Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-02-21T10:23:49.274Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-02-21T10:23:49.274Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-02-21T10:23:49.274Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-02-21T10:23:49.535Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-02-21T10:23:49.535Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-02-21T10:23:49.797Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-02-21T10:23:49.797Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-02-21T10:23:49.797Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-02-21T10:23:49.797Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-02-21T10:23:50.059Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-02-21T10:23:50.059Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-02-21T10:23:50.059Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-02-21T10:23:50.318Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-02-21T10:23:50.318Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-02-21T10:23:50.318Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-02-21T10:23:50.318Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-02-21T10:23:50.583Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-02-21T10:23:50.583Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-02-21T10:23:50.583Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-02-21T10:23:50.583Z] 275 | const iot_component_factory_t * factory; [2022-02-21T10:23:50.583Z] | ^~~~~~~ [2022-02-21T10:23:50.583Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-02-21T10:23:50.845Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-02-21T10:23:50.845Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-02-21T10:23:50.845Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-02-21T10:23:50.845Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-02-21T10:23:51.107Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-02-21T10:23:51.107Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-02-21T10:23:51.107Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-02-21T10:23:51.107Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-02-21T10:23:51.107Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-02-21T10:23:51.368Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-02-21T10:23:51.368Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-02-21T10:23:51.368Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-02-21T10:23:51.368Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-02-21T10:23:51.628Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-02-21T10:23:51.628Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-02-21T10:23:51.889Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-02-21T10:23:51.889Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-02-21T10:23:52.150Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-02-21T10:23:52.150Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-02-21T10:23:52.150Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-02-21T10:23:52.150Z] /tmp/sdk/src/c/rest-server.c:250:65: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] [2022-02-21T10:23:52.150Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-02-21T10:23:52.150Z] | ^~~~~~~~~~~~~ [2022-02-21T10:23:52.150Z] | | [2022-02-21T10:23:52.150Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-02-21T10:23:52.150Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-21T10:23:52.150Z] /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 *)' [2022-02-21T10:23:52.150Z] 2784 | MHD_KeyValueIterator iterator, [2022-02-21T10:23:52.150Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-02-21T10:23:52.150Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-02-21T10:23:52.150Z] /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-02-21T10:23:52.150Z] 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2022-02-21T10:23:52.150Z] | ^~~~~~~~~~~~ [2022-02-21T10:23:52.150Z] | | [2022-02-21T10:23:52.150Z] | 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 **)} [2022-02-21T10:23:52.150Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-21T10:23:52.150Z] /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 **)'} [2022-02-21T10:23:52.150Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-02-21T10:23:52.150Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-02-21T10:23:52.150Z] /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-02-21T10:23:52.150Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-02-21T10:23:52.150Z] | ^~~~~~~~~~~~ [2022-02-21T10:23:52.150Z] | | [2022-02-21T10:23:52.150Z] | 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 **)} [2022-02-21T10:23:52.150Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-21T10:23:52.150Z] /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 **)'} [2022-02-21T10:23:52.150Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-02-21T10:23:52.150Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-02-21T10:23:52.150Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-02-21T10:23:52.411Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-02-21T10:23:52.411Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-02-21T10:23:52.411Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-02-21T10:23:52.675Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-02-21T10:23:52.675Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-02-21T10:23:52.935Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-02-21T10:23:52.935Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-02-21T10:23:52.935Z] [ 76%] Linking C shared library libcsdk.so [2022-02-21T10:23:53.196Z] [ 76%] Built target csdk [2022-02-21T10:23:53.196Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-02-21T10:23:53.196Z] [ 79%] Linking C executable template [2022-02-21T10:23:53.196Z] [ 79%] Built target template [2022-02-21T10:23:53.196Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-02-21T10:23:53.196Z] [ 82%] Linking C executable device-counter [2022-02-21T10:23:53.456Z] [ 82%] Built target device-counter [2022-02-21T10:23:53.456Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-02-21T10:23:53.456Z] [ 85%] Linking C executable device-random [2022-02-21T10:23:53.456Z] [ 85%] Built target device-random [2022-02-21T10:23:53.456Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-02-21T10:23:53.456Z] [ 88%] Linking C executable device-gyro [2022-02-21T10:23:53.721Z] [ 88%] Built target device-gyro [2022-02-21T10:23:53.721Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-02-21T10:23:53.721Z] [ 91%] Linking C executable device-bitfields [2022-02-21T10:23:53.721Z] [ 91%] Built target device-bitfields [2022-02-21T10:23:53.721Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-02-21T10:23:53.721Z] [ 94%] Linking C executable template-discovery [2022-02-21T10:23:53.984Z] [ 94%] Built target template-discovery [2022-02-21T10:23:53.984Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-02-21T10:23:53.984Z] [ 97%] Linking C executable device-file [2022-02-21T10:23:53.984Z] [ 97%] Built target device-file [2022-02-21T10:23:53.984Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-02-21T10:23:53.984Z] [100%] Linking C executable device-terminal [2022-02-21T10:23:54.250Z] [100%] Built target device-terminal [2022-02-21T10:23:54.250Z] make: Entering directory '/tmp/sdk/build/release' [2022-02-21T10:23:54.250Z] make[1]: Entering directory '/tmp/sdk/build/release' [2022-02-21T10:23:54.250Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-21T10:23:54.250Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-21T10:23:54.250Z] [ 76%] Built target csdk [2022-02-21T10:23:54.250Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-21T10:23:54.250Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-21T10:23:54.250Z] [ 79%] Built target template [2022-02-21T10:23:54.250Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-21T10:23:54.250Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-21T10:23:54.250Z] [ 82%] Built target device-counter [2022-02-21T10:23:54.250Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-21T10:23:54.250Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-21T10:23:54.250Z] [ 85%] Built target device-random [2022-02-21T10:23:54.250Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-21T10:23:54.250Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-21T10:23:54.250Z] [ 88%] Built target device-gyro [2022-02-21T10:23:54.250Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-21T10:23:54.250Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-21T10:23:54.250Z] [ 91%] Built target device-bitfields [2022-02-21T10:23:54.250Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-21T10:23:54.250Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-21T10:23:54.250Z] [ 94%] Built target template-discovery [2022-02-21T10:23:54.250Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-21T10:23:54.250Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-21T10:23:54.250Z] [ 97%] Built target device-file [2022-02-21T10:23:54.250Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-21T10:23:54.250Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-21T10:23:54.250Z] [100%] Built target device-terminal [2022-02-21T10:23:54.250Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2022-02-21T10:23:54.250Z] Install the project... [2022-02-21T10:23:54.250Z] -- Install configuration: "Release" [2022-02-21T10:23:54.250Z] -- Installing: /usr/local/lib/libcsdk.so [2022-02-21T10:23:54.250Z] -- Installing: /usr/local/include [2022-02-21T10:23:54.250Z] -- Installing: /usr/local/include/devsdk [2022-02-21T10:23:54.250Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2022-02-21T10:23:54.250Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2022-02-21T10:23:54.250Z] -- Installing: /usr/local/include/edgex [2022-02-21T10:23:54.250Z] -- Installing: /usr/local/include/edgex/devices.h [2022-02-21T10:23:54.250Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2022-02-21T10:23:54.250Z] -- Installing: /usr/local/include/edgex/edgex.h [2022-02-21T10:23:54.250Z] -- Installing: /usr/local/include/edgex/profiles.h [2022-02-21T10:23:54.250Z] -- Installing: /usr/local/include/edgex/rest-server.h [2022-02-21T10:23:54.250Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2022-02-21T10:23:54.250Z] -- Installing: /usr/local/include/iot [2022-02-21T10:23:54.250Z] -- Installing: /usr/local/include/iot/base64.h [2022-02-21T10:23:54.250Z] -- Installing: /usr/local/include/iot/component.h [2022-02-21T10:23:54.250Z] -- Installing: /usr/local/include/iot/config.h [2022-02-21T10:23:54.250Z] -- Installing: /usr/local/include/iot/container.h [2022-02-21T10:23:54.250Z] -- Installing: /usr/local/include/iot/data.h [2022-02-21T10:23:54.250Z] -- Installing: /usr/local/include/iot/hash.h [2022-02-21T10:23:54.250Z] -- Installing: /usr/local/include/iot/iot.h [2022-02-21T10:23:54.250Z] -- Installing: /usr/local/include/iot/json.h [2022-02-21T10:23:54.250Z] -- Installing: /usr/local/include/iot/logger.h [2022-02-21T10:23:54.250Z] -- Installing: /usr/local/include/iot/os.h [2022-02-21T10:23:54.250Z] -- Installing: /usr/local/include/iot/scheduler.h [2022-02-21T10:23:54.250Z] -- Installing: /usr/local/include/iot/thread.h [2022-02-21T10:23:54.250Z] -- Installing: /usr/local/include/iot/threadpool.h [2022-02-21T10:23:54.250Z] -- Installing: /usr/local/include/iot/time.h [2022-02-21T10:23:54.250Z] -- Installing: /usr/local/include/iot/typecode.h [2022-02-21T10:23:54.250Z] -- Installing: /usr/local/include/iot/uuid.h [2022-02-21T10:23:54.250Z] -- Installing: /usr/local/include/iot/os [2022-02-21T10:23:54.250Z] -- Installing: /usr/local/include/iot/os/linux.h [2022-02-21T10:23:54.250Z] -- Installing: /usr/local/include/iot/os/macos.h [2022-02-21T10:23:54.250Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2022-02-21T10:23:54.250Z] -- Installing: /usr/local/include/iot/defs.h [2022-02-21T10:23:54.250Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2022-02-21T10:23:54.250Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2022-02-21T10:23:54.250Z] make: Leaving directory '/tmp/sdk/build/release' [2022-02-21T10:23:55.213Z] Removing intermediate container 5a7c0e32c3ef [2022-02-21T10:23:55.213Z] ---> 7f2ce4146568 [2022-02-21T10:23:55.213Z] Step 14/22 : FROM ${BASE} [2022-02-21T10:23:55.213Z] ---> c9e13ccc37c5 [2022-02-21T10:23:55.213Z] Step 15/22 : LABEL maintainer="IOTech " [2022-02-21T10:23:55.213Z] ---> Running in 622dc9c5f8f8 [2022-02-21T10:23:55.213Z] Removing intermediate container 622dc9c5f8f8 [2022-02-21T10:23:55.213Z] ---> ae2bface76f8 [2022-02-21T10:23:55.213Z] 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 [2022-02-21T10:23:55.213Z] ---> Running in 4e4c3c8bfb64 [2022-02-21T10:23:55.474Z] Connecting to iotech.jfrog.io (54.229.110.245:443) [2022-02-21T10:23:55.737Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-02-21T10:23:55.737Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-02-21T10:23:55.737Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-02-21T10:23:55.995Z] Removing intermediate container 4e4c3c8bfb64 [2022-02-21T10:23:55.995Z] ---> ce53f17bfc41 [2022-02-21T10:23:55.995Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-02-21T10:23:55.995Z] ---> Running in 70b937917ac1 [2022-02-21T10:23:56.260Z] Removing intermediate container 70b937917ac1 [2022-02-21T10:23:56.260Z] ---> b39dd59de25e [2022-02-21T10:23:56.260Z] 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 [2022-02-21T10:23:56.260Z] ---> Running in 9e5b5a5e6b33 [2022-02-21T10:23:56.520Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-02-21T10:23:57.461Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-02-21T10:23:57.722Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-02-21T10:23:58.292Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-02-21T10:23:58.292Z] (1/6) Installing curl (7.80.0-r0) [2022-02-21T10:23:58.292Z] (2/6) Installing hiredis (1.0.2-r0) [2022-02-21T10:23:58.292Z] (3/6) Installing hiredis-dev (1.0.2-r0) [2022-02-21T10:23:58.292Z] (4/6) Installing libcbor (0.8.0-r0) [2022-02-21T10:23:58.552Z] (5/6) Installing libuuid (2.37.4-r0) [2022-02-21T10:23:58.552Z] (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2022-02-21T10:23:59.491Z] Executing busybox-1.34.1-r3.trigger [2022-02-21T10:23:59.491Z] OK: 283 MiB in 83 packages [2022-02-21T10:23:59.761Z] Removing intermediate container 9e5b5a5e6b33 [2022-02-21T10:23:59.761Z] ---> ded8e93e2e5e [2022-02-21T10:23:59.761Z] Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2022-02-21T10:23:59.761Z] ---> 81e16dddd60a [2022-02-21T10:23:59.761Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2022-02-21T10:24:00.021Z] ---> 4894502a66b7 [2022-02-21T10:24:00.021Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2022-02-21T10:24:00.282Z] ---> ca8b1e912f6d [2022-02-21T10:24:00.282Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2022-02-21T10:24:00.282Z] ---> 7f54d7f33fdd [2022-02-21T10:24:00.282Z] Successfully built 7f54d7f33fdd [2022-02-21T10:24:00.282Z] 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 [2022-02-21T10:24:00.636Z] + docker inspect -f . ci-base-image-x86_64 [2022-02-21T10:24:00.636Z] . [Pipeline] withDockerContainer [2022-02-21T10:24:00.707Z] prd-centos7-docker-4c-2g-5782 does not seem to be running inside a container [2022-02-21T10:24:00.745Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** ci-base-image-x86_64 cat [2022-02-21T10:24:01.151Z] $ docker top adc98cab8efa15423b481208d64ee2e3616d325adf60b9dae69a162e340150f1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-21T10:24:01.524Z] + make test [2022-02-21T10:24:01.524Z] echo "make test" [2022-02-21T10:24:01.524Z] make test [Pipeline] } [2022-02-21T10:24:01.537Z] $ docker stop --time=1 adc98cab8efa15423b481208d64ee2e3616d325adf60b9dae69a162e340150f1 [2022-02-21T10:24:02.725Z] $ docker rm -f adc98cab8efa15423b481208d64ee2e3616d325adf60b9dae69a162e340150f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-21T10:24:04.056Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-02-21T10:24:04.350Z] + ls -al . [2022-02-21T10:24:04.350Z] total 176 [2022-02-21T10:24:04.350Z] drwxrwxr-x. 9 jenkins jenkins 4096 Feb 21 10:23 . [2022-02-21T10:24:04.350Z] drwxrwxr-x. 4 jenkins jenkins 108 Feb 21 10:23 .. [2022-02-21T10:24:04.350Z] -rw-rw-r--. 1 jenkins jenkins 3104 Feb 21 10:23 Attribution.txt [2022-02-21T10:24:04.350Z] -rw-rw-r--. 1 jenkins jenkins 8222 Feb 21 10:23 CHANGES [2022-02-21T10:24:04.350Z] drwxrwxr-x. 2 jenkins jenkins 121 Feb 21 10:23 docs [2022-02-21T10:24:04.350Z] -rw-rw-r--. 1 jenkins jenkins 108574 Feb 21 10:23 Doxyfile [2022-02-21T10:24:04.350Z] drwxrwxr-x. 8 jenkins jenkins 162 Feb 21 10:23 .git [2022-02-21T10:24:04.350Z] drwxrwxr-x. 3 jenkins jenkins 103 Feb 21 10:23 .github [2022-02-21T10:24:04.350Z] -rw-rw-r--. 1 jenkins jenkins 176 Feb 21 10:23 .gitignore [2022-02-21T10:24:04.350Z] -rw-rw-r--. 1 jenkins jenkins 677 Feb 21 10:23 GOVERNANCE.md [2022-02-21T10:24:04.350Z] drwxrwxr-x. 4 jenkins jenkins 33 Feb 21 10:23 include [2022-02-21T10:24:04.350Z] -rw-rw-r--. 1 jenkins jenkins 784 Feb 21 10:23 Jenkinsfile [2022-02-21T10:24:04.350Z] -rw-rw-r--. 1 jenkins jenkins 10174 Feb 21 10:23 LICENSE [2022-02-21T10:24:04.350Z] -rw-rw-r--. 1 jenkins jenkins 444 Feb 21 10:23 Makefile [2022-02-21T10:24:04.350Z] -rw-rw-r--. 1 jenkins jenkins 618 Feb 21 10:23 OWNERS.md [2022-02-21T10:24:04.350Z] -rw-rw-r--. 1 jenkins jenkins 4086 Feb 21 10:23 README.md [2022-02-21T10:24:04.350Z] -rw-rw-r--. 1 jenkins jenkins 7422 Feb 21 10:23 README.v2.md [2022-02-21T10:24:04.350Z] drwxrwxr-x. 2 jenkins jenkins 98 Feb 21 10:23 scripts [2022-02-21T10:24:04.350Z] drwx------. 3 jenkins jenkins 71 Feb 21 10:23 .semver [2022-02-21T10:24:04.350Z] drwxrwxr-x. 4 jenkins jenkins 50 Feb 21 10:23 src [2022-02-21T10:24:04.350Z] -rw-rw-r--. 1 jenkins jenkins 11 Feb 21 10:23 VERSION [Pipeline] isUnix [Pipeline] sh [2022-02-21T10:24:04.660Z] + 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=48c08245ad9168b435c5e70f99b42d590e34b603 --label arch=amd64 --label version=2.2.0-dev.4 . [2022-02-21T10:24:04.660Z] Sending build context to Docker daemon 4.478MB [2022-02-21T10:24:04.660Z] Step 1/17 : ARG BASE=alpine:3.15 [2022-02-21T10:24:04.660Z] Step 2/17 : FROM ${BASE} [2022-02-21T10:24:04.660Z] ---> 7f54d7f33fdd [2022-02-21T10:24:04.660Z] Step 3/17 : LABEL maintainer="IOTech " [2022-02-21T10:24:04.660Z] ---> Running in 130809f2fd51 [2022-02-21T10:24:04.931Z] Removing intermediate container 130809f2fd51 [2022-02-21T10:24:04.931Z] ---> d80c0e60a95f [2022-02-21T10:24:04.931Z] 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 [2022-02-21T10:24:04.931Z] ---> Running in ec1cf0bb25c3 [2022-02-21T10:24:05.192Z] Connecting to iotech.jfrog.io (54.72.115.12:443) [2022-02-21T10:24:05.456Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-02-21T10:24:05.456Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-02-21T10:24:05.456Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-02-21T10:24:05.720Z] Removing intermediate container ec1cf0bb25c3 [2022-02-21T10:24:05.720Z] ---> 08f1c150ff3b [2022-02-21T10:24:05.720Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-02-21T10:24:05.720Z] ---> Running in 84cee5dd3c35 [2022-02-21T10:24:06.297Z] Removing intermediate container 84cee5dd3c35 [2022-02-21T10:24:06.297Z] ---> 21c9663a19c8 [2022-02-21T10:24:06.297Z] 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 [2022-02-21T10:24:06.297Z] ---> Running in 575f9fa10913 [2022-02-21T10:24:06.558Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-02-21T10:24:07.499Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-02-21T10:24:07.499Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-02-21T10:24:08.072Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-02-21T10:24:08.072Z] (1/26) Installing libcbor-dev (0.8.0-r0) [2022-02-21T10:24:08.072Z] (2/26) Installing ncurses-dev (6.3_p20211120-r0) [2022-02-21T10:24:08.343Z] (3/26) Installing util-linux (2.37.4-r0) [2022-02-21T10:24:08.343Z] (4/26) Installing libblkid (2.37.4-r0) [2022-02-21T10:24:08.343Z] (5/26) Installing libeconf (0.4.2-r0) [2022-02-21T10:24:08.605Z] (6/26) Installing libfdisk (2.37.4-r0) [2022-02-21T10:24:08.605Z] (7/26) Installing libmount (2.37.4-r0) [2022-02-21T10:24:08.866Z] (8/26) Installing libsmartcols (2.37.4-r0) [2022-02-21T10:24:08.866Z] (9/26) Installing util-linux-misc (2.37.4-r0) [2022-02-21T10:24:09.127Z] (10/26) Installing linux-pam (1.5.2-r0) [2022-02-21T10:24:09.388Z] (11/26) Installing runuser (2.37.4-r0) [2022-02-21T10:24:09.388Z] (12/26) Installing hexdump (2.37.4-r0) [2022-02-21T10:24:09.388Z] (13/26) Installing uuidgen (2.37.4-r0) [2022-02-21T10:24:09.649Z] (14/26) Installing blkid (2.37.4-r0) [2022-02-21T10:24:09.649Z] (15/26) Installing sfdisk (2.37.4-r0) [2022-02-21T10:24:09.649Z] (16/26) Installing mcookie (2.37.4-r0) [2022-02-21T10:24:09.909Z] (17/26) Installing wipefs (2.37.4-r0) [2022-02-21T10:24:09.909Z] (18/26) Installing cfdisk (2.37.4-r0) [2022-02-21T10:24:09.909Z] (19/26) Installing flock (2.37.4-r0) [2022-02-21T10:24:10.169Z] (20/26) Installing lsblk (2.37.4-r0) [2022-02-21T10:24:10.169Z] (21/26) Installing libcap-ng (0.8.2-r1) [2022-02-21T10:24:10.169Z] (22/26) Installing setpriv (2.37.4-r0) [2022-02-21T10:24:10.428Z] (23/26) Installing logger (2.37.4-r0) [2022-02-21T10:24:10.428Z] (24/26) Installing partx (2.37.4-r0) [2022-02-21T10:24:10.428Z] (25/26) Installing findmnt (2.37.4-r0) [2022-02-21T10:24:10.689Z] (26/26) Installing util-linux-dev (2.37.4-r0) [2022-02-21T10:24:10.953Z] Executing busybox-1.34.1-r3.trigger [2022-02-21T10:24:10.954Z] OK: 294 MiB in 109 packages [2022-02-21T10:24:11.527Z] Removing intermediate container 575f9fa10913 [2022-02-21T10:24:11.527Z] ---> 227be0091fa1 [2022-02-21T10:24:11.527Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2022-02-21T10:24:11.527Z] ---> 4d78b6a855fc [2022-02-21T10:24:11.527Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2022-02-21T10:24:11.788Z] ---> 13966b16e66d [2022-02-21T10:24:11.788Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2022-02-21T10:24:11.788Z] ---> 056b7510c760 [2022-02-21T10:24:11.788Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2022-02-21T10:24:12.051Z] ---> ad9bec5d41ef [2022-02-21T10:24:12.051Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2022-02-21T10:24:12.051Z] ---> 631c0b5b9704 [2022-02-21T10:24:12.051Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2022-02-21T10:24:12.312Z] ---> cc9bdf4e9d3b [2022-02-21T10:24:12.312Z] Step 13/17 : WORKDIR /edgex-c-sdk [2022-02-21T10:24:12.312Z] ---> Running in bb4df9d4b015 [2022-02-21T10:24:12.312Z] Removing intermediate container bb4df9d4b015 [2022-02-21T10:24:12.312Z] ---> 8de2ac23e5d4 [2022-02-21T10:24:12.312Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2022-02-21T10:24:12.312Z] ---> Running in e1c47023d499 [2022-02-21T10:24:12.576Z] Removing intermediate container e1c47023d499 [2022-02-21T10:24:12.576Z] ---> 4d7777f23178 [2022-02-21T10:24:12.576Z] Step 15/17 : LABEL arch=amd64 [2022-02-21T10:24:12.576Z] ---> Running in b535ad3ddf38 [2022-02-21T10:24:12.576Z] Removing intermediate container b535ad3ddf38 [2022-02-21T10:24:12.576Z] ---> 638aa3ef418b [2022-02-21T10:24:12.576Z] Step 16/17 : LABEL git_sha=48c08245ad9168b435c5e70f99b42d590e34b603 [2022-02-21T10:24:12.576Z] ---> Running in 3d77d1869d91 [2022-02-21T10:24:12.576Z] Removing intermediate container 3d77d1869d91 [2022-02-21T10:24:12.576Z] ---> 045294c47e00 [2022-02-21T10:24:12.576Z] Step 17/17 : LABEL version=2.2.0-dev.4 [2022-02-21T10:24:12.576Z] ---> Running in 0dace2f283c6 [2022-02-21T10:24:12.838Z] Removing intermediate container 0dace2f283c6 [2022-02-21T10:24:12.838Z] ---> e866a5122174 [2022-02-21T10:24:12.838Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2022-02-21T10:24:12.838Z] Successfully built e866a5122174 [2022-02-21T10:24:12.838Z] 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 [2022-02-21T10:24:13.261Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-21T10:24:13.261Z] [2022-02-21T10:24:13.261Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-02-21T10:24:13.567Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-21T10:24:13.567Z] latest: Pulling from edgex-lftools-log-publisher [2022-02-21T10:24:13.567Z] b4d181a07f80: Pulling fs layer [2022-02-21T10:24:13.567Z] a1111a8f2ec3: Pulling fs layer [2022-02-21T10:24:13.567Z] ed53099fbce6: Pulling fs layer [2022-02-21T10:24:13.567Z] dc539afda2c1: Pulling fs layer [2022-02-21T10:24:13.567Z] 77bc0d833cb6: Pulling fs layer [2022-02-21T10:24:13.567Z] 9065ff56babe: Pulling fs layer [2022-02-21T10:24:13.567Z] d287ab97295c: Pulling fs layer [2022-02-21T10:24:13.567Z] dc539afda2c1: Waiting [2022-02-21T10:24:13.567Z] 77bc0d833cb6: Waiting [2022-02-21T10:24:13.567Z] 9065ff56babe: Waiting [2022-02-21T10:24:13.567Z] d287ab97295c: Waiting [2022-02-21T10:24:13.567Z] a1111a8f2ec3: Verifying Checksum [2022-02-21T10:24:13.567Z] a1111a8f2ec3: Download complete [2022-02-21T10:24:13.567Z] dc539afda2c1: Verifying Checksum [2022-02-21T10:24:13.567Z] dc539afda2c1: Download complete [2022-02-21T10:24:13.567Z] ed53099fbce6: Verifying Checksum [2022-02-21T10:24:13.567Z] ed53099fbce6: Download complete [2022-02-21T10:24:13.827Z] 9065ff56babe: Verifying Checksum [2022-02-21T10:24:13.827Z] 9065ff56babe: Download complete [2022-02-21T10:24:13.827Z] 77bc0d833cb6: Verifying Checksum [2022-02-21T10:24:13.827Z] 77bc0d833cb6: Download complete [2022-02-21T10:24:13.827Z] b4d181a07f80: Verifying Checksum [2022-02-21T10:24:13.827Z] b4d181a07f80: Download complete [2022-02-21T10:24:14.400Z] d287ab97295c: Verifying Checksum [2022-02-21T10:24:14.400Z] d287ab97295c: Download complete [2022-02-21T10:24:15.359Z] b4d181a07f80: Pull complete [2022-02-21T10:24:15.629Z] a1111a8f2ec3: Pull complete [2022-02-21T10:24:16.210Z] ed53099fbce6: Pull complete [2022-02-21T10:24:16.210Z] dc539afda2c1: Pull complete [2022-02-21T10:24:16.479Z] 77bc0d833cb6: Pull complete [2022-02-21T10:24:16.479Z] 9065ff56babe: Pull complete [2022-02-21T10:24:21.796Z] d287ab97295c: Pull complete [2022-02-21T10:24:21.796Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-02-21T10:24:21.796Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-21T10:24:21.796Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-02-21T10:24:21.863Z] prd-centos7-docker-4c-2g-5782 does not seem to be running inside a container [2022-02-21T10:24:21.894Z] $ 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_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-02-21T10:24:24.464Z] $ docker top a22eae6f2d2e3afbee73c6114a46f401c96c60e29a81a6c0b2cac8a0928fd6e0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-21T10:24:24.899Z] ---> job-cost.sh [2022-02-21T10:24:24.899Z] lf-activate-venv: SKIPPING [2022-02-21T10:24:24.899Z] INFO: No Stack... [2022-02-21T10:24:25.471Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-02-21T10:24:25.730Z] INFO: Archiving Costs [Pipeline] sh [2022-02-21T10:24:26.035Z] + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv [2022-02-21T10:24:26.036Z] + cut -d, -f6 [Pipeline] lock [2022-02-21T10:24:26.052Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-19-stack-cost] [2022-02-21T10:24:26.059Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-19-stack-cost] did not exist. Created. [2022-02-21T10:24:26.059Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-19-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-02-21T10:24:26.384Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-02-21T10:24:26.424Z] Stashed 1 file(s) [Pipeline] } [2022-02-21T10:24:26.430Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-19-stack-cost] [Pipeline] // lock [Pipeline] } [2022-02-21T10:24:26.451Z] $ docker stop --time=1 a22eae6f2d2e3afbee73c6114a46f401c96c60e29a81a6c0b2cac8a0928fd6e0 [2022-02-21T10:24:27.595Z] $ docker rm -f a22eae6f2d2e3afbee73c6114a46f401c96c60e29a81a6c0b2cac8a0928fd6e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-02-21T10:24:58.398Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-5783 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] ws [2022-02-21T10:24:58.407Z] Running in /w/workspace/device-sdk-c/19 [Pipeline] { [Pipeline] checkout [2022-02-21T10:24:58.683Z] Selected Git installation does not exist. Using Default [2022-02-21T10:24:58.683Z] The recommended git tool is: NONE [2022-02-21T10:25:03.117Z] using credential edgex-jenkins-ssh [2022-02-21T10:25:03.132Z] Cloning the remote Git repository [2022-02-21T10:25:03.183Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2022-02-21T10:25:03.259Z] > git init /w/workspace/device-sdk-c/19 # timeout=10 [2022-02-21T10:25:03.343Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2022-02-21T10:25:03.344Z] > git --version # timeout=10 [2022-02-21T10:25:03.364Z] > git --version # 'git version 2.17.1' [2022-02-21T10:25:03.365Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-21T10:25:03.440Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-02-21T10:25:04.536Z] Avoid second fetch [2022-02-21T10:25:04.537Z] Checking out Revision 48c08245ad9168b435c5e70f99b42d590e34b603 (main) [2022-02-21T10:25:04.499Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2022-02-21T10:25:04.517Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-02-21T10:25:04.555Z] > git config core.sparsecheckout # timeout=10 [2022-02-21T10:25:04.616Z] > git checkout -f 48c08245ad9168b435c5e70f99b42d590e34b603 # timeout=10 [2022-02-21T10:25:08.994Z] Commit message: "build(deps): bump Alpine to 3.15 (#401)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-21T10:25:09.925Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-02-21T10:25:09.925Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-02-21T10:25:09.925Z] Dload Upload Total Spent Left Speed [2022-02-21T10:25:09.925Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 76406 0 --:--:-- --:--:-- --:--:-- 76406 [Pipeline] sh [2022-02-21T10:25:10.437Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-02-21T10:25:10.781Z] + sudo tee /etc/docker/daemon.new [2022-02-21T10:25:10.781Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-02-21T10:25:10.781Z] { [2022-02-21T10:25:10.781Z] "registry-mirrors": [ [2022-02-21T10:25:10.781Z] "https://nexus3.edgexfoundry.org:10001" [2022-02-21T10:25:10.781Z] ], [2022-02-21T10:25:10.781Z] "bip": "10.250.0.254/24", [2022-02-21T10:25:10.781Z] "hosts": [ [2022-02-21T10:25:10.781Z] "tcp://0.0.0.0:5555", [2022-02-21T10:25:10.781Z] "unix:///var/run/docker.sock" [2022-02-21T10:25:10.781Z] ], [2022-02-21T10:25:10.781Z] "mtu": 1458, [2022-02-21T10:25:10.781Z] "selinux-enabled": true, [2022-02-21T10:25:10.781Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-02-21T10:25:10.781Z] } [Pipeline] sh [2022-02-21T10:25:11.126Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-02-21T10:25:11.473Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-21T10:25:29.819Z] provisioning config files... [2022-02-21T10:25:29.846Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/19@tmp/config3169884221996052505tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-21T10:25:30.211Z] ---> docker-login.sh [2022-02-21T10:25:30.211Z] nexus3.edgexfoundry.org:10001 [2022-02-21T10:25:30.856Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-21T10:25:31.138Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-21T10:25:31.138Z] Configure a credential helper to remove this warning. See [2022-02-21T10:25:31.138Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-21T10:25:31.138Z] [2022-02-21T10:25:31.138Z] Login Succeeded [2022-02-21T10:25:31.138Z] nexus3.edgexfoundry.org:10002 [2022-02-21T10:25:31.432Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-21T10:25:31.432Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-21T10:25:31.432Z] Configure a credential helper to remove this warning. See [2022-02-21T10:25:31.432Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-21T10:25:31.432Z] [2022-02-21T10:25:31.432Z] Login Succeeded [2022-02-21T10:25:31.432Z] nexus3.edgexfoundry.org:10003 [2022-02-21T10:25:32.028Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-21T10:25:32.028Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-21T10:25:32.028Z] Configure a credential helper to remove this warning. See [2022-02-21T10:25:32.028Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-21T10:25:32.028Z] [2022-02-21T10:25:32.028Z] Login Succeeded [2022-02-21T10:25:32.028Z] nexus3.edgexfoundry.org:10004 [2022-02-21T10:25:32.303Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-21T10:25:32.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-21T10:25:32.577Z] Configure a credential helper to remove this warning. See [2022-02-21T10:25:32.577Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-21T10:25:32.577Z] [2022-02-21T10:25:32.577Z] Login Succeeded [2022-02-21T10:25:32.577Z] docker.io [2022-02-21T10:25:32.850Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-21T10:25:33.122Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-21T10:25:33.122Z] Configure a credential helper to remove this warning. See [2022-02-21T10:25:33.122Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-21T10:25:33.122Z] [2022-02-21T10:25:33.122Z] Login Succeeded [2022-02-21T10:25:33.122Z] ---> docker-login.sh ends [Pipeline] } [2022-02-21T10:25:33.138Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-02-21T10:25:33.544Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-21T10:25:33.556Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2022-02-21T10:25:33.567Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-21T10:25:33.576Z] ========================================================= [2022-02-21T10:25:33.576Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2022-02-21T10:25:33.576Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-02-21T10:25:33.931Z] + 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 . [2022-02-21T10:25:34.202Z] Sending build context to Docker daemon 2.725MB [2022-02-21T10:25:34.202Z] Step 1/22 : ARG BASE=alpine:3.15 [2022-02-21T10:25:34.202Z] Step 2/22 : FROM ${BASE} as builder [2022-02-21T10:25:34.478Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2022-02-21T10:25:34.478Z] 9b3977197b4f: Pulling fs layer [2022-02-21T10:25:34.478Z] 2a93055cfd06: Pulling fs layer [2022-02-21T10:25:34.478Z] ff5fdaca7850: Pulling fs layer [2022-02-21T10:25:34.478Z] 2a93055cfd06: Verifying Checksum [2022-02-21T10:25:34.478Z] 2a93055cfd06: Download complete [2022-02-21T10:25:34.478Z] 9b3977197b4f: Verifying Checksum [2022-02-21T10:25:34.478Z] 9b3977197b4f: Download complete [2022-02-21T10:25:35.079Z] 9b3977197b4f: Pull complete [2022-02-21T10:25:35.680Z] 2a93055cfd06: Pull complete [2022-02-21T10:25:36.664Z] ff5fdaca7850: Verifying Checksum [2022-02-21T10:25:36.664Z] ff5fdaca7850: Download complete [2022-02-21T10:25:44.955Z] ff5fdaca7850: Pull complete [2022-02-21T10:25:44.955Z] Digest: sha256:bf249b2a65b15776358c73a8f9886e573022f6b9ba75e542fbdefbaa4c9006da [2022-02-21T10:25:44.955Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2022-02-21T10:25:44.955Z] ---> 0af3d9908a83 [2022-02-21T10:25:44.955Z] 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 [2022-02-21T10:25:45.550Z] ---> Running in 0165fda69294 [2022-02-21T10:25:46.525Z] Connecting to iotech.jfrog.io (54.229.110.245:443) [2022-02-21T10:25:47.122Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-02-21T10:25:47.122Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-02-21T10:25:47.122Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-02-21T10:25:47.719Z] Removing intermediate container 0165fda69294 [2022-02-21T10:25:47.719Z] ---> 6c2f3f61b88d [2022-02-21T10:25:47.719Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-02-21T10:25:47.719Z] ---> Running in be1fcb3ba806 [2022-02-21T10:25:49.713Z] Removing intermediate container be1fcb3ba806 [2022-02-21T10:25:49.713Z] ---> 83077917e793 [2022-02-21T10:25:49.713Z] 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 [2022-02-21T10:25:49.713Z] ---> Running in 46b3e22adca8 [2022-02-21T10:25:50.690Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-02-21T10:25:51.663Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-02-21T10:25:51.935Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-02-21T10:25:52.906Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-02-21T10:25:52.906Z] (1/31) Installing hiredis (1.0.2-r0) [2022-02-21T10:25:52.906Z] (2/31) Installing hiredis-dev (1.0.2-r0) [2022-02-21T10:25:52.906Z] (3/31) Installing libcbor (0.8.0-r0) [2022-02-21T10:25:52.906Z] (4/31) Installing libcbor-dev (0.8.0-r0) [2022-02-21T10:25:53.176Z] (5/31) Installing ncurses-dev (6.3_p20211120-r0) [2022-02-21T10:25:53.176Z] (6/31) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2022-02-21T10:25:54.147Z] (7/31) Installing util-linux (2.37.4-r0) [2022-02-21T10:25:54.147Z] (8/31) Installing libblkid (2.37.4-r0) [2022-02-21T10:25:54.418Z] (9/31) Installing libeconf (0.4.2-r0) [2022-02-21T10:25:54.418Z] (10/31) Installing libuuid (2.37.4-r0) [2022-02-21T10:25:54.690Z] (11/31) Installing libfdisk (2.37.4-r0) [2022-02-21T10:25:54.690Z] (12/31) Installing libmount (2.37.4-r0) [2022-02-21T10:25:54.690Z] (13/31) Installing libsmartcols (2.37.4-r0) [2022-02-21T10:25:54.963Z] (14/31) Installing util-linux-misc (2.37.4-r0) [2022-02-21T10:25:55.236Z] (15/31) Installing linux-pam (1.5.2-r0) [2022-02-21T10:25:55.236Z] (16/31) Installing runuser (2.37.4-r0) [2022-02-21T10:25:55.508Z] (17/31) Installing hexdump (2.37.4-r0) [2022-02-21T10:25:55.508Z] (18/31) Installing uuidgen (2.37.4-r0) [2022-02-21T10:25:55.508Z] (19/31) Installing blkid (2.37.4-r0) [2022-02-21T10:25:55.778Z] (20/31) Installing sfdisk (2.37.4-r0) [2022-02-21T10:25:55.778Z] (21/31) Installing mcookie (2.37.4-r0) [2022-02-21T10:25:55.778Z] (22/31) Installing wipefs (2.37.4-r0) [2022-02-21T10:25:56.049Z] (23/31) Installing cfdisk (2.37.4-r0) [2022-02-21T10:25:56.049Z] (24/31) Installing flock (2.37.4-r0) [2022-02-21T10:25:56.049Z] (25/31) Installing lsblk (2.37.4-r0) [2022-02-21T10:25:56.319Z] (26/31) Installing libcap-ng (0.8.2-r1) [2022-02-21T10:25:56.319Z] (27/31) Installing setpriv (2.37.4-r0) [2022-02-21T10:25:56.592Z] (28/31) Installing logger (2.37.4-r0) [2022-02-21T10:25:56.592Z] (29/31) Installing partx (2.37.4-r0) [2022-02-21T10:25:56.592Z] (30/31) Installing findmnt (2.37.4-r0) [2022-02-21T10:25:56.592Z] (31/31) Installing util-linux-dev (2.37.4-r0) [2022-02-21T10:25:56.864Z] Executing busybox-1.34.1-r3.trigger [2022-02-21T10:25:56.864Z] OK: 289 MiB in 108 packages [2022-02-21T10:25:58.301Z] Removing intermediate container 46b3e22adca8 [2022-02-21T10:25:58.301Z] ---> 082de63de98a [2022-02-21T10:25:58.301Z] Step 6/22 : RUN mkdir /tmp/sdk [2022-02-21T10:25:58.575Z] ---> Running in dcff0a8d5392 [2022-02-21T10:26:00.548Z] Removing intermediate container dcff0a8d5392 [2022-02-21T10:26:00.548Z] ---> 3638ca96579f [2022-02-21T10:26:00.548Z] Step 7/22 : COPY VERSION /tmp/sdk [2022-02-21T10:26:00.829Z] ---> 5b5c7e0ddd27 [2022-02-21T10:26:00.829Z] Step 8/22 : COPY src /tmp/sdk/src [2022-02-21T10:26:01.809Z] ---> b585771bb034 [2022-02-21T10:26:01.809Z] Step 9/22 : COPY include /tmp/sdk/include [2022-02-21T10:26:02.405Z] ---> bbaa3e9ea910 [2022-02-21T10:26:02.405Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2022-02-21T10:26:02.999Z] ---> 3f0ba4ea9b4a [2022-02-21T10:26:02.999Z] Step 11/22 : COPY LICENSE /tmp/sdk [2022-02-21T10:26:03.595Z] ---> b138a0045c8f [2022-02-21T10:26:03.595Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2022-02-21T10:26:04.195Z] ---> 8270cbe750b8 [2022-02-21T10:26:04.195Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2022-02-21T10:26:04.195Z] ---> Running in ff49c657f9b9 [2022-02-21T10:26:05.178Z] + CPPCHECK=false [2022-02-21T10:26:05.178Z] + DOCGEN=false [2022-02-21T10:26:05.178Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2022-02-21T10:26:05.178Z] + TOMLVER=SDK-0.2 [2022-02-21T10:26:05.178Z] + CUTILVER=1.2.2 [2022-02-21T10:26:05.178Z] + '[' 0 -gt 0 ] [2022-02-21T10:26:05.178Z] + readlink -f ./scripts/build.sh [2022-02-21T10:26:05.178Z] + dirname /tmp/sdk/scripts/build.sh [2022-02-21T10:26:05.178Z] + dirname /tmp/sdk/scripts [2022-02-21T10:26:05.178Z] + ROOT=/tmp/sdk [2022-02-21T10:26:05.178Z] + cd /tmp/sdk [2022-02-21T10:26:05.178Z] + '[' '!' -d deps ] [2022-02-21T10:26:05.178Z] + mkdir deps [2022-02-21T10:26:05.178Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2022-02-21T10:26:05.178Z] + tar -C deps -z -x -f - [2022-02-21T10:26:05.178Z] Connecting to github.com (140.82.114.3:443) [2022-02-21T10:26:05.449Z] Connecting to codeload.github.com (140.82.112.10:443) [2022-02-21T10:26:05.721Z] writing to stdout [2022-02-21T10:26:05.721Z] - 100% |********************************| 16451 0:00:00 ETA [2022-02-21T10:26:05.721Z] written to stdout [2022-02-21T10:26:05.721Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2022-02-21T10:26:05.721Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2022-02-21T10:26:05.721Z] + tar -C deps -z -x -f - [2022-02-21T10:26:05.721Z] Connecting to github.com (140.82.114.3:443) [2022-02-21T10:26:05.994Z] Connecting to codeload.github.com (140.82.112.10:443) [2022-02-21T10:26:05.994Z] writing to stdout [2022-02-21T10:26:06.267Z] - 100% |********************************| 189k 0:00:00 ETA [2022-02-21T10:26:06.267Z] written to stdout [2022-02-21T10:26:06.267Z] + mkdir -p src/c/iot [2022-02-21T10:26:06.268Z] + 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 [2022-02-21T10:26:06.268Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2022-02-21T10:26:06.268Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2022-02-21T10:26:06.268Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2022-02-21T10:26:06.268Z] + mkdir -p include/iot [2022-02-21T10:26:06.268Z] + 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 [2022-02-21T10:26:06.268Z] + mkdir -p include/iot/os [2022-02-21T10:26:06.268Z] + 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 [2022-02-21T10:26:06.268Z] + mkdir -p /tmp/sdk/build/release [2022-02-21T10:26:06.268Z] + cd /tmp/sdk/build/release [2022-02-21T10:26:06.268Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2022-02-21T10:26:06.561Z] -- The C compiler identification is GNU 10.3.1 [2022-02-21T10:26:06.561Z] -- Detecting C compiler ABI info [2022-02-21T10:26:06.839Z] -- Detecting C compiler ABI info - done [2022-02-21T10:26:06.839Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-02-21T10:26:06.839Z] -- Detecting C compile features [2022-02-21T10:26:06.839Z] -- Detecting C compile features - done [2022-02-21T10:26:06.839Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-02-21T10:26:07.110Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-02-21T10:26:07.110Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-02-21T10:26:07.110Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-02-21T10:26:07.110Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-02-21T10:26:07.110Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-02-21T10:26:07.110Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-02-21T10:26:07.110Z] -- C SDK 2.2.0-dev.4 for Linux [2022-02-21T10:26:07.110Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-02-21T10:26:07.382Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-02-21T10:26:07.654Z] -- Found Curses: /usr/lib/libcurses.so [2022-02-21T10:26:07.654Z] -- Configuring done [2022-02-21T10:26:07.942Z] -- Generating done [2022-02-21T10:26:07.942Z] -- Build files have been written to: /tmp/sdk/build/release [2022-02-21T10:26:07.942Z] + make all package [2022-02-21T10:26:07.942Z] + tee release.log [2022-02-21T10:26:08.217Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-02-21T10:26:08.814Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-02-21T10:26:09.409Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-02-21T10:26:12.030Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-02-21T10:26:13.017Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-02-21T10:26:13.017Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-02-21T10:26:13.988Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-02-21T10:26:14.581Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-02-21T10:26:14.852Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-02-21T10:26:16.275Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-02-21T10:26:18.889Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-02-21T10:26:18.889Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-02-21T10:26:19.863Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-02-21T10:26:20.457Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-02-21T10:26:21.051Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-02-21T10:26:21.329Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-02-21T10:26:21.603Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-02-21T10:26:24.983Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-02-21T10:26:24.983Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-02-21T10:26:25.574Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-02-21T10:26:25.847Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-02-21T10:26:26.441Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-02-21T10:26:26.715Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-02-21T10:26:26.715Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-02-21T10:26:26.715Z] 275 | const iot_component_factory_t * factory; [2022-02-21T10:26:26.715Z] | ^~~~~~~ [2022-02-21T10:26:27.309Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-02-21T10:26:32.701Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-02-21T10:26:32.701Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-02-21T10:26:32.701Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-02-21T10:26:33.676Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-02-21T10:26:34.271Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-02-21T10:26:34.271Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-02-21T10:26:35.705Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-02-21T10:26:35.978Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-02-21T10:26:36.968Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-02-21T10:26:37.242Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-02-21T10:26:37.839Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-02-21T10:26:40.451Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-02-21T10:26:40.726Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-02-21T10:26:42.161Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-02-21T10:26:42.161Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-02-21T10:26:47.542Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-02-21T10:26:47.542Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-02-21T10:26:48.520Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-02-21T10:26:48.797Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-02-21T10:26:49.069Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-02-21T10:26:49.069Z] /tmp/sdk/src/c/rest-server.c:250:65: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] [2022-02-21T10:26:49.069Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-02-21T10:26:49.069Z] | ^~~~~~~~~~~~~ [2022-02-21T10:26:49.069Z] | | [2022-02-21T10:26:49.069Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-02-21T10:26:49.069Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-21T10:26:49.069Z] /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 *)' [2022-02-21T10:26:49.069Z] 2784 | MHD_KeyValueIterator iterator, [2022-02-21T10:26:49.069Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-02-21T10:26:49.069Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-02-21T10:26:49.069Z] /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-02-21T10:26:49.069Z] 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2022-02-21T10:26:49.069Z] | ^~~~~~~~~~~~ [2022-02-21T10:26:49.069Z] | | [2022-02-21T10:26:49.069Z] | 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 **)} [2022-02-21T10:26:49.069Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-21T10:26:49.069Z] /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 **)'} [2022-02-21T10:26:49.069Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-02-21T10:26:49.069Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-02-21T10:26:49.069Z] /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-02-21T10:26:49.069Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-02-21T10:26:49.069Z] | ^~~~~~~~~~~~ [2022-02-21T10:26:49.069Z] | | [2022-02-21T10:26:49.069Z] | 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 **)} [2022-02-21T10:26:49.069Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-21T10:26:49.069Z] /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 **)'} [2022-02-21T10:26:49.069Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-02-21T10:26:49.069Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-02-21T10:26:50.047Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-02-21T10:26:52.665Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-02-21T10:26:52.665Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-02-21T10:26:53.257Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-02-21T10:26:53.531Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-02-21T10:26:56.137Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-02-21T10:27:00.427Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-02-21T10:27:01.020Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-02-21T10:27:01.613Z] [ 76%] Linking C shared library libcsdk.so [2022-02-21T10:27:01.885Z] [ 76%] Built target csdk [2022-02-21T10:27:01.885Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-02-21T10:27:02.857Z] [ 79%] Linking C executable template [2022-02-21T10:27:03.128Z] [ 79%] Built target template [2022-02-21T10:27:03.128Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-02-21T10:27:03.720Z] [ 82%] Linking C executable device-counter [2022-02-21T10:27:03.993Z] [ 82%] Built target device-counter [2022-02-21T10:27:03.993Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-02-21T10:27:04.584Z] [ 85%] Linking C executable device-random [2022-02-21T10:27:04.856Z] [ 85%] Built target device-random [2022-02-21T10:27:04.856Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-02-21T10:27:05.127Z] [ 88%] Linking C executable device-gyro [2022-02-21T10:27:05.399Z] [ 88%] Built target device-gyro [2022-02-21T10:27:05.670Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-02-21T10:27:05.943Z] [ 91%] Linking C executable device-bitfields [2022-02-21T10:27:06.216Z] [ 91%] Built target device-bitfields [2022-02-21T10:27:06.488Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-02-21T10:27:07.461Z] [ 94%] Linking C executable template-discovery [2022-02-21T10:27:07.461Z] [ 94%] Built target template-discovery [2022-02-21T10:27:07.461Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-02-21T10:27:08.437Z] [ 97%] Linking C executable device-file [2022-02-21T10:27:08.437Z] [ 97%] Built target device-file [2022-02-21T10:27:08.708Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-02-21T10:27:09.299Z] [100%] Linking C executable device-terminal [2022-02-21T10:27:09.572Z] [100%] Built target device-terminal [2022-02-21T10:27:09.572Z] Run CPack packaging tool... [2022-02-21T10:27:09.572Z] CPack: Create package using TGZ [2022-02-21T10:27:09.572Z] CPack: Install projects [2022-02-21T10:27:09.572Z] CPack: - Run preinstall target for: Csdk [2022-02-21T10:27:10.165Z] CPack: - Install project: Csdk [] [2022-02-21T10:27:10.437Z] CPack: Create package [2022-02-21T10:27:10.437Z] CPack: - package: /tmp/sdk/build/release/csdk-2.2.0-dev.4.tar.gz generated. [2022-02-21T10:27:10.437Z] + '[' false '=' true ] [2022-02-21T10:27:10.437Z] + '[' false '=' true ] [2022-02-21T10:27:10.437Z] + mkdir -p /tmp/sdk/build/debug [2022-02-21T10:27:10.437Z] + cd /tmp/sdk/build/debug [2022-02-21T10:27:10.437Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2022-02-21T10:27:10.710Z] -- The C compiler identification is GNU 10.3.1 [2022-02-21T10:27:10.710Z] -- Detecting C compiler ABI info [2022-02-21T10:27:10.981Z] -- Detecting C compiler ABI info - done [2022-02-21T10:27:10.981Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-02-21T10:27:10.981Z] -- Detecting C compile features [2022-02-21T10:27:10.981Z] -- Detecting C compile features - done [2022-02-21T10:27:11.255Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-02-21T10:27:11.255Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-02-21T10:27:11.255Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-02-21T10:27:11.255Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-02-21T10:27:11.255Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-02-21T10:27:11.255Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-02-21T10:27:11.255Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-02-21T10:27:11.255Z] -- C SDK 2.2.0-dev.4 for Linux [2022-02-21T10:27:11.255Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-02-21T10:27:11.527Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-02-21T10:27:11.800Z] -- Found Curses: /usr/lib/libcurses.so [2022-02-21T10:27:11.801Z] -- Configuring done [2022-02-21T10:27:12.072Z] -- Generating done [2022-02-21T10:27:12.072Z] -- Build files have been written to: /tmp/sdk/build/debug [2022-02-21T10:27:12.072Z] + make [2022-02-21T10:27:12.072Z] + tee debug.log [2022-02-21T10:27:12.345Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-02-21T10:27:12.627Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-02-21T10:27:12.900Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-02-21T10:27:13.876Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-02-21T10:27:14.148Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-02-21T10:27:14.148Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-02-21T10:27:14.738Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-02-21T10:27:15.010Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-02-21T10:27:15.280Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-02-21T10:27:15.870Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-02-21T10:27:16.462Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-02-21T10:27:16.732Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-02-21T10:27:17.003Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-02-21T10:27:17.274Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-02-21T10:27:17.869Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-02-21T10:27:17.869Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-02-21T10:27:18.139Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-02-21T10:27:19.111Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-02-21T10:27:19.382Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-02-21T10:27:19.382Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-02-21T10:27:19.652Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-02-21T10:27:19.923Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-02-21T10:27:20.195Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-02-21T10:27:20.195Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-02-21T10:27:20.195Z] 275 | const iot_component_factory_t * factory; [2022-02-21T10:27:20.195Z] | ^~~~~~~ [2022-02-21T10:27:20.467Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-02-21T10:27:21.889Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-02-21T10:27:21.889Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-02-21T10:27:21.889Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-02-21T10:27:22.160Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-02-21T10:27:22.432Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-02-21T10:27:22.704Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-02-21T10:27:22.976Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-02-21T10:27:23.250Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-02-21T10:27:23.845Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-02-21T10:27:23.845Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-02-21T10:27:24.128Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-02-21T10:27:24.720Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-02-21T10:27:24.720Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-02-21T10:27:25.312Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-02-21T10:27:25.582Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-02-21T10:27:27.005Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-02-21T10:27:27.005Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-02-21T10:27:27.597Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-02-21T10:27:27.867Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-02-21T10:27:27.867Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-02-21T10:27:27.867Z] /tmp/sdk/src/c/rest-server.c:250:65: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] [2022-02-21T10:27:27.867Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-02-21T10:27:27.867Z] | ^~~~~~~~~~~~~ [2022-02-21T10:27:27.867Z] | | [2022-02-21T10:27:27.867Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-02-21T10:27:27.867Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-21T10:27:27.867Z] /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 *)' [2022-02-21T10:27:27.867Z] 2784 | MHD_KeyValueIterator iterator, [2022-02-21T10:27:27.867Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-02-21T10:27:27.867Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-02-21T10:27:27.867Z] /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-02-21T10:27:27.867Z] 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2022-02-21T10:27:27.867Z] | ^~~~~~~~~~~~ [2022-02-21T10:27:27.867Z] | | [2022-02-21T10:27:27.867Z] | 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 **)} [2022-02-21T10:27:27.867Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-21T10:27:27.867Z] /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 **)'} [2022-02-21T10:27:27.867Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-02-21T10:27:27.867Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-02-21T10:27:27.867Z] /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-02-21T10:27:27.867Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-02-21T10:27:27.867Z] | ^~~~~~~~~~~~ [2022-02-21T10:27:27.867Z] | | [2022-02-21T10:27:27.867Z] | 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 **)} [2022-02-21T10:27:27.867Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-21T10:27:27.867Z] /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 **)'} [2022-02-21T10:27:27.867Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-02-21T10:27:27.867Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-02-21T10:27:28.139Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-02-21T10:27:29.568Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-02-21T10:27:29.839Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-02-21T10:27:30.110Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-02-21T10:27:30.383Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-02-21T10:27:31.355Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-02-21T10:27:31.947Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-02-21T10:27:32.539Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-02-21T10:27:32.810Z] [ 76%] Linking C shared library libcsdk.so [2022-02-21T10:27:33.082Z] [ 76%] Built target csdk [2022-02-21T10:27:33.082Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-02-21T10:27:33.353Z] [ 79%] Linking C executable template [2022-02-21T10:27:33.623Z] [ 79%] Built target template [2022-02-21T10:27:33.623Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-02-21T10:27:33.896Z] [ 82%] Linking C executable device-counter [2022-02-21T10:27:34.166Z] [ 82%] Built target device-counter [2022-02-21T10:27:34.166Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-02-21T10:27:34.442Z] [ 85%] Linking C executable device-random [2022-02-21T10:27:34.713Z] [ 85%] Built target device-random [2022-02-21T10:27:34.713Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-02-21T10:27:34.985Z] [ 88%] Linking C executable device-gyro [2022-02-21T10:27:35.258Z] [ 88%] Built target device-gyro [2022-02-21T10:27:35.258Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-02-21T10:27:35.530Z] [ 91%] Linking C executable device-bitfields [2022-02-21T10:27:35.802Z] [ 91%] Built target device-bitfields [2022-02-21T10:27:36.073Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-02-21T10:27:36.344Z] [ 94%] Linking C executable template-discovery [2022-02-21T10:27:36.619Z] [ 94%] Built target template-discovery [2022-02-21T10:27:36.619Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-02-21T10:27:36.890Z] [ 97%] Linking C executable device-file [2022-02-21T10:27:37.163Z] [ 97%] Built target device-file [2022-02-21T10:27:37.163Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-02-21T10:27:37.755Z] [100%] Linking C executable device-terminal [2022-02-21T10:27:38.026Z] [100%] Built target device-terminal [2022-02-21T10:27:38.026Z] make: Entering directory '/tmp/sdk/build/release' [2022-02-21T10:27:38.026Z] make[1]: Entering directory '/tmp/sdk/build/release' [2022-02-21T10:27:38.026Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-21T10:27:38.026Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-21T10:27:38.026Z] [ 76%] Built target csdk [2022-02-21T10:27:38.026Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-21T10:27:38.026Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-21T10:27:38.026Z] [ 79%] Built target template [2022-02-21T10:27:38.026Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-21T10:27:38.297Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-21T10:27:38.297Z] [ 82%] Built target device-counter [2022-02-21T10:27:38.297Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-21T10:27:38.297Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-21T10:27:38.297Z] [ 85%] Built target device-random [2022-02-21T10:27:38.297Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-21T10:27:38.297Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-21T10:27:38.297Z] [ 88%] Built target device-gyro [2022-02-21T10:27:38.297Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-21T10:27:38.297Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-21T10:27:38.297Z] [ 91%] Built target device-bitfields [2022-02-21T10:27:38.297Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-21T10:27:38.297Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-21T10:27:38.297Z] [ 94%] Built target template-discovery [2022-02-21T10:27:38.297Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-21T10:27:38.297Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-21T10:27:38.297Z] [ 97%] Built target device-file [2022-02-21T10:27:38.297Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-21T10:27:38.569Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-21T10:27:38.569Z] [100%] Built target device-terminal [2022-02-21T10:27:38.569Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2022-02-21T10:27:38.569Z] Install the project... [2022-02-21T10:27:38.569Z] -- Install configuration: "Release" [2022-02-21T10:27:38.569Z] -- Installing: /usr/local/lib/libcsdk.so [2022-02-21T10:27:38.569Z] -- Installing: /usr/local/include [2022-02-21T10:27:38.569Z] -- Installing: /usr/local/include/edgex [2022-02-21T10:27:38.569Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2022-02-21T10:27:38.569Z] -- Installing: /usr/local/include/edgex/devices.h [2022-02-21T10:27:38.569Z] -- Installing: /usr/local/include/edgex/rest-server.h [2022-02-21T10:27:38.569Z] -- Installing: /usr/local/include/edgex/profiles.h [2022-02-21T10:27:38.569Z] -- Installing: /usr/local/include/edgex/edgex.h [2022-02-21T10:27:38.569Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2022-02-21T10:27:38.569Z] -- Installing: /usr/local/include/devsdk [2022-02-21T10:27:38.569Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2022-02-21T10:27:38.570Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2022-02-21T10:27:38.570Z] -- Installing: /usr/local/include/iot [2022-02-21T10:27:38.570Z] -- Installing: /usr/local/include/iot/data.h [2022-02-21T10:27:38.570Z] -- Installing: /usr/local/include/iot/config.h [2022-02-21T10:27:38.570Z] -- Installing: /usr/local/include/iot/container.h [2022-02-21T10:27:38.570Z] -- Installing: /usr/local/include/iot/typecode.h [2022-02-21T10:27:38.570Z] -- Installing: /usr/local/include/iot/thread.h [2022-02-21T10:27:38.570Z] -- Installing: /usr/local/include/iot/hash.h [2022-02-21T10:27:38.570Z] -- Installing: /usr/local/include/iot/iot.h [2022-02-21T10:27:38.570Z] -- Installing: /usr/local/include/iot/defs.h [2022-02-21T10:27:38.570Z] -- Installing: /usr/local/include/iot/uuid.h [2022-02-21T10:27:38.570Z] -- Installing: /usr/local/include/iot/component.h [2022-02-21T10:27:38.570Z] -- Installing: /usr/local/include/iot/threadpool.h [2022-02-21T10:27:38.570Z] -- Installing: /usr/local/include/iot/time.h [2022-02-21T10:27:38.570Z] -- Installing: /usr/local/include/iot/logger.h [2022-02-21T10:27:38.570Z] -- Installing: /usr/local/include/iot/os [2022-02-21T10:27:38.570Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2022-02-21T10:27:38.570Z] -- Installing: /usr/local/include/iot/os/macos.h [2022-02-21T10:27:38.570Z] -- Installing: /usr/local/include/iot/os/linux.h [2022-02-21T10:27:38.570Z] -- Installing: /usr/local/include/iot/json.h [2022-02-21T10:27:38.570Z] -- Installing: /usr/local/include/iot/scheduler.h [2022-02-21T10:27:38.570Z] -- Installing: /usr/local/include/iot/base64.h [2022-02-21T10:27:38.570Z] -- Installing: /usr/local/include/iot/os.h [2022-02-21T10:27:38.570Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2022-02-21T10:27:38.570Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2022-02-21T10:27:38.570Z] make: Leaving directory '/tmp/sdk/build/release' [2022-02-21T10:27:40.542Z] Removing intermediate container ff49c657f9b9 [2022-02-21T10:27:40.542Z] ---> b84db55d0435 [2022-02-21T10:27:40.542Z] Step 14/22 : FROM ${BASE} [2022-02-21T10:27:40.542Z] ---> 0af3d9908a83 [2022-02-21T10:27:40.542Z] Step 15/22 : LABEL maintainer="IOTech " [2022-02-21T10:27:40.542Z] ---> Running in d3888f30bcaa [2022-02-21T10:27:40.815Z] Removing intermediate container d3888f30bcaa [2022-02-21T10:27:40.815Z] ---> ebb064b3cbd2 [2022-02-21T10:27:40.815Z] 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 [2022-02-21T10:27:40.815Z] ---> Running in 6a016e6e9315 [2022-02-21T10:27:41.802Z] Connecting to iotech.jfrog.io (54.72.115.12:443) [2022-02-21T10:27:42.394Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-02-21T10:27:42.394Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-02-21T10:27:42.394Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-02-21T10:27:42.992Z] Removing intermediate container 6a016e6e9315 [2022-02-21T10:27:42.992Z] ---> d1e49c211a63 [2022-02-21T10:27:42.992Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-02-21T10:27:43.266Z] ---> Running in a275cb9a5427 [2022-02-21T10:27:44.703Z] Removing intermediate container a275cb9a5427 [2022-02-21T10:27:44.703Z] ---> 2b730195a283 [2022-02-21T10:27:44.703Z] 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 [2022-02-21T10:27:44.978Z] ---> Running in 105fbfe752d4 [2022-02-21T10:27:45.976Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-02-21T10:27:46.951Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-02-21T10:27:47.226Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-02-21T10:27:48.201Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-02-21T10:27:48.201Z] (1/6) Installing curl (7.80.0-r0) [2022-02-21T10:27:48.201Z] (2/6) Installing hiredis (1.0.2-r0) [2022-02-21T10:27:48.201Z] (3/6) Installing hiredis-dev (1.0.2-r0) [2022-02-21T10:27:48.201Z] (4/6) Installing libcbor (0.8.0-r0) [2022-02-21T10:27:48.473Z] (5/6) Installing libuuid (2.37.4-r0) [2022-02-21T10:27:48.473Z] (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2022-02-21T10:27:49.447Z] Executing busybox-1.34.1-r3.trigger [2022-02-21T10:27:49.447Z] OK: 278 MiB in 83 packages [2022-02-21T10:27:50.426Z] Removing intermediate container 105fbfe752d4 [2022-02-21T10:27:50.426Z] ---> 05faae5c263c [2022-02-21T10:27:50.426Z] Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2022-02-21T10:27:51.409Z] ---> d08213f28478 [2022-02-21T10:27:51.409Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2022-02-21T10:27:51.683Z] ---> 56c6aef15a91 [2022-02-21T10:27:51.683Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2022-02-21T10:27:52.279Z] ---> c48917fe527a [2022-02-21T10:27:52.279Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2022-02-21T10:27:53.255Z] ---> e0870c4f71bd [2022-02-21T10:27:53.255Z] Successfully built e0870c4f71bd [2022-02-21T10:27:53.255Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-21T10:27:53.654Z] + docker inspect -f . ci-base-image-arm64 [2022-02-21T10:27:53.654Z] . [Pipeline] withDockerContainer [2022-02-21T10:27:53.861Z] prd-ubuntu18.04-docker-arm64-4c-16g-5783 does not seem to be running inside a container [2022-02-21T10:27:53.950Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/19 -v /w/workspace/device-sdk-c/19:/w/workspace/device-sdk-c/19:rw,z -v /w/workspace/device-sdk-c/19@tmp:/w/workspace/device-sdk-c/19@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 ******** ci-base-image-arm64 cat [2022-02-21T10:27:55.241Z] $ docker top 4dddcfe1ed9faae9871dcd697e3f292e36d623cd9ca1db3a9d8442f8657663d9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-21T10:27:56.117Z] + make test [2022-02-21T10:27:56.117Z] echo "make test" [2022-02-21T10:27:56.117Z] make test [Pipeline] } [2022-02-21T10:27:56.150Z] $ docker stop --time=1 4dddcfe1ed9faae9871dcd697e3f292e36d623cd9ca1db3a9d8442f8657663d9 [2022-02-21T10:27:57.771Z] $ docker rm -f 4dddcfe1ed9faae9871dcd697e3f292e36d623cd9ca1db3a9d8442f8657663d9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-21T10:27:58.378Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-02-21T10:27:58.717Z] + ls -al . [2022-02-21T10:27:58.718Z] total 204 [2022-02-21T10:27:58.718Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 21 10:25 . [2022-02-21T10:27:58.718Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 21 10:25 .. [2022-02-21T10:27:58.718Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 21 10:25 .git [2022-02-21T10:27:58.718Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 21 10:25 .github [2022-02-21T10:27:58.718Z] -rw-rw-r-- 1 jenkins jenkins 176 Feb 21 10:25 .gitignore [2022-02-21T10:27:58.718Z] -rw-rw-r-- 1 jenkins jenkins 3104 Feb 21 10:25 Attribution.txt [2022-02-21T10:27:58.718Z] -rw-rw-r-- 1 jenkins jenkins 8222 Feb 21 10:25 CHANGES [2022-02-21T10:27:58.718Z] -rw-rw-r-- 1 jenkins jenkins 108574 Feb 21 10:25 Doxyfile [2022-02-21T10:27:58.718Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 21 10:25 GOVERNANCE.md [2022-02-21T10:27:58.718Z] -rw-rw-r-- 1 jenkins jenkins 784 Feb 21 10:25 Jenkinsfile [2022-02-21T10:27:58.718Z] -rw-rw-r-- 1 jenkins jenkins 10174 Feb 21 10:25 LICENSE [2022-02-21T10:27:58.718Z] -rw-rw-r-- 1 jenkins jenkins 444 Feb 21 10:25 Makefile [2022-02-21T10:27:58.718Z] -rw-rw-r-- 1 jenkins jenkins 618 Feb 21 10:25 OWNERS.md [2022-02-21T10:27:58.718Z] -rw-rw-r-- 1 jenkins jenkins 4086 Feb 21 10:25 README.md [2022-02-21T10:27:58.718Z] -rw-rw-r-- 1 jenkins jenkins 7422 Feb 21 10:25 README.v2.md [2022-02-21T10:27:58.718Z] -rw-rw-r-- 1 jenkins jenkins 11 Feb 21 10:23 VERSION [2022-02-21T10:27:58.718Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 21 10:25 docs [2022-02-21T10:27:58.718Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 21 10:25 include [2022-02-21T10:27:58.718Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 21 10:25 scripts [2022-02-21T10:27:58.718Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 21 10:25 src [Pipeline] isUnix [Pipeline] sh [2022-02-21T10:27:59.063Z] + 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=48c08245ad9168b435c5e70f99b42d590e34b603 --label arch=arm64 --label version=2.2.0-dev.4 . [2022-02-21T10:27:59.334Z] Sending build context to Docker daemon 2.725MB [2022-02-21T10:27:59.334Z] Step 1/17 : ARG BASE=alpine:3.15 [2022-02-21T10:27:59.334Z] Step 2/17 : FROM ${BASE} [2022-02-21T10:27:59.334Z] ---> e0870c4f71bd [2022-02-21T10:27:59.334Z] Step 3/17 : LABEL maintainer="IOTech " [2022-02-21T10:27:59.607Z] ---> Running in 0c8a72cf0d17 [2022-02-21T10:27:59.878Z] Removing intermediate container 0c8a72cf0d17 [2022-02-21T10:27:59.878Z] ---> 3a82685d7050 [2022-02-21T10:27:59.878Z] 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 [2022-02-21T10:28:00.152Z] ---> Running in 5d99001153e0 [2022-02-21T10:28:01.131Z] Connecting to iotech.jfrog.io (34.243.182.113:443) [2022-02-21T10:28:01.404Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-02-21T10:28:01.404Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-02-21T10:28:01.404Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-02-21T10:28:02.385Z] Removing intermediate container 5d99001153e0 [2022-02-21T10:28:02.385Z] ---> cedc7d2c2623 [2022-02-21T10:28:02.385Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-02-21T10:28:02.385Z] ---> Running in f4efa1a259af [2022-02-21T10:28:04.361Z] Removing intermediate container f4efa1a259af [2022-02-21T10:28:04.361Z] ---> d12914b84fde [2022-02-21T10:28:04.361Z] 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 [2022-02-21T10:28:04.361Z] ---> Running in 6a4dbca93d87 [2022-02-21T10:28:05.336Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-02-21T10:28:05.929Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-02-21T10:28:06.524Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-02-21T10:28:07.501Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-02-21T10:28:07.501Z] (1/26) Installing libcbor-dev (0.8.0-r0) [2022-02-21T10:28:07.501Z] (2/26) Installing ncurses-dev (6.3_p20211120-r0) [2022-02-21T10:28:07.501Z] (3/26) Installing util-linux (2.37.4-r0) [2022-02-21T10:28:07.501Z] (4/26) Installing libblkid (2.37.4-r0) [2022-02-21T10:28:07.773Z] (5/26) Installing libeconf (0.4.2-r0) [2022-02-21T10:28:07.773Z] (6/26) Installing libfdisk (2.37.4-r0) [2022-02-21T10:28:08.045Z] (7/26) Installing libmount (2.37.4-r0) [2022-02-21T10:28:08.045Z] (8/26) Installing libsmartcols (2.37.4-r0) [2022-02-21T10:28:08.045Z] (9/26) Installing util-linux-misc (2.37.4-r0) [2022-02-21T10:28:08.637Z] (10/26) Installing linux-pam (1.5.2-r0) [2022-02-21T10:28:08.637Z] (11/26) Installing runuser (2.37.4-r0) [2022-02-21T10:28:08.637Z] (12/26) Installing hexdump (2.37.4-r0) [2022-02-21T10:28:08.908Z] (13/26) Installing uuidgen (2.37.4-r0) [2022-02-21T10:28:08.908Z] (14/26) Installing blkid (2.37.4-r0) [2022-02-21T10:28:08.908Z] (15/26) Installing sfdisk (2.37.4-r0) [2022-02-21T10:28:09.179Z] (16/26) Installing mcookie (2.37.4-r0) [2022-02-21T10:28:09.179Z] (17/26) Installing wipefs (2.37.4-r0) [2022-02-21T10:28:09.179Z] (18/26) Installing cfdisk (2.37.4-r0) [2022-02-21T10:28:09.179Z] (19/26) Installing flock (2.37.4-r0) [2022-02-21T10:28:09.450Z] (20/26) Installing lsblk (2.37.4-r0) [2022-02-21T10:28:09.450Z] (21/26) Installing libcap-ng (0.8.2-r1) [2022-02-21T10:28:09.450Z] (22/26) Installing setpriv (2.37.4-r0) [2022-02-21T10:28:09.722Z] (23/26) Installing logger (2.37.4-r0) [2022-02-21T10:28:09.722Z] (24/26) Installing partx (2.37.4-r0) [2022-02-21T10:28:09.722Z] (25/26) Installing findmnt (2.37.4-r0) [2022-02-21T10:28:09.993Z] (26/26) Installing util-linux-dev (2.37.4-r0) [2022-02-21T10:28:09.993Z] Executing busybox-1.34.1-r3.trigger [2022-02-21T10:28:10.267Z] OK: 290 MiB in 109 packages [2022-02-21T10:28:11.705Z] Removing intermediate container 6a4dbca93d87 [2022-02-21T10:28:11.705Z] ---> 1bb0530e469e [2022-02-21T10:28:11.705Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2022-02-21T10:28:12.298Z] ---> b4999a6d6c22 [2022-02-21T10:28:12.298Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2022-02-21T10:28:13.276Z] ---> fdcfcb602cef [2022-02-21T10:28:13.276Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2022-02-21T10:28:13.551Z] ---> 07ece918a7ea [2022-02-21T10:28:13.552Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2022-02-21T10:28:14.151Z] ---> 9b4b45113916 [2022-02-21T10:28:14.151Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2022-02-21T10:28:15.121Z] ---> 96d2ccf5cf8f [2022-02-21T10:28:15.121Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2022-02-21T10:28:15.392Z] ---> d41876f1014b [2022-02-21T10:28:15.392Z] Step 13/17 : WORKDIR /edgex-c-sdk [2022-02-21T10:28:15.664Z] ---> Running in 2e107744d18c [2022-02-21T10:28:15.935Z] Removing intermediate container 2e107744d18c [2022-02-21T10:28:15.935Z] ---> d30a43b92c36 [2022-02-21T10:28:15.935Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2022-02-21T10:28:15.935Z] ---> Running in b149155e4c4b [2022-02-21T10:28:16.531Z] Removing intermediate container b149155e4c4b [2022-02-21T10:28:16.531Z] ---> d5b60fb36088 [2022-02-21T10:28:16.531Z] Step 15/17 : LABEL arch=arm64 [2022-02-21T10:28:16.531Z] ---> Running in e7b35409a4eb [2022-02-21T10:28:16.806Z] Removing intermediate container e7b35409a4eb [2022-02-21T10:28:16.806Z] ---> 448930445396 [2022-02-21T10:28:16.806Z] Step 16/17 : LABEL git_sha=48c08245ad9168b435c5e70f99b42d590e34b603 [2022-02-21T10:28:16.806Z] ---> Running in cf626b50cdc6 [2022-02-21T10:28:17.406Z] Removing intermediate container cf626b50cdc6 [2022-02-21T10:28:17.406Z] ---> 89132323f13b [2022-02-21T10:28:17.406Z] Step 17/17 : LABEL version=2.2.0-dev.4 [2022-02-21T10:28:17.406Z] ---> Running in 84ba950e3f88 [2022-02-21T10:28:17.678Z] Removing intermediate container 84ba950e3f88 [2022-02-21T10:28:17.678Z] ---> 07ee68e82562 [2022-02-21T10:28:17.678Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2022-02-21T10:28:17.678Z] Successfully built 07ee68e82562 [2022-02-21T10:28:17.678Z] 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 [2022-02-21T10:28:18.122Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-21T10:28:18.122Z] [2022-02-21T10:28:18.122Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-02-21T10:28:18.477Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-21T10:28:18.750Z] arm64: Pulling from edgex-lftools-log-publisher [2022-02-21T10:28:18.750Z] 448f6bf000e3: Pulling fs layer [2022-02-21T10:28:18.750Z] f757da607395: Pulling fs layer [2022-02-21T10:28:18.750Z] 05883995daec: Pulling fs layer [2022-02-21T10:28:18.750Z] 8603b9c90790: Pulling fs layer [2022-02-21T10:28:18.750Z] 1560dd03e051: Pulling fs layer [2022-02-21T10:28:18.750Z] 27f5ce0e4adf: Pulling fs layer [2022-02-21T10:28:18.750Z] c2d8d7efcc4b: Pulling fs layer [2022-02-21T10:28:18.750Z] 8603b9c90790: Waiting [2022-02-21T10:28:18.750Z] 1560dd03e051: Waiting [2022-02-21T10:28:18.750Z] 27f5ce0e4adf: Waiting [2022-02-21T10:28:18.750Z] c2d8d7efcc4b: Waiting [2022-02-21T10:28:18.750Z] f757da607395: Verifying Checksum [2022-02-21T10:28:18.750Z] f757da607395: Download complete [2022-02-21T10:28:18.750Z] 8603b9c90790: Verifying Checksum [2022-02-21T10:28:18.750Z] 8603b9c90790: Download complete [2022-02-21T10:28:19.025Z] 1560dd03e051: Verifying Checksum [2022-02-21T10:28:19.025Z] 1560dd03e051: Download complete [2022-02-21T10:28:19.025Z] 27f5ce0e4adf: Verifying Checksum [2022-02-21T10:28:19.025Z] 27f5ce0e4adf: Download complete [2022-02-21T10:28:19.025Z] 05883995daec: Verifying Checksum [2022-02-21T10:28:19.025Z] 05883995daec: Download complete [2022-02-21T10:28:19.298Z] 448f6bf000e3: Verifying Checksum [2022-02-21T10:28:19.298Z] 448f6bf000e3: Download complete [2022-02-21T10:28:21.932Z] c2d8d7efcc4b: Verifying Checksum [2022-02-21T10:28:21.932Z] c2d8d7efcc4b: Download complete [2022-02-21T10:28:22.911Z] 448f6bf000e3: Pull complete [2022-02-21T10:28:23.506Z] f757da607395: Pull complete [2022-02-21T10:28:24.938Z] 05883995daec: Pull complete [2022-02-21T10:28:25.209Z] 8603b9c90790: Pull complete [2022-02-21T10:28:26.188Z] 1560dd03e051: Pull complete [2022-02-21T10:28:26.463Z] 27f5ce0e4adf: Pull complete [2022-02-21T10:28:41.547Z] c2d8d7efcc4b: Pull complete [2022-02-21T10:28:41.547Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-02-21T10:28:41.547Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-21T10:28:41.547Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-02-21T10:28:41.752Z] prd-ubuntu18.04-docker-arm64-4c-16g-5783 does not seem to be running inside a container [2022-02-21T10:28:41.839Z] $ 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/19 -v /w/workspace/device-sdk-c/19:/w/workspace/device-sdk-c/19:rw,z -v /w/workspace/device-sdk-c/19@tmp:/w/workspace/device-sdk-c/19@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:10003/edgex-lftools-log-publisher:arm64 cat [2022-02-21T10:28:44.447Z] $ docker top 28d93fa58b01642611946f6dd585a424efda5662745bf91a1fce4bc3356d03ab -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-21T10:28:45.344Z] ---> job-cost.sh [2022-02-21T10:28:45.344Z] lf-activate-venv: SKIPPING [2022-02-21T10:28:45.344Z] INFO: No Stack... [2022-02-21T10:28:45.616Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-02-21T10:28:46.210Z] INFO: Archiving Costs [Pipeline] sh [2022-02-21T10:28:46.874Z] + + catcut /w/workspace/device-sdk-c/19/archives/cost.csv -d, [2022-02-21T10:28:46.874Z] -f6 [Pipeline] lock [2022-02-21T10:28:46.982Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-19-stack-cost] [2022-02-21T10:28:46.990Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-19-stack-cost] did not exist. Created. [2022-02-21T10:28:46.990Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-19-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-02-21T10:28:47.771Z] /w/workspace/device-sdk-c/19@tmp/durable-f48ae543/script.sh: 1: /w/workspace/device-sdk-c/19@tmp/durable-f48ae543/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-02-21T10:28:48.457Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-02-21T10:28:48.486Z] Warning: overwriting stash ‘stack-cost’ [2022-02-21T10:28:49.083Z] Stashed 1 file(s) [Pipeline] } [2022-02-21T10:28:49.089Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-19-stack-cost] [Pipeline] // lock [Pipeline] } [2022-02-21T10:28:49.117Z] $ docker stop --time=1 28d93fa58b01642611946f6dd585a424efda5662745bf91a1fce4bc3356d03ab [2022-02-21T10:28:50.616Z] $ docker rm -f 28d93fa58b01642611946f6dd585a424efda5662745bf91a1fce4bc3356d03ab [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] sh [2022-02-21T10:28:51.298Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-02-21T10:28:51.298Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-02-21T10:28:51.781Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-21T10:28:51.781Z] . [Pipeline] withDockerContainer [2022-02-21T10:28:51.951Z] prd-centos7-docker-4c-2g-5782 does not seem to be running inside a container [2022-02-21T10:28:51.986Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-02-21T10:28:52.339Z] $ docker top 53463d1e114b815ebf61a6f27c2de6656d74b77397e0f66dbfcf4e4f070c4244 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-02-21T10:28:52.427Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-02-21T10:28:52.427Z] [ssh-agent] Looking for ssh-agent implementation... [2022-02-21T10:28:52.526Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-02-21T10:28:52.528Z] $ docker exec 53463d1e114b815ebf61a6f27c2de6656d74b77397e0f66dbfcf4e4f070c4244 ssh-agent [2022-02-21T10:28:52.623Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJLpHEd/agent.14 [2022-02-21T10:28:52.623Z] SSH_AGENT_PID=21 [2022-02-21T10:28:52.628Z] Running ssh-add (command line suppressed) [2022-02-21T10:28:52.714Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_4410044162864773006.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_4410044162864773006.key) [2022-02-21T10:28:52.727Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-02-21T10:28:53.023Z] + git semver tag [2022-02-21T10:28:53.023Z] # -> Open(): unable to determine branch for HEAD [2022-02-21T10:28:53.023Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.git [2022-02-21T10:28:53.023Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_main [2022-02-21T10:28:53.023Z] # $SEMVER_REMOTE_NAME = origin [2022-02-21T10:28:53.023Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-02-21T10:28:53.023Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-02-21T10:28:53.023Z] # $SEMVER_BRANCH = main [2022-02-21T10:28:53.023Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.semver [2022-02-21T10:28:53.023Z] # 48c08245ad9168b435c5e70f99b42d590e34b603 HEAD [2022-02-21T10:28:53.023Z] # -> Force: false [2022-02-21T10:28:53.023Z] # b2d2b2badcc8a6f7ea9be22cdf01bdb85e63f107 refs/tags/v2.2.0-dev.4 [Pipeline] } [2022-02-21T10:28:53.034Z] $ docker exec --env ******** --env ******** 53463d1e114b815ebf61a6f27c2de6656d74b77397e0f66dbfcf4e4f070c4244 ssh-agent -k [2022-02-21T10:28:53.130Z] unset SSH_AUTH_SOCK; [2022-02-21T10:28:53.131Z] unset SSH_AGENT_PID; [2022-02-21T10:28:53.131Z] echo Agent pid 21 killed; [2022-02-21T10:28:53.143Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-02-21T10:28:53.456Z] + git semver [Pipeline] } [2022-02-21T10:28:53.469Z] $ docker stop --time=1 53463d1e114b815ebf61a6f27c2de6656d74b77397e0f66dbfcf4e4f070c4244 [2022-02-21T10:28:54.655Z] $ docker rm -f 53463d1e114b815ebf61a6f27c2de6656d74b77397e0f66dbfcf4e4f070c4244 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-02-21T10:28:55.055Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-02-21T10:28:55.055Z] [2022-02-21T10:28:55.055Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-02-21T10:28:55.352Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-02-21T10:28:55.352Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-02-21T10:28:55.352Z] ab5ef0e58194: Pulling fs layer [2022-02-21T10:28:55.352Z] 9712f1f96733: Pulling fs layer [2022-02-21T10:28:55.352Z] 63f879dbbcfc: Pulling fs layer [2022-02-21T10:28:55.352Z] 0d9ebad4ef96: Pulling fs layer [2022-02-21T10:28:55.352Z] e9a5061849ea: Pulling fs layer [2022-02-21T10:28:55.352Z] d747dcd14b5f: Pulling fs layer [2022-02-21T10:28:55.352Z] 2de7ff778b66: Pulling fs layer [2022-02-21T10:28:55.352Z] e9a5061849ea: Waiting [2022-02-21T10:28:55.352Z] d747dcd14b5f: Waiting [2022-02-21T10:28:55.352Z] 2de7ff778b66: Waiting [2022-02-21T10:28:55.352Z] 0d9ebad4ef96: Waiting [2022-02-21T10:28:55.352Z] 9712f1f96733: Verifying Checksum [2022-02-21T10:28:55.352Z] 9712f1f96733: Download complete [2022-02-21T10:28:55.935Z] ab5ef0e58194: Verifying Checksum [2022-02-21T10:28:55.935Z] ab5ef0e58194: Download complete [2022-02-21T10:28:55.935Z] 63f879dbbcfc: Verifying Checksum [2022-02-21T10:28:55.935Z] 63f879dbbcfc: Download complete [2022-02-21T10:28:55.935Z] 0d9ebad4ef96: Verifying Checksum [2022-02-21T10:28:55.935Z] 0d9ebad4ef96: Download complete [2022-02-21T10:28:55.935Z] d747dcd14b5f: Verifying Checksum [2022-02-21T10:28:55.935Z] d747dcd14b5f: Download complete [2022-02-21T10:28:55.935Z] e9a5061849ea: Verifying Checksum [2022-02-21T10:28:55.935Z] e9a5061849ea: Download complete [2022-02-21T10:28:55.935Z] 2de7ff778b66: Verifying Checksum [2022-02-21T10:28:55.935Z] 2de7ff778b66: Download complete [2022-02-21T10:28:58.490Z] ab5ef0e58194: Pull complete [2022-02-21T10:28:58.490Z] 9712f1f96733: Pull complete [2022-02-21T10:28:59.451Z] 63f879dbbcfc: Pull complete [2022-02-21T10:29:03.673Z] 0d9ebad4ef96: Pull complete [2022-02-21T10:29:03.673Z] e9a5061849ea: Pull complete [2022-02-21T10:29:03.673Z] d747dcd14b5f: Pull complete [2022-02-21T10:29:04.622Z] 2de7ff778b66: Pull complete [2022-02-21T10:29:04.882Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-02-21T10:29:04.883Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-02-21T10:29:04.883Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-02-21T10:29:04.952Z] prd-centos7-docker-4c-2g-5782 does not seem to be running inside a container [2022-02-21T10:29:04.992Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-02-21T10:29:07.933Z] $ docker top f67296759b0ea42a403c8ec5de4ba12657dfef03f82e8486f207797d72601341 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-02-21T10:29:08.024Z] provisioning config files... [2022-02-21T10:29:08.034Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config8366448966494794595tmp [2022-02-21T10:29:08.044Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config7774650159296742671tmp [2022-02-21T10:29:08.053Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config7507755249920526835tmp [Pipeline] { [Pipeline] echo [2022-02-21T10:29:08.069Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-21T10:29:08.353Z] ---> sigul-configuration.sh [2022-02-21T10:29:08.353Z] gpg: directory `/root/.gnupg' created [2022-02-21T10:29:08.353Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-02-21T10:29:08.353Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-02-21T10:29:08.353Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-02-21T10:29:08.353Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-02-21T10:29:08.353Z] gpg: CAST5 encrypted data [2022-02-21T10:29:08.353Z] gpg: encrypted with 1 passphrase [2022-02-21T10:29:08.353Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-02-21T10:29:08.645Z] + mkdir /home/jenkins [2022-02-21T10:29:08.645Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-02-21T10:29:08.943Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2022-02-21T10:29:08.955Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-21T10:29:09.248Z] ---> sigul-install.sh [2022-02-21T10:29:09.248Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-02-21T10:29:09.558Z] + git tag --list [2022-02-21T10:29:09.558Z] 0.7.0 [2022-02-21T10:29:09.558Z] 0.7.1 [2022-02-21T10:29:09.558Z] 1.0.0 [2022-02-21T10:29:09.558Z] v1.0.1 [2022-02-21T10:29:09.558Z] v1.0.2 [2022-02-21T10:29:09.558Z] v1.0.3 [2022-02-21T10:29:09.558Z] v1.1.0 [2022-02-21T10:29:09.558Z] v1.1.1 [2022-02-21T10:29:09.558Z] v1.2.0 [2022-02-21T10:29:09.558Z] v1.2.1 [2022-02-21T10:29:09.558Z] v1.2.2 [2022-02-21T10:29:09.558Z] v1.3.0 [2022-02-21T10:29:09.558Z] v1.3.1 [2022-02-21T10:29:09.558Z] v2.0.0 [2022-02-21T10:29:09.558Z] v2.0.1-dev.1 [2022-02-21T10:29:09.558Z] v2.0.1-dev.10 [2022-02-21T10:29:09.558Z] v2.0.1-dev.11 [2022-02-21T10:29:09.558Z] v2.0.1-dev.12 [2022-02-21T10:29:09.558Z] v2.0.1-dev.13 [2022-02-21T10:29:09.558Z] v2.0.1-dev.2 [2022-02-21T10:29:09.558Z] v2.0.1-dev.3 [2022-02-21T10:29:09.558Z] v2.0.1-dev.4 [2022-02-21T10:29:09.558Z] v2.0.1-dev.5 [2022-02-21T10:29:09.558Z] v2.0.1-dev.6 [2022-02-21T10:29:09.558Z] v2.0.1-dev.7 [2022-02-21T10:29:09.558Z] v2.0.1-dev.8 [2022-02-21T10:29:09.558Z] v2.0.1-dev.9 [2022-02-21T10:29:09.558Z] v2.1.0 [2022-02-21T10:29:09.558Z] v2.2.0-dev.1 [2022-02-21T10:29:09.558Z] v2.2.0-dev.2 [2022-02-21T10:29:09.558Z] v2.2.0-dev.3 [2022-02-21T10:29:09.558Z] v2.2.0-dev.4 [Pipeline] sh [2022-02-21T10:29:09.850Z] + lftools sign git-tag v2.2.0-dev.4 [2022-02-21T10:29:10.421Z] Signing Git tag with Sigul... [2022-02-21T10:29:10.421Z] Signing v2.2.0-dev.4 [Pipeline] echo [2022-02-21T10:29:10.692Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-21T10:29:10.980Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-02-21T10:29:10.988Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-02-21T10:29:11.012Z] $ docker stop --time=1 f67296759b0ea42a403c8ec5de4ba12657dfef03f82e8486f207797d72601341 [2022-02-21T10:29:12.212Z] $ docker rm -f f67296759b0ea42a403c8ec5de4ba12657dfef03f82e8486f207797d72601341 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-02-21T10:29:12.620Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-02-21T10:29:12.620Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-02-21T10:29:12.922Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-21T10:29:12.922Z] . [Pipeline] withDockerContainer [2022-02-21T10:29:12.986Z] prd-centos7-docker-4c-2g-5782 does not seem to be running inside a container [2022-02-21T10:29:13.017Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-02-21T10:29:13.350Z] $ docker top a5c7ee5271e1c9e495d9bfe415b930251788320829be7dcaee77ccc19fa1e231 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-02-21T10:29:13.442Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-02-21T10:29:13.442Z] [ssh-agent] Looking for ssh-agent implementation... [2022-02-21T10:29:13.541Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-02-21T10:29:13.543Z] $ docker exec a5c7ee5271e1c9e495d9bfe415b930251788320829be7dcaee77ccc19fa1e231 ssh-agent [2022-02-21T10:29:13.632Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBjkoll/agent.15 [2022-02-21T10:29:13.632Z] SSH_AGENT_PID=21 [2022-02-21T10:29:13.637Z] Running ssh-add (command line suppressed) [2022-02-21T10:29:13.728Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_8037052477467628820.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_8037052477467628820.key) [2022-02-21T10:29:13.738Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-02-21T10:29:14.037Z] + git semver bump pre [2022-02-21T10:29:14.037Z] # -> Open(): unable to determine branch for HEAD [2022-02-21T10:29:14.037Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.git [2022-02-21T10:29:14.037Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_main [2022-02-21T10:29:14.037Z] # $SEMVER_REMOTE_NAME = origin [2022-02-21T10:29:14.037Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-02-21T10:29:14.037Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-02-21T10:29:14.037Z] # $SEMVER_BRANCH = main [2022-02-21T10:29:14.037Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.semver [2022-02-21T10:29:14.037Z] 2.2.0-dev.5 [Pipeline] } [2022-02-21T10:29:14.047Z] $ docker exec --env ******** --env ******** a5c7ee5271e1c9e495d9bfe415b930251788320829be7dcaee77ccc19fa1e231 ssh-agent -k [2022-02-21T10:29:14.135Z] unset SSH_AUTH_SOCK; [2022-02-21T10:29:14.135Z] unset SSH_AGENT_PID; [2022-02-21T10:29:14.135Z] echo Agent pid 21 killed; [2022-02-21T10:29:14.146Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-02-21T10:29:14.460Z] + git semver [Pipeline] } [2022-02-21T10:29:14.473Z] $ docker stop --time=1 a5c7ee5271e1c9e495d9bfe415b930251788320829be7dcaee77ccc19fa1e231 [2022-02-21T10:29:15.664Z] $ docker rm -f a5c7ee5271e1c9e495d9bfe415b930251788320829be7dcaee77ccc19fa1e231 [Pipeline] // withDockerContainer [Pipeline] sh [2022-02-21T10:29:16.015Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-02-21T10:29:16.015Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-02-21T10:29:16.315Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-21T10:29:16.315Z] . [Pipeline] withDockerContainer [2022-02-21T10:29:16.381Z] prd-centos7-docker-4c-2g-5782 does not seem to be running inside a container [2022-02-21T10:29:16.419Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-02-21T10:29:16.762Z] $ docker top 0db53a19e4389f53823122299ee1ab9577327abd8696216f5505e5e6cdf6f0a2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-02-21T10:29:16.860Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-02-21T10:29:16.860Z] [ssh-agent] Looking for ssh-agent implementation... [2022-02-21T10:29:16.961Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-02-21T10:29:16.963Z] $ docker exec 0db53a19e4389f53823122299ee1ab9577327abd8696216f5505e5e6cdf6f0a2 ssh-agent [2022-02-21T10:29:17.061Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXiPAmiH/agent.14 [2022-02-21T10:29:17.061Z] SSH_AGENT_PID=20 [2022-02-21T10:29:17.066Z] Running ssh-add (command line suppressed) [2022-02-21T10:29:17.163Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_1153072830816741403.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_1153072830816741403.key) [2022-02-21T10:29:17.174Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-02-21T10:29:17.473Z] + git semver push [2022-02-21T10:29:17.473Z] # -> Open(): unable to determine branch for HEAD [2022-02-21T10:29:17.473Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.git [2022-02-21T10:29:17.473Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_main [2022-02-21T10:29:17.473Z] # $SEMVER_REMOTE_NAME = origin [2022-02-21T10:29:17.473Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-02-21T10:29:17.473Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-02-21T10:29:17.473Z] # $SEMVER_BRANCH = main [2022-02-21T10:29:17.473Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.semver [Pipeline] } [2022-02-21T10:29:19.394Z] $ docker exec --env ******** --env ******** 0db53a19e4389f53823122299ee1ab9577327abd8696216f5505e5e6cdf6f0a2 ssh-agent -k [2022-02-21T10:29:19.485Z] unset SSH_AUTH_SOCK; [2022-02-21T10:29:19.485Z] unset SSH_AGENT_PID; [2022-02-21T10:29:19.485Z] echo Agent pid 20 killed; [2022-02-21T10:29:19.495Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-02-21T10:29:19.798Z] + git semver [Pipeline] } [2022-02-21T10:29:19.815Z] $ docker stop --time=1 0db53a19e4389f53823122299ee1ab9577327abd8696216f5505e5e6cdf6f0a2 [2022-02-21T10:29:20.982Z] $ docker rm -f 0db53a19e4389f53823122299ee1ab9577327abd8696216f5505e5e6cdf6f0a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-02-21T10:29:21.504Z] + '[' -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ']' [2022-02-21T10:29:21.504Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2022-02-21T10:29:21.504Z] total 8 [2022-02-21T10:29:21.504Z] drwxr-xr-x. 3 root root 34 Feb 21 10:24 . [2022-02-21T10:29:21.504Z] drwxrwxr-x. 10 jenkins jenkins 4096 Feb 21 10:29 .. [2022-02-21T10:29:21.504Z] drwxr-xr-x. 2 root root 6 Feb 21 10:24 cost [2022-02-21T10:29:21.504Z] -rw-r--r--. 1 root root 82 Feb 21 10:24 cost.csv [2022-02-21T10:29:21.504Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives [2022-02-21T10:29:21.504Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2022-02-21T10:29:21.504Z] total 8 [2022-02-21T10:29:21.504Z] drwxr-xr-x. 3 jenkins jenkins 34 Feb 21 10:24 . [2022-02-21T10:29:21.504Z] drwxrwxr-x. 10 jenkins jenkins 4096 Feb 21 10:29 .. [2022-02-21T10:29:21.504Z] drwxr-xr-x. 2 jenkins jenkins 6 Feb 21 10:24 cost [2022-02-21T10:29:21.504Z] -rw-r--r--. 1 jenkins jenkins 82 Feb 21 10:24 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-02-21T10:29:21.804Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-21T10:29:22.362Z] ---> package-listing.sh [2022-02-21T10:29:22.362Z] ++ facter osfamily [2022-02-21T10:29:22.362Z] ++ tr '[:upper:]' '[:lower:]' [2022-02-21T10:29:22.622Z] + OS_FAMILY=redhat [2022-02-21T10:29:22.622Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_main [2022-02-21T10:29:22.622Z] + START_PACKAGES=/tmp/packages_start.txt [2022-02-21T10:29:22.622Z] + END_PACKAGES=/tmp/packages_end.txt [2022-02-21T10:29:22.622Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-02-21T10:29:22.622Z] + PACKAGES=/tmp/packages_start.txt [2022-02-21T10:29:22.622Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2022-02-21T10:29:22.622Z] + PACKAGES=/tmp/packages_end.txt [2022-02-21T10:29:22.622Z] + case "${OS_FAMILY}" in [2022-02-21T10:29:22.622Z] + sort [2022-02-21T10:29:22.622Z] + rpm -qa [2022-02-21T10:29:23.193Z] + '[' -f /tmp/packages_start.txt ']' [2022-02-21T10:29:23.193Z] + '[' -f /tmp/packages_end.txt ']' [2022-02-21T10:29:23.193Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-02-21T10:29:23.193Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2022-02-21T10:29:23.193Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [2022-02-21T10:29:23.193Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [Pipeline] echo [2022-02-21T10:29:23.204Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-02-21T10:29:23.489Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-02-21T10:29:23.788Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-21T10:29:23.788Z] . [Pipeline] withDockerContainer [2022-02-21T10:29:23.849Z] prd-centos7-docker-4c-2g-5782 does not seem to be running inside a container [2022-02-21T10:29:23.883Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_main/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_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-02-21T10:29:24.079Z] $ docker top 20432ac7e2e4d1552d48aaf445eb62b92e1919934d278b88ce057a79b7ef2ee7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-21T10:29:24.429Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-02-21T10:29:24.718Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-02-21T10:29:25.026Z] + ls /var/log/sa-host [2022-02-21T10:29:25.026Z] + sadf -c /var/log/sa-host/sa17 [2022-02-21T10:29:25.026Z] file_magic: OK [2022-02-21T10:29:25.026Z] HZ: Using current value: 100 [2022-02-21T10:29:25.026Z] file_header: OK [2022-02-21T10:29:25.026Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2022-02-21T10:29:25.026Z] Statistics: [2022-02-21T10:29:25.026Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-02-21T10:29:25.026Z] File successfully converted to sysstat format version 12.0.3 [2022-02-21T10:29:25.027Z] + sadf -c /var/log/sa-host/sa21 [2022-02-21T10:29:25.027Z] file_magic: OK [2022-02-21T10:29:25.027Z] HZ: Using current value: 100 [2022-02-21T10:29:25.027Z] file_header: OK [2022-02-21T10:29:25.027Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2022-02-21T10:29:25.027Z] Statistics: [2022-02-21T10:29:25.027Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-02-21T10:29:25.027Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-21T10:29:25.247Z] provisioning config files... [2022-02-21T10:29:25.255Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config9164090769339070472tmp [Pipeline] { [Pipeline] echo [2022-02-21T10:29:25.267Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-21T10:29:25.554Z] ---> create-netrc.sh [Pipeline] } [2022-02-21T10:29:25.563Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-02-21T10:29:25.902Z] ---> python-tools-install.sh [Pipeline] echo [2022-02-21T10:29:25.912Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-21T10:29:26.204Z] ---> sudo-logs.sh [2022-02-21T10:29:26.204Z] Archiving 'sudo' log.. [2022-02-21T10:29:26.204Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-5782.novalocal: Name or service not known [2022-02-21T10:29:26.204Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-5782.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-02-21T10:29:26.228Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-21T10:29:26.524Z] ---> job-cost.sh [2022-02-21T10:29:26.525Z] lf-activate-venv: SKIPPING [2022-02-21T10:29:26.525Z] DEBUG: total: 0.05999999865889549 [2022-02-21T10:29:26.525Z] INFO: Retrieving Stack Cost... [2022-02-21T10:29:26.785Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-02-21T10:29:27.046Z] INFO: Archiving Costs [Pipeline] echo [2022-02-21T10:29:27.060Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-21T10:29:27.352Z] ---> logs-deploy.sh [2022-02-21T10:29:27.352Z] lf-activate-venv: SKIPPING [2022-02-21T10:29:27.352Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/19 [2022-02-21T10:29:27.352Z] INFO: archiving workspace using pattern(s): [2022-02-21T10:29:28.295Z] Archives upload complete. [2022-02-21T10:29:28.295Z] INFO: archiving logs to Nexus